Reduce Server Lag ?
#1

ok so i started having a problem with my server when i made it 0.3d
and it keeps on restarting very oferten now i got like 14/16 players
using SerferFFS(will change)

what could cause the lag ?
timers bim sure i killed them all after use
Audio Streaming ? i have a /plaeyr cmd in the server to play some music
Speed Meter ? speed meter is updated udenr OnPlayerUpdate
Reply
#2

dont timers in general cause lots of lag ?
audio streaming wont do hardly any damage same for speedo
Reply
#3

Quote:
Originally Posted by English-Conceptz
Посмотреть сообщение
dont timers in general cause lots of lag ?
audio streaming wont do hardly any damage same for speedo
The speedometer may cause problems as it is run in OnPlayerUpdate.

Try benchmarking parts of your script, to see what is taking the most time to execute.
Reply
#4

That benchmark is nothing compared to using the "Profiler plugin" which will give you a full list of all process that the script runs + times it takes to execute each. So I HIGHLY suggest you to use the "Profiler Plugin" for a few hours running in your public server.
Reply


Forum Jump:


Users browsing this thread: