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
Vendor not buy item
Author Message
Doberman
Apprentice
*

Posts: 29
Likes Given: 2
Likes Received: 0 in 0 posts
Joined: May 2012
Reputation: 0



Post: #1
Vendor not buy item
Hi!
Vendor not buy item, and say: "I cannot afford any more at the moment".
How fix this?
11-25-2016 09:20 PM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #2
RE: Vendor not buy item
the vendor don't have enough money to buy the item from player
11-27-2016 06:40 PM
Find all posts by this user Like Post Quote this message in a reply
Doberman
Apprentice
*

Posts: 29
Likes Given: 2
Likes Received: 0 in 0 posts
Joined: May 2012
Reputation: 0



Post: #3
RE: Vendor not buy item
How to fix it?
11-28-2016 03:26 AM
Find all posts by this user Like Post Quote this message in a reply
scottyb
Apprentice
*

Posts: 7
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Mar 2016
Reputation: 0



Post: #4
RE: Vendor not buy item
2 way I believe buy some stuff off it or do .serv.restock that should fix it
11-29-2016 12:59 AM
Find all posts by this user Like Post Quote this message in a reply
Leonidas
Master
**

Posts: 277
Likes Given: 3
Likes Received: 13 in 12 posts
Joined: May 2013
Reputation: 1



Post: #5
RE: Vendor not buy item
You need to make the npc spawn with money.


Code:
ON=@NPCRestock
   ITEM=random_coin_purse

You can change how much that random coin purse gives the npc by going into sphere_template_loot.scp

You could also just use ITEM=i_gold,{25 50}
(This post was last modified: 11-29-2016 10:19 AM by Leonidas.)
11-29-2016 10:17 AM
Find all posts by this user Like Post Quote this message in a reply
Kanibal
Master
**

Posts: 255
Likes Given: 6
Likes Received: 30 in 28 posts
Joined: Jun 2012
Reputation: 0



Post: #6
RE: Vendor not buy item
(11-29-2016 10:17 AM)Leonidas Wrote:  You could also just use ITEM=i_gold,{25 50}

More gold! More! {10000 10000000}

Grandmaster Localhost Admin
11-29-2016 05:59 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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