SphereCommunity

Full Version: Player Vendor
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
does anybody have a good Player vendor for share?
hopefully with the newest nighly building commands and not a 55i vendor.

thanks

phoenix
There is a decent working player vendor in the SCP

http://scripts.sphere.torfo.org/
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.
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
The script needs some error checking to ensure that real numbers are not being divided by zero.
Reference URL's