SA-MP Forums Archive
Complier Crashes? But i Know for a Fact its the Script. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Complier Crashes? But i Know for a Fact its the Script. (/showthread.php?tid=266255)



Complier Crashes? But i Know for a Fact its the Script. - NoZ - 04.07.2011

Hello SA-MP

I Can't seem to find whats causing the crash of the PAWNO Complier.

can't see and brackets that are bad...
can't see any mistakes...

well, i dont really know what to do, if anyone could maybe take a look at my source they could try help with a fix

Cheers
NOZ

EDIT: Upload my source so people could take a look


Re: Complier Crashes? But i Know for a Fact its the Script. - Mike Garber - 04.07.2011

Could be an include aswell, as includes are just like any other part in the script, it's just added from the files when compiling.
And also, it is always your script if the compiler is crashing, unless you're running Linux with WINE or Windows 98 (i guess it would even work on Win9.


Re: Complier Crashes? But i Know for a Fact its the Script. - SmileyForCheat - 04.07.2011

#include <MidoStream>
#include <yom_buttons>
#include <dini>
#include <utils>
#include <zones>
not Found I Think You Must Download one by one


Re: Complier Crashes? But i Know for a Fact its the Script. - Sew_Sumi - 04.07.2011

Your indentation is messy, But you need to look over it more... You'll find it.


Some are tabs, and some are spaces.


Re: Complier Crashes? But i Know for a Fact its the Script. - NoZ - 04.07.2011

could anyone fix it and error; //here is the cause but has now been fixed


please?

i can't find it at all


Re: Complier Crashes? But i Know for a Fact its the Script. - Sasino97 - 04.07.2011

There are some useless includes, that they're never used


Re: Complier Crashes? But i Know for a Fact its the Script. - NoZ - 04.07.2011

would that cause the crash though?


Re: Complier Crashes? But i Know for a Fact its the Script. - XpanD - 04.07.2011

When was the last time you compiled successfully? Check all script changes you made after that - things like dots (".") instead of commas (",") in coordinates for example also cause the compiler to fail. Just track everything back to the last successful compile, and see if you can find the source of your issues.

Good luck!

(on a side note, I don't know if your GM is private or not, but it might not be a good idea sharing the full code here - might be better having a few willing trusted members of this community look at the code via PM instead if you can't figure it out)


EDIT: Unused includes won't matter as long as they are written properly, they'll just make your GM bigger. Once you get this fixed, try removing some includes and compiling. If you get errors, you can just re-add them. If you don't get errors, you've just made your script a bit smaller!


Re: Complier Crashes? But i Know for a Fact its the Script. - Sew_Sumi - 06.07.2011

Quote:
Originally Posted by XpanD
Посмотреть сообщение
When was the last time you compiled successfully? Check all script changes you made after that - things like dots (".") instead of commas (",") in coordinates for example also cause the compiler to fail. Just track everything back to the last successful compile, and see if you can find the source of your issues.
^^ This guy has the plan...