Pawn compiler keeps crashing
#1

Hi,

I have been having troubles compiling my script lately, I don't know what the problem is, and I haven't added anything since I last turned my server on. I have used the Missing Bracket checker and there is nothing missing. There is around 9,000 lines of script, so it would be a nightmare to go through each one. I don't know what to do.

The error is, "Pawn Compiler Library has stopped working"
Reply
#2

Did you have any backups to compare the update with ?
The reason this happens ( happened to me before ) is because of brackets. Issue could happen from an include as well. Hopefully if you keep backups, it shouldn't be a big deal doing a fast update.
Reply
#3

It always happens to me due to brackets.
Anyway, what I do is I place half of the code between "/* */" annotations, and then half of that, etc. until I find the portion of the code which causes the crash.
Reply
#4

Sometimes it happens to me also when i put a big array..
Reply
#5

1) Make a backup.
2) Delete callbacks and compile one by one.
3) If you found the callback causing the crash, delete each loop inside the callback and find where the problem is.
Reply
#6

There can be several reasons for this, spelling mistakes in your code that confuses the compiler, or a too long line will also crash the compiler.
Reply
#7

it happened to me many times, it was once bracket problem once it was that i wrote some main function wrong and once it was that i wrote "public" as "ublic". The only way you can figure it out is /*half code*/ and see if it crashes or not then do it with other half as you have founded out the bugged half then repeat this process in /* */ comment half from the bugged half till you fount it out.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)