Welcome to the Builder Academy

Question changing osetval to be more dynamic?

More
22 Jan 2016 17:35 #5561 by rudeboyrave
Our mud has a few more values when it comes to objects and for some reason we cant seem to get osetval to apply to some of our gear. Is there something in the code that would prevent osetval for making brute force changes to the values of an object because nothing we do seems to get them all to set.

osetval 0 1
osetval 1 2
osetval 2 3
osetval 3 4
osetval 4 5
osetval 5 6



just curious!

ryan

CyberASSAULT
www.cyberassault.org
cyberassault.org 11111
A post-apocalyptic, sci-fi MUD.

Please Log in or Create an account to join the conversation.

More
26 Jan 2016 10:21 #5567 by WhiskyTest
First check structs.h for this bad boy:
#define NUM_OBJ_VAL_POSITIONS 4

In your example you'd need to have the definition set to 6 (includes 0).

Please Log in or Create an account to join the conversation.

More
26 Jan 2016 14:06 #5569 by rudeboyrave
yes ours is set at 7

CyberASSAULT
www.cyberassault.org
cyberassault.org 11111
A post-apocalyptic, sci-fi MUD.

Please Log in or Create an account to join the conversation.

More
28 Jan 2016 06:27 #5572 by WhiskyTest
Oh wait - in your trigger you should write it like this:
oset <number> <number>

Not osetval.
In game check out trigger 79 (tstat 79)
Is that it?

Please Log in or Create an account to join the conversation.

Time to create page: 0.197 seconds