Page 1 of 1

GMCP - Mana always "in a bad shape".

Posted: 12 Mar 2015 17:40
by Shesara
Hello!

I have recently begun working with GMCP on my cMud, and for the most part it works great. As you can see from my status window, I have char.vitals split up in health, mana, fatigue, food- and drinklevels and intoxication.

I used a bit of code that I found elsewhere on the Gen forums to update these vitals when Genesis sends the update:

Code: Select all

$gmcpData = %gmcp.Char.Vitals
#IF %ISKEY($gmcpData, "health") { health = %gmcp.Char.Vitals.health }
#IF %ISKEY($gmcpData, "mana") { mana = %gmcp.Char.Vitals.mana }
And so on.

Unfortunately it seems my cMud always reports mana as being in a bad shape.

Code: Select all

#show %gmcp.Char.Vitals.mana
in a bad shape
Which on my status window is changed into 46%

Everything else seems to work fine. Any ideas what is going wrong here? I have tried relogging, but this does not seem to change the returned value from Genesis.

Thank you!

Re: GMCP - Mana always "in a bad shape".

Posted: 12 Mar 2015 22:04
by Mercade
This appears to be related to your spell casting guild affiliation.
It will require some further investigation and may likely take time to get fixed.

Re: GMCP - Mana always "in a bad shape".

Posted: 14 Mar 2015 04:24
by Drip
This always happens:

Do these have something in common?