Just a simple question
#1

As the title says, just a simple question:

What is less RAM consuming or anything like that, adding a script as a filterscript or directly into the gamemode?

Thanks (:
Reply
#2

Removed.
Reply
#3

I think, it does not matter, if you wanna use less ram you probably have to use less variables in your script
(as far as I know)

But you shouldn't worry much about ram, people say 512 if enough for a server.

Adding your code to a filterscript or gamemode will consume the same amount of ram, but I think gamemode run codes faster then a filterscript, thats the only advantage I see.
Reply
#4

Quote:

Gamemodes must be in gamemodes.

Hmmm... Yes!? I'm talking about scripts that add something to the Server, like a map + teleport.

Quote:

gamemode run codes faster then a filterscript

You mean that gamemode may cause less lagg than adding stuff as a filterscript as it loads it faster?
Reply
#5

By my experience, yes.

If you're coding something and you want it to run fast, put in the gamemode.

If your adding a side-code, like a minigame and don't really care about speed, put it in a Filterscript
Reply
#6

Thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)