[bf1942] Autobalance code... (FIXED!)

Dave Snodgrass packtloss at gmail.com
Sat Jun 25 18:49:04 EDT 2005


As per a friend of mine whos testing it:

I believe the autobalance stuff has borked rcon, the only reason I say
this is because bf2cc use to work before hand and now it doesnt. I
tested this on a private server and with the autobalance FIX installed
RCON does not respond, without it rcon is fine.

Have you noticed this behaviour?

./d

On 6/25/05, Götz Klingelhöfer [KGN] <tankmann at krawall.de> wrote:
> Hey Dave,
> 
> would be interesting for me if that fix worked out for ya.
> 
> Cheers,
> 
> --Goetz aka Tankmann
> Krawall.de
> (www.k-play.de // Official Ranked Servers Germany)
> 
> > -----Ursprüngliche Nachricht-----
> > Von: Dave Snodgrass [mailto:packtloss at gmail.com]
> > Gesendet: Samstag, 25. Juni 2005 21:24
> > An: bf1942 at icculus.org
> > Betreff: Re: [bf1942] Autobalance code... (FIXED!)
> >
> > Thanks soooo much. I'll try it right now :)
> >
> > ./dave
> >
> >
> > On 6/25/05, Götz Klingelhöfer [KGN] <tankmann at krawall.de> wrote:
> > > Hey guys,
> > >
> > > we searched some hours finding the problem with the
> > autobalance. It is
> > > quite easy =)
> > >
> > > You need to update the file
> > > DEDICATEDDIR/admin/standard_admin/autobalance.py
> > >
> > > Find the entry:
> > > "host.registerHandler('PlayerConnect', onPlayerConnect)"
> > > (this file is registering a callback function if a player connects
> > > (onPlayerConnect)
> > >
> > > This did not work out yet but if you change the entry into:
> > > "host.registerHandler('PlayerConnect', onPlayerConnect,1)" and
> > > everything will work.
> > >
> > > Hope this will help anybody out there!
> > >
> > > Cheers,
> > >
> > > --Goetz aka Tankmann
> > > Krawall.de
> > > (www.k-play.de // Official Ranked Servers Germany)
> > >
> > > > -----Ursprüngliche Nachricht-----
> > > > Von: Dave Snodgrass [mailto:packtloss at gmail.com]
> > > > Gesendet: Samstag, 25. Juni 2005 21:02
> > > > An: bf1942 at icculus.org
> > > > Betreff: [bf1942] Autobalance code...
> > > >
> > > > Anyone else running this code?:
> > > >
> > > > diff -rw
> > > >
> > bf2-linuxded-1.0.2442.0-ORIGINAL/admin/standard_admin/autobalance.py
> > > > bf2-linuxded-1.0.2442.0/admin/standard_admin/autobalance.py
> > > > 35a36,40
> > > > > # Only balance with un-squadded players if
> > p.isCommander(): return
> > > > > None if p.isSquadLeader(): return None if p.getSquadId() >
> > > > 0: return
> > > > > None
> > > > >
> > > >
> > > > We went from an autobalancing server to one thats doing nothing.
> > > > Chinese team has half the population of the american team - And
> > > > there isnt that many people in squads :)
> > >
> > >
> 
>



More information about the Bf1942 mailing list