Hi, im adding some code onto your wc3xp mod. Dont worry im not releasing it only using it for myself. But neways i keep getting this compilation error:
Welcome to the AMX Mod X 1.60-300 Compiler.
Copyright (c) 1997-2005 ITB CompuPhase, AMX Mod X Team
/home/users/amxmodx/tmp3/phpqVPGhg.sma(59) : fatal error 100: cannot read from file: "warcraft3.cfg"
Compilation aborted.
1 Error.
Could not locate output file /home/groups/amxmodx/public_html/websc3/phpqVPGhg.amx (compile failed).
So, im not sure if this is a compiler error (just with amxmodx.org's compiler) or if the file itself has a bug or w/e. Just thought i might let you know of this, as it may be something in the code or something.
BTW im in no way a coder, so im giving my best guess's on what could be wrong lol.
BTW: Im running wc3 v2.6.3 with amxx v1.60 and metamod v1.18
Lazarus Long: And I know you didn't because the Server Files are version 2.2.6 and the file you posted is version 2.2.5, so do as I told you above and don't ever lie to me again or help is gone!
hmm lazarus what do you mean user im running has read rights over the warcraft3.cfg?
And ferret thats what i was thinking at first to heh. I'll try redoawnloading from lazarus's post (thx) and i'll update on u if theres a compiler prob. And if there is where can i find a compiler thats not off the amxx website?
Edit: I just tried recompiling the sma right from your link lazuras (vaul extended race, only copied the .sma file over) and i got the exact same error...
I've never used the online compiler, but you'll have to provide it both the sma and the cfg, if it lets you. If not, it won't ever be able to compile it.
Lazarus Long: And I know you didn't because the Server Files are version 2.2.6 and the file you posted is version 2.2.5, so do as I told you above and don't ever lie to me again or help is gone!
How should i compile this then? and how did you get it to compile?
Edit: Completely offtopic here lol, but ferret are you like the head guy for gamehavoc?! cause in your prof it says site operator. If so gj, im trying to get my own community going to heh. And the site is nice and easy to navigate.
hmm... well im new to scripting, i only added what i was told to add, is their a compiler i can download or something like that, that will allow me to compile this successfully?
Find where it says this in the SMA and delete it: #include "warcraft3.cfg"
Copy and paste EVERYTHING from the CFG file and put it where that #include line was.
Lazarus Long: And I know you didn't because the Server Files are version 2.2.6 and the file you posted is version 2.2.5, so do as I told you above and don't ever lie to me again or help is gone!
OK, guys, I must be off balance today, but why doesn't he just download AMX Mod X to his computer compile it localy and upload the warcraft3.amxx to his server? Did I miss something and he has to use the web compiler?
Lazarus Long: And I know you didn't because the Server Files are version 2.2.6 and the file you posted is version 2.2.5, so do as I told you above and don't ever lie to me again or help is gone!
heh im open to all suggestions, but im gonna try what you told me ferret, and also again gj on gamehavoc.com
Edit: Tried compiling got 26 errors :S maybe i did it wrong but heres the errors:
Welcome to the AMX Mod X 1.60-300 Compiler.
Copyright (c) 1997-2005 ITB CompuPhase, AMX Mod X Team
/home/users/amxmodx/tmp3/phpQNsmav.sma(1) : error 055: start of function body without function header
/home/users/amxmodx/tmp3/phpQNsmav.sma(52) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpQNsmav.sma(54) : error 038: extra characters on line
/home/users/amxmodx/tmp3/phpQNsmav.sma(55) : error 038: extra characters on line
/home/users/amxmodx/tmp3/phpQNsmav.sma(56) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpQNsmav.sma(61) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpQNsmav.sma(63) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpQNsmav.sma(110) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpQNsmav.sma(139) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpQNsmav.sma(144) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpQNsmav.sma(146) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpQNsmav.sma(154) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpQNsmav.sma(160) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpQNsmav.sma(167) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpQNsmav.sma(169) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpQNsmav.sma(175) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpQNsmav.sma(185) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpQNsmav.sma(192) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpQNsmav.sma(196) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpQNsmav.sma(200) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpQNsmav.sma(203) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpQNsmav.sma(208) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpQNsmav.sma(211) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpQNsmav.sma(214) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpQNsmav.sma(223) : error 010: invalid function or declaration
/home/users/amxmodx/tmp3/phpQNsmav.sma(230) : error 010: invalid function or declaration
Compilation aborted.
26 Errors.
Could not locate output file /home/groups/amxmodx/public_html/websc3/phpQNsmav.amx (compile failed).
Okay i know this is a DB, but im just posting that i finally have got my wc3xp sma file compiled. I had been asking for help on the amxmodx.org forums, and joka69 was able to help me out and he posted the sma/amxx. Just thought if you want this one comes with the wc3_setxp feature. Heres the link to the thread. Its got a file with this feature installed for WC3xp 2.6.3 shortterm, original races only (not compiled tho, and havent tested) WC3xp 2.6.3 longterm, vault, and i believe expanded races (both .sma and .amxx are there) and finally Warcraft3 XP 2.6.3 - Long term mode using VAULT, Expanded Races enabled, with starting level 2. I requested him to change the sma's startinglevels, because for somereason even thought my warcraft3.cfg said level2 it wasnt doing it, but now it works. Anyways just thought i might post all that here if anyone else wants it, or w/e. Thx for the support i got here.