Skip to content

RequestSellItem.java

Featured Replies

long price = item.getReferencePrice() / 1;

i think need one more file change for show price 0 adena i dont have your project for check i think you can share this and you find all point use price adena * item.getReferencePrice() /  2 *

42 minutes ago, filimon said:

long price = item.getReferencePrice() / 1;

this he take the price of item and he make it / 1 so if your weapon cost 1.000.000 you sell it 500.000

  • 3 months later...

Go to RequestSellitem and make that

 

   
            long price = item.getReferencePrice() / 2;
            totalPrice += price * 0;
            if (((MAX_ADENA / i.getCount()) < price) || (totalPrice > MAX_ADENA))
            {
                Util.handleIllegalPlayerAction(player, "Warning!! Character " + player.getName() + " of account " + player.getAccountName() + " tried to purchase over " + MAX_ADENA + " adena worth of goods.", Config.DEFAULT_PUNISH);
                return;
            }
           and now all item you sell 0

 totalPrice += price * 0;

Edited by AlexHack

totalPrice += price * i.getCount();

to

totalPrice = 1;

Edited by Nightw0lf

  • 2 weeks later...

go to items.xml and remore the price line

        <set name="price" val="8680000" />

use notepad ++ to remove all together with mark

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.