GMCP additions?

by Ssaliss

Back to Ideas.

Ssaliss2011-07-21 20:37:04
This post is mainly directed at Sior, to be honest, but I figured it'd be good to get the issue out in the open: GMCP has been around for about a year now (I think it came into existence around the start of August 2010, but don't quote me on that), and in the beginning, quite a few suggestions were made to make additions to the GMCP-messages. At that time, the main reason for not making those additions were because you wished to keep GMCP consistent through the IREs, but apparently at least Aetolia has already taken steps away from that (I believe they added balance and a few other things to the Vitals; I've not actually played Aetolia since GMCP was added). Is your wish to keep it consistent still the same, or would it be possible to get a few of those additions we requested?
Calixa2011-07-25 10:45:07
One addition I -really- want to see is add the decimal % of experience to GMCP, so we don't have to capture that off of QSC. I've idea'd it ingame but that was quite some months ago now. Would be nice to see the stance of consistency dropped if there is time for this, especially if other games are doing it already.
Vadi2011-07-30 19:35:37
CONFIG options retrievable via GMCP.
Sior2011-08-07 00:56:51
So GMCP is standard throughout IRE proper. If there's an issue with it not mirroring the other games, please BUG.
Ssaliss2011-08-07 01:13:50
So, I checked the Vitals on Lusternia, MKO and Aetolia and got these, respectively:

Char.Vitals { "hp": "327", "maxhp": "327", "ep": "120", "maxep": "120", "ap": "180", "maxap": "1000", "nl": "0", "string": "H:327/327 E:120/120 A:180/1000 NL:0/100 " }

Char.Vitals { "hp": "4810", "maxhp": "4810", "mp": "6600", "maxmp": "6600", "ego": "7935", "maxego": "6300", "pow": "10", "maxpow": "10", "ep": "21900", "maxep": "21900", "wp": "30900", "maxwp": "30900", "nl": "0", "string": "NL:0/100 H:4810/4810 M:6600/6600 E:7935/6300 P:10/10 N:21900/21900 W:30900/30900 " }

Char.Vitals { "hp": "346", "maxhp": "346", "mp": "340", "maxmp": "340", "ep": "630", "maxep": "630", "wp": "630", "maxwp": "630", "nl": "4", "xp": "240", "maxxp": "5001", "blood": "100", "bleeding": "0", "blind": "0", "deaf": "0", "prone": "0", "cloak": "0", "fangbarrier": "0", "flying": "0", "status": "living", "balance": "1", "equilibrium": "1", "left_arm": "1", "right_arm": "1", "class": "none", "string": "H:346/346 M:340/340 E:630/630 W:630/630 NL:4/100 " }

Does anyone have the vitals from Achaea and Imperian and feel like sparing me the effort of getting them before I BUG it?

EDIT: Okay, so I got impatient and gathered them myself. Imperian and Achaean:

Char.Vitals { "hp": "349", "maxhp": "349", "mp": "337", "maxmp": "337", "ep": "645", "maxep": "645", "wp": "585", "maxwp": "585", "nl": "0", "string": "H:349/349 M:337/337 E:645/645 W:585/585 NL:0/100 " }

Char.Vitals { "hp": "349", "maxhp": "349", "mp": "340", "maxmp": "340", "ep": "645", "maxep": "645", "wp": "600", "maxwp": "600", "nl": "0", "string": "H:349/349 M:340/340 E:645/645 W:600/600 NL:0/100 " }

Feel free to play "Spot the odd one".
Sior2011-08-07 01:34:56
I stand corrected. I'll look into it and see what I can do. smile.gif
Ssaliss2011-08-07 01:39:23
Take the easy route out. Copy Aetolias ninja.gif
Unknown2011-08-07 11:48:33
QUOTE (Sior the Anomaly @ Aug 7 2011, 02:34 AM) <{POST_SNAPBACK}>
I stand corrected. I'll look into it and see what I can do. smile.gif


I messaged Roark about this. It was pretty much just reiterating what has been said here, in all honesty, though.

Calixa2011-08-07 14:26:01
So, does that mean we can get the decimals for experience in GMCP? I understand wanting to keep it as parallel as possible but providing extra digits past the point shouldn't make that much of a difference than say the way the Aetolia vitals string differs and includes their unique things. *hopeful*
Ssaliss2011-08-07 15:25:29
QUOTE ("Achaean Announce 3480")
15. For those with the Innersight ability in Vision, GMCP Char.Vitals will now correctly show the percentile amount for XP as was already shown in Char.Status

I assume this means that they get four digits instead of two in their GMCP. Never had Innersight on any Achaean though, so...
Vadi2011-08-07 18:18:20
QUOTE
lua gmcp.Char.Status.xp
'6.3%'

lua gmcp.Char.Vitals.nl
'6.3'


That's what it does.
Ssaliss2011-08-07 18:19:58
So if you're level 53 and 63.5%, it'd send "63.5"?
Vadi2011-08-07 18:26:53
That's correct.
Vadi2011-08-07 18:27:33
What's necessary for Lusternia is a way to see Demigod/Ascenant essence in GMCP.
Ssaliss2011-08-07 18:29:48
Definitely agree. It shouldn't really break any (well-constructed) client either; they pick the key-value pairs they're interested in, and if there are any others, it discards them.
Neos2011-08-09 00:07:14
Could squads/mindlinks/shipt be added to gmcp?
Ssaliss2011-08-09 00:08:04
Shipt and Squadt is already. Never tried mindlink.
Neos2011-08-09 00:11:03
QUOTE (Ssaliss @ Aug 8 2011, 08:08 PM) <{POST_SNAPBACK}>
Shipt and Squadt is already. Never tried mindlink.

Oh, swear I remember them not being present the last time I took the time to look at it. Will have to check again for mindlink, but I distinctly recall it not being there.

Edit:
Mindlink isn't in it, and squad doesn't show up in the listing, though it is recognized in the Start/End messages, I want them listed, especially squads, so I can more easily pull the names.
Ssaliss2011-08-09 01:54:22
QUOTE
ANNOUNCE NEWS #1815
Date: 8/9/2011 at 1:43
From: Roark Libertas
To : Everyone
Subj: GMCP Changes

I will be adding some fields to Char.Vitals in GMCP. If you have a
system that uses this then *be certain* that it's robust enough to
ignore any fields it's not programmed to understand. I tried to load
initial changes today and things went ka-boom for some players, so I'm
rolling back until all updares are finished. I will not be altering or
deleting existing vitals fields, just appending new ones.

wub.gif Although it makes me wonder what client went kaboom... Mine survived, if I was around for it.
Sior2011-08-09 01:55:31
QUOTE (Ssaliss @ Aug 8 2011, 09:54 PM) <{POST_SNAPBACK}>
wub.gif Although it makes me wonder what client went kaboom... Mine survived, if I was around for it.

People were using exact regex matches for it..

If your client supports direct json manipulation (it's just a map series of key-value pairs), you should probably opt for that.