Feel free to convert them yourself though.

Moderator: Wizards
This probably comes too late but Turian was experimenting with implementing GMCP and had it working, with little testing being done by po Aslak and yours truly. It offered unique hashes for each room, which will solve the room identification issue. It also included other useful bits like a complete list of exits (to your character's knowledge) and exit types. IIRC it does not include coordinates and all knowledge returned is limited to what your character knows. I.e. I'd expect maze rooms (i.e. swamps) to return scrambled exit lists.Israfel wrote:Attempts at mapping
Code: Select all
LOCATION-package DATA
"exits" -> mapping of exits with exit type
"hash" -> has-id of the room (if avaibale)
"inside" -> send by inside rooms
"short" -> short desc of the room
"temperature" -> temperature in the room
"type" -> type of the room
And "hash" supplies the unique room identifier (if it's appropriate for the room to have one).exit-types:
undefined -1
room-type 1-13
road 100
door 101 (closed -101)
hall 102
yard 103
path 104
In the example above (from Aardwolf GMCP package), the first number "5922" is the current room, and we also know the room east of us is "5920". When we move east, it'd tell us that west of us is now "5922", giving us a reliable set of info to map from and saving us having to backtrack every step.room.info { "num": 5922, "name": "At the entrance of the park", "zone": "zoo", "terrain": "city", "details": "",
"exits": { "e": 5920, "s": 5916, "w": 12611 }, "coord": { "id": 0, "x": 37, "y": 19, "cont": 0 } }
I guess where I'm going with this is that the two different packages (one with exit hashes, one without) require different types of mapper scripts. I know which one I prefer (the reliable "exit hashses" version). If something like that is on the cards for the future, or if admins are open to the idea of extending that in GMCP, I'd be keen to know before trying to develop a mapper for Geas in MUSH.room.info { "num": -1, "name": "Emerald Clan Room", "zone": "emerald", "terrain": "",
"details": "", "exits": {}, "coord": { "id": -1, "x": -1, "y": -1 } }