Posts: 964
Threads: 28
Joined: May 2013
Reputation:
0
Can anyone shed any light on this?
Guest4390857394857
Unregistered
show us your last server logs!
Posts: 1,099
Threads: 79
Joined: Nov 2011
Reputation:
0
Now follow my procedure:
Since you are compiled with -d3, wait for the next server crash. Once your server crashes, look at the server_log.txt and see if you have any prints over there.
If you don't, remove the trunk system or disable it. You may partially remove this.
I bet the issue is a writing / saving issue. So remove all Saving / writing functions, comment them out. Run the server and see if you crash, if you don't, your issue is most probably from there.
INI_WriteInt, INI_WriteString, especially strings, if you are writing a string, that can cause an issue if not done properly.
Posts: 964
Threads: 28
Joined: May 2013
Reputation:
0
13.05.2014, 09:02
(
Последний раз редактировалось PrivatioBoni; 13.05.2014 в 12:14.
)
This isn't really to Tamer T as I've been speaking to him on Skype:
No crash detect prints. It is loaded OK. So I don't think that's helpful in this case.
I've printed(printf) whenever a function is called, and that does not help with the situation either. Even fully removing the trunk system did not help. The server will crash even if no one is online, and the logs don't help.
However, I can't seem to get profiler to work, I can't find where it is outputting/it is not outputting anywhere.
I do think it might be somehow CPU related since the ping does seem to go high when the server half crashes.
Posts: 964
Threads: 28
Joined: May 2013
Reputation:
0
The server hanging has absolutely nothing to do with my script (although I tidied it up quite a lot)
The server hanging is even happening on lvdm, a mode which you get with the SA:MP package. At the same time, I fail to see how it's the host because I've tried two different ones. What could be the problem then?!
Posts: 964
Threads: 28
Joined: May 2013
Reputation:
0
How will this help if it crashes on any script, even the ones supplied by the SA:MP team?