Bug Report: GMCP API Incorrect for Webclient

Report bugs and suggest new features for the web client here.

Moderator: Eowul

Forum rules
- Use common sense and be respectful towards each other at all times, even when disagreeing.
- Do not reveal sensitive game information. Guild secrets, player seconds are examples of things not allowed.
Post Reply
User avatar
Vlek
Wanderer
Posts: 71
Joined: 06 Apr 2014 07:40
Contact:

Bug Report: GMCP API Incorrect for Webclient

Post by Vlek » 03 May 2015 09:17

It appears that the webclient's objects do not have the same names as they are supposed to as per the GMCP API. For instance, the Char.Vitals object is actually gwc.gmcp.data.character.vitals . The only way I was able to find that out was through considerable trial and error (mostly irritating error). I have since been able to get a list of all of the items:

Here's the GMCP API for the webclient:

Code: Select all

    character
        statusvars
            gender
            level
            intelligence
            constitution
            name
            race
            strength
            discipline
            wisdom
            dexterity
        status
            name
            discipline
            rank
            mail
            gender
            level
            intelligence
            constitution
            race
            strength
            alignment
            wisdom
            dexterity
        vitals
            health
            mana
            intoxication
            food
            drink
            progress_quest
            progress
            fatigue
    room
        doors
        exits
        id
        short
If one wanted to get their character's level of fatigue, they would use: gwc.gmcp.data.character.vitals.fatigue

Post Reply
http://tworzymyatmosfere.pl/przescieradla-jedwabne-z-gumka/