SA-MP Forums Archive
Server Crashing - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Server Crashing (/showthread.php?tid=393109)



Server Crashing - [HK]Ryder[AN] - 17.11.2012

Please help, my server is crashing after i spawn. i move for some time then it crashes.


it gets fixed if i remove my RemoveBuildingForPlayer codes..maybe some invalid object it?

here are the codes
http://pastebin.com/ySYZZ0e6

the weird thing is, when i debug the script using print functions..it comes out to be fine


Re: Server Crashing - Black Wolf - 17.11.2012

Why the crashing issues happens with you the most?

Btw do you have objects on spawn areas if yes check the invalid objects and remove it.


Re: Server Crashing - [HK]Ryder[AN] - 17.11.2012

Quote:
Originally Posted by Black Wolf
Посмотреть сообщение
Why the crashing issues happens with you the most?

Btw do you have objects on spawn areas if yes check the invalid objects and remove it.
Lol..the crashing issue that was happening earlier was fixed. it was array overflow.

Okay i will check the objects..there are ALOT of objects.


Re: Server Crashing - Black Wolf - 17.11.2012

i only know this object id which was crashing my game earlier 18846.Check this and also search for more invalid objects.


Re: Server Crashing - Ballu Miaa - 17.11.2012

Haardik is it about the same RemoveBuildingForPlayer so many functions?? Check your OnPlayerSpawn(playerid) callback for errors or wrong implementation?


Re: Server Crashing - [HK]Ryder[AN] - 17.11.2012

unfortunately, yes..and on removing it, server works..idk whats happening.


Re: Server Crashing - Ballu Miaa - 17.11.2012

Quote:
Originally Posted by [HK]Ryder[AN]
Посмотреть сообщение
unfortunately, yes..and on removing it, server works..idk whats happening.
Then you better remove them!


Re: Server Crashing - [HK]Ryder[AN] - 17.11.2012

Well i was commenting some random lines and i commented loads of em..and it worked
after uncommenting i nforgot which one arghh
heres the whole code..help me find the one which crashes
http://pastebin.com/ySYZZ0e6


Re: Server Crashing - [HK]Ryder[AN] - 19.11.2012

bump.


Re: Server Crashing - [HK]Ryder[AN] - 20.11.2012

b.u.m.p