Page 1 of 1

[Help] How to change "resell" prices for items

Posted: Wed Jun 30, 2010 8:12 am
by AshLynN
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision Number:4318
L2JDP Revision Number:7542

I want to know how i can edit the price a player recieves from a merchant for selling an item to him.
As far as i know this info is written down in the RequestSellItem.java but i dont know what line i need to edit to increase / decrease the ammount of adena a player recieves.

Could anyone write a tutorial about this problem? I am not good in java unfortunatelly =(
Thx for help so far =)

Re: [Help] How to change "resell" prices for items

Posted: Wed Jun 30, 2010 8:46 am
by janiii
check line 194:

Code: Select all

long price = item.getReferencePrice() / 2;
that means that the price from database is checked and divided by 2. you can use there some other number. but dont know if this change is shown on client too.