Server keeps crashing with RemoveBuildingForPlayer. - 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)
+--- Thread: Server keeps crashing with RemoveBuildingForPlayer. (
/showthread.php?tid=594849)
Server keeps crashing with RemoveBuildingForPlayer. -
rangerxxll - 24.11.2015
We have our objects (And removebuildings) in a filterscript. We're experiencing frequent crashes when we gmx our server - and we're positive this is caused by removebuildingforplayer.
As a result, we have tried multiple methods to try and fix this issue. We've tried a timer to load the objects after another, and we've tried a timer which loads the objects for each individual player when they connect, based on a delay.
Is there any work around for this known crash? We have around 150 RemoveBuildings, maybe a bit more.
Re: Server keeps crashing with RemoveBuildingForPlayer. -
dominik523 - 24.11.2015
I've tried once to remove that garage door in Michele's garage (CJ's girlfriend from singleplayer) and then replace them with server-side object so I can open and close them when I wanted. It caused the crash so I assume if you try to remove an object and then place some other on the same position or nearby, it will cause the crash.