This timers may cause lag?
#1

Hi guys,i need a fast tip.
I use this timers OnGamemodeInit:

pawn Code:
SetTimer("AutoSave",10000,false);
    SetTimer("Ping_Timer", 10000, true);
    SetTimer("MoneyCheck", 1000, true);
    zonetimer = SetTimer("ZoneUpdate", 2000, true);
    timer1 = SetTimer("AntiCheat",5000,true);
    SetTimer("Messages", 120000, true);
My question is: Does this timers will cause lag with 100+ players online?

Thanks.
Reply
#2

On a powerful server, you will be fine.

EDIT: are you using any file functions?
Reply
#3

Quote:
Originally Posted by linuxthefish
View Post
On a powerful server, you will be fine.

EDIT: are you using any file functions?
Yes,i'm using it for registration/login/email system.

I try to use [128] cells instead of [256].
Reply
#4

Quote:
Originally Posted by Logitech90
View Post
Yes,i'm using it for registration/login/email system.

I try to use [128] cells instead of [256].
The only way you will find out is throughout testing. It all depends on what code you are running, and your server specs.
Reply
#5

I tested with 4 players and the server doesn't lag,but 4 players are too low to see if lags or not...
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)