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
postal291
Newbie


Joined: 02 Aug 2003
Posts: 6
Location: Canada

PostPosted: Sat Aug 02, 2003 12:38 am   

zMUD 6.16 mapper problems...
 
Here is the typical output from "look" on my mud, as well as my prompt...

---SNIP---
Donation Room Hallway
You enter a Hallway which leads to several rooms. To the North, South,
East, and West will lead you to different Immortal Donation Rooms which
contain specific type of donated Equipment.

[Exits: north east south west]
A scimitar lies here.
You see a SeeD Balamb Garden Uniform [NEWBIE EQ], lying here.
A pile of YEN.

<7618/7618 627/627 890/890 -1000 658xp >
---SNIP---

My problem is that when the mapper does a #LOOK it will read the room name, and description properly, but not the exits.
So after it does a #LOOK and i do a #DESCRIBE 0 it says:

---SNIP---
Donation Room Hallway
You enter a Hallway which leads to several rooms. To the North, South,
East, and West will lead you to different Immortal Donation Rooms which
contain specific type of donated Equipment.

Exits: none
---SNIP---

So as you can see, it grabs the name, and description perfectly, yet the exits dont get read.

I have the following triggers made up to help mapper match its input:

#TRIGGER {^~[Exits~: (*)~]$} {#TAG exit %1}
#TRIGGER {^~<%d~/%d %d~/%d %d~/%d %d %dxp ~>} {#TAG prompt}

I can't for the life of me get it to read the [Exits: north east west south] line.
Any suggestions?
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sat Aug 02, 2003 12:57 am   
 
With the triggers you have exits should be detected properly. I would suggest changing the trigger script to either '#TAG exit {%1}'or '#TAG exit "%1"', as it may be possible that the information is not being passed correctly. A side note: the mapper should detect everything correctly without any tweaks or #TAGs on that mud.
Reply with quote
postal291
Newbie


Joined: 02 Aug 2003
Posts: 6
Location: Canada

PostPosted: Sat Aug 02, 2003 1:16 am   
 
Thanks for your suggestions, but strangely enough, the mapper still will not enter in the exits.

When I changed the triggers as per your suggestions there was no change.
I reconfigure after every change to the triggers.

(the active room in the mapper doesn't change upon reconfigure it will only change the name of the room and description when i click on the Look button)

Anothing discrepancy i noticed within the help files is this:
In the View/Direction settings, each direction can have multiple commands. For example, north is defined as "n|north" which means either "n" or "north" match this direction.

It says that in the help files under "manually configuring mapper" but there is no Direction settings anywhere that i can find in zmud.

because these settings do not exist, perhaps thats why the mapper isn't reading my autoexit line. But if this is the case, is there a way to trick zmud into thinking that these settings exist?

This is the only thing i can think of. Perhaps its looking for those settings and since they are blank, it tries to match them anyway resulting in a blank Exits: line.

I'm clicking refresh on the forum every couple of minutes just so ya know, the quicker the response the better :)

Thanks.
Reply with quote
jedi
Newbie


Joined: 28 Jul 2003
Posts: 9
Location: Australia

PostPosted: Sun Aug 03, 2003 7:26 pm   
 
hi
I dont know if you looked, But did you check with config setting in the mapper and checked the direction boxes when creating rooms.
*points to the exit config settings. check multi exit and exit on prompt?
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Mon Aug 04, 2003 2:28 am   
 
Actually you are quite right, if the Direction settings do not exist then the mapper does not know what word to associate with a map direction. These settings are built into the default package that comes with zMud. You should be able to find them in the settings editor in the System|Directions and System|DirectionsDiag classes. You must have Show Inheritted checked in the Show or View menu. If they do not exist simply read a little more about them in the help and recreate them.
Reply with quote
postal291
Newbie


Joined: 02 Aug 2003
Posts: 6
Location: Canada

PostPosted: Tue Aug 05, 2003 5:51 am   
 
Thank you for your response, the mapper works now, but only if i type in the directions...
How would i have it map out when i use my numpad to enter directions?

I have the following macros defined:

#KEY KEY8 {north}
#KEY KEY2 {south}
#KEY KEY4 {west}
#KEY KEY6 {east}
#KEY KEY1 {down}
#KEY KEY9 {up}
#KEY KEY5 {scan}
#KEY KEY3 {look}
#KEY CTRL-KEY4 {o west}
#KEY CTRL-KEY6 {o east}
#KEY CTRL-KEY8 {o north}
#KEY CTRL-KEY2 {o south}
#KEY CTRL-KEY1 {o down}
#KEY CTRL-KEY9 {o up}

I can't seem to get the mapper to realise that i'm going west or east or whatever, it just sits there like a brick. Anyway, if anyone knows how i can fix this please post, thanks (if i get no response within a day or so I'll make a new topic...

Thanks in advance.

Postal.
Reply with quote
Rehcra
Novice


Joined: 10 Oct 2000
Posts: 43

PostPosted: Tue Aug 05, 2003 5:39 pm   
 
These are the defined defaults for me.

#KEY KEY5 {look} "System|Keypad"
#KEY KEY7 {nw} "System|KeypadDiag" {chain}
#KEY KEY2 {s} "System|Keypad" {chain}
#KEY KEY3 {se} "System|KeypadDiag" {chain}
#KEY KEY4 {w} "System|Keypad" {chain}
#KEY KEY6 {e} "System|Keypad" {chain}
#KEY KEY8 {n} "System|Keypad" {chain}
#KEY KEY1 {sw} "System|KeypadDiag" {chain}
#KEY KEY9 {ne} "System|KeypadDiag" {chain}
#KEY SUB {u} "System|Keypad" {chain}
#KEY ADD {d} "System|Keypad" {chain}
#DIR ns {n|north} n "System|Directions"
#DIR sn {s|south} s "System|Directions"
#DIR we {w|west} w "System|Directions"
#DIR ew {e|east} e "System|Directions"
#DIR ud {u|up} u "System|Directions"
#DIR du {d|down} d "System|Directions"
#DIR hl {nw|northwest} nw "System|DirectionsDiag"
#DIR jk {ne|northeast} ne "System|DirectionsDiag"
#DIR kj {sw|southwest} sw "System|DirectionsDiag"
#DIR lh {se|southeast} se "System|DirectionsDiag"

The #DIR entries are the items you need to verify exist.
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