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
Player Vendor
Author Message
admin phoenix
Master
**

Posts: 354
Likes Given: 1
Likes Received: 23 in 13 posts
Joined: Mar 2012
Reputation: 3



Post: #1
Player Vendor
does anybody have a good Player vendor for share?
hopefully with the newest nighly building commands and not a 55i vendor.

thanks

phoenix
03-24-2013 08:22 PM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Player Vendor
There is a decent working player vendor in the SCP

http://scripts.sphere.torfo.org/

[Image: 2nis46r.jpg]
03-24-2013 11:06 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
admin phoenix
Master
**

Posts: 354
Likes Given: 1
Likes Received: 23 in 13 posts
Joined: Mar 2012
Reputation: 3



Post: #3
RE: Player Vendor
don´t like it
scripted my own system
it´s a little bit more flexible

you can choose between three vendors
low, med and high.
every vendor cost x gp per day and the opposite is how many items they can carry. the high end vendor cost a lot of more Gold per day and can carry more items than the low vendor.
you have got a vendor Editor for the first time you create it and the vendor is stored in your SQL databank.
also Little Feature like if the cost of the items are higher than your Gold amount the letters of the cost will go red.
you can Change the Price of the item directly in the Gump
and you can also Change the vendor items on the right side up.


Attached File(s) Thumbnail(s)
   
04-04-2013 01:46 AM
Find all posts by this user Like Post Quote this message in a reply
Kapa
Journeyman
*

Posts: 74
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2014
Reputation: 0



Post: #4
RE: Player Vendor
hi, what is wrong with this script?

07:01:ERROR:(sphere_vendor_system.scp,585)Undefined symbol ''
07:01:ERROR:(sphere_vendor_system.scp,728)Exp_GetVal: Divide by 0
07:01:ERROR:(sphere_vendor_system.scp,733)Exp_GetVal: Divide by 0
07:01:ERROR:(sphere_vendor_system.scp,585)Undefined symbol ''
07:01:ERROR:(sphere_vendor_system.scp,728)Exp_GetVal: Divide by 0
07:01:ERROR:(sphere_vendor_system.scp,733)Exp_GetVal: Divide by 0

Seems like i cant set the price up for items
(This post was last modified: 10-08-2014 04:09 PM by Kapa.)
10-08-2014 04:03 PM
Find all posts by this user Like Post Quote this message in a reply
RanXerox
Master
**

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



Post: #5
RE: Player Vendor
The script needs some error checking to ensure that real numbers are not being divided by zero.
10-17-2014 03:12 AM
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)