All In One [Suggest/Feedback]
#13

While developing you are going to run into a problem:
SA:MP isn't multi-threaded, there is a plugin for that but PAWN isn't thread-safe, nor is SA:MP. You can't use different threads because neither samp or pawn supports it. This means everything will happen on the same "level", only one thing can be done at a time.

Let's say you have a gasoline/speedometer timer on the RP GM. this will tick every 1/2 a second, and will take something like 0.1-1ms to process. You also have a stopwatch timer on TDM, a trigger timer on Trucking, etc. You will be running A LOT of timers. Even if you bunch all of these into just 1 timer (wich would be a very reasonable thing to do) that timer will take a LOT of time to process per tick. Your server will be under lots of stress with the GM.

Now you will have latency with commands & other functions since the timer takes a lot of time per second to process. when you type /kill for example when the server is processing your timer, it will first finish processing the timer and then process the command /kill (wich takes pretty much no time at all).

Not only do you have a gamemode that takes several hundred ms to do something, you have 25 different gamemodes. To be honest, it needs atleast 10 players per mode for it to be fun, and that would mean the server needs to process stuff for 250 players. Takes time.

(Also btw, that idea is not "unique" or "never-before seen", ****** Xportal and you will find out it's been done)

I've thought about making this kind of a "multiserver" multiple times, but always have come to the conclusion, it's too much. 3-5 modes may be small enough for the server to handle, but oh god not 25!

I am personally making a server that has several different modes combined into 1 mode. They all run in the same virtualworld and can interact with eachother. (Ex. Stunting: there are just a few bikeriders at some places doing stunts, doesn't really bother anyone, Trucking and CnR combine pretty nicely, you can join street races, etc.)

IF you would be able to solve all the stress problems, i bet there's only going to be 3-15 people on the server at a time on just a few of the gamemodes (since being alone in counter-strike isn't that fun, is it?)

Go ahead and rep- me for my opinions, i've seen it all.
Reply


Messages In This Thread
All In One [Suggest/Feedback] - by Alex Magaсa - 18.07.2013, 10:38
Re: All In One [Suggest/Feedback] - by IstuntmanI - 18.07.2013, 10:42
Re: All In One [Suggest/Feedback] - by Alex Magaсa - 18.07.2013, 10:45
Re: All In One [Suggest/Feedback] - by Twizted - 18.07.2013, 10:49
Re: All In One [Suggest/Feedback] - by Alex Magaсa - 18.07.2013, 10:53
Re: All In One [Suggest/Feedback] - by Twizted - 18.07.2013, 11:00
Re: All In One [Suggest/Feedback] - by Alex Magaсa - 18.07.2013, 11:07
Re: All In One [Suggest/Feedback] - by Twizted - 18.07.2013, 11:18
Respuesta: All In One [Suggest/Feedback] - by Gryphus One - 19.07.2013, 00:10
Re: All In One [Suggest/Feedback] - by Baboon - 19.07.2013, 09:43
Re: All In One [Suggest/Feedback] - by Alex Magaсa - 19.07.2013, 11:23
Re: All In One [Suggest/Feedback] - by Michael@Belgium - 19.07.2013, 11:25
Re: All In One [Suggest/Feedback] - by [FSaF]Jarno - 19.07.2013, 12:11
Re: All In One [Suggest/Feedback] - by Kwarde - 19.07.2013, 13:09
Re: All In One [Suggest/Feedback] - by niCe - 19.07.2013, 14:08
Re: All In One [Suggest/Feedback] - by SkippyBall - 19.07.2013, 14:22
Re: All In One [Suggest/Feedback] - by Kwarde - 19.07.2013, 15:32
Respuesta: All In One [Suggest/Feedback] - by Gryphus One - 20.07.2013, 00:00
Re: All In One [Suggest/Feedback] - by PockerFace - 20.07.2013, 06:12
Re: All In One [Suggest/Feedback] - by MP2 - 20.07.2013, 07:41
Re: All In One [Suggest/Feedback] - by linuxthefish - 20.07.2013, 08:29
Re: All In One [Suggest/Feedback] - by Alex Magaсa - 23.07.2013, 09:58
Re: All In One [Suggest/Feedback] - by Kwarde - 23.07.2013, 15:39
Re: All In One [Suggest/Feedback] - by reefer - 24.07.2013, 10:24
Re: All In One [Suggest/Feedback] - by Alex Magaсa - 24.07.2013, 10:33
Respuesta: Re: All In One [Suggest/Feedback] - by Gryphus One - 24.07.2013, 14:04
Re: All In One [Suggest/Feedback] - by Yves - 24.07.2013, 14:40
Re: All In One [Suggest/Feedback] - by Stevo127 - 24.07.2013, 14:51
Re: All In One [Suggest/Feedback] - by thefatshizms - 24.07.2013, 15:00
Re: All In One [Suggest/Feedback] - by Alex Magaсa - 24.07.2013, 17:15
Re: All In One [Suggest/Feedback] - by thefatshizms - 24.07.2013, 17:20
Respuesta: All In One [Suggest/Feedback] - by Gryphus One - 24.07.2013, 20:10
Re: All In One [Suggest/Feedback] - by Kwarde - 24.07.2013, 20:11
AW: All In One [Suggest/Feedback] - by NaS - 24.07.2013, 21:13
Re: All In One [Suggest/Feedback] - by xxSwissxx - 24.07.2013, 22:09
Respuesta: Re: All In One [Suggest/Feedback] - by Gryphus One - 24.07.2013, 22:14
Re: All In One [Suggest/Feedback] - by Kwarde - 24.07.2013, 22:43
AW: Respuesta: Re: All In One [Suggest/Feedback] - by NaS - 25.07.2013, 08:54
Re: All In One [Suggest/Feedback] - by xxSwissxx - 25.07.2013, 09:10
Respuesta: AW: Respuesta: Re: All In One [Suggest/Feedback] - by Gryphus One - 25.07.2013, 20:38
Re: All In One [Suggest/Feedback] - by Alex Magaсa - 26.07.2013, 08:51

Forum Jump:


Users browsing this thread: 1 Guest(s)