The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NPCs Not Selling Custom Items
Author Message
pinku
Journeyman
*

Posts: 118
Likes Given: 4
Likes Received: 2 in 2 posts
Joined: Apr 2013
Reputation: 4



Post: #1
NPCs Not Selling Custom Items
Hey,

Another annoying post. I'm sorry, I actually try my best before posting. Sad

I'm trying to make the tailor NPC sell a custom deed, but no luck so far, they show on the selling menu, but they are not in stock. I'll explain a bit more below:

Code:
[TEMPLATE VENDOR_S_TAILOR]
CATEGORY=Vendor Templates
SUBSECTION=Sell Templates
DESCRIPTION=Tailor
SELL=i_sewing_kit,{1 2}
SELL=i_scissors,{1 2}
SELL=i_dye_tub,{1 2}
SELL=i_DYES,{1 2}
...
...
SELL=i_deed_loom_s,{2 6}

Code:
[ITEMDEF i_deed_loom_s]
NAME=deed to an upright loom (South)
VALUE=50000
ID=i_deed
RESOURCES=i_deed, i_loom_s

ON=@Create
MORE=i_loom_s
ATTR=attr_newbie

First - I made sure the deed is reading before the vendor templates.

Second - VALUE does not work, it's 100k instead of 50k.

Third -

Code:
WARNING:1:Cheater 'admin' is submitting illegal buy packet (Requested items out of stock)

Forth - In game the NPC says:

Code:
Alas, I don't have these goods currently stocked. Let me know if there is something else thou wouldst buy.

Again, I can see the items in the menu, but I can't buy them. There must be a problem on the restock, but I haven't figure out how to fix it.

Thanks again!
09-04-2013 07:01 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
NPCs Not Selling Custom Items - pinku - 09-04-2013 07:01 PM
RE: NPCs Not Selling Custom Items - pinku - 09-05-2013, 02:49 PM
RE: NPCs Not Selling Custom Items - pinku - 09-05-2013, 05:03 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)