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 =)
[Help] How to change "resell" prices for items
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 2
- Joined: Tue Jun 29, 2010 3:57 pm
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: [Help] How to change "resell" prices for items
check line 194:
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.
Code: Select all
long price = item.getReferencePrice() / 2;
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!