luisTJ / ghostplusplus

Automatically exported from code.google.com/p/ghostplusplus
Other
0 stars 0 forks source link

Make spoofchecks only check potential admins #42

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I use my bot together with several friends some of whom have non-english wc3 
installs, so they 
are 
not auto-spoofchecked upon joining by the bot because it doesn't interpret 
localized versions of 
the "your friend [...] has joined a game [...]". While that is also something 
that should be fixed, 
this 
ticket is about a change in handling the bot_spoofchecks config value.
I'd like to add an option to bot_spoofchecks, which would result in 3 options:

bot_spoofchecks = 0     unchanged, no automatic spoofchecking
bot_spoofchecks = 1     unchanged, automatic spoofchecking for all players
bot_spoofchecks = 2     new option, only auto-spoofcheck potential admins

I'd like to add this so my admins can issue commands without having to manually 
spoofcheck but 
not spoofcheck everyone because that adds up to the bnet-queue and slows other 
commands to 
bnet (and I don't really care about people spoofing their names).

Original issue reported on code.google.com by luq...@gmail.com on 3 Sep 2009 at 8:01

GoogleCodeExporter commented 9 years ago
related forum topic is at http://forum.codelain.com/index.php?topic=7780.0

Original comment by luq...@gmail.com on 3 Sep 2009 at 8:05

GoogleCodeExporter commented 9 years ago
An excellent idea!

Original comment by hogantp on 3 Sep 2009 at 8:35

GoogleCodeExporter commented 9 years ago
As an additional note, r297 should solve the multiple language problem 
preventing
spoof checking for mutual friends.

Original comment by hogantp on 3 Sep 2009 at 8:40

GoogleCodeExporter commented 9 years ago
great, already checked it out in order to check it out :P

Original comment by luq...@gmail.com on 3 Sep 2009 at 8:54

GoogleCodeExporter commented 9 years ago
Added in r298.

Original comment by hogantp on 5 Sep 2009 at 4:59