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-nmm6 (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-nmm6 (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-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






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

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #4
RE: NPCs Not Selling Custom Items
For an item to be bought and sold it needs both VALUE and WEIGHT...

If you don't explicitly set the WEIGHT of a thing, it will try to compute the weight using the RESOURCES... if the items in the list of RESOURCES do not themselves have WEIGHT or RESOURCES defined, the WEIGHT in the MUL (or UOP) file is used... if they dont have a valid value either, the item is considered unmovable.

To make a long story short, try adding WEIGHT=1 to your deed ITEMDEF and add a VALUE to the base item (that you are setting on MORE in @Create).

That's my theory anyway ;-)
(This post was last modified: 09-05-2013 03:33 PM by RanXerox.)
09-05-2013 03:26 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 - RanXerox - 09-05-2013 03:26 PM
RE: NPCs Not Selling Custom Items - pinku - 09-05-2013, 05:03 PM

Forum Jump:


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