Jump to content
  • 0

Disable tranzactions.


criss22

Question

Recommended Posts

  • 0
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.

Link to comment
Share on other sites

  • 0
15 hours ago, criss22 said:

From what file Stinky? 

Item.java or ItemInstance.java ?

 

12 hours ago, wongerlt said:

just change items price to 0

One by one all the items? xD

Link to comment
Share on other sites

  • 0
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
Link to comment
Share on other sites

  • 0
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

 

Link to comment
Share on other sites

  • 0

RequestSellItem.java

 

int price = item.getReferencePrice() / 2;

 

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

Link to comment
Share on other sites

  • 0
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)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...