View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002574SphereServerexecutable - windows buildpublic09-02-16 21:0912-02-16 16:09
Assigned To 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002574: @NpcRestock seems to recognize only SELL and BUY keywords
DescriptionUsing Nightly Build 2681

Items placed under the @NpcRestock trigger aren't created when a NPC is placed on the world.
At first we thought that @NpcRestock wasn't fired but then we noticed that vendors still get the items from their buy/sell list.

Example from the c_blacksmith NPC:
   ITEM=random_coin_purse //This is not placed
   ITEM={ i_hammer_sledge 1 i_hammer_smith 1 } // This is not placed
   //Sell and Buy keyword are recognized, so the vendor's item list appears
   //when you do buy or sell

Noticed that items inserted in @create are correctly placed in the NPC's backpack.
Steps To Reproduce1)Add a NPC
2)Kill it or check its backpack.
TagsNo tags attached.
Nightly VersionAutomated (specify build number)
Experimental FlagsNone
Option FlagsNone
Internal Build Number2681
Attached Files

- Relationships

-  Notes
darksun84 (reporter)
09-02-16 21:17
edited on: 09-02-16 21:40


@NpcRestock seems to work if the creature is Spawned ( and not placed manually).


Not always @NpcRestock works even by spawned creature

nolok (reporter)
12-02-16 16:09

Try now, with latest nightly

- Issue History
Date Modified Username Field Change
09-02-16 21:09 darksun84 New Issue
09-02-16 21:17 darksun84 Note Added: 0003009
09-02-16 21:32 darksun84 Note Edited: 0003009 View Revisions
09-02-16 21:40 darksun84 Note Edited: 0003009 View Revisions
12-02-16 16:09 nolok Note Added: 0003010

Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker