Log Chat with MYSQL == Too Demanding?
#4

Quote:
Originally Posted by cAMo
I'm not too familiar with GetTickCount, but I did look it up.

Would GetTickCount be better than doing something like:

OnPlayerText
{
if(String_Count < 5)
{
String_Count ++;
return 1;
}
else
{
return 0;
}
}

Then have a 1 second timer:
String_Count --;


Note: Obviously this doesn't work, but which method would you recommend? Timer or Tick?
Definitely GetTickCount, or gettime.


EDIT:

I dont know what your doing with that code, when i said flood protection, i mean make it so they cant come on your server with a little VB script and spend a ton of messages.
Reply


Messages In This Thread
Log Chat with MYSQL == Too Demanding? - by cAMo - 18.05.2010, 22:48
Re: Log Chat with MYSQL == Too Demanding? - by Kyosaur - 19.05.2010, 00:16
Re: Log Chat with MYSQL == Too Demanding? - by cAMo - 19.05.2010, 00:29
Re: Log Chat with MYSQL == Too Demanding? - by Kyosaur - 19.05.2010, 00:32
Re: Log Chat with MYSQL == Too Demanding? - by cAMo - 19.05.2010, 01:17
Re: Log Chat with MYSQL == Too Demanding? - by Kyosaur - 19.05.2010, 01:42
Re: Log Chat with MYSQL == Too Demanding? - by Bayler - 19.05.2010, 02:37
Re: Log Chat with MYSQL == Too Demanding? - by Kyosaur - 19.05.2010, 02:55
Re: Log Chat with MYSQL == Too Demanding? - by Bayler - 19.05.2010, 03:25
Re: Log Chat with MYSQL == Too Demanding? - by Sergei - 19.05.2010, 04:19

Forum Jump:


Users browsing this thread: 1 Guest(s)