|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4715 Location: Pensacola, FL, USA
|
Posted: Wed May 25, 2005 10:11 pm
Capturing data for gauges |
I play a RP instisive mud that doesnt show any data in the prompt.
But they have a standard FE which seems to catch any changes in certain stats automatically.
I have talked to staff, but they are not zMUD literate (they prefer gMUD ::shudders:: ), but they say the data is sent much like this. though it seems to be automatically gagged.
<Vitality>number</Vitality>
<Stamina>number</Stamina>
<Essence>number</Essence>
How would I capture such information since I cant see it?
www.unwritten.net |
|
_________________ Discord: Shalimarwildcat |
|
|
|
DeReP Adept
Joined: 14 Jun 2003 Posts: 222 Location: Chile
|
Posted: Thu May 26, 2005 2:08 am |
Whats your Mud address?
|
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4715 Location: Pensacola, FL, USA
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
DeReP Adept
Joined: 14 Jun 2003 Posts: 222 Location: Chile
|
Posted: Thu May 26, 2005 3:31 am |
Appearently you have to apply for an account to really play the game, I couldnt do much as a "guest" in there.
|
|
|
|
DeReP Adept
Joined: 14 Jun 2003 Posts: 222 Location: Chile
|
Posted: Thu May 26, 2005 4:19 am |
You have 30 out of 295 vitality points.
You have 97 out of 97 stamina points.
You have 34 out of 34 essence points.
You have no wounds. |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4715 Location: Pensacola, FL, USA
|
Posted: Thu May 26, 2005 4:27 am |
yes, i understand the command shows it, however there is an inline form that the mud is sending to there native FE. as i stated originally, im trying to find out how to capture this myself and convert the raw data into a format zmud can understand and make the gauges from there (without having to type a command)
i would assume this, tag for lack of a better word, only happens when you use/lose some or regain them back |
|
_________________ Discord: Shalimarwildcat |
|
|
|
mr_kent Enchanter
Joined: 10 Oct 2000 Posts: 698
|
Posted: Thu May 26, 2005 6:27 am |
What I'd do is:
1. login with basic telnet
2. enable the extra info with whatever command is used
3. copy and paste lines into the settings editor and start playing around.
While not a solution, this is how I'd begin the process of creating gauges if the lines do not appear in zMud. |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Thu May 26, 2005 10:03 am |
They are automatically gagged because they look like MXP tags. However they are not sufficiently formed to be interpretted as MXP by zMud. You may be able to capture the information by defining the proper elements in the Preferences|MXP section. Also you should be able to trigger off them using an #MXPTRIG.
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4715 Location: Pensacola, FL, USA
|
Posted: Thu May 26, 2005 7:10 pm |
Well, i had tried using the MXPTRIG as i was looking through the help index for some clue as to what might work, but im not very familiar with them, i will play around with it some more, but im not entirely sure of what i am doing
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4715 Location: Pensacola, FL, USA
|
Posted: Thu May 26, 2005 7:35 pm |
This just in, I was told specifically by one of the staffers that it is NOT MXP....
So what are my options now? |
|
_________________ Discord: Shalimarwildcat |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4715 Location: Pensacola, FL, USA
|
Posted: Thu May 26, 2005 10:07 pm |
Aha! Finally got in touch with the designer of the native FE. There is a command that activates these MXP look alikes, INTERFACE. I have added it to my atconnect alias and this is the kind of output it now gives me:
You are now a designated FE user. Have a great day.
<name>Shalimar:Wildcat</name>
<position>SITTING</position>
<stance>PARRY</stance>
<experience>531394</experience>
<essence>128:128</essence>
<stamina>635:635</stamina>
<vitality>364:364</vitality>
You get up off some rancid straw.
<map>Shalimar;0;0:</map>
<position>STANDING</position>
You hobble in your shackles.
Round Time: 10 seconds.
<rt>10</rt>
You can't go west from here.
><rt>9</rt>
<rt>8</rt>
<rt>7</rt>
<rt>6</rt>
<rt>5</rt>
<rt>4</rt>
<rt>3</rt>
<rt>2</rt>
<rt>1</rt>
<rt>0</rt>
Very handy! |
|
_________________ Discord: Shalimarwildcat |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Thu May 26, 2005 10:13 pm |
Yes it isn't really MXP. However it is close enough that it should be able to be picked up by #MXPTRIG. Until you set up the right series of triggers though the MXP likeness of it will cause zMud to completely gag it. This is because it looks like MXP to the low level processor, but the MXP processor doesn't recognize it and having no idea what to do with it simply throws it away.
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4715 Location: Pensacola, FL, USA
|
Posted: Thu May 26, 2005 10:28 pm |
actually, zmud doesnt try to gag it at all, i am tinkering with the MXP trigger but i cant get it to work yet
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4715 Location: Pensacola, FL, USA
|
Posted: Wed Dec 14, 2005 3:22 pm |
Okay.. i have gotten these to work at last
#TRIGGER {~<stamina>(%d)~:(%d)~<~/stamina>} {
#GAG
#VAR stam {%1}
#VAR stammax {%2}
}
Works flawlessly for me.
But when i try to share it with a friend, its not working properly they are getting stuff shwn like this:
>237:246
238:246
239:246
240:246
241:246
It is stripping out the <stamina> bits and leaving the numbers behind... any clue what might cause this? |
|
_________________ Discord: Shalimarwildcat |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Wed Dec 14, 2005 5:10 pm |
Hmm.. he may not have the preferences that you set turned on. You may also want to make sure that he checks the tag listing in MXP or that he doesn't have any other trigger that conflicts with it.
|
|
_________________ Asati di tempari! |
|
|
|
|
|