Jump to content
  • 0

Enable Sell Items In Gm Shop And Traders. Help Pls


Question

Posted (edited)
Hi all, I'm working on a new data pack and my server is almost finished, but I have a problem. The problem is option Sell items is disable in  GMSHOP and traders.

 

How to enable Sell option in gm shop?

 

I use L2jfrozen rev 1004 Interlude.

 

FivhEb.jpg

Edited by kader-gm

Recommended Posts

  • 0
Posted
UPDATE `armor` SET price=1 where price > 0;

I just think that is for to goes all items on the server 1 adena.. or no?

 

Now, this:

UPDATE `armor` SET price=1000 where price = 0;

All items goes 1000 when the price is 0.

 

Have matter the price you sell, with all this on navicat? (I mean if you change for 1 or 1000 adena).

All this, just changed the price of items. The same and for sell ..

If i'm wrong, sorry.

 

I understand what you mean , but frozen is a shit.

 

it doesnt matter if the price will be 1 or 1000. in rev 1004 the price cant be 0 cauze it will unable to sell em them as i remember.

  • 0
Posted

Yes is there, But when I try to sell any item even if 1 unit of any consumable tells me "'ve exceeded the amount that can be introduced" .. Besides as you can see in the picture when I put any item not offer me any money, thanks for replying

  • 0
Posted

I put that code in database, but npc not offer me any money, and say me next message like picture.

 

you have exceeded the quantity that can be inputed 

UPDATE `armor` SET price=1 where price > 0;
UPDATE `etcitem` SET price=1 where price > 0;
UPDATE `weapon` SET price=1 where price > 0;
UPDATE `custom_weapon` SET price=1 where price > 0;
UPDATE `custom_armor` SET price=1 where price > 0;
  • 0
Posted (edited)

RequestSellItem.java clientpacket.

int price = item.getReferencePrice() / 2;

Check the file for the sell crap, maybe there is something and that's why you are not able to sell anything.

Edited by SweeTs
  • 0
Posted (edited)

 

I put that code in database, but npc not offer me any money, and say me next message like picture.

 

you have exceeded the quantity that can be inputed 

UPDATE `armor` SET price=1 where price > 0;
UPDATE `etcitem` SET price=1 where price > 0;
UPDATE `weapon` SET price=1 where price > 0;
UPDATE `custom_weapon` SET price=1 where price > 0;
UPDATE `custom_armor` SET price=1 where price > 0;

why like this?

the selling price is 0.. so you shoudn't use > 0 but = 0

UPDATE `custom_armor` SET price=1 where price = 0;

 

ps. as i remember you can't sell items that cost 0 adena

Edited by te0x
  • 0
Posted

It's nothing about the price... as you can see, it's about the item count. Btw why 1004? As I see, l2jfrozen has at least a hundred of fixes after this revision.

  • 0
Posted (edited)

Tessa Is datapack L2 PSD by te0x. Have so beau NPC's html's. and many bugs fixed.. 

 

if you know a kind datapack, share it please.

Edited by kader-gm
  • 0
Posted

there is not a problem in core side.

i have changed the prices in sql to 0. but in 1004 rev its not allowed to sell items that costs 0 adena. it shows you the " you have exceeded the quantity that can be inputed".

You have to change the prices from the navicat from 0 to another price bigger than 0.

try this

UPDATE `armor` SET price=1000 where price = 0;
UPDATE `etcitem` SET price=1000 where price = 0;
UPDATE `weapon` SET price=1000 where price = 0;
UPDATE `custom_weapon` SET price=1000 where price = 0;
UPDATE `custom_armor` SET price=1000 where price = 0;
Guest
This topic is now closed to further replies.


  • Posts

    • Only 3 days left and we'll start with some events, you can check our Discord for more info!
    • Tired of frantically switching between windows trying to find that specific Warlock who should be casting saves? Forgot which server you left your Warsmith on? This mod solves these problems! What it does: Turns the boring window title into an information panel: Server Name - Character Name [Class] Real-life examples: - ServerName - HardcoreFarm [Spoilerr] (who's been spoiling for 3 months already) - ServerName - ClericHelper [Buffer] (eternal buffer on standby) - ServerName - MainChar [Gladiator] (main character who's always AFK) Why you need this: For multiboxers - to avoid confusing where the DD is and where the healer is For the forgetful - if your memory is like a goldfish For streamers - viewers immediately see who's on screen For adults - when playing at work and need to quickly hide the window DLL only - no Interface files needed Installation (more complicated than making tea): 1. Download the DLL 2. Drop it into the System folder 3. Launch the client 4. Be amazed how you lived without this before! Purchase Conditions: Price: 100$ Payment Method: USDT. How to Buy: Contact me on Telegram: @kiselevwv for a quick response. I will answer all your questions and provide additional information if needed. I guarantee functionality at the moment of sale and prompt assistance with setup after purchase.
    • I agree, l2damage crap to compare to l2java which was the father of pvp servers and till this days people playing there for good time.
    • 📝 Registration — Account Registration Creating a new player account. Usually includes: login password password confirmation email Result: a new record is created in the accounts table (loginserver). 🔑 Change Password — Password Change The player changes the password knowing the current one. Required: current password new password new password confirmation Result: the password field is updated in the accounts table. ♻️ Password Recovery — Password Reset If the player forgot the password. Implementation only via email: the player enters their login, email the system sends an email with a link or code the player opens the link / enters the code sets a new password Result: the password is updated in the accounts table.   All fields are validated (required, format, length, uniqueness, security checks).   Price: 80$   and i can rewrite script for PTS server.   Contacts:   Telegram Discord
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..