How do I change prices of items in shop?!? [317]

Initiate Mage
Joined
Jul 5, 2009
Messages
3
Reaction score
0
I know how to make shops in a 317 server, but how do I change the items' value?!?!? Editing the item.cfg file won't work.
What I mean is that in the shop something cost 122k... I want to change it to like 5m.
How do I do that?!?!?!?! :S
 
They are right. You DO edit the item.cfg. its usually set up as so

Code:
item = *ITEMID*  *ITEM NAME*  *ITEM DESCRIPTION* *HIGHALCH VALUE* *SHOP PRICE* *LOW ALCH VALUE* *bonuses---------------*

But sometimes what happens is if you change the shop price, to say, 3M, it comes out 3806250 in game. If this happens, go into your client.java and search for "totprice" or "ShopValue" or "1.26" and you should come to some shop setups.

If you searched for 1.26 you should be in the right place. take out the 1.26875 or whatever you have in the code:

Code:
TotPrice = (ShopValue * /number/);

To get your price to match the price you want just remove the [number] part. In my server it was 1.26875, but it could be diffrent for yours.

Happy Hunting =]
 
Last edited:
Back