EventScripts Forums
Mattie's EventScripts and Source Forums
Mattie recommends...
Premier Sponsor:Platinum Sponsor:
 
Script Categories
addon (47) admin (262) admins (14) advert (14) adverts (18) afk (14) alerts (12) ammo (23) anti (14) auth (16) automatic (12) awp (23) ban (18) ba_jail (17) bhop (18) block (17) bomb (39) bonus (23) bot (24) bot-management (19) bots (17) bunnyhop (11) Buy (21) cash (63) chat (56) cheat (11) clan (16) classes (22) color (21) colors (18) command (19) commands (17) config (21) connect (41) CS:S (13) css (2428) Damage (35) database (11) dead (15) death (19) deathmatch (67) deathrun (12) disconnect (18) Dissolve (11) dm (19) dod:s (11) dods (386) easy (15) effects (120) English (15) entity (21) es_tools (11) Eventscript (12) flashbang (25) français (99) french (36) fun (283) funny (14) Gabeee (11) gameplay (174) give (16) gravity (11) grenade (25) grenades (29) gun (14) GunGame (24) GunGame5 (11) guns (16) Hack (15) headshot (32) health (54) hegrenade (13) hl2dm (323) HP (13) info (48) information (16) jail (25) join (23) jump (12) kick (22) kill (44) kills (22) knife (56) leveling (34) management (14) mani (13) map (25) map-management (27) maps (15) match (16) menu (105) message (20) messaging (52) mod (108) model (14) models (32) money (40) motd (12) music (29) mute (18) nades (18) name (13) noblock (31) player (38) player-management (31) player-tracking (28) popup (55) props (21) protection (27) punishment (50) python (61) quake (17) radio (20) random (34) rank (34) rates (15) rcon (13) realism (21) respawn (57) restrict (36) round (19) rpg (22) rules (40) say (11) scout (18) Script (16) script-helper (25) scriptpack (33) sdk (149) server (37) server-tools (42) shop (12) silly (31) simple (26) skins (23) slay (13) soccer (11) sound (45) sounds (91) spawn (60) speed (25) statistics (13) stats (48) STEAMID (20) surf (31) Team (25) team-balance (14) teleport (11) text (14) TF2 (145) time (17) timer (14) tools (15) tracers (17) triggers (11) uedi (17) uses_auth (18) utility (11) vip (11) vote (36) voting (22) war (19) wcs (23) wcs:Python (32) weapon (75) weapons (110) web (14) welcome (12) zm (24) zombie (90) zombiemod (51) zombies (11)
Script Authors
*XYZ*SaYnt (12) .eMko* (6) 101satoon101 (10) 3R10N (24) 4u571n91 (5) 7355608 (9) Absolute (8) Ace Rimmer (40) adminc (5) Adz (8) AgathaKnuppelkuh (8) aidden (8) ajax (5) ak_47 (6) Al3c Tr3v3lyan (6) allstareng (5) ashbash1987 (9) ATAMAH (7) aznone (5) B00M (5) BackRaw (41) BFH_RedBull (8) Bioko (7) Blade (10) bladesback (13) bobdole (11) bodzsar1 (8) bonbon (36) Brainsucker (30) cagemonkey (8) carbon-14 (10) CaskioUTF (5) cbirou (15) ChaCaLz2psy4 (5) CharlesT (5) Chrisber (5) chrismrulz (9) Chun (6) cladiron (10) clipz934 (8) Colster (21) Cookieman8 (7) craziest (10) DanielB (19) Darkness123 (8) Dave (9) dbozan99 (7) Deathyy (15) dhack (16) Di[M]aN (12) DoCky (27) Don (15) dordtcore (8) DragonFreddo (8) Drassil (5) Einlanzers (42) EmbouT (10) emilplov (7) Errant (10) Eun (6) Fantole (9) Franc1sco (6) freddukes (18) Frequency (6) Fulmine (5) GAMEREN2 (8) GODJonez (38) GoodfellaDeal (5) Hansi (6) HitThePipe (7) HOLLDIDAY (9) Icetouch (5) ichthys (25) infamous1 (9) Jeff91 (45) JoeyT2006 (30) Juba_PornBorn (12) jxl180 (10) KDBFame (6) L'In20Cible (7) Largo Usagi (10) Lobe (11) loKkdoKk (7) lolo-le-haricot (7) LosNir (5) Lumpi@Work (8) M4rc3L-XCN (7) macshot (6) Matth (5) Mattie (20) MBchrono (15) McFly (20) Medda (5) Memphis-84 (10) Messiah93 (12) Mickyy (5) micmacx (6) Mordavolt (5) MrScriptaz (5) mryoung (6) Nicolous (26) ojii (31) Omega_K2 (6) Owned|Myself (8) P3N (7) pand3mic (5) Pascal257 (9) PatPeter (7) PDrop (10) Phaedrus (18) PhantOm Fury (7) phoenix131 (7) pinkyyy -.- (5) pitbull0993 (7) randomknifer (9) Ratzee (6) ReaCtioN2oo9 (6) Rennnyyy (16) revolutionfighters (6) RideGuy (12) Rio (9) Roeliekt (6) runamagic (13) sandking220 (6) Sarcasm_Poisoning (10) saRs| Johnny-5 (13) Schubaal (10) sea212 (5) sega74rus (7) sgt.angel (6) shidobu (9) sicilia (5) sicman_adrian (22) skillz92 (7) sn4k3 (18) snake38 (10) sonicsight (7) spoonman184 (8) stabby (22) stas (21) Strontium Dog (30) SumGuy14 (25) SuperDave (45) surfteam (5) TaCo (5) TanaToS (17) Tealk (5) teowow (16) TheCheeTaH (18) theresthatguy (6) Tiny Tod (7) Totyahun (9) uedi (38) Undead (25) usernamesaretaken (15) Warren (13) westham (6) WhiteAvenger (7) Wonder (14) X-Mania (5) XE_ManUp (13) xfalcon61 (5) zSweetXz (5) [Cs]Lord_Inferno2 (11) [NATO]Hunter (28) ||Wolf|| (10)
Search

Post new topic Reply to topic
Author Message
User avatar
Expert
Profile

Posts: 1182
Location:
Germany, Ba-Wü

Steam Friends Name: Eminemfreak1
 
New postPosted: 2009-06-02, 12:55 pm 
   Post subject: Server Rank

Server Rank 1.0.0
Posted by: Brainsucker on 2009-06-02 13:42:30.

Requirements:Description:
    A Player only has to type !serverrank (by default) to get a Popup with the Serverstats and Ranking (Informations by game-monitor.com)
Download: Installation:
    Configurate the config.ini file (set the RIGHT URL for your Server)

    Upload the folder serverrank into cstrike/addons/eventscripts

    Add es_xload serverrank to your autoexec.cfg


    AND VERY IMPORTANT: RESTART YOUR SERVER!!

    If you don't want to restart your Server do this:

    Load the Addon over HLSW or Rcon (or anything else) AND change the Map (this will work too)
Version Notes:
  • 1.0.0 - First Release (Please report me Bugs :) )





User avatar
Reader
Profile

Posts: 101
 
New postPosted: 2009-06-17, 12:23 am 

I like this.
It's good to see somebody thinking out of the box. Good job.


User avatar
Experienced
Profile

Posts: 415
Location:
FRANCE
 
New postPosted: 2009-06-29, 9:42 am 

Don't work for Me/
Just title Popup appear, but no infos.


EventScripts v2.0.0.250i Public Beta2
Zblock

_________________
Games-Evolution.net - Source Voice InGame


User avatar
Expert
Profile

Posts: 1182
Location:
Germany, Ba-Wü

Steam Friends Name: Eminemfreak1
 
New postPosted: 2009-07-01, 8:44 am 

xlteam wrote:
Don't work for Me/
Just title Popup appear, but no infos.


EventScripts v2.0.0.250i Public Beta2
Zblock


It works (it is Tested)

I think the most people don't know that they have to add the game-monitor URL for their Server.

Post me your ServerIP(s) and I will post the right URLs for your Server(s)

BTW I also added an auotmatic URL generator. It trys to find automaticly the right Game-Monitor URL for the Server (but this is not tested).
You only have to Configurate the Addon. Then it will work ;)

Edit:
For information:
I am NOT online from Thursday until Sunday

_________________
Knowlege is a present!
My DJ-Equip(2x Pioneer CDJ400 + 1x Pioneer DJM400)
Image


User avatar
Guru
Guru
Profile

Posts: 1785
 
New postPosted: 2009-07-01, 10:15 am 

Quote:
Traceback (most recent call last):
File "J:\ffa\cstrike\addons\eventscripts\es.py", line 361, in loadModuleAddon
addons.load(newaddon)
File "J:\ffa\cstrike\addons\eventscripts\es.py", line 160, in load
addon.load()
File "K:\Jeux\ffa\cstrike\addons\eventscripts\serverrank\serverrank.py", line 58, in load
update()
File "K:\Jeux\ffa\cstrike\addons\eventscripts\serverrank\serverrank.py", line 30, in update
if surl.isdigit():
UnboundLocalError: local variable 'surl' referenced before assignment
Could not open script for addons/eventscripts/serverrank/es_serverrank.txt
Error source (console): (no script)

_________________
Image
Image


User avatar
Expert
Profile

Posts: 1182
Location:
Germany, Ba-Wü

Steam Friends Name: Eminemfreak1
 
New postPosted: 2009-07-01, 12:54 pm 

oh hmm there is an existing (and working) Pythonfile.

But in the wrong Directory >.<

I will fix the Download. Thank you :)


Edit:
Ok, fixed the Download now it should work Thanks again :)

_________________
Knowlege is a present!
My DJ-Equip(2x Pioneer CDJ400 + 1x Pioneer DJM400)
Image


User avatar
Guru
Guru
Profile

Posts: 1785
 
New postPosted: 2009-07-01, 3:12 pm 

Quote:
Traceback (most recent call last):
File "J:\ffa\cstrike\addons\eventscripts\es.py", line 361, in loadModuleAddon
addons.load(newaddon)
File "J:\ffa\cstrike\addons\eventscripts\es.py", line 160, in load
addon.load()
File "K:\Jeux\ffa\cstrike\addons\eventscripts\serverrank\serverrank.py", line 26, in load
update()
File "K:\Jeux\ffa\cstrike\addons\eventscripts\serverrank\serverrank.py", line 57, in update
srpopup.addline("%s: %s" % (statistic if not statistics[statistic].has_key("popupname") else statistics[statistic]["popupname"], splitted[statistics[statistic]["counter"]].split()[0]))
IndexError: list index out of range
Could not open script for addons/eventscripts/serverrank/es_serverrank.txt


and :
Image

_________________
Image
Image


User avatar
Expert
Profile

Posts: 1182
Location:
Germany, Ba-Wü

Steam Friends Name: Eminemfreak1
 
New postPosted: 2009-07-01, 3:51 pm 

O.o
I'm Sorry but the Version on my Server is working fine... Damned

I think I have to Update it to Version 2
Fix will come soon... Thank you for posting Errors.

_________________
Knowlege is a present!
My DJ-Equip(2x Pioneer CDJ400 + 1x Pioneer DJM400)
Image


User avatar
Historian
Historian
Profile

Posts: 3887
 
New postPosted: 2009-07-01, 7:16 pm 

eric0279 wrote:
Image
That error is normal. It happens the first time you es_load a script that imports popuplib.

Satoon


User avatar
Expert
Profile

Posts: 1182
Location:
Germany, Ba-Wü

Steam Friends Name: Eminemfreak1
 
New postPosted: 2009-07-05, 5:11 pm 

Uploaded Fix :)

_________________
Knowlege is a present!
My DJ-Equip(2x Pioneer CDJ400 + 1x Pioneer DJM400)
Image


User avatar
Guru
Guru
Profile

Posts: 1785
 
New postPosted: 2009-07-07, 1:56 pm 

:shock: :
Quote:
Traceback (most recent call last):
File "J:\ffa\cstrike\addons\eventscripts\es.py", line 361, in loadModuleAddon
addons.load(newaddon)
File "J:\ffa\cstrike\addons\eventscripts\es.py", line 160, in load
addon.load()
File "K:\Jeux\ffa\cstrike\addons\eventscripts\serverrank\serverrank.py", line 26, in load
update()
File "K:\Jeux\ffa\cstrike\addons\eventscripts\serverrank\serverrank.py", line 57, in update
srpopup.addline("%s: %s" % (statistic if not statistics[statistic].has_key("popupname") else statistics[statistic]["popupname"], splitted[statistics[statistic]["counter"]].split()[0]))
IndexError: list index out of range
Could not open script for addons/eventscripts/serverrank/es_serverrank.txt
Error source (console): (no script)

_________________
Image
Image


User avatar
Expert
Profile

Posts: 1182
Location:
Germany, Ba-Wü

Steam Friends Name: Eminemfreak1
 
New postPosted: 2009-07-07, 4:32 pm 

Sorry but it is tested and Working (100%) you need to Configurate the Addon..


Which Link are you using in the ConfigFile here:
Code:
server_url = "http://www.game-monitor.com/cstrike2_GameServer/"
?

_________________
Knowlege is a present!
My DJ-Equip(2x Pioneer CDJ400 + 1x Pioneer DJM400)
Image


User avatar
Guru
Guru
Profile

Posts: 1785
 
New postPosted: 2009-07-07, 6:21 pm 

Quote:

Which Link are you using in the ConfigFile here:
Code:
server_url = "http://www.game-monitor.com/cstrike2_GameServer/"
?


I use :
Code:
server_url = "http://www.game-monitor.com/cstrike2_GameServer/"

_________________
Image
Image


User avatar
Expert
Profile

Posts: 1182
Location:
Germany, Ba-Wü

Steam Friends Name: Eminemfreak1
 
New postPosted: 2009-07-08, 11:39 am 

eric0279 wrote:
Quote:

Which Link are you using in the ConfigFile here:
Code:
server_url = "http://www.game-monitor.com/cstrike2_GameServer/"
?


I use :
Code:
server_url = "http://www.game-monitor.com/cstrike2_GameServer/"



jep thats the fault :P

you need to set there the GAME-MONITOR URL of your own Server.

For example for my Server I have to use this Link:

http://www.game-monitor.com/cstrike2_GameServer/88.198.21.69:27027/DAGERAnti_Cheater_ServerOnly_poolparty_v2FastDLda-gam.html

Just set there the Link of your Server and it will work :)

_________________
Knowlege is a present!
My DJ-Equip(2x Pioneer CDJ400 + 1x Pioneer DJM400)
Image


User avatar
Guru
Guru
Profile

Posts: 1785
 
New postPosted: 2009-07-08, 10:20 pm 

thank you, I'll wait while game-monitor displays my server ....
Could you include the game-tracker.com website ?



The error still persists, and yet my server is seen by game-monitor

I type es_load serverrank when my server is visible and the error comes up

_________________
Image
Image


User avatar
Expert
Profile

Posts: 1182
Location:
Germany, Ba-Wü

Steam Friends Name: Eminemfreak1
 
New postPosted: 2009-07-09, 4:23 am 

As you can see it is working fine on my Server.

You only need to set your Game Monitor URL for your own Server in the AddonConfigFile. Then it should work. I never had any problems with it so I can not say whats here the Error :(

So I only can say:
Read the ConfigFile and do what you read ;)

_________________
Knowlege is a present!
My DJ-Equip(2x Pioneer CDJ400 + 1x Pioneer DJM400)
Image


User avatar
Guru
Guru
Profile

Posts: 1785
 
New postPosted: 2009-07-09, 5:12 am 

Sorry, but your script does not work properly ...

my configuration file:
Code:
# THIS ADDON IS ONLY TESTED WITH game-monitor.com. SO LINKS FROM USE ONLY game-monitor!

# Set this to 0 for identification of the automaticly game-monitor.com URL (Not tested yet).
# If this does not work, please manually set here the URL of your server! (It is important).
# Without this it does not work!
# If you have problems here, just ask in Eventscripts Forums (http://forums.eventscripts.com/viewtopic.php?p=296888)
server_url = "http://www.game-monitor.com/cstrike2_GameServer/"

# Set here the Command to View the serverrank
rank_cmd = "! serverrank"
# Set here if you want an announce on every round start or not (1 = On, 0 = off)
= 0 announce



my server is visible on game-monitor:
http://www.game-monitor.com/cstrike2_Ga ... 16000.html


I type es_load serverrank and here is the error:
Quote:
12:09:50 p.m. Traceback (most recent call last):
File "K: \ Games \ freeforfun \ cstrike \ addons \ eventscripts \ es.py", line 361, in loadModuleAddon
addons.load (newaddon)
File "K: \ Games \ freeforfun \ cstrike \ addons \ eventscripts \ es.py", line 160, in load
addon.load ()
File "K: \ Games \ freeforfun \ cstrike \ addons \ eventscripts \ serverrank \ serverrank.py", line 26, in load
update ()
File "K: \ Games \ freeforfun \ cstrike \ addons \ eventscripts \ serverrank \ serverrank.py", line 57, in update
srpopup.addline ( "% s:% s"% (if not statistic statistics [statistic]. has_key ( "popupname") else statistics [Statistics] [ "popupname"], splitted [statistics [Statistics] [ "counter"]] . split () [0]))
IndexError: list index out of range
Could not open script for addons / eventscripts / serverrank / es_serverrank.txt
Error source (console): (no script)

_________________
Image
Image


User avatar
Expert
Profile

Posts: 1182
Location:
Germany, Ba-Wü

Steam Friends Name: Eminemfreak1
 
New postPosted: 2009-07-09, 5:52 am 

Ok I know your Error:

Just try it again when these Informations occur on the Page:

Overall Rank
Game Rank
Country Game Rank
City Game Rank
Players
Month Uptime
Server Uptime

The Addon can not read out any Informations from the Page which are not existing. The Server must stay online until the Informations occur.
Then just try again ;)

_________________
Knowlege is a present!
My DJ-Equip(2x Pioneer CDJ400 + 1x Pioneer DJM400)
Image


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page 1, 2  Next


Who is online

Users browsing this forum: jonas39 and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group