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






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Vendors won't buy anything..
Author Message
Capes
Journeyman
*

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



Post: #6
RE: Vendors won't buy anything..
New issue!
I copied the sphere_vendors.spc and added vendgold=1000 to my file. I did not touch the original file.

Vendors will buy now but the console is dumping a lot of errors out...
ERROR:(c_sphere_vendors.scp,2659)Loot item 'i_lantern' too heavy for NPC 'c_innkeeper_f'
08:12:ERROR:(c_sphere_vendors.scp,1915)Loot item 'i_torch' too heavy for NPC 'c_fisher'
08:12:ERROR:(c_sphere_vendors.scp,1915)Loot item 'i_lantern' too heavy for NPC 'c_fisher'

It spits out an error for every vendor now that spawns?
When I remove vendgold=1000 from vendors and respawn world, there error disappears...

Any ideas on how vendgold=1000 would cause this?

Thanks
Capes



UPDATE -

It was not an issue with sphere or the npc vendors..
A file comparison revealed my script file had '\r' for new line/line-break/carriage return.
Warning Notepad++ users -> make sure default for new-line is '\n' else sphere will not handle the asci correctly hence go weird.

Everything works now!

Thanks for all the help!
Capes
(This post was last modified: 03-30-2018 04:42 AM by Capes.)
03-29-2018 10:18 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Vendors won't buy anything.. - Capes - 03-25-2018, 06:04 AM
RE: Vendors won't buy anything.. - Capes - 03-28-2018, 06:56 AM
RE: Vendors won't buy anything.. - Satvet - 03-29-2018, 01:42 AM
RE: Vendors won't buy anything.. - Capes - 03-29-2018, 05:29 AM
RE: Vendors won't buy anything.. - Capes - 03-29-2018 10:18 PM

Forum Jump:


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