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.


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