SA-MP Forums Archive
Pawno Crashing. - 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: Pawno Crashing. (/showthread.php?tid=314917)



Pawno Crashing. - Lynn - 01.02.2012

So I can't figure out why my Pawno Keeps Crashing.
I downloaded the Missing Bracket Tool, and that didn't give me any legit errors, the brackets missing were on lines that weren't missing brackets.

I am asking what are most common reasons Pawno Crashes? Because can't figure it out to save my life.


Re: Pawno Crashing. - Gravity4501 - 01.02.2012

I can confirm this it happening's to me to!!!!!


Re: Pawno Crashing. - Lynn - 01.02.2012

I don't get why either,
I changed 1 thing, and I un-did it, and it still crashes!!!!


Re: Pawno Crashing. - Leethan - 01.02.2012

Been having the problem for a while.


Re: Pawno Crashing. - Snowman12 - 01.02.2012

Because your code must fail in some place. Doesn't happen to me.


Re: Pawno Crashing. - lamarr007 - 01.02.2012

It will crash if you have large script and trouble with brackets ({}).
Ex:
pawn Код:
CMD:ex(playerid, params[]){
If(IsPlayerAdmin(playerid)
SetPlayerHealth(playerid, 100);
}
return 1;
}



Re: Pawno Crashing. - iggy1 - 01.02.2012

There are too many reasons PAWNO may crash some may even be unknown. If you can't fix it then you will have to start deleting things you most recently added.

Quote:
Originally Posted by Lynn
I changed 1 thing, and I un-did it, and it still crashes!!!!
Delete more, IE. Stuff you added before the 1 thing you changed. It really is the best advice you will get, since you haven't give a single word of code. To me all you have asked is for a list of reasons why PAWNO may crash and i can't see that helping you.


Re: Pawno Crashing. - T0pAz - 01.02.2012

Undo the change you have done before crashing.


Re: Pawno Crashing. - Babul - 01.02.2012

i bet $1 that its not pawno, but pawncc.exe. before compiling, po(o)p up the taskmanager. start to compile your script, then watch the pawncc.exe process melting your cpu for some seconds. as soon the (fail) compiling ends, it (the pawncc) will get stuck, will never close. if its the problem, simply force the pawncc.exe to quit - maybe pawno prints out some warnings, but thats not the point. most prolly its a missing } up in the script, so the huge amonts of errors cause it to freeze... (afaik, had this situation countless times ><)


Re: Pawno Crashing. - MP2 - 01.02.2012

Comment out entire callbacks until it's fixed. Then you know which callback it is.