Posts: 1,648
Threads: 482
Joined: Jun 2010
I've been trying to trace the cause of this issue. Someone sent me a client log that could be to do with objects but I can't find traces of this error ever happening on the forums. I'm very confused. I've done a million things to try and prevent it to no avail, strangely enough it fixes when I remotely ajail them (changing their position) and it works fine when they login.
Posts: 1,648
Threads: 482
Joined: Jun 2010
It only seems to happen on my server, however. They try logging into different ones and it doesn't crash them. It's only OnPlayerSpawn.
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
For error reports like that you really only want to look at the last two lines which list the last executed SCM opcode and the last rendered object. The other information is useless to anyone but the developer (i.e. Kalcor). Perhaps with the exception of the crash address as it can give you a crude idea where to look. Addresses starting with 00 means it's in GTA SA, addresses starting with 3A means it's in the SA-MP client and anything higher (like 77 or so) means it's a third party program interfering.
Posts: 1,648
Threads: 482
Joined: Jun 2010
I've been reading pretty hard and I eventually came across something to do with objects, I also noted that a player printed on the last few lines about an object from their samp crash. I've reduced the MAX_VISIBLE_OBJECTS. It should also be noted that the crash only happens OnPlayerSpawn despite my best efforts, I also read that if you have OnPlayerRequestClass to return 1; and you don't set the position it might not work properly, so I've returned 0; I'm going to test it.
Thanks very much.
How do I get a log of last rendered objects?
Posts: 1,648
Threads: 482
Joined: Jun 2010