Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Mephisto on November 30, 2004, 08:23 PM

Title: Adron's Flood Algorithm (RequiredDelay(DWORD bytes))
Post by: Mephisto on November 30, 2004, 08:23 PM
Seeing as how Adron's flood algorithm's settings are set so that it runs effectively with the old flood algorithm on Battle.net, I was wondering if anyone came up with accurate settings for the new one.  Also, I had a question:  Are statements where you subtract tick from lasttick (negative number) suppose to be subtracting lasttick from tick (positive number)?  Just doesn't make sense that you'd have negative numbers in this algorithm to me.  (For reference, I got the code from the documents seection of the vL Website).
Title: Re: Adron's Flood Algorithm (RequiredDelay(DWORD bytes))
Post by: Skywing on December 01, 2004, 01:58 AM
The new system has at least one additional variable that accrues in a different manner.  It's not simply a matter of plugging in new constants to the old system (if you want to get an optimal solution, anyway).
Title: Re: Adron's Flood Algorithm (RequiredDelay(DWORD bytes))
Post by: Mephisto on December 01, 2004, 09:13 AM
Thanks; ended up writing my own last night in frustration with it, but thank you anyways.q
Title: Re: Adron's Flood Algorithm (RequiredDelay(DWORD bytes))
Post by: Adron on December 02, 2004, 10:43 AM
Quote from: Mephisto on December 01, 2004, 09:13 AM
Thanks; ended up writing my own last night in frustration with it, but thank you anyways.q

And will you share Mephisto's Flood Algorithm with the visitors to the Botdev forum?
Title: Re: Adron's Flood Algorithm (RequiredDelay(DWORD bytes))
Post by: MyndFyre on December 02, 2004, 10:44 AM
Quote from: Adron on December 02, 2004, 10:43 AM
And will you share Mephisto's Flood Algorithm with the visitors to the Botdev forum?

Yes indeed.  Sounds like a good plan.
Title: Re: Adron's Flood Algorithm (RequiredDelay(DWORD bytes))
Post by: Mephisto on December 02, 2004, 05:45 PM
It still requires some adjustments, and I'm still writing the dispatcher function for it; so no.  Btw Adron, that sounded like a comment where you thought that I thought that your flood algorithm wasn't as good as mine, is that so?
Title: Re: Adron's Flood Algorithm (RequiredDelay(DWORD bytes))
Post by: Eric on December 02, 2004, 06:00 PM
Quote from: Mephisto on December 02, 2004, 05:45 PM
It still requires some adjustments, and I'm still writing the dispatcher function for it; so no.  Btw Adron, that sounded like a comment where you thought that I thought that your flood algorithm wasn't as good as mine, is that so?

It's a forum.  When you ask a question and then later figure out the answer on your own, it's asked that you post the solution to help others who may have the same question or those who are just curious on how you solved the problem.  I believe that's all he meant by that.

Personally, I'd like to hear about Skywing's flood protection methods.
Title: Re: Adron's Flood Algorithm (RequiredDelay(DWORD bytes))
Post by: Mephisto on December 02, 2004, 06:24 PM
I understand LoRd; I just forget that request a lot :)  But it just sounded a bit hostile from Adron's comment.  I'd also be interested in seeing Skywing's flood protection code.
Title: Re: Adron's Flood Algorithm (RequiredDelay(DWORD bytes))
Post by: UserLoser. on December 02, 2004, 06:29 PM
See: Game.dll.  Atleast, that's where *somebody* and I's method comes from.  Except this person greatly modified the translation, AFAIK.
Title: Re: Adron's Flood Algorithm (RequiredDelay(DWORD bytes))
Post by: Adron on December 03, 2004, 01:19 PM
Quote from: Mephisto on December 02, 2004, 05:45 PM
Btw Adron, that sounded like a comment where you thought that I thought that your flood algorithm wasn't as good as mine, is that so?

No, it was more of a comment that I think you should share your theories with us, but the tone was to indicate that I expect that you won't share.
Title: Re: Adron's Flood Algorithm (RequiredDelay(DWORD bytes))
Post by: Mephisto on December 03, 2004, 02:12 PM
Hmm, okay.  I will share though, just not until I make it accurate to the new flood algorithm.