[NPC] Items purchased are not what shows?

05/15/2013 07:48 Colb#1
[Only registered and activated users can see links. Click Here To Register...]

My NPC is completed. However, when I purchase an item, it shows in my inventory as normal. But it's incorrect. When I drop it and pick it back up, or teleport, it changes to another item from my NPC from a different tab/group. Example: I click to buy SOMOON Garment Male Glove. It shows SOM Garm Male Glove in my inventory. Then I teleport or drop item & pick it back up. Now it is SOM Prot Male Glove. Wtf?


I double and triple checked all of my _RefPackageItem, and _RefScrapOfPackageItem on DB and media.pk2. So then I decided to check all of my shop tabs, etc. All in DB are copied directly into proper textdata files.


Open spoiler to see my DB / textdata entries. I must be missing something. :confused:

05/15/2013 08:10 flozz#2
I had this problem too, everything was fine (I have been added custom npc's many times before and I haven't those problems), I couldn't find what was wrong with this but found a solution - I had to add lots of new groups like this:
And every group must be with only 1 tab:
try to do this and tell me if it helped.
05/15/2013 12:51 dyandro#3
Verify SlotIndex in _RefShopGoods.
05/18/2013 20:37 Colb#4
Bump.
05/22/2013 08:19 Colb#5
Bump to first page. Still cannot find a fix.
05/22/2013 12:23 PlantiX#6
Look again in your Shop .txt scrappackage and so on. There are different item codes.
06/09/2013 19:17 Colb#7
Nope. All the codes are correct.
06/09/2013 19:45 magicanoo#8
Happened with me before,I still can't figure it out..I had to remove that shop and re-do it again with new codenames.
06/09/2013 23:17 DymerNetwork#9
there must be a problem with the Tabs or Groups involved if you already replaced the RefShopGoods from the db into your client's then the problem gotta be Tabs.

Anyways, you see what the client got, and after teleporting you see what the db gives you..so I consider checking db mainly