SphereCommunity
Buy and Sell value - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Buy and Sell value (/Thread-Buy-and-Sell-value)



Buy and Sell value - Rizz - 12-06-2012 08:00 PM

Hi,
i have some problem to set the right price on the items shop by vendor.
In sphere 51a there were two parameters: buyvalue and sellvalue.
In sphere 56b i have only value... it seems that it allow me to change the sellvalue price only... how to use?


RE: Buy and Sell value - Mordaunt - 12-06-2012 10:58 PM

Give skul's script a try. Haven't tested it myself yet.

http://forum.spherecommunity.net/Thread-Shop-Sell-Packet


RE: Buy and Sell value - Rizz - 12-07-2012 06:01 AM

Lol why i need a script to do that?
I wanna simply change the buy and sell value for some items, i don't need tons of "unknown scripts"... maybe bugged too.
It's like "hey how to change the door key?" and then "install house proper system"!

Is there a way to manage buy and sell value or not?
There was in sphere51a... it should be here too...


RE: Buy and Sell value - Mordaunt - 12-07-2012 06:35 AM

Value is read only and is set on the item when created by the script.
Which is why I offered up the script that I did, as it will allow you to override the value when buying & selling.

This IS the script help forum.


RE: Buy and Sell value - htid4life - 12-07-2012 06:57 AM

im sure if the system was bugged skul would fix it straight away its your only way unless you script it your self then it wont be unknown....


RE: Buy and Sell value - Rizz - 12-07-2012 08:42 AM

So the answer is: there isn't a way to set the selling price without tons of scripts.

Here's a sphere51a item script:

Code:
[5000]
NAME=Superior Bow
TYPE=15
ID=013b1
WEIGHT=6

BUYVALUE=300
SELLVALUE=15

SKILL=Archery
DAM=15-30
REQSTR=30
HITPOINTS=41-80
CATEGORY=Provisions - Weapons
SUBSECTION=Bows - Exceptional
DESCRIPTION=Superior Bow
SPEED=20
TWOHANDS=Y

2 read only parameters, am i wrong?
I don't wanna be polemic but for me it makes non-sense use a huge script to do that.
It's pretty simple, lite, secure, and linear in this way.


RE: Buy and Sell value - htid4life - 12-07-2012 09:49 AM

well if your adamant not to use long scripts enjoy the looooooong looooong wait because hardly any devs if any devs here bens gone away for few weeks and rest say to busy so good luck with it..


RE: Buy and Sell value - Rizz - 12-10-2012 03:32 AM

Got it Sad
I'll try it in local.


RE: Buy and Sell value - admin phoenix - 12-11-2012 12:16 AM

it was deleted some years ago from the 55r version.


RE: Buy and Sell value - evening - 11-04-2015 07:06 PM

BUYVALUE=300
SELLVALUE=15


Perhaps it is more convenient some Settings