GTA-RP High Requirements - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: GTA-RP High Requirements (
/showthread.php?tid=154623)
GTA-RP High Requirements -
Gigi-The-Beast - 14.06.2010
Hello
Me again

I have a gta rp edit
I done everithing to optimize it, defined to only 60 max_players, the ammount i have for my server, then i defined to only 500 max_vehicles, optimized some timers, optimized almost all arrays to 128 and lover instead of 256, deleted onplayerupdate, but still, it uses much resources of the host
with 60 players it should use only 10-15% cpu, but mine uses 90% with 30-40 players
is anyone willing to check my script and see what the actuall problem is
i am desperate and i need help
Re: GTA-RP High Requirements -
Pghpunkid - 04.02.2011
You have a infinite loop, or are overworking your timers/have too many timers. Array sizes would only affect memory.
Are you saving to file in OnPlayerUpdate?
EDIT: Holy necrothread batman.. what have i done?
Re: GTA-RP High Requirements -
PeteShag - 04.02.2011
He asked that on 15/06/2010 :S
Re: GTA-RP High Requirements -
AlExAlExAlEx - 04.02.2011
Quote:
Originally Posted by PeteShag
He asked that on 15/06/2010 :S
|
He actually did it in 14/16/2010
Re: GTA-RP High Requirements -
Bumbis - 04.02.2011
He actually did it in 14/16/2010
What? There are only 12 months in year.
Re: GTA-RP High Requirements -
Pghpunkid - 06.02.2011
Hence why i added my edit. I think this conversation is over.