Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Resources

https://www.gammon.com.au/gmcp - History, detailed protocol specs (escape codes etc)

https://nexus.ironrealms.com/GMCP

  • Have examples of request for items
  • Have examples of request for skills
  • Use Char.Afflictions instead of Effects
  • One implementation for gmcp.Comm – stateful

http://www.aardwolf.com/wiki/index.php/Clients/GMCP

  • Several examples of requests
  • very good examples of possible implementations
  • very cool "state" variable
  • examples of group (party) implementations
  • One implementation for gmcp.Comm – stateless

 

Nice to have features

  • Arrived from <direction>
  • Monsters in room
  • room.Players (players in current room) (see Ironrealms)
  • Skills
    • skill trains remaining on current level
    • skill points total
    • Skills trained and effective

Suggestions

  • If bandwidth is an issue, move max stats to char.maxstats (see aardwolf), and keep vitals for current hp/gp/xp only
  • char.status.state (from aardwolf) would be quite nice to have. specifically meditation, fighting, queing
  • Some sort of group info (party leader, am i a leader, list of party members, possibly with guild) would be nice to have. probably on poll request
  • Might want to setup "subscriptions" (aka gmcp.Room off, gmcp.char.Vitals on)

Bugs

gmcp.Char

  • wimpy command does not fire any gmcp.Char events
    • Expected behavior:
      • fire gmcp.Char.Status event with new value in gmcp.Char.Status.wimpy

gmcp.Char.Effects

  • does not seem to update on regular basis, only updates when new effect added or removed. This is strange as there is a duration value
    • Expected behavior: 
      • updates on some sort of "tick" (aka every 4, or 10 seconds or so)
      • or ability to poll for refresh
      • or, no duration?

 

gmcp.Room

  • Desc in Blood sands doesnt match actual description (from look)
  • gmcp.Room.Info.desc include gmcp.Room.Info.name
  • Doesn't count ship as a room
    • Not sure how this would work (For vehicles). Possibly say that current room is the ship, then add a "vehicle is in room" ?

 

 

Bugs:

  • Seems effects doesnt trigger new update when an effect wears off
    • gmcp.Char.Effects gets fired when effects wear off

- Room:


 

 

 

Bugs

Casting spells, seem to trigger multiple instant gmcp events:

...