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
Non-vendable for all magic items?
Author Message
Capes
Journeyman
*

Posts: 57
Likes Given: 0
Likes Received: 4 in 4 posts
Joined: Mar 2018
Reputation: 0



Post: #1
Non-vendable for all magic items?
0.56d
(default scripts)
- Curious... I just noticed that vendors that sell/buy magic items such as weapons & armor produce tons of non-vendable console errors.

I checked the default scripts and everything looks ok. Does anyone know what causes this error? Or how I can fix it?

I read a forum post about cost/weight/SKILLMAKE causing this but the item defs for magic items are derived from base items already so they should inherit the base cost & weight etc...

Here's a copy/paste from sphere_item_magic_weapon.scp

[ITEMDEF i_scimitar_ruin]
ID=i_scimitar
NAME=Scimitar of Ruin
RESOURCES=10 i_ingot_iron, i_scimitar
//INCREASEDAM=15

CATEGORY=Provisions - Weapons - Magic
SUBSECTION=Magic Scimitars
DESCRIPTION=Scimitar of Ruin

ON=@Create
MOREY=1.0
ATTR=attr_magic
HITPOINTS={31 90}
COLOR=color_magic_weap

The ID property is set to ID=i_scimitar, but this throws a non-vendable error....

Do I have to manually add cost/weight/SKILLMAKE to every magic weapon & armor?


Thanks
Capes
04-13-2018 04:50 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Non-vendable for all magic items? - Capes - 04-13-2018 04:50 AM

Forum Jump:


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