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

Götz Klingelhöfer [KGN] tankmann at krawall.de
Sat Jun 25 18:26:24 EDT 2005


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