Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Thinjon100
Apprentice


Joined: 12 Jul 2004
Posts: 190
Location: Canada

PostPosted: Fri Jun 15, 2007 6:22 pm   

Getting Gauge values to update
 
OK, now this issue may already be obsolete in v1.33, but I'm using 1.26, so figure I'd post.

I have a few gauges for things like hitpoints & mana, etc... the variables they're linked to, however, aren't static values... for instance, for hitpoints, it works like this:

Hitpoints Value: @StatsGet(hit)
Hitpoints Max: @StatsGet(hitmax)
Hitpoints Low: @StatsGet(hitmax)/20
@StatsGet (In a separate 'Stats' Package) : @Stats.%1
@Stats (In 'Stats' Package) : DB variable, containing all my stat information for my char... level, hit, hitmax, etc etc...

Whenever one of several triggered events on the mud occurs, I use "StatSet hit <amount>" to change the database value.

Now I've done several echo tests and I know for certain that the 'hit' value in the @Stats database variable IS updating, and I know that @StatsGet(hit) is returning the proper value, however the gauge is not updating... it still shows the initial values from when I created it. Is there a way to make the gauge explicitly grab the values again, or is this a bug wherein it should be updating, but due to the depth of my variables it's not?

Also, if it's of any consequence, I'm using @StatsGet() in the button's caption and it, too, is not updating.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net