SA-MP Forums Archive
Compiler doesn't work - 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: Compiler doesn't work (/showthread.php?tid=614817)



Compiler doesn't work - Ahmed21 - 13.08.2016

Hello, I've made a very few changes in my gamemode, and that's normal, I wanted to compile, but the compiler was frozen, it didn't show any result, and it had no response. I removed the shits that I added to the gamemode and compiled again, but still not working. How can I solve it?




Re: Compiler doesn't work - BR3TT - 13.08.2016

How big is the script?
How good is your computer?
How long did you let it compile for and stay frozen for?
If you're compiling a big script it will take time and it does freeze, but it eventually unfreezes.


Re: Compiler doesn't work - Ahmed21 - 13.08.2016

Quote:
Originally Posted by BR3TT
Посмотреть сообщение
How big is the script?
How good is your computer?
How long did you let it compile for and stay frozen for?
If you're compiling a big script it will take time and it does freeze, but it eventually unfreezes.
Well, you can say I compiled it now, and it needed like 30 seconds, after one minute, I added some few lines, and compiled, I went to drink water and came back in like 2 minutes and it was still frozen, how would some few lines make a huge difference? Anyway I've removed the lines and it's still freezes.


Re: Compiler doesn't work - BR3TT - 13.08.2016

Quote:
Originally Posted by Ahmed21
Посмотреть сообщение
Well, you can say I compiled it now, and it needed like 30 seconds, after one minute, I added some few lines, and compiled, I went to drink water and came back in like 2 minutes and it was still frozen, how would some few lines make a huge difference? Anyway I've removed the lines and it's still freezes.
Is your gamemode big though? As in over maybe 10,000 lines? Compilers mostly freeze during massive script compiles. If you have a PC with poor specs it can take longer.


Re: Compiler doesn't work - SyS - 13.08.2016

Quote:
Originally Posted by Ahmed21
Посмотреть сообщение
how would some few lines make a huge difference?
show that lines.


Re: Compiler doesn't work - Ahmed21 - 13.08.2016

Ye I think it's more than 10k lines. Also, the lines that I've added are removed now.

EDIT: Fixed.


Re: Compiler doesn't work - Ahmed21 - 13.08.2016

Wait, so if my script lines are 10k, I can't script and update the server more?


Re: Compiler doesn't work - Whatname - 13.08.2016

Quote:
Originally Posted by Ahmed21
Посмотреть сообщение
Wait, so if my script lines are 10k, I can't script and update the server more?
You can update the server just when you got like 10k or more lines it takes more time to compile