alright so i have my bot, and it works great and all, and what i use for antiflood is, it adds all the commands im sending to bnet to a list, then a timer that goes off every 2 seconds sends the first item, etc etc.
im just wondering if there is a set ammout of time between each commands that you will not be banned for (d2) beacuse 2 secs between commands sound like a lot.
also, longer messages should take more time, but i dont know an accurate formula to set the delay with a message with x charactes.
any advice/formulas?
http://botdev.valhallalegends.com/documents/vbantiflood.html
hmmm i cant seem to break this down into somthing simple
basiclly what i need is the forumula like
antiflood.interval = (len (whatever) *10) + 1000
or somethin
Maybe you would get more help if your name wasn't so offensive.
gj u figured it out lol
Quote from: phvckmeh on May 07, 2004, 07:22 PM
hmmm i cant seem to break this down into somthing simple
basiclly what i need is the forumula like
antiflood.interval = (len (whatever) *10) + 1000
or somethin
Dim sMessage As String
Dim dNum As Double
sMessage = NameOfControlForMessage.Text
dNum = Len(sMessage) * 10 + 1000
AntiFlood.Interval = dNum
To clarify, this is ticks, correct? And a tick is the same as a millisecond?
I imagine he wants to do something similar to the method most people use for Anti Idle's where he sets the interval to 1000(1k ms) and uses a counter to count in seconds. In my snippet dNum is the counter being used.
thx, i found that len*10+1000 wasent enough
i tweaked it to len*15+1200