SA-MP Forums Archive
How i can fix this crash? - 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: How i can fix this crash? (/showthread.php?tid=326542)



How i can fix this crash? - Admigo - 17.03.2012

Heey all,

My server crashes everytime whn i am joining i think.
I get this crash error:
Код:
[23:31:33] [debug] Backtrace (most recent call first):
[23:31:33] [debug] #0  ???????? in OnEnterExitModShop () from asacnr.amx
I cant find this code in my script.
How i can fix this?

Thanks Admigo


Re: How i can fix this crash? - WardenCS - 17.03.2012

public OnEnterExitModShop ()
{
return 1;
}


Re: How i can fix this crash? - Admigo - 17.03.2012

Need all 0.3d callbacks.
What include needs the callbacks?


Re: How i can fix this crash? - Admigo - 17.03.2012

Omg,How can i fix this spamming errors:
Код:
[debug] Backtrace (most recent call first):
[01:39:21] [debug] #0  00000008 in OnlineUpdate () from asacnr.amx
[01:39:21] [debug] Run time error 7: "Stack underflow"
[01:39:21] [debug]   Stack index (STK) is 0x119C90, stack top (STP) is 0x119C8C
[01:39:21] [debug] Server crashed while executing asacnr.amx
[01:39:21] [debug] #0  ???????? in OnVehicleSpawn () from asacnr.amx



Re: How i can fix this crash? - WardenCS - 17.03.2012

Код:
public OnlineUpdate ()
{
return 1;
}
public OnVehicleSpawn ()
{
return 1;
}



Re: How i can fix this crash? - [Diablo] - 17.03.2012

i get this errors when including libraries from YSI package, but i haven't found out which one does this (yet). do you use ysi?


Re: How i can fix this crash? - Admigo - 18.03.2012

Quote:
Originally Posted by [Diablo]
Посмотреть сообщение
i get this errors when including libraries from YSI package, but i haven't found out which one does this (yet). do you use ysi?
Yeah,my whole server is bugged. I think it bugged by sscanf or ysi.