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 » Mon Dec 18, 2006 9:51 pm

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 » Mon Dec 18, 2006 10:47 pm

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 » Mon Dec 18, 2006 10:52 pm

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 » Tue Dec 19, 2006 9:20 am

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: 3159
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu » Tue Dec 19, 2006 2:47 pm

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 » Tue Dec 19, 2006 10:16 pm

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 » Wed Dec 20, 2006 1:37 am

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 » Thu Dec 21, 2006 2:12 pm

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 » Thu Dec 21, 2006 3:51 pm

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 » Thu Dec 21, 2006 10:04 pm

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 » Thu Dec 21, 2006 10:11 pm

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 » Fri Dec 22, 2006 12:57 am

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 » Fri Dec 22, 2006 12:59 am

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 » Fri Dec 22, 2006 1:33 am

oh ok thanks!

Locked