Posts: 110
Threads: 34
Joined: Jun 2015
Reputation:
0
HI,i've downloaded a Samp GM for COD total war but when i put it it takes like 100%cpu usage or 107% so please anyone can help me,please !?
Posts: 1,004
Threads: 18
Joined: Oct 2014
Reputation:
0
I guess your host is poor and lacking of CPU.
Have a look on the gamemode itself and seek for mappings / timers which may affect your server's performance.
Could you post your hosts specs as well?
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
Gamemode is shit. Has an infinite loop or is wrecking OnPlayerUpdate. Find another gamemode if you can't fix it.
Posts: 226
Threads: 6
Joined: Jan 2013
Reputation:
0
If it constantly uses 100% of cpu you should check your gamemode first. Looks like there is an infinite loop somewhere inside it.
If you are able to stop SA-MP server with "exit" console command or in any other way which calls OnGameModeExit, I suggest you to use profiler plugin to find a problem (it should point you to a hungry function).
If you can't stop server in regular way (Ctrl+C, "exit", /rcon gmx and so on) and the only way to stop it is to kill a process, you should find another (better) gamemode or try to locate that loop (but it's another topic)
Posts: 110
Threads: 34
Joined: Jun 2015
Reputation:
0
well,anyone can help me as i am still newbie at scripting not good much i've searched alot and found another one it is like the first one and have the some problem..can anyone fix it ? or atleast tell me things that i can understand or give me some links that might help me,please?,thanks