Forum

> > CS2D > General > Will my server lag if there are too much scripts?
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch Will my server lag if there are too much scripts?

7 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Re: Will my server lag if there are too much scripts?

DC
Admin Off Offline

Zitieren
the simple answer to this questions is: yes, your server will lag with a big number of scripts.

however it's actually much more complicated. here are some facts:

• the size of your script does NOT really matter. there can be a 1 kb script which leads to horrible lags and a 1 mb script which runs smoothly without any lags!

• it depends on the actions you perform. every Lua or CS2D command which does something which is directly visible to clients like showing text, playing sounds, killing players, giving money or health, changing positions etc. will cause additional traffic! you can easily cause high lags by using these commands too frequently!

• the other thing which can cause lags is a long Lua script execution time. this can happen when you execute very long or complicated scripts or scripts with long loops.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht