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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
wingmaker77
Newbie


Joined: 29 Dec 2007
Posts: 2

PostPosted: Sat Dec 29, 2007 3:15 am   

Mapping "New Worlds"
 
Hello I've recently started playing a mud called New Worlds. My problem is that I cant seam to get Zmud to automap it at all. I'm using Zmud 7.21 Here is an example of the output
The room name is always on top but not always the same color.. and the exits are always at the bottom and as far as i know always the same color... the room description in the middle can just be on paragraph or it can be two or three and sometimes contains exit words such as North - Such and such place
and then items in the room are listed after the exits like the room example directly below.


> s

Office of the Ambassador

The lavish office is set near the Immigrants guild. Normally guards of the
Duke and the Ambassador to Gahlen and the Kingdom reside here awaiting the
swearing of fealty for new immigrants that enter the city. Double doors lead
out into the Great Way of the city of Gahlen. In order to pass through the
doors you must swear fealty to the crown.

You may wish to wait for a moment in case someone wishes to come here and
witness your ceremony.

 There is one obvious exit: north.

Three Gahlen guards.
Ambassador.

> n

The Great Way

You are at the south end of The Great Way. Red cobblestones mark the pathway
underfoot. This part of the small city of Gahlen is home to several interesting
historical buildings. South of you is the Ambassador's office. To the west is
the Immigrants Guild.

On the side of the street a lantern hangs from a tall pole.

 Obvious exits : north, west and south.

> n

The Great Way

This Great Way is the oldest street in Gahlen. It is fairly clean and
designed with red cobblestones brought from the Dwarves of the Eastern Peaks.
Directly east is an ancient building of strange design. The single door to this
building is jet black in color and the walls are made of a grey substance that
does not appear to be stone.

East - Customs

 Obvious exits : north, south and east.

> n

The Great Way

Great Way is the oldest street in Gahlen. It is fairly clean and designed
with red cobblestones brought from the Dwarves of the Eastern Peaks. This
street is home to several interesting historical buildings.

On the side of the street a lantern burns dimly.

A huge structure built of limestone stands to the west.
A massive Gold Embossment on the entranceway reads:
The Great Hall of Fame


 Obvious exits : west, north and south.

> w

The Hall of Fame

You stand in the main lobby of a huge hallway, one of the largest structures
in Gahlen. The lobby is decorated with beautiful tapestries varying in size
and color. The floor is decorated marble and a large chandelier hangs from a
golden chain about twenty feet above you.

Ahead of you is a dimly lit hall with statues, articles, and paintings lining
the walls.

 Obvious exits : west and east.

> w


I've tried to modify a script I found for Achaea by Larkin (nice job btw I brefly played Achaea and your script works great) but I dont know enough to get it to work.. any help would be appreciated.
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Sat Dec 29, 2007 4:44 am   
 
The problem with Larkin's approach is that it relies on the room name line being a particular colour, which isn't the case with your example. An exit trigger won't be so hard:

#trig {^{There are |}obvious exit{s|}} {#tag exits}

but creating a trigger for the room name will be much harder. You might try using a multistate trigger - an oninput state that recognises your direction commands, and a normal trigger that'll match any line of text (since the next line after a movement command will be the room name).
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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