LAGS in server
#1

Well my server is hosted by a good host
some time some players lags ! not all the players only few of them !
(to know if they are lagging i slap them for test ! but nothing hapen or they get slaped 10 seconds after ! i'm sue that's com from the GM / FS but i have know idea to know what FS make them lag
to fix they're lag they must relog
well any suggestion to fix that
Reply
#2

It could be due to inefficient scripting/timers.
Reply
#3

Quote:
Originally Posted by XFlawless
Посмотреть сообщение
It could be due to inefficient scripting/timers.
timer ...
i have about 7 timer !
2 of them workevery time
4 of them work only when you type a command
the other one detect if a player is on OPTION menu
and a last one is anti Cheat !
is that too much ?
Reply
#4

anything OnPlayerUpdate Callback?
Reply
#5

Quote:
Originally Posted by Kitten
Посмотреть сообщение
anything OnPlayerUpdate Callback?
yes ! i use a fader(text drawn) system ! (actually i'm deleting a lot of timer ! and the fader system too i don't know if this will avoid the lags)
Reply
#6

Use foreach and Y_Timers. It will definitely reduce some amount of lag.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)