why my pawno cannot compile my gamemode, it is keep stay at the compile output window
#1

as said....
Reply
#2

if is big mod you need time(wait) or if you have some "terribly wrong mistake" in you code and compiler just can handle such a thing.
Reply
#3

If you have over a certain amount of errors (or just generally, A TON, caused by bad placement of certain symbols), the compiler will just, simply, crash, or stop.

I hope this helps you, man.

~TehMiles.
Reply
#4

A 1-10k script takes about 5 seconds
A 11-20k script takes a bit more and so on

Badly scripted scripts with bad indention will take a long time to compile. Note: compiling can take up to 1 minute or two depending on these two factors.
Reply
#5

Quote:
Originally Posted by DanishHaq
View Post
A 1-10k script takes about 5 seconds
A 11-20k script takes a bit more and so on
Giving those estimates is kinda stupid, since the compilation time is almost 100% determined by the computer. If i were to go ahead and compile a 10k script on my raspberry pi, i bet ya it won't compile in 5 seconds :3

I have had this problem before, and you have to end the pawncc process in order to stop compiling. Last time i did it, it was because my macro (#define ...) caused the compiler to start looping.

When the PAWN compiler crashes, it dumps the crash output to the compile dialog. Well, that's at least what it does through WINE on Linux. So basically, your compiler isn't crashing, it just can't stop compiling because you did something that makes it loop.

EDIT:
Quote:
Originally Posted by DanishHaq
View Post
Badly scripted scripts with bad indention will take a long time to compile. Note: compiling can take up to 1 minute or two depending on these two factors.
No. I suppose you mean "Indentation" with "indention". Indentation is 100% astetichs, it is NOT required for the script to run, and, for the compiler to compile faster.
The reason the compiler complains about "loose indentation" is because it WANTS people to indent their script!
What CAN, however, make it much slower is bad scripting. If you make all strings in your script 512 or 256 long (when the chatbox max is 12 you are just wasting cells, you will get a bigger AMX file, and your compiler will be slow as hell.

Hope i helped,
Jarno
Reply
#6

big or heavy GM's take time to compile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)