Miscellaneous > The Lounge

FLOOD CONTROL IS FUCKED

<< < (2/3) > >>

Stilly:
I haven't been getting it

but i dont post that much

Pissed_Macman:

quote:Originally posted by The Stiller:
I haven't been getting it

but i dont post that much
--- End quote ---

LMAO STILLER WAS PWNED BY HIMSELF LOLOLOLOL

mobrien_12:
Ok it sounds like this is what's happening is like

IF ((posttime-lastposttime)< (60 seconds))
   THEN
       Flood control
   ELSE
       allow post
ENDIF

The easy fix would be to change the if statement to read

IF (ABS(posttime-lastposttime)< (60 seconds))

Where ABS is the absolute value function.
Then even if the clock gets messed up again, the worst thing that can happen in the flood control is active only for 60 seconds.

Canadian Lover:

quote:Originally posted by M. O'Brien:
Ok it sounds like this is what's happening is like

IF ((posttime-lastposttime)< (60 seconds))
   THEN
       Flood control
   ELSE
       allow post
ENDIF

The easy fix would be to change the if statement to read

IF (ABS(posttime-lastposttime)< (60 seconds))

Where ABS is the absolute value function.
Then even if the clock gets messed up again, the worst thing that can happen in the flood control is active only for 60 seconds.
--- End quote ---

This is not a PHP based foum.

hm_murdock:
and therefore your logic seems to be that basic programming ideas cannot apply to the forum since it isn't PHP

this is a poor assumption. being that it uses CGI scripting, I would say you are in fact a gimp

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version