Jump to content
  • 0

Disable tranzactions.


Question

Recommended Posts

  • 0
Posted
2 hours ago, criss22 said:

Hi everyone. How i can make all shop when player sell, to NOT get adena. For exemple. Helvetia. When i sell something, Anything, not to take Adena.

rework the int getPrice() of item return to 0 and then go to serverpackages and make show 0 adena.

  • 0
Posted (edited)
10 hours ago, criss22 said:

...

Works just its visual... try to sell something and tell me if you will earn adena...
From Serverpackage you have to edit that visual issue.

Edited by StinkyMadness
  • 0
Posted
2 hours ago, StinkyMadness said:

Item.java or ItemInstance.java ?

 

One by one all the items? xD

where all items in ur pack?

If in xml u can change all items price with notepad++ "Replace in Files"

Screenshot_1.png.a477c1b835294617116a9675632e7b74.png

 

  • 0
Posted

RequestSellItem.java

 

int price = item.getReferencePrice() / 2;

 

Change it to 0. Yet, client, still, will display adena on dialog.

  • 0
Posted
39 minutes ago, SweeTs said:

RequestSellItem.java

 

int price = item.getReferencePrice() / 2;

 

Change it to 0. Yet, client, still, will display adena on dialog.

Yes, but to not give to player when he confirm trade. (Sell)

Guest
This topic is now closed to further replies.
×
×
  • Create New...