Server Kocour-cz (or any other with recent/newest TJW build). Lamers spam with stupid nonexistant map votes like in the subject :), or they make a weird vote when all you see is text
VOTE(numberofseconds): "Change to map'
(pic later)and thats it, no info about Yes/No ratio, no map name
!listplayers
14 ^4H^7 0 ^4Unknown Player ^7 (*XXXXXXXX) ^1 ^7 1^7 ^7
So i try to vote him
Vote failed
Client 1 is not active
callvote: invalid player
WTF???
just after this he started to rename himself :
1^7 renamed to UnnamedPlayer
UnnamedPlayer^7 renamed to ^1^7Venda CZE
^1^7Venda CZE^7 renamed to 1
1^7 renamed to ^1^7Venda CZE
real Venda almost got voted :/
That moron griefer spammed "Change to map' shit several times, then switched teams and deconned :/
Iv got a demo, its kinda big (13MB) but i can send it if its needed.
The "Change to map ' is actually "Change to map 'lots-of-spaces'" Yes:x No:y. There're so many spaces that the end of the string is outside your screen. We'll have to make some trap call that will check for map presence before callvote mapchange is allowed to start a vote. Right now, map presence is checked in server/sv_ccmds.c:SV_Map_f() AFTER the vote passes and /map is called.
Created attachment 1145[details]
checks if a map exists before allowing it to be voted
This is a patch against svn 840 (or whatever the last revision to change line numbers in g_cmds.c was). Works well on my server.
Created attachment 1080 [details] "Change to map'
Created attachment 1145 [details] checks if a map exists before allowing it to be voted This is a patch against svn 840 (or whatever the last revision to change line numbers in g_cmds.c was). Works well on my server.
Created attachment 1160 [details] check if map exists Don't ask why I was using a file handle. I don't know.