03-24-2013, 08:22 PM
03-24-2013, 11:06 PM
04-04-2013, 01:46 AM
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.
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.
10-08-2014, 04:03 PM
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
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
10-17-2014, 03:12 AM
The script needs some error checking to ensure that real numbers are not being divided by zero.