Jump to content
  • 0

Gmshop Selling Problem Again..


Question

Posted

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!

7 answers to this question

Recommended Posts

  • 0
Posted

got it. had to modify in l2item.java
 

public final int getReferencePrice()
 {
  return (isConsumable() ? (int)(_referencePrice * Config.RATE_CONSUMABLE_COST)/10 : _referencePrice/10);
 }
  • 0
Posted (edited)

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
Guest
This topic is now closed to further replies.


  • Posts

    • Dear SocNet users! We would like to present you with the current list of promotions and special offers for purchasing products and services of our platform: 1. Promo code SEPTEMBER2025 (10% discount) for purchases in our store (Website, bot) in September! You can also use the promo code for your first purchase: SOCNET (15% discount) 2. Get $1 credited to your store balance or a 10-20% discount, just write your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." – you need to post it in our forum thread! 3. Get $1 for your first trial run of the SMM Panel: just open a ticket with the subject “Get Trial Bonus” on our website (Support). 4. Weekly giveaways of Telegram Stars in our Telegram channel and in our bot for purchasing stars! Current links: Digital goods store (Website): Go Telegram bot for purchasing Telegram Stars: Go SMM Panel: Go – promotion of your social media accounts. Store Telegram bot: Go News resources: Telegram channel: https://t.me/accsforyou_shop WhatsApp channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n Discord server: https://discord.gg/y9AStFFsrh We are actively seeking suppliers for the following product categories: — Snapchat old and new accounts | With snapscores | Geo: Europe/USA | Full access via email/phone number — Reddit old accounts (brute or hacked origin, self-registered) with post and comment karma from 100 to 100,000+ | Full access with email included — LinkedIn old accounts with real connections | Geo: Europe/USA | Full access via email + active 2FA password — Instagram old accounts (2010-2023) | Full access via email (possibly with active 2FA password) — Facebook old accounts (2010-2023) | Full access via email (possibly with active 2FA password) | With or without friends | Geo: Europe/USA/Asia — Threads accounts | Full access via email (possibly with active 2FA password) — TikTok/Facebook/Google ADS Agency advertising accounts Contact us at the details below — let’s discuss the terms! We are always open to other partnership offers as well. Contacts and support: Telegram: https://t.me/socnet_support  WhatsApp: https://wa.me/79051904467 Discord: socnet_support Email: solomonbog@socnet.store Through these contacts you can also: — get consultation on wholesale purchases — establish a partnership (current partners: https://socnet.bgng.io/partners ) — become our supplier  
    • Again? 🙂 What happen tell us amm curious.   
    • Be careful, he's a thief. Be careful, he's a thief. Be careful, he's a thief. Be careful, he's a thief.
    • I did changed it , I putted a "retail" ai did the same and not worked again. And I am keep thinking that the error is that I dont have the last step of the quest at the chars...
  • Topics

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