[Crash address] Player crashes on 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: [Crash address] Player crashes on spawn (
/showthread.php?tid=342760)
[Crash address] Player crashes on spawn -
admantis - 15.05.2012
Hey guys, sometimes, using my gamemode, the player will crash as soon he spawns. This happens only sometimes or rarely but It's still something that should be fixed. I really don't use modifications or invalid things too much, and the login script is basic: load the user data and spawn the player at their last position.
Sometimes I have to change the spawn coordinates manually by editing the userfile to get rid of this problem.
Код:
SA-MP 0.3e
Exception At Address: 0x007324B6
Registers:
EAX: 0xC1000000 EBX: 0x0000002F ECX: 0x168B6228 EDX: 0x00000010
ESI: 0x00000007 EDI: 0x0DEC07D8 EBP: 0x1A121AB4 ESP: 0x0022FCA8
EFLAGS: 0x00210293
Stack:
+0000: 0x037719E8 0x037719E8 0x00000010 0x00000000
+0010: 0xFFFFFFFF 0xFFFFFFFF 0x0022FCCC 0x6E3561A4
+0020: 0x05FAECB8 0x0022FCF4 0x6E3A0220 0x05FAECB8
+0030: 0x04615C00 0x04615C00 0x0163BD84 0x05E0BFA4
+0040: 0x00000000 0x00000000 0x05E0C474 0x04615C34
+0050: 0x007F96F8 0x05E0BFA4 0x0000000F 0x0163BD84
+0060: 0x77067E90 0x00000000 0x04615C00 0x00000000
+0070: 0x34FCA391 0x0000001A 0x00000000 0x00000000
+0080: 0x00000000 0x0022FD18 0x00000010 0x00000000
+0090: 0x41800000 0x77067E90 0x036689DD 0x05E0BFA0
+00A0: 0x00001000 0x77067E90 0x00732639 0x1A121AB4
+00B0: 0x00000010 0x0401E350 0x00732BDC 0x037719E8
+00C0: 0x1A121AB4 0x00000010 0x77067E90 0x0000001A
+00D0: 0x0464B970 0x007337EA 0x0401E300 0x44824FF7
+00E0: 0x00000001 0x0053DFF3 0x00000000 0x0053EAA6
+00F0: 0x0163BD84 0x0053EAC4 0x43C80000 0x43960000
+0100: 0x0053ECC2 0x00000001 0x00619B71 0x0000001A
+0110: 0x00000001 0x00000001 0x0000000A 0x00748DA0
+0120: 0x0000001A 0x00000001 0x75F5D8F3 0x00000000
+0130: 0x0022FF88 0x7FFDF000 0x01630000 0x4F59B771
+0140: 0x016310F0 0x00000008 0x00000100 0x00000008
+0150: 0x00000102 0x43C80000 0x43960000 0x00000000
+0160: 0x00000000 0x00000320 0x00000258 0x00000000
+0170: 0x00000001 0x002306BC 0x00000200 0x00000000
+0180: 0x01370176 0x00DB68F3 0x00000176 0x00000137
+0190: 0x0000002C 0x0022FE2C 0x00825EA4 0x75F5D8F3
+01A0: 0x00000000 0x7FFDF000 0xFFFFFFFF 0x00821D17
+01B0: 0x00000065 0x00000065 0x0022FF88 0x008246F1
+01C0: 0x00400000 0x00000000 0x01921FF9 0x0000000A
+01D0: 0x00000094 0x00000006 0x00000001 0x00001DB1
+01E0: 0x00000002 0x76726553 0x20656369 0x6B636150
+01F0: 0x00003120 0x00000000 0x00000000 0x00000000
+0200: 0x00000000 0x00000000 0x00000000 0x00000000
+0210: 0x00000000 0x00000000 0x00000000 0x00000000
+0220: 0x00000000 0x00000000 0x00000000 0x00000000
+0230: 0x00000000 0x00000000 0x00000000 0x00000000
+0240: 0x00000000 0x00000000 0x00000000 0x00000000
+0250: 0x00000000 0x00000000 0x00000000 0x00000000
+0260: 0x00824588 0x00000000 0x00000000 0x7FFDF000
+0270: 0xC0000005 0x00000000 0x01921FF9 0x00000044
SCM Op: 0x3D1, lDbg: 0
Game Version: US 1.0
State Information: Ped Context: 0
P0 (0,0) P1 (0,0) P2 (0,0) P3 (145,0)
P4 (145,0) P5 (145,0) P6 (0,0) P7 (66,164)
P8 (65,0) P9 (65,0) P10 (65,0) P11 (67,163)
P12 (67,84) P13 (0,0) P15 (67,164)
Re: [Crash address] Player crashes on spawn -
coole210 - 15.05.2012
The spawn probably isn't saving properly, some coordinates make a player crash instantly. Try to debug the load/save of coordinates using printf and read the server log for any errors.
Respuesta: [Crash address] Player crashes on spawn -
admantis - 15.05.2012
Possibly, but the coordinates are clean on the file. Could it be a loading mistake? And if so, why? Because this error happens sometimes only.