Need help. - 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: Need help. (
/showthread.php?tid=654353)
Need help. -
TroS - 26.05.2018
Hello guys.
I have met a problem when compiling. It's that my compiler crashes when I try to compile the gamemode.
(it's MW3 gamemode, I have fixed some errors of it and only this error left).
The gamemode is big as fuck, and I can't keep searching for the missing bracket, I am not sure if it's the problem, but I need someone to help me in this, and that would be really good for me.
Thanks.
Re: Need help. -
Sew_Sumi - 27.05.2018
Either grab the sublime editor and use that to find the bracket issue, or diff it against the original to see if you've messed something up between the fixes.
Re: Need help. -
CaptainBoi - 27.05.2018
it works good with zeex compiler
Re: Need help. -
youssef2016 - 27.05.2018
Quote:
Originally Posted by ******
Split the mode up in to logically separate files. E.g. put teams in one file, custom mapping in another. And keep all the data for the different systems separate as well.
|
For real, it would be really hard on him to do all of that xd
Quote:
Originally Posted by CaptainBoi
it works good with zeex compiler
|
Link of that compiler please?
Re: Need help. -
TroS - 27.05.2018
Quote:
Originally Posted by CaptainBoi
it works good with zeex compiler
|
I have tried it, but still crashing.
I can't do every system in one file, they are a lot man, go check gamemodes scripts > modern warfare 3
Re: Need help. -
Cell_ - 27.05.2018
Start with tracing back what you did before the last time the gamemode compiled properly and then commenting out any chunks of code that you added after that and recompile. Once the script recompiles (or even does not crash), the error is within the last chunk of code you commented out.
Re: Need help. -
TroS - 27.05.2018
It didn't compile before.. I just fixed some errors by defining some things that aren't defined, didn't add anything exept the defines.
Re: Need help. -
DeathCore - 27.05.2018
I advice you to use 'Missing Brackets Finder 2' - a very helpful tool to find the missing bracket you forgot to add/remove.
https://sampforum.blast.hk/showthread.php?tid=291018
Hope this will helps you out.
Re: Need help. -
TroS - 27.05.2018
Quote:
Originally Posted by DeathCore
|
will test it, thanks.
Re: Need help. -
youssef2016 - 27.05.2018
i compiled it and got this
https://pastebin.com/acPJNeZ8