Jump to content
  • 0

Custom Items : itemdb_search error


Question

Posted

Hi,

 

I have added my custom items over item_db. Now when I put them in a shop it says:

"npc_parse_shop: Item Red_Potion [501] discounted buying price (20->15) is less than overcharged selling price (25->30) at file 'npc/custom/mcshop.txt', line '1'."

(It is not selling red potion..)

 

And when I buy an item it says:

"itemdb_search: Item ID 0 does not exists in the item_db. Using dummy data."

 

Thanks in advance! :)


 

2 answers to this question

Recommended Posts

Posted

Check the lines of the item you added, it must be missing or exceeding a value, that's why it affected the rest of your items. Try putting them at the bottom part of the item_db also

Posted

Check the lines of the item you added, it must be missing or exceeding a value, that's why it affected the rest of your items. Try putting them at the bottom part of the item_db also

I've put them at the end. Like this:

19512,Mastela_Box,Mastela Box,2,0,,2400,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem 522,100;},{},{}

The item itself works perfectly ingame, just the console tells me warnings

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...