No Errors. - 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: No Errors. (
/showthread.php?tid=659709)
No Errors. -
Longover - 13.10.2018
Hi.
My gamemode then is compiling i give no errors,but the gm is compiled in a .amx with 0 KB memory usage.
Why?
Re: No Errors. -
Boarden - 13.10.2018
Did the compiler (pawnocc.exe) crash during the compile? That usually has the same effect as that shown in the screenshot.
Re: No Errors. -
Longover - 13.10.2018
Quote:
Originally Posted by Boarden
Did the compiler (pawnocc.exe) crash during the compile? That usually has the same effect as that shown in the screenshot.
|
Not crashing.
Re: No Errors. -
Longover - 13.10.2018
Quote:
Originally Posted by Boarden
Did the compiler (pawnocc.exe) crash during the compile? That usually has the same effect as that shown in the screenshot.
|
How to solve,PLEASE!
Re: No Errors. -
Boarden - 14.10.2018
Quote:
Originally Posted by Longover
How to solve,PLEASE!
|
I don't know exactly, reason why I thought it could be a compiler issue is due to the lack of any output from the compiler and because when the compiler crashes 0kb files are generated.
Do you have previous versions of your script? If yes, do they still compile properly?
Have you made any major changes to the script since the last successful compile?
Re: No Errors. -
Threshold - 14.10.2018
When I used to face these issues I would comment out 50% of my script. If the issue still occurred, I would comment out the other 50% of the script.
Once it compiled I knew the issue was within the area that I just commented out. Then I would comment out half of that area and continue until I had gotten it down to a manageable area of code. Eventually you'll find the block of code that is giving your compiler trouble.