trade system bug

Found a bug in UOX3? Or experienced a server crash? Perhaps you've noticed a broken feature? Post the details here!
Post Reply
dragon slayer
UOX3 Guru
Posts: 776
Joined: Thu Dec 21, 2006 7:37 am
Has thanked: 4 times
Been thanked: 26 times

trade system bug

Post by dragon slayer »

I finaly got the trade system set up in britain. but then i tryed it out and realized the tag RANDOMVALUE=-10 10 doesn't work with vale=44 22

it doesn't know whow to read the value tag to know they second number is the sell number
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

Could you elaborate a bit more on this one? What exactly are you trying to accomplish, and in what way exactly is it not working?
-= Ho Eyo He Hum =-
dragon slayer
UOX3 Guru
Posts: 776
Joined: Thu Dec 21, 2006 7:37 am
Has thanked: 4 times
Been thanked: 26 times

Post by dragon slayer »

GOOD=1
BUYABLE=500
SELLABLE=-600
RANDOMVALUE=-100 100

randomvalue=# # on ever vendor resotck each items value will be modified based on value rate for example if you set good 1 with a value of 10 and randomvalue=-100 100 its valie changes its value changes every resotck time ranging from 9 (-10.0%) to 11(10.0%) this change will be added aftet calculating sellable and buyable and take effect when yopu say vendor buy or vendor sell

what the problem is old school uox3 value was just

VALUE 44

but new uox value=44 22 they 22 is the sell value of the item so randomvalue is trying to take both of those numbers and calculate a new value to put on item doing restock.

if i remove the second number in value=44 22 < removing 22 just leaving 44 then the system works just fine.
I hope that explains a little better.
dragon slayer
UOX3 Guru
Posts: 776
Joined: Thu Dec 21, 2006 7:37 am
Has thanked: 4 times
Been thanked: 26 times

Post by dragon slayer »

should i be removing the second value number since I'm using trade system?
dragon slayer
UOX3 Guru
Posts: 776
Joined: Thu Dec 21, 2006 7:37 am
Has thanked: 4 times
Been thanked: 26 times

Post by dragon slayer »

lol would been funny.
Tom
UOX3 Neophyte
Posts: 31
Joined: Tue Dec 20, 2011 9:36 pm
Location: Berkeley
Has thanked: 0
Been thanked: 0

Post by Tom »

I thought I was getting detention for being late
dragon slayer
UOX3 Guru
Posts: 776
Joined: Thu Dec 21, 2006 7:37 am
Has thanked: 4 times
Been thanked: 26 times

Post by dragon slayer »

better late then never here hehe
Post Reply