thankyou
Our sourceforge account was compromised and therefor the B3 projectfiles  are no longer safe to use.
Any windows installer and windows standalone version downloaded after 17 January 2015 might possibly be infected.
Run a tight anti virus check if you installed the windows binaries after 17 January 2015 or if you are not sure. (Report topic is here.)
Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
Year 2015 Donations
Aug-18 GoodGodd GBP5.00
Jul-30 ruinzaO USD5.00
Jun-13 ph03n1x USD15.00
May-14 RaistlinRTCW GBP50.00
Apr-24 oldboss AUD10.00
Apr-16 embak EUR5.00
Mar-8 dobledosis USD5.00
Feb-17 |Brothers|-Chri... GBP10.00
Feb-8 [FTW]Banditas GBP5.00
Feb-8 oddball118 USD5.00
Developed with and

Author Topic: |URT4| Team Balancing  (Read 5455 times)

Offline seanbarr1988

  • Full Member
  • ***
  • Posts: 82
    • NitroServers
|URT4| Team Balancing
« on: October 18, 2008, 05:32:43 PM »
Is anyone abke to explain why the team balancer module for power admin seems to stop working after a  while and keeps replying  "teams already balanced" when !teams is issued?

the only way i know how to fix this this is to restart the bot but that is tedious work.

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: |URT4| Team Balancing
« Reply #1 on: October 18, 2008, 07:11:06 PM »
the team balance mechanism has a setting to exclude from the count player above a certain group. hence superadmin are usually not counted when computing the difference of players between the two teams. Post you poweradmin config, and will tell you

Offline seanbarr1988

  • Full Member
  • ***
  • Posts: 82
    • NitroServers
Re: |URT4| Team Balancing
« Reply #2 on: October 18, 2008, 07:25:59 PM »
yes i know but even if only one admin is on  and the teams are  like 7 versus 16 and the admin is in spectate the bot just still says  "Teams are already balanced"

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: |URT4| Team Balancing
« Reply #3 on: October 18, 2008, 07:29:25 PM »
also, with urban terror, when you restart the bot, the bot won't see players that were connected before you restarted the bot (until next map). Maybe your problem comes from that fact

Offline xlr8or

  • [ www.xlrstats.com ]
  • Project Lead
  • Hero Member
  • *
  • Posts: 2057
    • The Art of Tactical Gaming
Re: |URT4| Team Balancing
« Reply #4 on: October 19, 2008, 10:32:07 AM »
I'm interested in info about this event. I've seen it balance all players to one team ??? and I cannot reproduce or find out why this happens.

Offline flinkaflenkaflrsk

  • Sr. Member
  • ****
  • Posts: 238
Re: |URT4| Team Balancing
« Reply #5 on: October 19, 2008, 05:55:39 PM »
I have had similar occurances with older version of B3 though

Offline mindriot

  • Jr. Member
  • **
  • Posts: 23
Re: |URT4| Team Balancing
« Reply #6 on: October 20, 2008, 02:08:39 AM »
I have had similar occurances with older version of B3 though

which version do you use now?



same thing is happening to a server i manage.  just stops working at some point.  haven't been able to track it down in the logs yet.

B3 version: 1.1.2d
plugin_tk version: 1.1.5
plugin_parser version: 1.8.2
poweradminurt version: 1.2.2
Game: UrbanTerror 4.1
Parser: iourt41.py v1.0.13

normal operation from B3 log:
Code: [Select]
081019 18:30:24    VERBOSE    Queueing event Say !teams
081019 18:30:24    VERBOSE    Parsing Event: Say: CensorPlugin
081019 18:30:24    VERBOSE    Parsing Event: Say: AdminPlugin
081019 18:30:24    DEBUG    AdminPlugin: OnSay handle 5:"!teams"
081019 18:30:24    DEBUG    AdminPlugin: Handle command !teams
081019 18:30:24    VERBOSE    PoweradminurtPlugin: Checking for balancing
081019 18:30:24    VERBOSE    RCON sending (*) g_redteamlist
081019 18:30:25    DEBUG    Get cvar g_redteamlist = ["g_redTeamList" is:"^7", the default]
081019 18:30:25    VERBOSE    RCON sending (*) g_blueteamlist
081019 18:30:26    DEBUG    Get cvar g_blueteamlist = ["g_blueTeamList" is:"^7", the default]
081019 18:30:26    VERBOSE    PoweradminurtPlugin: Teambalance: Teams are balanced, red: 0, blue: 0
081019 18:30:26    VERBOSE    RCON sending (*) tell 0 ^1(^5b3^1)^7: ^3[pm]^7 ^7Teams are already balanced.

abnormal operation from B3 log:
Code: [Select]
081017 13:30:01	CONSOLE	25:22 say: 0 fractured: !teams
081017 13:30:01 VERBOSE Client Found: fractured
081017 13:30:01 VERBOSE Queueing event Say !teams
081017 13:30:01 VERBOSE Parsing Event: Say: AdminPlugin
081017 13:30:01 DEBUG AdminPlugin: OnSay handle 5:"!teams"
081017 13:30:01 DEBUG AdminPlugin: Handle command !teams
081017 13:30:01 VERBOSE RCON sending (*) tell 0 ^1(^5b3^1)^7: ^3[pm]^7 ^7Teams are already balanced.

here is where it's stopping, as 'Checking for balancing' is never printed out once it breaks.  i don't think the plugin has been disabled, nor can i see where in the code 'self._balancing' would not be reset back to 'false' after balancing has finished previously.
Code: [Select]
  def teambalance(self):
    if self.isEnabled() and not self._balancing:
      #set balancing flag
      self._balancing = True
      self.verbose('Checking for balancing')



« Last Edit: October 20, 2008, 03:38:09 AM by mindriot »

Offline mindriot

  • Jr. Member
  • **
  • Posts: 23
Re: |URT4| Team Balancing
« Reply #7 on: October 20, 2008, 03:10:49 AM »
upon digging further, it seems when it hits an error on Client Team Change during ShutdownGame, 'self._balancing' remains set to 'true'.  so no other balance functions will work, because it thinks it's still balancing.  it appears that the code doesn't know what to do when it receives an empty teamlist after a socket error.

just prior to crash, game exit:
Code: [Select]
081013 11:44:02	CONSOLE	84:55 Exit: Capturelimit hit.
081013 11:44:02 VERBOSE Queueing event Game Exit None
081013 11:44:02 CONSOLE 84:55 red:18  blue:20
081013 11:44:02 VERBOSE line did not match format: red:18  blue:20
081013 11:44:02 VERBOSE Parsing Event: Game Exit: TkPlugin
081013 11:44:02 CONSOLE 84:55 score: 271  ping: 148  client: 14 tuputamadre
081013 11:44:02 DEBUG TkPlugin: Map End: cutting all tk points in half
081013 11:44:02 CONSOLE 84:55 score: 268  ping: 48  client: 13 FlyinMonkey
081013 11:44:02 CONSOLE 84:55 score: 251  ping: 172  client: 10 SUPERMAN
081013 11:44:02 CONSOLE 84:55 score: 218  ping: 146  client: 9 Tom_GER_MS
081013 11:44:02 VERBOSE Parsing Event: Game Exit: StatsPlugin
081013 11:44:02 DEBUG StatsPlugin: Map End: clearing stats
081013 11:44:02 CONSOLE 84:55 score: 208  ping: 50  client: 15 KrazyKruffin
081013 11:44:02 CONSOLE 84:55 score: 184  ping: 35  client: 16 |fn|GoldSnake
081013 11:44:02 CONSOLE 84:55 score: 142  ping: 167  client: 8 liba
081013 11:44:02 CONSOLE 84:55 score: 121  ping: 34  client: 17 Killer_Dad
081013 11:44:02 CONSOLE 84:55 score: 78  ping: 176  client: 6 weiji
081013 11:44:02 CONSOLE 84:55 score: 26  ping: 155  client: 12 Tendina
081013 11:44:02 CONSOLE 84:55 score: 17  ping: 187  client: 11 M@[UK]
081013 11:44:02 CONSOLE 84:55 score: 9  ping: 113  client: 19 krakanibullen
081013 11:44:02 CONSOLE 84:55 score: 0  ping: 151  client: 7 Maxi[GER]
081013 11:44:02 CONSOLE 84:55 Flag: 12 2: team_CTF_blueflag
081013 11:44:03 CONSOLE 84:55 Item: 12 ut_weapon_grenade_smoke
081013 11:44:05 CONSOLE 84:57 ClientUserinfo: 15 \ip\
081013 11:44:05 VERBOSE Parsed user info {
081013 11:44:05 VERBOSE Queueing event Client Team Change -1
081013 11:44:05 VERBOSE 42 cid changed from 15 to 15
081013 11:44:05 VERBOSE Parsing Event: Client Team Change: PoweradminurtPlugin
081013 11:44:05 VERBOSE PoweradminurtPlugin: Client variable teamtime set to: 1223916245
081013 11:44:05 VERBOSE PoweradminurtPlugin: Teamchanged cid: 15, name: KrazyKruffin, team: -1
081013 11:44:05 VERBOSE PoweradminurtPlugin: Player joined specs or team is unknown
081013 11:44:05 CONSOLE 84:57 ClientUserinfoChanged: 15
081013 11:44:05 VERBOSE Parsed user info {
081013 11:44:05 VERBOSE 42 cid changed from 15 to 15
081013 11:44:05 VERBOSE Queueing event Client Team Change 3
081013 11:44:05 VERBOSE Parsing Event: Client Team Change: PoweradminurtPlugin
081013 11:44:05 VERBOSE PoweradminurtPlugin: Client variable teamtime set to: 1223916245
081013 11:44:05 VERBOSE PoweradminurtPlugin: Teamchanged cid: 15, name: KrazyKruffin, team: 3
081013 11:44:05 VERBOSE RCON sending (*) g_redteamlist
081013 11:44:05 CONSOLE 84:58 say: 16 |fn|GoldSnake: gg
081013 11:44:05 VERBOSE Client Found: |fn|GoldSnake
081013 11:44:05 VERBOSE Queueing event Say gg
081013 11:44:06 DEBUG Get cvar g_redteamlist = ["g_redTeamList" is:"HKLNOT^7" default:"^7"]
081013 11:44:06 VERBOSE RCON sending (*) g_blueteamlist
081013 11:44:06 CONSOLE 84:59 ClientConnect: 21
081013 11:44:06 CONSOLE 84:59 ClientUserinfo: 21 \ip\
081013 11:44:06 VERBOSE Parsed user info {
081013 11:44:06 VERBOSE 0 cid changed from None to 21
081013 11:44:06 DEBUG Client Connected: [21] [ITA]TheLol -
081013 11:44:06 DEBUG Storage: getClient <b3.clients.Client object at 0x2aaaaf1dc3d0>
081013 11:44:06 BOT    Client found in storage 380, welcome back [ITA]TheLol
081013 11:44:06 DEBUG Storage: setClient <b3.clients.Client object at 0x2aaaaf1dc3d0>
081013 11:44:06 DEBUG Storage: setClient data {
081013 11:44:06 DEBUG Client Authorized: [21] [ITA]TheLol -
081013 11:44:06 VERBOSE Queueing event Client Authenticated <b3.clients.Client object at 0x2aaaaf1dc3d0>
081013 11:44:06 CONSOLE 84:59 ClientUserinfoChanged: 21
081013 11:44:06 VERBOSE Parsed user info {
081013 11:44:06 VERBOSE 380 cid changed from 21 to 21
081013 11:44:06 VERBOSE Queueing event Client Team Change 1
081013 11:44:07 DEBUG Get cvar g_blueteamlist = ["g_blueTeamList" is:"GIJMPQR^7" default:"^7"]
081013 11:44:07 VERBOSE PoweradminurtPlugin: Teams are balanced, red: 6, blue: 7
081013 11:44:07 VERBOSE Parsing Event: Say: AdminPlugin
081013 11:44:07 DEBUG AdminPlugin: OnSay handle 5:"gg"
081013 11:44:07 VERBOSE Parsing Event: Client Authenticated: WelcomePlugin
081013 11:44:07 VERBOSE Parsing Event: Client Team Change: PoweradminurtPlugin
081013 11:44:07 VERBOSE PoweradminurtPlugin: Client variable teamtime set to: 1223916247
081013 11:44:07 VERBOSE PoweradminurtPlugin: Teamchanged cid: 21, name: [ITA]TheLol, team: 1
081013 11:44:07 VERBOSE PoweradminurtPlugin: Player joined specs or team is unknown
081013 11:44:08 CONSOLE 85:00 say: 7 Maxi[GER]: gg
081013 11:44:08 VERBOSE Client Found: Maxi[GER]
081013 11:44:08 VERBOSE Queueing event Say gg
081013 11:44:08 VERBOSE Parsing Event: Say: AdminPlugin
081013 11:44:08 DEBUG AdminPlugin: OnSay handle 5:"gg"
081013 11:44:09 CONSOLE 85:01 say: 8 liba: gg
081013 11:44:09 VERBOSE Client Found: liba
081013 11:44:09 VERBOSE Queueing event Say gg
081013 11:44:09 VERBOSE Parsing Event: Say: AdminPlugin
081013 11:44:09 DEBUG AdminPlugin: OnSay handle 5:"gg"
081013 11:44:12 CONSOLE 85:05 ClientDisconnect: 15
081013 11:44:12 VERBOSE Queueing event Client Disconnect 15
081013 11:44:12 VERBOSE Parsing Event: Client Disconnect: TkPlugin
081013 11:44:13 CONSOLE 85:05 say: 12 Tendina: :-P
081013 11:44:13 VERBOSE Client Found: Tendina
081013 11:44:13 VERBOSE Queueing event Say :-P
081013 11:44:13 VERBOSE Parsing Event: Say: AdminPlugin
081013 11:44:13 DEBUG AdminPlugin: OnSay handle 5:":-P"
081013 11:44:13 CONSOLE 85:05 say: 13 FlyinMonkey: gg, later all
081013 11:44:13 VERBOSE Client Found: FlyinMonkey
081013 11:44:13 VERBOSE Queueing event Say gg, later all
081013 11:44:13 VERBOSE Parsing Event: Say: AdminPlugin
081013 11:44:13 DEBUG AdminPlugin: OnSay handle 5:"gg, later all"
081013 11:44:14 VERBOSE RCON sending (*) tell 20 ^1(^5b3^1)^7: ^3[pm]^7 ^7^7[^2Authed^7] Welcome back super_aids^7 ^7(^3@304^7), last visit ^310:43AM CST
081013 11:44:16 CONSOLE 85:08 ClientDisconnect: 13
081013 11:44:16 VERBOSE Queueing event Client Disconnect 13
081013 11:44:16 VERBOSE Parsing Event: Client Disconnect: TkPlugin
081013 11:44:16 VERBOSE RCON sending (*) tell 20 ^1(^5b3^1)^7: ^3[pm]^7 ^3>10/13/08. Type !register in chat to register. Type !help for help
081013 11:44:18 CONSOLE 85:10 ClientUserinfo: 18 \ip\
081013 11:44:18 VERBOSE Parsed user info {
081013 11:44:18 VERBOSE Queueing event Client Team Change -1
081013 11:44:18 VERBOSE 177 cid changed from 18 to 18
081013 11:44:18 CONSOLE 85:10 ClientUserinfoChanged: 18
081013 11:44:18 VERBOSE Parsed user info {
081013 11:44:18 VERBOSE 177 cid changed from 18 to 18
081013 11:44:18 VERBOSE Queueing event Client Team Change 2
081013 11:44:18 VERBOSE Parsing Event: Client Team Change: PoweradminurtPlugin
081013 11:44:18 VERBOSE PoweradminurtPlugin: Client variable teamtime set to: 1223916258
081013 11:44:18 VERBOSE PoweradminurtPlugin: Teamchanged cid: 18, name: |cC|rogue, team: -1
081013 11:44:18 CONSOLE 85:10 ClientBegin: 18
081013 11:44:18 VERBOSE PoweradminurtPlugin: Player joined specs or team is unknown
081013 11:44:18 VERBOSE Parsing Event: Client Team Change: PoweradminurtPlugin
081013 11:44:18 VERBOSE PoweradminurtPlugin: Client variable teamtime set to: 1223916258
081013 11:44:18 VERBOSE PoweradminurtPlugin: Teamchanged cid: 18, name: |cC|rogue, team: 2

error during ShutdownGame, while trying to execute RCON for Client Team Change:
Code: [Select]
081013 11:44:18	VERBOSE	RCON sending (*) g_redteamlist
081013 11:44:18 CONSOLE 85:11 ShutdownGame:
081013 11:44:18 DEBUG EVENT: OnShutdowngame
081013 11:44:18 VERBOSE Queueing event Game Exit None
081013 11:44:18 CONSOLE 85:11 ------------------------------------------------------------
081013 11:44:19 DEBUG Get cvar g_redteamlist = ["g_redTeamList" is:"HKLOST^7" default:"^7"]
081013 11:44:19 VERBOSE RCON sending (*) g_blueteamlist
081013 11:44:20 ERROR RCON: ERROR reading: No readable socket
081013 11:44:20 VERBOSE RCON: retry sending g_blueteamlist...
081013 11:44:21 ERROR RCON: ERROR reading: No readable socket
081013 11:44:21 DEBUG RCON: Did not send any data
081013 11:44:21 DEBUG Get cvar g_blueteamlist = []
081013 11:44:21 ERROR handler PoweradminurtPlugin could not handle event Client Team Change: AttributeError: 'NoneType' object has no attribute 'getString' [('/home/urt/b3/parser.py', 483, 'handleEvents', 'hfunc.parseEvent(event)'), ('/home/urt/b3/plugin.py', 130, 'parseEvent', 'self.onEvent(event)'), ('b3/extplugins/poweradminurt.py', 262, 'onEvent', 'self.onTeamChange(event.data, event.client)'), ('b3/extplugins/poweradminurt.py', 632, 'onTeamChange', "self._teamblue = len(self.console.getCvar('g_blueteamlist').getString())")]
081013 11:44:21 VERBOSE Parsing Event: Game Exit: TkPlugin
081013 11:44:21 DEBUG TkPlugin: Map End: cutting all tk points in half
081013 11:44:21 VERBOSE Parsing Event: Game Exit: StatsPlugin
081013 11:44:21 DEBUG StatsPlugin: Map End: clearing stats
081013 11:44:22 CONSOLE 0:00 ------------------------------------------------------------
081013 11:44:22 CONSOLE 0:00 InitGame: \sv_allowdownload\0\g_matchmode\0\g_gametype\7\sv_maxclients\24\sv_floodprotect\1\g_warmup\45\capturelimit\20\sv_hostname\FSK405 UrbanTerror 4.1 ^1Superman24/7 [UAA]\g_followstrict\0\fraglimit\75\timelimit\0\g_cahtime\60\g_swaproles\1\g_roundtime\3\g_bombexplodetime\60\g_bombdefusetime\14\g_hotpotato\7\g_waverespawns\0\g_redwave\15\g_bluewave\15\g_respawndelay\10\g_suddendeath\1\g_maxrounds\0\g_friendlyfire\1\g_allowvote\0\g_armbands\0\dmflags\0\sv_minRate\0\sv_maxRate\0\sv_minPing\0\sv_maxPing\0\sv_dlURL\urbanteror.net\g_maxGameClients\18\g_deadchat\0\g_gear\0\g_teamnamered\^1FSK405\g_teamnameblue\^2Superman\g_survivorrule\0\version\ioq3 1.35urt linux-i386 Dec 20 2007\protocol\68\mapname\ut4_superman_b4\sv_privateClients\6\a Admin\Not telling you\a IRC\ETG #FSK405\a CPU\2.6 1GB Ram\a Connection\100Mbit\gamename\q3ut4\g_needpass\0\g_enableDust\0\g_enableBreath\0\g_antilagvis\0\g_survivor\0\g_enablePrecip\0\g_modversion\4.1\Admin\DankRider\Email\[email protected]\_B3\true
081013 11:44:22 DEBUG EVENT: OnInitgame
081013 11:44:22 VERBOSE Current gameType: ctf
081013 11:44:22 VERBOSE Queueing event Game Round Start <b3.game.Game object at 0x2aaaae192450>
081013 11:44:22 VERBOSE Parsing Event: Game Round Start: PoweradminurtPlugin
081013 11:44:22 CONSOLE 0:00 Warmup:
081013 11:44:22 DEBUG EVENT: OnWarmup
081013 11:44:22 CONSOLE 0:00 ClientConnect: 6
081013 11:44:22 CONSOLE 0:00 ClientUserinfo: 6 \ip\
081013 11:44:22 VERBOSE Parsed user info {
081013 11:44:22 VERBOSE Queueing event Client Team Change -1
081013 11:44:22 VERBOSE 3009 cid changed from 6 to 6
081013 11:44:22 VERBOSE Parsing Event: Client Team Change: PoweradminurtPlugin
081013 11:44:22 VERBOSE PoweradminurtPlugin: Client variable teamtime set to: 1223916262
081013 11:44:22 CONSOLE 0:00 ClientUserinfoChanged: 6
081013 11:44:22 VERBOSE Parsed user info {
081013 11:44:22 VERBOSE 3009 cid changed from 6 to 6
081013 11:44:22 VERBOSE Queueing event Client Team Change 3
081013 11:44:22 VERBOSE Parsing Event: Client Team Change: PoweradminurtPlugin
081013 11:44:22 VERBOSE PoweradminurtPlugin: Client variable teamtime set to: 1223916262

after that, team change tracking for poweradminurt stop working, as well as !teams:
Code: [Select]
081013 11:45:02	CONSOLE	0:43 Kill: 21 21 10: [ITA]TheLol killed [ITA]TheLol by MOD_CHANGE_TEAM
081013 11:45:02 DEBUG OnKill: 10 ([ITA]TheLol killed [ITA]TheLol by MOD_CHANGE_TEAM)
081013 11:45:02 VERBOSE Team Change Event Caught, exiting
081013 11:45:02 CONSOLE 0:43 ClientUserinfo: 21
081013 11:45:02 VERBOSE Parsed user info {
081013 11:45:02 VERBOSE Queueing event Client Team Change -1
081013 11:45:02 VERBOSE 380 cid changed from 21 to 21
081013 11:45:02 VERBOSE Parsing Event: Client Team Change: PoweradminurtPlugin
081013 11:45:02 CONSOLE 0:43 ClientUserinfoChanged: 21
081013 11:45:02 VERBOSE Parsed user info {
081013 11:45:02 VERBOSE 380 cid changed from 21 to 21
081013 11:45:02 VERBOSE Queueing event Client Team Change 2
081013 11:45:02 VERBOSE PoweradminurtPlugin: Client variable teamtime set to: 1223916302
081013 11:45:02 CONSOLE 0:43 ClientBegin: 21
081013 11:45:02 VERBOSE Parsing Event: Client Team Change: PoweradminurtPlugin
081013 11:45:02 VERBOSE PoweradminurtPlugin: Client variable teamtime set to: 1223916302
« Last Edit: October 20, 2008, 07:10:31 PM by mindriot »

Offline mindriot

  • Jr. Member
  • **
  • Posts: 23
Re: |URT4| Team Balancing
« Reply #8 on: October 20, 2008, 03:17:40 AM »
there is also an InitRound error.  probably unrelated to the team balance crash, as it happened every round before and after the above ShutdownGame error.


Code: [Select]
081013 10:47:47	CONSOLE	28:40 ------------------------------------------------------------
081013 10:47:47 CONSOLE 28:40 InitRound: \sv_allowdownload\0\g_matchmode\0\g_gametype\7\sv_maxclients\24\sv_floodprotect\1\g_warmup\45\capturelimit\20\sv_hostname\FSK405 UrbanTerror 4.1 ^1Superman24/7 [UAA]\g_followstrict\0\fraglimit\75\timelimit\0\g_cahtime\60\g_swaproles\1\g_roundtime\3\g_bombexplodetime\60\g_bombdefusetime\14\g_hotpotato\7\g_waverespawns\0\g_redwave\15\g_bluewave\15\g_respawndelay\10\g_suddendeath\1\g_maxrounds\0\g_friendlyfire\1\g_allowvote\0\g_armbands\0\dmflags\0\sv_minRate\0\sv_maxRate\0\sv_minPing\0\sv_maxPing\0\sv_dlURL\urbanteror.net\g_maxGameClients\18\g_deadchat\0\g_gear\0\g_teamnamered\^1FSK405\g_teamnameblue\^2Superman\g_survivorrule\0\version\ioq3 1.35urt linux-i386 Dec 20 2007\protocol\68\mapname\ut4_superman_b4\sv_privateClients\6\a Admin\Not telling you\a IRC\ETG #FSK405\a CPU\2.6 1GB Ram\a Connection\100Mbit\gamename\q3ut4\g_needpass\0\g_enableDust\0\g_enableBreath\0\g_antilagvis\0\g_survivor\0\g_enablePrecip\0\g_modversion\4.1\Admin\DankRider\Email\[email protected]\_B3\true
081013 10:47:47 DEBUG EVENT: OnInitround
081013 10:47:47 VERBOSE Current gameType: ctf
081013 10:47:47 VERBOSE RCON sending (*) status
081013 10:47:48 VERBOSE RCON: More data to read in socket
081013 10:47:49 ERROR could not parse line 'guid': [('/home/urt/b3/parser.py', 419, 'run', 'self.parseLine(line)'), ('/home/urt/b3/parsers/q3a.py', 123, 'parseLine', 'event = func(action, data, match)'), ('/home/urt/b3/parsers/iourt41.py', 685, 'OnInitround', 'self.clients.sync()'), ('/home/urt/b3/clients.py', 1042, 'sync', "if client.guid == c['guid']:")]
« Last Edit: October 20, 2008, 03:30:47 AM by mindriot »

Offline xlr8or

  • [ www.xlrstats.com ]
  • Project Lead
  • Hero Member
  • *
  • Posts: 2057
    • The Art of Tactical Gaming
Re: |URT4| Team Balancing
« Reply #9 on: October 20, 2008, 07:51:20 PM »
Thanks for the detailed report. I will insert a check on the rare occasion it happens in between maps or for some other reason the rcon socket is not available.

Offline xlr8or

  • [ www.xlrstats.com ]
  • Project Lead
  • Hero Member
  • *
  • Posts: 2057
    • The Art of Tactical Gaming
Re: |URT4| Team Balancing
« Reply #10 on: October 20, 2008, 08:35:58 PM »
Poweradminurt version 1.4.0b8 has extra checks.

Need a few testers for this version!
http://xlr8or.snt.utwente.nl/hg/poweradminurt?ca=tip;type=gz

Offline mindriot

  • Jr. Member
  • **
  • Posts: 23
Re: |URT4| Team Balancing
« Reply #11 on: October 20, 2008, 11:52:54 PM »
Poweradminurt version 1.4.0b8 has extra checks.

Need a few testers for this version!
http://xlr8or.snt.utwente.nl/hg/poweradminurt?ca=tip;type=gz


not sure why, but the contents of the .gz seem to be corrupted.  i'm using 7-Zip to open it in WinXP.

Offline xlr8or

  • [ www.xlrstats.com ]
  • Project Lead
  • Hero Member
  • *
  • Posts: 2057
    • The Art of Tactical Gaming
Re: |URT4| Team Balancing
« Reply #12 on: October 20, 2008, 11:59:24 PM »
hm, no problems here (winrar)

Offline mindriot

  • Jr. Member
  • **
  • Posts: 23
Re: |URT4| Team Balancing
« Reply #13 on: October 21, 2008, 12:35:42 AM »
ya, don't know what was wrong.  upgraded to 7-Zip 4.57, and it works now.  sorry about that.

thanks for the quick turnaround on this one, xlr8or.  i'll throw it up on the server and see if errors still occur.

did you figure out the InitRound error i posted here?

Offline mindriot

  • Jr. Member
  • **
  • Posts: 23
Re: |URT4| Team Balancing
« Reply #14 on: October 28, 2008, 11:38:33 PM »
I've seen it balance all players to one team ??? and I cannot reproduce or find out why this happens.

As for teambalance forcing all players to one team, I found the bug in the code and fixed it - poweradminurt version 1.4.0b13.  The issue was if clients voluntarily switched teams during a balance and the other team became dominant, the code would not change which team to move clients to.  The code knew there was an imbalance, but would keep moving clients from the original dominant team.
« Last Edit: October 28, 2008, 11:46:50 PM by mindriot »

 


Rate this page +1 at Google Search