• Welcome to Valhalla Legends Archive.
 

Auto kick low levels bot

Started by Tourn, January 07, 2003, 03:36 PM

Previous topic - Next topic

Tourn

;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 :(

MiCrOz

#1
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.

UserLoser

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.

RhiNo

#3
User you still can you just have to do /stats when war3 users join the channel

Zakath

#4
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.
Quote from: iago on February 02, 2005, 03:07 PM
Yes, you can't have everybody...contributing to the main source repository.  That would be stupid and create chaos.

Opensource projects...would be dumb.

Noodlez

#5
isn't that the only way? =P

oh...you can also get it from a profile key i think

UserLoser

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

RhiNo

#7
Thats why ya make a bot that can figure that shit out :-P

UserLoser

#8
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..