Jump to content
  • 0

Help Gmshop Selling Problem Again..


Innos
 Share

Question

I have modified gmshop so that if someone sells, he will get 0 adena, but I must edit the gmshop somehow in order not to show a selling price, because player gets confused as the gmshop shows him selling price (for example) 100k and when he sells it, he gets 0. How can I edit it so that it shows 0?

 

thanks a lot!

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

got it. had to modify in l2item.java
 

public final int getReferencePrice()
 {
  return (isConsumable() ? (int)(_referencePrice * Config.RATE_CONSUMABLE_COST)/10 : _referencePrice/10);
 }
Link to comment
Share on other sites

  • 0

I have modified the request sell item to long price = item.getReferencePrice() / 10; instead of /2 and now items get sold lower. I'll give you an example to undenrestand my prob:

I go to the gmshop and want to sell a weapon, the gmshop shows that the selling price is 21kk but when I sell it I get only  5kk. I want to modify this in order to display the correct selling price(which is 5kk).. How can I do that?

Edited by Innos
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock