Valhalla Legends Archive

Programming => Battle.net Bot Development => Battle.net Bot Development References => Topic started by: Tourn on January 07, 2003, 03:36 PM

Title: Auto kick low levels bot
Post by: Tourn on January 07, 2003, 03:36 PM
;D

I want to create a bot that will check players level precentage and icon. then if player isnt above a cirtain level or he doesnt have a certain icon he will get banned....

Can I do that, and would I be able to see the source of the bot if excisting to know its not stealing my only serial :(
Title: Re: Auto kick low levels bot
Post by: MiCrOz on January 07, 2003, 04:14 PM
Well, banning by icon/product is easy,

Have your bot check the person joining's product code and see if its the same as the one you want, and if not then ban. Like If product isnt "PX2D" Then /ban strUser or something of that variation.

Banning by level can be done, I'm just not too sure how exactly. You'd have to check the statstring, find the level, and do a If lvl < "80" then /ban user or something like that.

Hope this helps you.
Title: Re: Auto kick low levels bot
Post by: UserLoser on January 08, 2003, 11:37 AM
If you're talking about Warcraft III Tourn, you can not get a players win percent, or how many wins they have, however you can get what icon they have.
---
You used to be able to get a players win amount on Warcraft III, but battle.net changed the statstring format.
Title: Re: Auto kick low levels bot
Post by: RhiNo on January 08, 2003, 12:52 PM
User you still can you just have to do /stats when war3 users join the channel
Title: Re: Auto kick low levels bot
Post by: Zakath on January 08, 2003, 07:18 PM
For War3, you can also obtain their level simply from the statstring.

[00:18:17] *Rebel@Azeroth is here using Warcraft III: Reign of Chaos (Level 12, best race night elves, icon archer), with a ping time of 328ms and flags of 0.
Title: Re: Auto kick low levels bot
Post by: Noodlez on January 08, 2003, 08:51 PM
isn't that the only way? =P

oh...you can also get it from a profile key i think
Title: Re: Auto kick low levels bot
Post by: UserLoser on January 09, 2003, 07:04 AM
Rhino i know the /stats command...
---
And that does not show the players overall win count, it just shows ffa, solo, and team, does not show arranged team, so doing /stats username war3 is far off from their actual win amount
Title: Re: Auto kick low levels bot
Post by: RhiNo on January 09, 2003, 10:18 AM
Thats why ya make a bot that can figure that shit out :-P
Title: Re: Auto kick low levels bot
Post by: UserLoser on January 09, 2003, 02:56 PM
All we(or I) have to do is find the key thats sent to request total wins.  I would be on logging it, just i got IP banned for the dumbest reason..