Jump to content
  • 0

Custom Items : itemdb_search error


Yuka

Question


  • Group:  Members
  • Topic Count:  100
  • Topics Per Day:  0.02
  • Content Count:  333
  • Reputation:   7
  • Joined:  03/01/14
  • Last Seen:  

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! :)


 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  100
  • Topics Per Day:  0.02
  • Content Count:  333
  • Reputation:   7
  • Joined:  03/01/14
  • Last Seen:  

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

Link to comment
Share on other sites

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.

×
×
  • Create New...