Server Crashing
#1

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
Reply
#2

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.
Reply
#3

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.
Reply
#4

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

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

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

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

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
Reply
#9

bump.
Reply
#10

b.u.m.p
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)