Jump to content
  • 0

Enable Sell Items In Gm Shop And Traders. Help Pls


kader-gm

Question

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

Recommended Posts

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

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

  • 0

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

  • 0

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

  • 0

 

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

  • 0

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.

Link to comment
Share on other sites

  • 0

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

Guest
This topic is now closed to further replies.


×
×
  • Create New...