SA-MP Forums Archive
Player crash after Spawn - 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: Player crash after Spawn (/showthread.php?tid=641573)



Player crash after Spawn - OwlIT - 17.09.2017

Yesterday I've made some changes to my gamemode, unfortunately I didn't test it and I just went to sleep. Now when I try to login to my server the player crashes after the spawn. It all works perfectly inside, I've put like 200 debug lines to every function called when the player connects / requests spawn / spawns, everything works fine, even with crashdetect and nativechecker nothing appears and in the mysql_log also I don't find any error or warning. The major change that I've done yesterday was a garage system (I've also tried to remove the modules from the GM, but nothing).

I've also tried to make the player spawns to different coords, different virtual worlds and different interiors (thinking that maybe the problem were related to player's position or some objects / pickups / labels created) but nothing.


I know it's useless but this is the crash error code (obviously I'm not the only one who has this problem when spawning, I've called 2-3 friends to test and all of them had the same problem):

Код:
SA-MP 0.3.7
Exception At Address: 0x0048C3A9
Base: 0x04250000

Registers:
EAX: 0x00000000	EBX: 0x0000FFFF	ECX: 0x0177F514	EDX: 0x00000000
ESI: 0x0C82AB58	EDI: 0x000004EE	EBP: 0x0177F5C4	ESP: 0x0177F498
EFLAGS: 0x00010246

Stack:
+0000: 0x0177F514   0x00000000   0x000004EE   0x0177F5C4
+0010: 0x00000000   0x0177F5CC   0x00000000   0x00000000
+0020: 0xFF3F8000   0x00000001   0x0177F611   0x0FA2B2A8
+0030: 0x042FC8B1   0x0FA2AF88   0x0177F610   0x00000320
+0040: 0x00000001   0x0FA11078   0x0F9C7EA0   0x0177FA5C
+0050: 0x0426FFFF   0x0426FFFF   0x0177FFFF   0x0000FFFF
+0060: 0xBB70080E   0x000001C8   0x000001C8   0x000001C0
+0070: 0x0177F944   0x3E4D6D00   0xB9353900   0x5F5A4942
+0080: 0x45505954   0x5241425F   0x00000000   0x00005352
+0090: 0x00000000   0x00000000   0x3C4B42B5   0x3C8E8D1C
+00A0: 0xB9DA1FC8   0x3DAD0963   0xBC8245AB   0x3CC2F540
+00B0: 0x3DABFDEF   0xBC847F59   0xBCA4E644   0xBD2ADB47
+00C0: 0x771E205C   0x73E735F9   0x00000000   0x0177F5B4
+00D0: 0x008384BA   0xFFFFFFFF   0x00469EF7   0x000004EE
+00E0: 0x0177F5CC   0x042FBCAE   0x042FBE64   0x74156760
+00F0: 0x00000009   0x0177F740   0x00000000   0x0177F5CC
+0100: 0x0000000C   0xFFFFD8F0   0x00000000   0x0432A2D7
+0110: 0x00000000   0x0177F584   0x0177EAB4   0x0177F944
+0120: 0x04305D64   0x0432ADB0   0x00000000   0x041EE968
+0130: 0x042EC25F   0x0432A2D4   0x0177F740   0x042F7B79
+0140: 0x0177F740   0x0177F940   0x00000001   0x0177F960
+0150: 0x0177F954   0x04267175   0x0177F840   0x0177F740
+0160: 0x00000000   0x00000000   0x00000000   0x00000000
+0170: 0x00000000   0x00000000   0x0FA11540   0x040C7189
+0180: 0x00000000   0x040A0000   0x00000000   0x00000000
+0190: 0x000000E8   0x000000E8   0x000000E4   0x0177F960
+01A0: 0x00000000   0x0177F964   0x31207E00   0x00000000
+01B0: 0x004D47E3   0x00B4FC70   0x0D759E78   0x0D684E38
+01C0: 0x0D759E78   0x006910B8   0x0E857268   0x0000000C
+01D0: 0x0D759AF8   0x0D759CF8   0x0D759E00   0x0177F6F4
+01E0: 0x00847207   0xFFFFFFFF   0x00681AAF   0x00681A97
+01F0: 0x0D759CF8   0x0D759E00   0x0D776544   0x0D776564
+0200: 0x00681DA8   0x0D684E38   0x0D7765A8   0x000004D7
+0210: 0x0C82AB58   0x0C82AB58   0x0000FFFF   0x0048BFFE
+0220: 0x00000001   0x00000000   0x000004D7   0x0177F7E4
+0230: 0x00000000   0x11B2EA58   0x0177F708   0x771B2EEA
+0240: 0x41200000   0x00B7CD98   0x0177F7F0   0x00000000
+0250: 0x001BFE90   0x0D6539D8   0x000002C6   0x000002C6
+0260: 0x00609CC5   0x00000000   0x00B7CD98   0x41200000
+0270: 0x0056FFFF   0x0000FFFF   0x0C82AB58   0x442A6A3D

SCM Op: 0x4EE, lDbg: 1 LastRendObj: 1294

Game Version: US 1.0

State Information: Ped Context: 0



Re: Player crash after Spawn - OwlIT - 17.09.2017

Fixed the problem was in the PreloadAnimation function.