The Players Corner Archive

Status Codes

This may be slightly off topic, so I apologize, though I found no apparently better folder.

I'm playing GS3 with KMUD and was wondering if there is a resource somewhere or someone knows has knowledge of how to use the WizardFE status codes with another mud client. Messages like "full mana" and when items enter or leave your hands are used to update the WizardFE's graphical displays, passed by characters that aren't displayed in the game window. I would like to reproduce these effects.

If anybody has any experience working with this, please let me know.

J reg

I did quite a bit of research into these codes when I was making my own FE.

If you log into 198.83.208.169 [chimera-208.simutronics.com] and send the
following:

<key>\n
<key>\n <-- \n == newline

You only need to send the key once, just a plain newline for the second line works fine

But...

If you log into 198.83.208.169 [chimera-208.simutronics.com] and send the
following:

<key>\n
/FE:WIZARD /VERSION:2.02 /P:WIN32\n <-- \n == newline
GOOD\n

You only need to send /FE:WIZARD\n anything else is just to tell the game what client/platform is connecting

This will turn on status strings to the client. Status strings consist
of a new line and then ^\GSxxxxxxxx where the x(s) can range from 6 to 11
characters.

Some codes can be longer than 11 characters, such as the GSm and GSl codes

^\GSm<string> - What is contained in your right hand.

^\GSl<string> - What is contained in your left hand.

^\GSj<string> - The string will consist of the characters A-K, where each
letter means the following:
A - North
B - Northeast
C - East
D - Southeast
E - South
F - Southwest
G - West
H - Northwest
I - Up
J - Down
K - Out

^\GSX<number> - The amount of hit points you currently have.
- The first digit can be '-', indicating negative hit points.

^\GSY<number> - The number of spirit points you currently have.

^\GSZ<number> - The amount of mana you currently have.
- The first digit can be '-', indicating negative mana.


^\GSg<number> - Current stance.
<number> == 000 - Offensive Stance
<number> == 020 - Advanced Stance
<number> == 040 - Forward Stance
<number> == 060 - Neutral Stance
<number> == 080 - Guarded Stance
<number> == 100 - Defensive Stance

^\GSP<string> - Similar to GSj, except its for conditions:
B - ?
C - Webbed
G - Lying down
H - Sitting
GH - Kneeling
I - Stunned
K - Sleeping?
M - ?
N - Hidden
O - Bleeding
P - Joined to someone
T - Spell RT?
U - ???Bandaged???
W - Dead

^\GSw00003 - Sequence that shows up before a death.
^\GSw00004 - Sequence that shows up after a death.
These 2 tell the client that anything between them is a death

^\GSa<number sequence> - Wounds/Severity

^\GSb<number sequence> - Scars/Severity

The GSa/GSb codes give a number after them, which can be worked out to tell you what wounds/scars there are, and the severity. It's quite compliated to explain, so Email me if ya need help.

^\GSt -
seems to be sent whenever the items in your hands are changed (GSl and GSm codes)

^\GSrA/B/C/D/E/F - Changes the 'Mind' meter as you absorb/get exp.

^\GSQ<string>
^\GSq<string> - - but has a time sequence...
These are used to setup the times for the roundtime graphical display.
If a GSQ is sent, then the roundtime is initiated.
To get the roundtime, you take the string from the GSQ and subtract the next GSq string from it, ie.
^\GSQ0972325053
^\GSq0972325047
0972325053 - 0972325047 = a roundtime of 6 seconds

The GSq code also tells the wizard to display the prompt "\n>"

^\GSA<string> - - maybe initial setting of ^\GSq<string>...
Has been seen with, and without the game name at the end.
Only seen at login.

^\GSn<string> - Spell being prepared.

^\GSB<number><name> - Don't know what the <number> is, but <name> seems to
be the characters first name...
Only seen at login.

^GSg<number> - Only seen <number> be a long string of zeroes.
Only seen at login.

^GSV<really long number> - Tons of status info. Contains initial values for mana/spirit/health, plus wounds/scars and others. Only seen at login.

^\GSF<character><number> - Character has been seen to be B, M, and P - the
number has always been a long string of zeroes.
Only seen at login.
Code GSFP is also sent when you "look" at a critter. It is the code to display a picture. The last 3 numbers correspond to an image number within the PAK graphics files.

^\GSL - Starts generic highlight
^\GSM - End generic highlight
^\GSC - Seen when you quit the game.
This tells the wizard to exit

^\GSo - Seen before room title
I assume this is used to set the textcolor to White? I could be wrong.
Also used for the 'move' command in scripting

^\GSp - Seen after room title
I assume this is used to set the textcolor back to the default.

^\GSH - Seen after room title
This tells you that the room description is coming next

^\GSI - Seen after room description This seperates the room description and the items on the ground. However, this follows the description directly, there is no newline between them.

There could be a few others too, my notes are a bit sketchy, and I'd have to look through my code to figure them all out.

-=Insomniac=-
reg