Posts: 290
Threads: 39
Joined: Nov 2012
Reputation:
0
I have a great problem, i have a big script and it works. But it works bad. It crash too mutch. So i wanna know, when i get no errors, no warnings. How can i fix the script. I have no idea what lines that bug, no ideas what i can do. Please help me...
Posts: 241
Threads: 5
Joined: Jul 2012
Reputation:
0
Is the script made by you?
See which command makes it crashes, then look over the line.
Posts: 482
Threads: 3
Joined: Dec 2009
Reputation:
0
Make sure you don't have too many timers running all the time it will cause the server to fail and then crash.
Posts: 1,176
Threads: 114
Joined: May 2012
Reputation:
0
Try to check your commands witch probably are the ones that makes the lag / crash . Sure that the commands are not the only lines that make the crashes . Check your mappings , they are some of the reasons why crash happen in some points of the map . Other reasons why the crashes happen can be because of some outdated plugins or outdated sa-mp version . Update your plugins etc . and try to remove the things you don't need / use in your server .
Good luck
Posts: 973
Threads: 10
Joined: Sep 2012
Reputation:
0
You must've passed a pawn limit, maybe too many TextDraws/Objects try to reduce one.
Posts: 937
Threads: 106
Joined: Jan 2010
Reputation:
0
I suggest using a streamer plugin.
Then converting everything over to the Streamer functions;
Objects, 3DText, Etc.
IE: CreateObject will be CreateDynamicObject and so on.
Posts: 7,801
Threads: 187
Joined: Feb 2010
Reputation:
0
There is a crash detect plugin that you could use. Seems like it might be more use to you. Search for it in the plugins board.
Furthermore, it is a good idea to log just about everything on the server. Messages sent/received, commands executed (either successful or not), each time a callback is called, etc.
When things are logged, you will always have something to look at when your server crashes. You can always try to replicate the crash to determine the cause and them obviously resolve the problem.
However, the crash detect plugin helps too.