This is a long post but I wanted to provide as much information as possible.
I am trying to get a mapper working for a RoT MUD that does not show room numbers.
I have searched the forums and I found this:
in post http://mushclient.com/forum/?id=12635
How to use MUSHclient mapper on your own mud, but I'm not sure where to put that sort of thing at. Does it go in the mapper.xml or the mapper.lua?
I am using the mapper.xml from the post above, and mapper.lua from here: https://github.com/nickgammon/mushclient/blob/master/lua/mapper.lua
Here is some example text from the MUD I play:
I'm not interested in reinventing the wheel, so please, if someone knows how to do this or knows of a forum where this is already explained please help point me in that direction.
Thank you in advance
I am trying to get a mapper working for a RoT MUD that does not show room numbers.
I have searched the forums and I found this:
roomname = "Market Street"
roomdesc = [[
The cobbled road is buzzing with activity. Eager shouts from numerous tents
and pavilions encourage potential customers to come inspect a shopkeeper's
wares. To the north is the Food Market, while the tent to the south is
dedicated to repairing items. Market Street stretches to the east and west.]]
uid = utils.tohex (utils.md5 (roomname .. roomdesc))
uid = uid:sub (1, 10) -- more manageable length
print (uid) --> 2780473A26
in post http://mushclient.com/forum/?id=12635
How to use MUSHclient mapper on your own mud, but I'm not sure where to put that sort of thing at. Does it go in the mapper.xml or the mapper.lua?
I am using the mapper.xml from the post above, and mapper.lua from here: https://github.com/nickgammon/mushclient/blob/master/lua/mapper.lua
Here is some example text from the MUD I play:
Quote:
Market Square **THIS ROOM NAME IS RED & GREY ON BLACK**
T ________
_____/----/-\ .' './========\ This spot is the center of everything. All
|.-.-.|===| _ |-----| u u | journeys start here and strangely enough
|| | ||===||||| |T| | || | end here, too. The name of Market Square is
:::::::::::::::::::::::::::::: a misnomer since this area is more like a
''''''''::::::::::::::'''''''' small park with two crossing cobbled streets,
'::::::::' blooming flowerbeds, and small trees.
A smelly vial is here.
A small fountain covered in vines rests here gushing water from between the leaves.
<60718hp 35719mn 28725mv 83 Crane NESWUD>
s
Common Square **THIS ROOM NAME IS RED ON BLACK**
A small square is formed by the intersection of cobblestone streets. To
the north, the Main Temple of Midgaard can be seen. A dark alley leads off
to the east. A poor alley leads off to the west. A cobblestone street
leads south into Southern Midgaard.
<60718hp 35719mn 28725mv 83 Crane NESW>
s
a cobblestone road **THIS ROOM NAME IS BLUE ON BLACK**
South of here you see the river and to the north is the common square. A
rickety old bridge leads south to the promenade.
<60718hp 35719mn 28724mv 83 Crane NS>
I'm not interested in reinventing the wheel, so please, if someone knows how to do this or knows of a forum where this is already explained please help point me in that direction.
Thank you in advance
