Author Topic: I crash when I try to spawn [Unknown]  (Read 6351 times)

0 Members and 2 Guests are viewing this topic.

Offline Blister

  • Posts: 8
    • View Profile
I crash when I try to spawn [Unknown]
« on: June 02, 2010, 08:44:54 am »
I crash everytime I try to spawn after I have connected the server. I've got this problem before too, but unlike before, now I crash everytime.

On one other SA:MP server I crash too, but there's command "/aoff" which turns animations off before spawning and with it, I can spawn without crashing.

Video: http://www.youtube.com/watch?v=ucZEGJUH1-U

Code: [Select]
Exception At Address: 0x007C5A8B

Registers:
EAX: 0x00003000 EBX: 0xC1000000 ECX: 0x00000010 EDX: 0x1F84D578
ESI: 0x0028F328 EDI: 0xC1000010 EBP: 0x0CD92190 ESP: 0x0028F2D4
EFLAGS: 0x00010202

Stack:
+0000: 0x0000001A   0x1AC56FA4   0x0CE2AE9C   0x00000000
+0010: 0x1B1154E0   0x4D004C00   0x0028F47C   0x00003000
+0020: 0x1F84D578   0x1B115520   0x57005600   0x59005800
+0030: 0x00000000   0x00598FEA   0x0028F350   0x00000000
+0040: 0x00000008   0x00002000   0x1B466BC4   0x0000001D
+0050: 0x004D5FA0   0x3F800000   0x0044EF20   0xA004D9EC
+0060: 0x00000003   0x0044EF20   0x3F800000   0x2004D56C
+0070: 0x7B007A00   0x2004D9EC   0xA004D56C   0x3F800000
+0080: 0x83008200   0x00000000   0x00000000   0x00000000
+0090: 0x8B008A00   0x0000001C   0x8F008E00   0x91009000
+00A0: 0x93009200   0x95009400   0x97009600   0x99009800
+00B0: 0x9B009A00   0x9D009C00   0x9F009E00   0xA100A000
+00C0: 0xA300A200   0xA500A400   0xA700A600   0xA900A800
+00D0: 0xAB00AA00   0xAD00AC00   0xAF00AE00   0xB100B000
+00E0: 0xB300B200   0xBF38BD5C   0x3F31388D   0x00000000
+00F0: 0x00000000   0xBF31388D   0xBF38BD5C   0x00000000
+0100: 0x00000000   0x00000000   0x00000000   0x3F800000
+0110: 0x00000000   0xC3E7D8AB   0x44FBC7E9   0x42759E7E
+0120: 0x00000000   0xD500D400   0xD700D600   0xD900D800
+0130: 0xDB00DA00   0xDD00DC00   0xDF00DE00   0xE100E000

SCM Op: 0x470, lDbg: 0

Game Version: US 1.0

State Information: Ped Context: 0
P0 (0,0) P1 (0,0) P2 (0,0) P3 (0,0)
P4 (0,0) P5 (0,0) P6 (0,0) P7 (0,0)
P8 (0,0) P9 (0,0) P10 (0,0) P11 (0,0)
P12 (0,0) P13 (0,0) P14 (0,0) P15 (0,0)
P17 (0,0) P19 (0,0)
P20 (0,0) P21 (0,0) P22 (0,0) P23 (0,0)
P25 (0,0) P27 (0,0)

Cheers!  ;)
« Last Edit: July 14, 2010, 06:25:42 pm by [UK]Rac3r »

Offline [MAF]Rac3r

  • Leader
  • Posts: 2,807
  • Well, this is embarrassing.
    • View Profile
Re: I crash when I try to spawn
« Reply #1 on: June 02, 2010, 09:10:21 am »
Code: [Select]
ClearAnimations(playerid);
if(IsSkinValid(pInfo[playerid][skin]))SetPlayerSkin(playerid, pInfo[playerid][skin]);
else pInfo[playerid][skin] = GetPlayerSkin(playerid);
SetSpawnInfo(playerid, NO_TEAM, pInfo[playerid][skin], 0,0,0,0,gMeleePlayer[playerid],1,43,100,0,0);
if(!pInfo[playerid][spawned])ApplyAnimation(playerid, "DEALER", "DEALER_DEAL", 0, 0, 0, 0, 0, 0);
LoadPlayerColour(playerid);

We do clear animations by default.

Has this only started happening recently? I added this line of code about 5 days ago:
Code: [Select]
if(!pInfo[playerid][spawned])ApplyAnimation(playerid, "DEALER", "DEALER_DEAL", 0, 0, 0, 0, 0, 0);
Gonna restart server soon, without the animation code after setting skin. Let us know if it fixes the problem.

Offline Blister

  • Posts: 8
    • View Profile
Re: I crash when I try to spawn
« Reply #2 on: June 02, 2010, 09:14:14 am »
I played yesterday evening just fine. Then I quited and tried to connect few minutes later back and then it started (crashing).

Offline [FSR]Ush

  • Admin
  • Posts: 13,449
  • Aart
    • View Profile
Re: I crash when I try to spawn
« Reply #3 on: June 02, 2010, 09:32:07 am »
I had the same for awhile and had to reinstall SA.

Offline Blister

  • Posts: 8
    • View Profile
Re: I crash when I try to spawn
« Reply #4 on: June 02, 2010, 07:17:24 pm »
Ok it seems like it's working now.

edit: or not
« Last Edit: June 06, 2010, 09:00:21 am by Blister »

Offline [MAF]Rac3r

  • Leader
  • Posts: 2,807
  • Well, this is embarrassing.
    • View Profile
Re: I crash when I try to spawn
« Reply #5 on: July 14, 2010, 06:14:45 pm »
If you have trouble spawning, use /spawn, this seems the safest option. It worked fine for Blister.

Unsure what causes the crash, although I have removed all animations when spawning.

Try to spawn normally Blister, let us know if you crash. :P

Offline Peeps-101

  • Admin
  • Posts: 514
  • Anywhere killin' shit!
    • View Profile
Re: I crash when I try to spawn [Unknown]
« Reply #6 on: July 14, 2010, 07:49:12 pm »
I had this problem too so I just selected a different skin before spawning and everything worked fine!