SA-MP Forums Archive
Crash at hold objects - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Client Support (https://sampforum.blast.hk/forumdisplay.php?fid=16)
+--- Thread: Crash at hold objects (/showthread.php?tid=297716)



Crash at hold objects - CyNiC - 17.11.2011

I and an friend are trying to hold two objects and getting crash.
Edit: Solved when the bones of the two attachments was changed for 2, but this crash don't would happens anyway.

Objects and code:

pawn Код:
if(strcmp(cmd, "/attach", true) == 0)
    {
        SetPlayerAttachedObject(playerid, 0, 19006, 2, 0.090000, 0.049998, 0.000000, 84.799987, 84.000000, 4.199997, 1.000000, 1.000000, 1.000000);
        SetPlayerAttachedObject(playerid, 1, 18943, 0, 0.129998, 0.000000, 0.000000, 0.000000, 0.000000, 347.000000, 1.000000, 1.000000, 1.000000);
        SendClientMessage(playerid, -1, "Atachado");
        return 1;
    }
Quote:
Originally Posted by SA-MP Crash
SA-MP 0.3d-RC8
Exception At Address: 0x0391C8E7

Registers:
EAX: 0x00000000 EBX: 0x0173A0B1 ECX: 0x03161558 EDX: 0x00000000
ESI: 0x0173A0A5 EDI: 0x0981EC98 EBP: 0x0022FD68 ESP: 0x0022FCF0
EFLAGS: 0x00010246

Stack:
+0000: 0x0000001A 0x13E88770 0x00000000 0x3DA94168
+0010: 0x3F7F1A6F 0x3C5125BE 0x00000000 0xBF7ED2D9
+0020: 0x3DAA50CE 0xBD42670F 0xBF2E9E9E 0xBD461218
+0030: 0xBC0FEAA8 0x3F7FB0C9 0x00749B93 0x452D7971
+0040: 0xC4F10C33 0x4163C08C 0x0173A079 0x452D7971
+0050: 0xC4F10C33 0x4163C08C 0x00000005 0x0981EC98
+0060: 0x00000000 0x00000002 0x01739FB8 0x00866F60
+0070: 0x0A51FB30 0x0173A205 0x76507E90 0x0388D719
+0080: 0x0000001A 0x00000001 0x03912E5F 0x0000001A
+0090: 0x00000001 0x76507E90 0x0022FD9C 0x00000000
+00A0: 0x18E5AE66 0x00000004 0x0A515234 0x0053EA08
+00B0: 0x44000000 0x43C00000 0x0053ECC2 0x00000001
+00C0: 0x00619B71 0x0000001A 0x00000001 0x00000001
+00D0: 0x0000000A 0x00748DA0 0x0000001A 0x00000001
+00E0: 0x761F28D7 0x00000000 0x0022FF88 0x7FFDF000
+00F0: 0x01660000 0x4DC72C15 0x016610F0 0x00000008
+0100: 0x00000100 0x00000008 0x00000102 0x44000000
+0110: 0x43C00000 0x00000000 0x00000000 0x00000400
+0120: 0x00000300 0x00000000 0x00000001 0x001600B6
+0130: 0x00000200 0x00000000 0x01800200 0x009D6F96
+0140: 0x00000200 0x00000180 0x0000002C 0x0022FE2C
+0150: 0x00825EA4 0x761F28D7 0x00000000 0x7FFDF000
+0160: 0xFFFFFFFF 0x00821D17 0x00000065 0x00000065
+0170: 0x0022FF88 0x008246F1 0x00400000 0x00000000
+0180: 0x01812032 0x0000000A 0x00000094 0x00000006
+0190: 0x00000001 0x00001DB0 0x00000002 0x00000000
+01A0: 0x00000000 0x00000000 0x00000000 0x00000000
+01B0: 0x00000000 0x00000000 0x00000000 0x00000000
+01C0: 0x00000000 0x00000000 0x00000000 0x00000000
+01D0: 0x00000000 0x00000000 0x00000000 0x00000000
+01E0: 0x00000000 0x00000000 0x00000000 0x00000000
+01F0: 0x00000000 0x00000000 0x00000000 0x00000000
+0200: 0x00000000 0x00000000 0x00000000 0x00000000
+0210: 0x00000000 0x00000000 0x00824588 0x00000000
+0220: 0x00000000 0x7FFDF000 0xC0000005 0x00000000
+0230: 0x01812032 0x00000044 0x018496B8 0x0184BF08
+0240: 0x0184ACB8 0x00000000 0x00000000 0x00000000
+0250: 0x00000000 0x00000000 0x00000000 0x00000000
+0260: 0x00000000 0x00000000 0x00000000 0xFFFFFFFF
+0270: 0xFFFFFFFF 0xFFFFFFFF 0x00000000 0x00000000

SCM Op: 0x77E, lDbg: 0

Game Version: US 1.0

State Information: Ped Context: 0
Server and SA-MP version: 0.3d RC8