GMCP is so frustrating! The way they handle things is just stupid!
For example, when you move into a new room or look in a current room it updates gmcp.Char.Items.List, but when something appears or disappears in a room instead of refreshing gmcp.Char.Items.List, it instead changes gmcp.Char.Items.Add or gmcp.Char.Items.Remove, and leaves gmcp.Char.Items.List inaccurate.
Man it makes gmcp hard to use.
GMCP
Re: GMCP
If that were the case, it'd be plausible, but in more than ten years of mudding I've never seen anything so extreme.
If they're going to do it that way, it'd be nice if they'd at least give the name part of the ID on items instead of just the number.
If they're going to do it that way, it'd be nice if they'd at least give the name part of the ID on items instead of just the number.
Re: GMCP
I've been pondering writing one for a while. I could probably do this.Vadi wrote:Thinking about using this list more. It seems we need some sort of a state tracker and this script would be useful to everybody.
By the way, you never commented on my module tracker I wrote for you.
Re: GMCP
This is what I'm currently using to track enemies in the room:
using the event gmcp.Room.Info, and lacking the counterpart "areaEnemies" which just tracks a list of known NPCs in given area and returns various information.
using the event gmcp.Room.Info, and lacking the counterpart "areaEnemies" which just tracks a list of known NPCs in given area and returns various information.
Re: GMCP
Adjusted the script a bit to work. To use, import it, walk into a room,
Should display the current state of the tracker. Item IDs are the keys, item longnames are the values.
- Attachments
-
- roomEnemies.xml
- (1.99 KiB) Downloaded 625 times
Re: GMCP
Is there a way to have this output to a different window so that we can view the denizens and items for each room in a seperate more easily viewed window?
Sorry if its a stupid question but i really have no clue what i'm doing with most of Mudlet
Sorry if its a stupid question but i really have no clue what i'm doing with most of Mudlet
Re: GMCP
This doesn't handle anything other than managing the connection and modules for GMCP. You can use this in a script to gain access to the information you need, but it doesn't do anything to help you retrieve and format it.