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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
kjaerhus
Magician


Joined: 18 Dec 2006
Posts: 317
Location: Denmark

PostPosted: Fri Feb 16, 2007 8:30 pm   

Simutronic Features
 
CMUD should be able to get parameters like hp, mana, etc. and store the value under the System|GSL class.

I can't find those variables. Can anyone tell me if this feature is supposed to work? Maybe tell me how I find them.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Fri Feb 16, 2007 10:52 pm   
 
Dragonrealms customer, or Gemstone? These things are governed by GSL codes and should be getting created automatically, but these particular GSL codes are not used in Dragonrealms. If you want to get that information, you either need to set up a text triggering system that tracks game/command messaging OR you need to enter stormfront mode and handle the XML stream via MXP and plain triggers.
_________________
EDIT: I didn't like my old signature
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Fri Feb 16, 2007 11:01 pm   
 
Actually, I think kjaerhus is talking about the variables listed in the GSL Variables preferences screen. Like with zMUD, CMUD allows you to enter the names of variables that you want to automatically track various GSL values, like hp, mana, etc. My guess is that this is a bug regarding where the variables get created, since the System/GSL class no longer exists by default.

So, I *thought* this feature was working, but you might want to look through your settings to see if the variables listed in the preferences screen might be getting created in a different class folder somewhere.
Reply with quote
kjaerhus
Magician


Joined: 18 Dec 2006
Posts: 317
Location: Denmark

PostPosted: Fri Feb 16, 2007 11:10 pm   
 
It is indeed the GSL Variables I am talking about, Zugg.

I searched for them and they are nowhere to be found. Now I must admit I don't know what variable names there are for Dragonrealms so I just assumed that the default ones would work since you put them there. Under all circumstances I would have thought that the variables would be created somewhere- with or without useful information.
Reply with quote
kjaerhus
Magician


Joined: 18 Dec 2006
Posts: 317
Location: Denmark

PostPosted: Fri Feb 16, 2007 11:21 pm   
 
A related problem:

The %gsl(X) which should work in Dragonrealms according to the documentation is not providing any information for me either.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sat Feb 17, 2007 8:32 am   
 
There's no X tag in Dragonrealms, Kjaerhus. Mind posting a link or the contents of what you're looking at? Either you misinterpreted the X as a literal tag when it was supposed to be a variable (X being any valid GSL tag) or the documentation was not written from the perspective of Dragonrealms.

When it comes to Dragonrealms, absolutely none of the stuff on the GSL Variables tab will ever work for you as designed by Zugg. None of that stuff exists in Dragonrealms.
_________________
EDIT: I didn't like my old signature
Reply with quote
kjaerhus
Magician


Joined: 18 Dec 2006
Posts: 317
Location: Denmark

PostPosted: Sat Feb 17, 2007 9:17 am   
 
Sorry to confuse you, Matt. Smile It was meant as the literal 'X', not as a variable. In the documentation (http://forums.zuggsoft.com/modules/mx_kb/kb.php?mode=doc&index=cmud_%25gsl&page=3&refpage=3) it says specifically that this will get hitpoints from Dragonrealms and Gemstone. Other literals like 'l' and 'm' can be used to retrieve contents of left and right hand respectively for instance and there is more perhaps useful information if you can figure out what's behind the values.

I seem to remember that I've seen gauges for health and mana in Simutronics' own clients so I hoped maybe I could get my hands on them too.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sat Feb 17, 2007 6:20 pm   
 
Ok, that example is not applicable to Dragonrealms. GSL-dependant Simutronics clients work the same as ZMud does when it comes to the GSL tags. Each of them supports all the tags that appear in ANY game (which means that %gsl(X) does indeed work, just not in Dragonrealms), but the code that deals with the tags doesn't fire until the tag actually comes. Since none of the gauge- or variable-related tags exist in Dragonrealms, any code that might do something special with the information besides setting up the internal %gsl() variables simply does not get a chance to run.

Thus, you'll never see and have never seen health/mana gauges in any of the GSL-dependant Simutronics clients when logging into Dragonrealms. Stormfront is not a GSL-dependant client, instead using XML which is very similar to MXP.
_________________
EDIT: I didn't like my old signature
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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