• Welcome to Valhalla Legends Archive.
 

Adron's Flood Algorithm (RequiredDelay(DWORD bytes))

Started by Mephisto, November 30, 2004, 08:23 PM

Previous topic - Next topic

Mephisto

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).

Skywing

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).

Mephisto

Thanks; ended up writing my own last night in frustration with it, but thank you anyways.q

Adron

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?

MyndFyre

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.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

Mephisto

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?

Eric

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

Mephisto

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.

UserLoser.

See: Game.dll.  Atleast, that's where *somebody* and I's method comes from.  Except this person greatly modified the translation, AFAIK.

Adron

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.

Mephisto

Hmm, okay.  I will share though, just not until I make it accurate to the new flood algorithm.