question

Read log files for errors! If this fails, come here for help

Moderator: Forum Moderator

Locked
jp777cmoe
Peon
Posts: 18
Joined: Sun Dec 17, 2006 10:19 pm

question

Post by jp777cmoe »

Which compilator to use to compile the file XP.inl? (File from WC3)





--- Please enter the following information for support ---
War3ft Version:
Amxmodx Version:
Metamod Version:
amxx list:
amxx modules:
meta list:
User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Post by YamiKaitou »

You compile the .sma file only
Image

No support via PM or Email
jp777cmoe
Peon
Posts: 18
Joined: Sun Dec 17, 2006 10:19 pm

Post by jp777cmoe »

theres no XP.sma so I can't find a file to edit the XP.
User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Post by YamiKaitou »

the warcraft3ft.sma/war3ft.sma is what you compile
Image

No support via PM or Email
User avatar
Geesu
<b>King of the world!</b>
Posts: 3164
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu »

war3ft.sma includes the XP file automatically... it includes all the .inl files
No Support via PM
jp777cmoe
Peon
Posts: 18
Joined: Sun Dec 17, 2006 10:19 pm

Post by jp777cmoe »

Ok well thanks guys, for some reasons I resintalled WC3 FT but the RC 2.0 version and there is no warcraft3ft.sma or war3ft.sma. I have a scripting folder but none of theses, is that normal? If yes is there a way to fix or change so I can set the XP as I want?
User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Post by YamiKaitou »

You would have to download the source code and edit it there, then recompile it
Image

No support via PM or Email
jp777cmoe
Peon
Posts: 18
Joined: Sun Dec 17, 2006 10:19 pm

Post by jp777cmoe »

Ok I got the RC3.0 version and it doesn't include the scripting folder either. I downloaded the source code, so I found the file war3ft.sma. I openned it and I didnt find no where where to set the XP. I think it's only warcraft3ft.sma. So do I have to edit warcraft3ft.sma instead and replace it by wc3ft.sma? Also I found the file XP.h which is a txt file where you can change the XP but what do I have to do? I'm lost.. any helps is appreciated

Thanks
User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Post by YamiKaitou »

Download the sourcecode here ( http://war3ft.com/downloads/amxx/war3ft_v3.0rc3.zip )

Place the file and folder named "war3ft.sma" and "war3ft" in your scripting folder

Place the folders "configs" and "data" in your "addons/amxmodx" folder.

Edit the file you want to change then recompile the war3ft.sma
Image

No support via PM or Email
jp777cmoe
Peon
Posts: 18
Joined: Sun Dec 17, 2006 10:19 pm

Post by jp777cmoe »

Thanks for ur reply Yami.
I've already done but the prob is that it seems that there is no codes about changing xp in war3ft.sma. It's only in XP.h and XP.nl. Like Geesu said, war3ft.sma includes the XP file automatically because in the code of war3ft.sma it includes the files XP.h . So do I have to edit warcraft3FT.sma and compile it ? Instead of war3ft.sma.

Thanks
User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Post by YamiKaitou »

no, if the file is named "warcraft3ft.sma" it is 2.3.2 or lower. The name of the file for 3.0 is "war3ft.sma"
Image

No support via PM or Email
jp777cmoe
Peon
Posts: 18
Joined: Sun Dec 17, 2006 10:19 pm

Post by jp777cmoe »

Ok. well this is just strange. There's nothing to do to edit that XP if it's not in wc3ft.sma.
Thanks anyways
User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Post by YamiKaitou »

You have to edit the included files. war3ft.sma is just the framework, everything else is stored in the includes
Image

No support via PM or Email
jp777cmoe
Peon
Posts: 18
Joined: Sun Dec 17, 2006 10:19 pm

Post by jp777cmoe »

oh ok thanks!
Locked