Posts: 510
Threads: 106
Joined: Mar 2013
Reputation:
0
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"
Posts: 253
Threads: 17
Joined: Jan 2014
Reputation:
0
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.
Posts: 686
Threads: 29
Joined: Feb 2011
Reputation:
0
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.
Posts: 132
Threads: 19
Joined: May 2012
Reputation:
0
Sometimes it happens to me also when i put a big array..
Posts: 850
Threads: 29
Joined: Sep 2014
Reputation:
0
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.
Posts: 1,830
Threads: 49
Joined: Nov 2014
Reputation:
0
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.
Posts: 1,349
Threads: 194
Joined: Jan 2014
Reputation:
0
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.