Compile problem - 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: Compile problem (
/showthread.php?tid=479117)
Compile problem -
Spazz1219 - 02.12.2013
I'm trying to compile our gamemode, 90k lines of script, BUT for no reason PAWNO crashes, and will not compile jack crap.... any ideas? (I was thinking more RAM might help with computation speed, i'm not toataly sure on that)
Re: Compile problem -
Pottus - 02.12.2013
Sucks having 90K lines in a single pwn file doesn't it? Your going to have to start commenting out large sections of code until it compiles or at least starts spitting back some errors/warnings
Re: Compile problem -
Spazz1219 - 02.12.2013
That is a great idea! i wish i had thought of that before, thanks sooo much!
Re: Compile problem -
Kyosaur - 02.12.2013
Quote:
Originally Posted by Spazz1219
I'm trying to compile our gamemode, 90k lines of script, BUT for no reason PAWNO crashes, and will not compile jack crap.... any ideas? (I was thinking more RAM might help with computation speed, i'm not toataly sure on that)
|
Why would you have so much code in a single file? You should really create some filterscripts/modules

. It's got to be maddening trying to work on that.
I have never had that much code in a single file, but I am not sure that the size of the script is related to the crash. I mean, it compiled before, right? In my experience the compiler doesn't crash for "no reason" :P. I have had it crash on me over very small typos (like using dots instead of a comma). Revert to an older version, or look over areas that were recently modified.
Re: Compile problem -
Spazz1219 - 03.12.2013
Well the reason is because usually the filterscripts collide, as in say dialog menus, if 2 menus from 2 scripts have the same id# then you have to change all the numbers, therefore we just encorporate everything into the gamemode file, and no, i could never compile it, for some reason i always relied on others computers to do it
Re: Compile problem -
Pottus - 03.12.2013
Well a module is basically a FS the only difference is it compiles into your gamemode and the callbacks need to be hooked.