Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
chosig
Novice


Joined: 20 Apr 2008
Posts: 39
Location: Sweden

PostPosted: Sun Feb 26, 2017 7:09 am   

[3.34][Discworld] Adding a string identifier to a room to help with identifying?
 
Discworld has implemented GMCP, albeit really small bit of it.
I found something that can help with mapping, every room has a "hash" identifier that I'd like to add to my map to help when it gets lost.

The gmcp output is like this

Code:
identifier=a5846b0acd26afec87c2dc20daa7ccadecc94cff|name=Job Market centre|kind=inside


Thing is I haven't really found any good place to stick it in the map, atleast not that I know how to handle (usrstr?).
Perhaps a db variable with something like roomnum()=identifier but there's thousands of rooms...
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 3798
Location: Pensacola, FL, USA

PostPosted: Sun Feb 26, 2017 1:35 pm   
 
Use the ID caption on the first tab of the room properties window (upper right corner)

or #CALL %roomid
_________________
Windows 10 Home Premium 64-bit
AMD Phenom II x6 1055T 2.8GHz 16GB
CMUD Pro v3.34
Reply with quote
chosig
Novice


Joined: 20 Apr 2008
Posts: 39
Location: Sweden

PostPosted: Sun Feb 26, 2017 3:56 pm   
 
Aah! Good catch, I just use that one for named room that I sw to frequently
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Mon Feb 27, 2017 3:15 pm   
 
You might want to use the %roomnote field instead, because the ID field is for a short name that can be interacted with by commands like #WALK.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
chosig
Novice


Joined: 20 Apr 2008
Posts: 39
Location: Sweden

PostPosted: Wed Mar 01, 2017 11:31 am   
 
+1 Vijilante

I think I'll do a separate SQLITE db on the site to aggregate the information, Discworld is a complex MUD - and I am one of those explorer geeks, I spend hours just walking and reading.
I even "look east" and compare the room descriptions because some change when you enter Shocked
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net