please help me : pawn compiler library has stopped working and I can't connect to my server -
brandypol - 19.08.2015
Well after Scripting for a while, I decided to compile my script. Then suddenly, I got this message :
"pawn compiler library has stopped working"
I erased all the recent script I wrote and tried to fin answers on older topics to fix my problem but I cant fix it. Plus, when I start my server, the samp-server closes and I can't connect to my server. The problem isn't supposed to be my script's lenght because I tried to compile it with the exact same number of lines before and it worked. So, can someone help me because I'm really out of ressources and I really don't know what to do. I joined the script to the thread.
Thanks for the help
Re: pawn compiler library has stopped working and I can't connect to my server -
prineside - 19.08.2015
Try to compile it with custom sa-mp compiler (I don't remember author's name, but you can easily find it on Github).
If that doesn't help, try to revert all last changes or check last edited script parts for errors - comment parts of your code till you get compiler working, then check commented code for errors.
It sometimes happens to me that compiler just crashes. I use pre- and post-compiler scripts to backup scripts on each build, check compilation result and print difference with last successful build if compiler crashes. But in your case it's useles since you have no code backups (I guess)
Re: pawn compiler library has stopped working and I can't connect to my server -
ThePhenix - 19.08.2015
What you're doing in line 2246 is utterly wrong. Maybe you wanted to put that under OnDialogResponse?
Also, check the number of brackets.
You have 593
{ and 594
} so, it's not matching that's why you're pawn compiler it's crashing.
Re: pawn compiler library has stopped working and I can't connect to my server -
brandypol - 19.08.2015
Quote:
Originally Posted by ThePhenix
What you're doing in line 2246 is utterly wrong. Maybe you wanted to put that under OnDialogResponse?
Also, check the number of brackets.
You have 593 { and 594 } so, it's not matching that's why you're pawn compiler it's crashing.
|
Thanks I found the opening bracket missing now I just need to fix the errors in the script
Re: pawn compiler library has stopped working and I can't connect to my server -
Alpha000 - 18.11.2015
how u count all brackets?
Re: pawn compiler library has stopped working and I can't connect to my server -
Vince - 18.11.2015
A proper editor like Notepad++ has a "count" functionality in the search window.
Re: pawn compiler library has stopped working and I can't connect to my server -
AbyssMorgan - 18.11.2015
see
PHP код:
OnPlayerUpdate(playerid)
// changing cities by inputs
if( !gPlayerHasCitySelected[playerid] && //<-- shit
GetPlayerState(playerid) == PLAYER_STATE_SPECTATING ) {
ClassSel_HandleCitySelection(playerid);
return 1;
}