10.05.2014, 16:03
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.
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.