29.10.2016, 01:20
Hi all,
I am trying to compile my huge script.
I have a good amounts of includes:
When I try to compile all this, I get:
So when I start investigating, I found that if I comment all my classes, from "gangwar" to "computer", the problem stops.
But when I tried to find out which one exactly, it seems that with anyone of those commented, it doesn't stops working, with all of them commented too. but only with ALL uncommented it stops working.
I use y_hook in most of these scripts, other than that I don't know.
Like I said, the compiler stops working unless I comment any scripts from "gangwar" to "computer", the script should be able to compile with or without those scripts.
Also, if there is any syntax error, even with all scripts included, the compiler doesn't stops working.
Thank you,
rt-2
I am trying to compile my huge script.
I have a good amounts of includes:
Код:
#define SAARP_GAMEMODE #include <a_samp> #include <foreach> #include <strlib> #include <float> #include <izcmd> //#include <RAK> //#include <RAKTOOLS> //ACs #include <ELC_AC_BASE> #include <a_http> #include <a_mysql> #include <streamer> #include <SKY> #include <weapon-config>//needs to be here (after SKY, before YSF, or bug) #include <YSF> #include <physics> #include <OPA> // Must be after the script includes, before my includes //#pragma dynamic 2000000 //#pragma dynamic 262144 #pragma dynamic 16384 //saarp vars #include "..\include\saarp_vars.pwn" #include "..\include\saarp_gmod_vars.pwn" //basic functions includes #include <../../include/crashdetect> #include <../../include/saarp_fadeScript> #include <../../include/saarp_sscanfScript> //define dcmd manners //#define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1 //Physics and other functions // other specific function includes //classes #include "../include/saarp_class_gangwar.pwn" #include "../include/saarp_class_missions.pwn" #include "../include/saarp_class_interactiveMenu.pwn" #include "../include/saarp_class_helpers.pwn" #include "../include/saarp_class_shops.pwn" #include "../include/saarp_class_telecomunication.pwn" #include "../include/saarp_class_tutorial.pwn" #include "../include/saarp_class_transport.pwn" #include <../../include/saarp_computers_tcmd> //saarp added includes #include <../../include/saarp_inc_addedObjects> #include <../../include/saarp_inc_removedBuildings> //others //#include "../include/upeppe_script_poolphysics.inc" //#include "../include/grimr_script_gcasinos.inc" //recursion error? //Administration class must be at the end of all includes (for a_status to work) #include "../include/saarp_class_administration.pwn" // things with no vars definitions //general functions #include "../include/saarp_functions.pwn" #include "../include/saarp_gmod_functions.pwn" #include "../include/saarp_gmod_tcmd.pwn" #include <../../include/saarp_factions_tcmd> #include <../../include/saarp_diagRes> // REST OF THE GAMEMODE
So when I start investigating, I found that if I comment all my classes, from "gangwar" to "computer", the problem stops.
But when I tried to find out which one exactly, it seems that with anyone of those commented, it doesn't stops working, with all of them commented too. but only with ALL uncommented it stops working.
I use y_hook in most of these scripts, other than that I don't know.
Like I said, the compiler stops working unless I comment any scripts from "gangwar" to "computer", the script should be able to compile with or without those scripts.
Also, if there is any syntax error, even with all scripts included, the compiler doesn't stops working.
Thank you,
rt-2