Skip to content

Instantly share code, notes, and snippets.

@thomasleveil
Created August 4, 2012 17:33
Show Gist options
  • Save thomasleveil/3258868 to your computer and use it in GitHub Desktop.
Save thomasleveil/3258868 to your computer and use it in GitHub Desktop.
[Urt42 bug] #cucurb3 - server renames players 'UnnamedPlayer_x'

return to bug list

Description

Server renames players 'UnnamedPlayer'.

Most likely related to bug #cucurb2 - ClientUserinfo lines got messed up which occurs with the exact same scenario.

Reproduction scenario

  • Start a new UrT4.2 game server
  • Connect to the server and join a team
  • Reconnect
  • Join a team and see the server rename you to 'UnnamedPlayer'

Video : http://youtu.be/nctddq53Vgs

Server info

225cf8c61500a7c17d9490f49506def2 *UrbanTerror42/Quake3-UrT-Ded.i386
d742ebd60664ef95c202ecf22e5e19e0 *UrbanTerror42/q3ut4/zUrT42_0001.pk3
0539535725b37a9fdb3d216e846bab06 *UrbanTerror42/q3ut4/zUrT42_0002.pk3
94e61ef6d88f01939a9cff3254c93133 *UrbanTerror42/q3ut4/zUrT42_0003.pk3
01c9a1636a252c797cf18b86c6125c64 *UrbanTerror42/q3ut4/zUrT42_0004.pk3
a0d0318eabc9f72a270d02fbd27535dd *UrbanTerror42/q3ut4/zUrT42_0005.pk3
373df5b8b0c56f66b639ecd98e06f3d2 *UrbanTerror42/q3ut4/zUrT42_0006.pk3
680d1b0f149f2ca879a301170018ff97 *UrbanTerror42/q3ut4/zUrT42_0007.pk3
75194cdc92425fc384e3134d9a8c6df4 *UrbanTerror42/q3ut4/zUrT42_0008.pk3
a68fcb8790eb40e1db2269577ccd7d0b *UrbanTerror42/q3ut4/zUrT42_0009.pk3

server config

//Example config. Note that everything behind // is ignored by the game
//Try to keep cvar-values as short as possible. Otherwise you might get "info string length exceeded" errors on your server


//*** Authentication System settings ***
set auth_enable "0" //set this to 0 to disable the authentication system. (more information on www.urbanterror.info)
set auth_notoriety "0" // this sets the minimum notoriety level. allowed to connect to your server. 0 allows everyone to join.
set auth_tags "0" //set this to 1 to prevent clan tag thieves from joining your server.
set auth_cheaters "1" //set this to 1 to block the officially banned cheaters from your server. -- in the future
set auth_verbosity "1" //0 = no authentication message to everyone when a player connects ; 1 = message on the top of the screen ; 2 = message in the chat box.
set auth_log "1" //set this to 1 to draw the account information in the userinfo of each player in the server logs.
set auth_groups "" //specify group IDs (separated by a blank) if you want to allow only a few groups to connect to the server. Empty ("") means all groups can connect.


//*** Administrator Info, shows in some gamebrowsers ***
sets " Admin" "Courgette" //Uses a space in front so it shows up at the top of the properties list
sets " Email" "courgette@bigbrotherbot.net"

//*** Server Name and Daily Message ***
set sv_hostname "Le ^4po^7tag^1er ^7de ^2Courgette ^3[4.2]" //Your servername here
set g_motd "Urban Terror 4.2, Presented by FrozenSand" //Your message of the day here, it is displayed while connecting
set sv_joinmessage "Welcome. Be polite and fair to others. Have fun" //Your joinmessage here, it is displayed when the game is joined

//*** General Game Settings ***
set sv_maxclients "12" //max clientslots available on the server, using more than 16 is not advised. It can cause lag and most maps are not built for it. Going over 24 can cause nasty bugs.
set g_maxGameClients "0" //max clients that can actually join the game. Other clients are forced to spectate. 0=all
set sv_privateClients "0" //Amount of private slots. This amount of slots will be reserved for players who enter the right privatepassword
set g_gametype "4" //0=FreeForAll, 3=TeamDeathMatch, 4=Team Survivor, 5=Follow the Leader, 6=Capture and Hold, 7=Capture The Flag, 8=Bombmode
sets sv_dlURL "urbanterror.net" //Sets the address for auto-downloading. Auto-download only works on ioUrbanTerror-clients, not quake3-clients. The client will try to download <sv_dlURL>/q3ut4/mapname.pk3. So if your server is running ut4_coolmap and sv_dlURL is set to 'yoursite.com/maps', make sure the maps is hosted at http://www.yoursite.com/maps/q3ut4/ut4_coolmap.pk3. Leaving this set 'urbanterror.net' will make it use a map mirror with the most common maps on it. If you got your own hosting, please us that though, to save bandwith.

//*** Passwords ***
set rconpassword "***************" //Password to control the server remotely using rcon.
set sv_privatePassword "" //password for private slots
set g_password "" //password for the server. Nothing = public

//*** Limits/times ***
set timelimit "20" //time in minutes before map is over, 0=never
set fraglimit "15" //amount of points to be scored before map is over, 0=never
set capturelimit "0" //amount of flagcaps before map is over, 0=never
set g_warmup "20" //time in seconds before game starts when changed to a new map. Gives slower computers time to load before game starts

//*** Respawning *** (FFA, TDM, CAH, CTF)
set g_respawnDelay "8" //seconds before respawn, ignored when g_waverespawns is 1
set g_forcerespawn "20" //seconds before respawn is forced, even when plater did not press fire
set g_waverespawns "0" //use waverespawns, meaning everybody in a team respawns at the same time
set g_bluewave "15" //seconds between blue waverespawns, ignored when g_waverespawns is 0
set g_redwave "15" //seconds between red waverespawns, ignored when g_waverespawns is 0
set g_respawnProtection "2" //amount of seconds a spawning players is protected from damage

//*** Rules ***
set g_deadchat "2" //Determines if alive players can see dead players message. 0=living players can not see dead players chat 1=living players see only team-messages from dead teammembers 2=living players also see normal chats from dead players
set g_antiwarp "1" //enable or disable antiwarp. This option smooths the movement of warping players (warping is caused by a crappy connection, for instance when torrenting during playing). The warping player will experience stutters when this is enabled
set g_antiwarptol "50" //tolerance of the antiwarp. Higher = more tolerant. 50=default
set g_gear "0" //bitmask that decides which votes are allowed and which not. Check http://www.urbanterror.net/gear_calc.html to find the correct number
set g_allowvote "536870984" //bitmask that decides which votes are allowed and which not. Check http://www.urbanterror.net/allowvote_calc.html to find the correct number
set g_failedvotetime "250" //time in seconds before someone can call another vote after another has failed
set g_followstrict "0" //1=no haunting of enemies when dead
set sv_floodprotect "1" //1=stops clients from spamming many chatlines

//*** Matchmode ***
set g_matchmode "0" //matchmode is for matchplay. Features timeouts and ready-commands
set g_timeouts "3" //ammount of timeouts that a team can do per map
set g_timeoutlength "240" //length of the timeout
set g_pauselength "0" //length of a pause. This can only be done by rcon. 0=indefinatly

//*** Team Game Settings ***
set g_friendlyFire "2" //0=no friendlyfire 1=friendlyfire on, kick after too many TK's 2=friendlyfire on, no kicks
set g_maxteamkills "3" //amount of TK's before you get kicked when friendlyfire is 1
set g_teamkillsforgettime "300" //amount of seconds before TK's are forgotten
set g_teamautojoin "0" //force players to autojoin on connect, instead of letting them spec untill they join themselves
set g_teamForceBalance "0" //if on, you can't join a team when it has more players then the other
set g_maintainTeam "1" //when switching maps, players will stay in their team
set g_teamnamered "patates" //name for the red team, nothing = Red Dragons
set g_teamnameblue "navets" //name for the red team, nothing = SWAT
set g_swaproles "0" //When map is over, play it again with the teams swapped (recommended for bombmode). After that, change map. 0=change map immediatly when map is over, no swapping of teams

//*** Team Survivor/Bombmode/Follow the Leader Specific Settings ***
set g_maxrounds "20" //number of rounds before map is over, 0=never
set g_RoundTime "3" //maximum minutes a round can take
set g_survivorrule "0" //0=teams don't get a point when time is up before everyone is dead. 1=team with most players left gets point
set g_suddendeath "1" //when map is over and both teams have same amount of points, add another round
set g_bombdefusetime "10" //seconds it takes to defuse bomb
set g_bombexplodetime "40" //seconds before bomb goes off after planting

//*** Capture the flag Specific Settings ***
set g_flagreturntime "30" //if a flag is dropped, return it after this amount of seconds
set g_hotpotato "2" //when both flags are taken, they will explode after this amount of minutes

//*** Advanced settings *** Dont change, unless you know what you are doing
set sv_strictauth "0" //1=check for valid cdkey, this means ioUrbanTerror players will not be able to join
set sv_pure "1" //dont let players load modified pk3-files
set sv_maxRate "0" //maximum traffic per second the server will send per client. 25000 or 0 = max
set sv_timeout "45" //time in seconds before player with a interupted connection will be kicked
set g_inactivity "300" //time in seconds before a non-moving player will be kicked

//*** Master Servers *** Servers the server will report to if 'dedicated' is set to 2. When set to 1, it doesn't report.
set sv_master1 "" //This one will be set automatically by the game-engine, so just leave it blank
set sv_master2 "master.urbanterror.net"
set sv_master3 "master2.urbanterror.net"
set sv_master4 ""
set sv_master5 ""

//*** Other Settings ***
set g_armbands "2" //determines the behaviour of the armbandcolor (also shows on playerlist and minimap). 0=player's choice, set with cg_rgb 1=Based on teamcolor (red or blue) 2=assigned by server (random)
set sv_maxping "120" //max ping a client may have when connecting to the server
set sv_minping "0" //min ping a client may have when connecting to the server
set g_allowchat "2" //0= no chatting at all 1=teamchats only 2=all chats
set g_log "games.log" //name of the logfile. Empty ("") means no log. Log will be in the q3ut4 folder in windows. Linux uses ~/.q3a/q3ut4
set g_logsync "1" //enables/disables direct writing to the log file instead of buffered
set g_loghits "0" //log every single hit. Creates very big logs
set g_logroll "0" //create new log every now and then, instead of always using the same one
set logfile "0" //additional logging in seperate qconsole.log file. 1=buffered, 2=synced
set g_cahtime "60" //Interval in seconds of awarding points for flags in Capture and Hold gamemode

//*** Map Rotation ***
set g_mapcycle "mapcycle.txt" //name of mapcycle-file, located in q3ut4 directory
map ut4_casa //what map to start with

//*** Anti Cheat ***
//pb_sv_enable //to enable PB, remove the // at the beginning of this line (only works when using Quake 3 Arena, not ioUrbanTerror)
set sv_battleye "0" //Keep this disabled, BattlEye is dead

Full server log

  0:00 ------------------------------------------------------------
  0:00 InitGame: \sv_allowdownload\0\g_matchmode\0\g_gametype\4\sv_maxclients\12\sv_floodprotect\1\g_warmup\20\capturelimit\0\sv_hostname\Le ^4po^7tag^1er ^7de ^2Courgette ^3[4.2]\g_followstrict\0\fraglimit\15\timelimit\20\g_cahtime\60\g_swaproles\0\g_roundtime\3\g_bombexplodetime\40\g_bombdefusetime\10\g_hotpotato\2\g_waverespawns\0\g_redwave\15\g_bluewave\15\g_respawndelay\8\g_suddendeath\1\g_maxrounds\20\g_friendlyfire\2\g_allowvote\536870984\g_armbands\2\auth_notoriety\0\auth_cheaters\1\auth_enable\0\g_ctfUnsubWait\0\dmflags\0\sv_minRate\0\sv_maxRate\0\sv_minPing\0\sv_maxPing\120\sv_dlURL\urbanterror.net\g_maxGameClients\0\g_deadchat\2\g_gear\0\g_teamnamered\patates\g_teamnameblue\navets\g_survivorrule\0\version\ioQ3 1.35urt linux-i386 Aug  3 2012\protocol\70\mapname\ut4_casa\sv_privateClients\0\ Admin\Courgette\ Email\courgette@bigbrotherbot.net\gamename\q3urt42\g_needpass\0\g_enableDust\0\g_enableBreath\0\g_antilagvis\0\g_survivor\1\g_enablePrecip\0\auth_status\unknown\g_modversion\4.2.001
  0:00 Warmup:
  0:20 Session data initialised for  at 19935
  0:20 ClientConnect: 0
  0:20 ClientUserinfo: 0 \ip\78.207.134.100:27960\challenge\-14223768\qport\43732\protocol\70\name\Courgette\rate\8000\cg_predictitems\0\snaps\20\model\sarge\headmodel\sarge\team_model\james\team_headmodel\*james\color1\4\color2\5\handicap\100\sex\male\cl_anonymous\0\authc\66361\teamtask\0\cl_guid\F650A1A224D57CDD1023138479FF92D9
  0:20 ClientUserinfoChanged: 0 n\Courgette\t\3\r\2\tl\0\f0\\f1\\f2\\a0\0\a1\0\a2\255
  0:29 ClientUserinfo: 0 \ip\78.207.134.100:27960\name\Courgette\racered\0\raceblue\2\rate\8000\ut_timenudge\0\cg_rgb\128 128 128\funred\capor\funblue\capyw\cg_predictitems\0\cg_physics\1\cg_autoPickup\-1\gear\GLAOWTA\snaps\20\model\sarge\headmodel\sarge\team_model\james\team_headmodel\*james\color1\4\color2\5\handicap\100\sex\male\cl_anonymous\0\authc\66361\teamtask\0\cl_guid\F650A1A224D57CDD1023138479FF92D9\weapmodes\00000101220000020002
  0:29 ClientUserinfoChanged: 0 n\Courgette\t\3\r\0\tl\0\f0\\f1\\f2\\a0\0\a1\0\a2\255
  0:29 ClientBegin: 0
  0:32 Kill: 0 0 10: Courgette killed Courgette by MOD_CHANGE_TEAM
  0:32 ClientUserinfo: 0 \ip\78.207.134.100:27960\name\Courgette\racered\0\raceblue\2\rate\8000\ut_timenudge\0\cg_rgb\128 128 128\funred\capor\funblue\capyw\cg_predictitems\0\cg_physics\1\cg_autoPickup\-1\gear\GLAOWTA\snaps\20\model\sarge\headmodel\sarge\team_model\james\team_headmodel\*james\color1\4\color2\5\handicap\100\sex\male\cl_anonymous\0\authc\66361\teamtask\0\cl_guid\F650A1A224D57CDD1023138479FF92D9\weapmodes\00000101220000020002
  0:32 ClientUserinfoChanged: 0 n\Courgette\t\2\r\2\tl\0\f0\\f1\\f2\\a0\0\a1\0\a2\255
  0:32 ClientBegin: 0
  0:41 Kill: 0 0 10: Courgette killed Courgette by MOD_CHANGE_TEAM
  0:41 ClientUserinfo: 0 \ip\78.207.134.100:27960\name\Courgette\racered\0\raceblue\2\rate\8000\ut_timenudge\0\cg_rgb\128 128 128\funred\capor\funblue\capyw\cg_predictitems\0\cg_physics\1\cg_autoPickup\-1\gear\GLAOWTA\snaps\20\model\sarge\headmodel\sarge\team_model\james\team_headmodel\*james\color1\4\color2\5\handicap\100\sex\male\cl_anonymous\0\authc\66361\teamtask\0\cl_guid\F650A1A224D57CDD1023138479FF92D9\weapmodes\00000101220000020002
  0:41 ClientUserinfoChanged: 0 n\Courgette\t\3\r\0\tl\0\f0\\f1\\f2\\a0\0\a1\0\a2\255
  0:41 ClientBegin: 0
  0:46 Kill: 0 0 10: Courgette killed Courgette by MOD_CHANGE_TEAM
  0:46 ClientUserinfo: 0 \ip\78.207.134.100:27960\name\Courgette\racered\0\raceblue\2\rate\8000\ut_timenudge\0\cg_rgb\128 128 128\funred\capor\funblue\capyw\cg_predictitems\0\cg_physics\1\cg_autoPickup\-1\gear\GLAOWTA\snaps\20\model\sarge\headmodel\sarge\team_model\james\team_headmodel\*james\color1\4\color2\5\handicap\100\sex\male\cl_anonymous\0\authc\66361\teamtask\0\cl_guid\F650A1A224D57CDD1023138479FF92D9\weapmodes\00000101220000020002
  0:46 ClientUserinfoChanged: 0 n\Courgette\t\2\r\2\tl\0\f0\\f1\\f2\\a0\0\a1\0\a2\255
  0:46 ClientBegin: 0
  0:58 ClientDisconnect: 0
  0:58 Session data initialised for  at 58276
  0:58 ClientConnect: 0
  0:58 ClientUserinfo: 0 \ip\78.207.134.100:27960\challenge\-14223768\qport\43732\protocol\70\name\Courgette\racered\0\raceblue\2\rate\8000\ut_timenudge\0\cg_rgb\128 128 128\funred\capor\funblue\capyw\cg_predictitems\0\cg_physics\1\cg_autoPickup\-1\gear\GLAOWTA\snaps\20\model\sarge\headmodel\sarge\team_model\james\team_headmodel\*james\color1\4\color2\5\handicap\100\sex\male\cl_anonymous\0\authc\66361\teamtask\0\cl_guid\F650A1A224D57CDD1023138479FF92D9\weapmodes\00000101220000020002
  0:58 ClientUserinfoChanged: 0 n\Courgette\t\3\r\0\tl\0\f0\\f1\\f2\\a0\0\a1\0\a2\255
  1:07 ClientBegin: 0
  1:08 Kill: 0 0 10: Courgette killed Courgette by MOD_CHANGE_TEAM
  1:08 ClientUserinfo: 0 \ip\78.207.134.100:27960\challenge\-14223768\qport\43732\protocol\70\namceblue\2tte\racered\0\raceblue\2\rate\8000\ut_timenudge\0\cg_rgb\128 128 128\funred\capor\funblue\capyw\cg_predictitems\0\cg_physics\1\cg_autoPickup\-1\gear\GLAOWTA\snaps\20\model\sarge\headmodel\sarge\team_model\james\team_headmodel\*james\color1\4\color2\5\handicap\100\sex\male\cl_anonymous\0\authc\66361\teamtask\0\cl_guid\F650A1A224D57CDD1023138479FF92D9\weapmodes\00000101220000020002
  1:08 ClientUserinfoChanged: 0 n\UnnamedPlayer\t\2\r\2\tl\0\f0\\f1\\f2\\a0\0\a1\0\a2\255
  1:08 ClientBegin: 0
  1:16 ClientDisconnect: 0
  1:22 ShutdownGame:
  1:22 ------------------------------------------------------------

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment