Help

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

Moderator: Forum Moderator

Post Reply
Liquid_sprite
Peon
Posts: 17
Joined: Mon Nov 14, 2005 9:31 pm

Help

Post by Liquid_sprite » Tue Jul 25, 2006 10:04 pm

I asked and searched the forum and tried doing this myself many times but i just can't seem to do it. I'm tryin to change the item prices, I know theres alot of thread that came up about this but it didn't really help me :/ I'm asking if someone is nice enough to edit and compile the warcraft3FT.sma and the constant.inl for me and upload the .amxx file here it would be great. I just want to change the helm price to 80000 or something really high so you can't buy it. Thank in advance.

User avatar
Krazy
Forum Administrator
Posts: 282
Joined: Wed Jul 06, 2005 9:40 am
Location: Dayton, Ohio
Contact:

Change item prices

Post by Krazy » Wed Jul 26, 2006 9:48 am

I will tell you how to edit the plugin to do so and see if you can do it first. If not then I will be nice and compile it.

-----------------------------------------------------------

Go to addons/amxmodx/scripting/war3ft/constants.inl and find these:

This is the "shopmenu" command and the items are in order

Code: Select all

new const itemcost[9] =					{1500,2500,1000,800,2000,800,2000,1000,4000}
This is the "shopmenu2" command in CS/CZ and the items are in order

Code: Select all

#if MOD == 0
	new const itemcost2[9] =				{7500,1500,1500,1500,1500,1750,1000,9000,16000}
This is the "shopmenu2" command in DOD and the items are in order

Code: Select all

#if MOD == 1
	new const itemcost2[9] =				{800,1500,550,1500,1500,1750,1000,9000,16000}
-----------------------------------------------------------

For what you would want to do is change:

Code: Select all

#if MOD == 0
	new const itemcost2[9] =				{7500,1500,1500,1500,1500,1750,1000,9000,16000}
to

Code: Select all

#if MOD == 0
	new const itemcost2[9] =				{7500,1500,99999,1500,1500,1750,1000,9000,16000}
Website: www.djpsych.com
Image

Need help anything to do with Warcraft 3 Mod, installing other plugins, setting up mySQL, installing PsychoStats, or anything else just PM/email me!

Liquid_sprite
Peon
Posts: 17
Joined: Mon Nov 14, 2005 9:31 pm

Post by Liquid_sprite » Wed Jul 26, 2006 11:27 am

the problem is that i can't compile i no how to edit the files and all but i just cant seem to compile it. thx

User avatar
Geesu
<b>King of the world!</b>
Posts: 3159
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu » Wed Jul 26, 2006 12:31 pm

No Support via PM

User avatar
Krazy
Forum Administrator
Posts: 282
Joined: Wed Jul 06, 2005 9:40 am
Location: Dayton, Ohio
Contact:

Post by Krazy » Wed Jul 26, 2006 12:50 pm

It is really easy to compile, but here you go anyway.
Attachments
warcraft3FT.amxx
Version 2.3.2 of Warcraft 3 FT Mod with the Helm price changed to 99999
(230.25 KiB) Downloaded 356 times
Website: www.djpsych.com
Image

Need help anything to do with Warcraft 3 Mod, installing other plugins, setting up mySQL, installing PsychoStats, or anything else just PM/email me!

Post Reply