SA-MP Forums Archive
Filterscripts slowing server down? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Filterscripts slowing server down? (/showthread.php?tid=191449)



NEW QUESTION! about compile errors.. - Kitten_Blind - 19.11.2010

Hello ! My name is Dennis and i am making a server by myself, and ive downloaded alot from this forum (pm system, admin system, anti cheat system, whirlpool, textdraw system, some more) and i wonder, does it slow your server down to have many filterscripts? I mean what Iґve heard most people put everything in the gamemode, but its easyer for me to just download filterscripts since i cant script fo shit

If it dosent slow my server down, im thinking of making the most stuff as filterscripts then just put maps in gamemode ?

Because Iґve had servers before, and my scripters i had was saying that the gamemode was to big (amx file was like 6mb) because of all my commands and maps ! so it made the server slow.. made it crash sometimes and just work really slooow..

Regards, Dennis
(Sorry if my english is a bit weird sometimes, im a 15 yo boy from sweden xP)


Re: Filterscripts slowing server down? - Ivan_Pantovic - 19.11.2010

It shouldn't slow it down because they are filterscripts but still , i suggest you to add them in one Game Mode , it will be easyer for you to use them ...


Re: Filterscripts slowing server down? - Kitten_Blind - 19.11.2010

Nah, ill put commands and stuff in gamemode tho. but thanks for the help


Re: Filterscripts slowing server down? - Slice - 19.11.2010

If you find it hard to keep track of a huge .pwn file, you can split it up in many files.

Cut the code you want to move into a new file, then put that file in the same folder and use #include "file name.pwn"

There's a swedish section on this forum, btw (see the bottom of the main page).


Re: Filterscripts slowing server down? - Kitten_Blind - 19.11.2010

Thanks! And i know i just found that out But i think it was good i posted here, i got a feeling theres alot more english talking/typing people on this forum than swedish ones.


Re: Filterscripts slowing server down? - Slice - 19.11.2010

Quote:
Originally Posted by Kitten_Blind
Посмотреть сообщение
Thanks! And i know i just found that out But i think it was good i posted here, i got a feeling theres alot more english talking/typing people on this forum than swedish ones.
Yeah there seems to be like 5 somewhat active swedes, and one really active (me).


Re: Filterscripts slowing server down? - Kitten_Blind - 19.11.2010

Haha nice to snacka med en svenne dе And yeah i saw that the swedish part of the forum wasnt to active lol haha..


Re: Filterscripts slowing server down? - Di4blo - 19.11.2010

it shouldn't happens to filterscripts lagging Your server, but it could happens, when there's much Timers in map or FS's. Otherwise, it gonna be fine


Re: Filterscripts slowing server down? - Scenario - 19.11.2010

Quote:
Originally Posted by ******
Посмотреть сообщение
There's no real reason why code in one or the other should make a major difference.
That is unless it was horribly scripted to begin with.


Re: Filterscripts slowing server down? - Kitten_Blind - 19.11.2010

Thanks all