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
ccogdill
Beginner


Joined: 16 Jul 2002
Posts: 27

PostPosted: Sat Aug 10, 2002 9:44 am   

Auto Mapper Question
 
My room description looks like this:

Slaver's Route Before the Prisons
You stand on the Slaver's Route. The road stretches on between two huge
buildings. The building to the south is the head quarters for the
guardian eyes and to the west and north is the inn. The road here is very
clean and better lit then most of the city. The shadows seem less ominous
here. A couple of orbs seem to have stopped functioning here. South is the
entrance to the Guardian Eye's headquarters and the prisons.

Slaver's route continues east and west
(Red Aura) A slave trader wonders if you are a perspective buyer
(Red Aura) A brownish grey gnome watches you warily

{1743/1743hp 1725/1725m 522g 622s 1181Xnl align-1000 0min.}
<[EsW] UnderDark - Slaver's Route Before the Prisons>


I have tried a tag for the prompt:
#TRIGGER {~<~[&{exits}~] (*) - &{names}~>} {#TAG exit,name {@exits} {@names}}

The problem is:
1) It doesn't bring in the whole description on some rooms (the one above in particular) It only loads "You stand on the Slaver's Route. The road stretches on between two huge" Could there be a return charecter in the description that is throwing it off? Also sometimes there is a direction in in the description that is throwing it off also.
2) The tag line does't grab the directions

If I set the autoexits on the mud the room becomes:

Slaver's Route Before the Prisons
You stand on the Slaver's Route. The road stretches on between two huge
buildings. The building to the south is the head quarters for the
guardian eyes and to the west and north is the inn. The road here is very
clean and better lit then most of the city. The shadows seem less ominous
here. A couple of orbs seem to have stopped functioning here. South is the
entrance to the Guardian Eye's headquarters and the prisons.

Slaver's route continues east and west

[Exits: east west]
A large eye watches all your moves
(Hide) (Red Aura) A footpad slinks through the shadows
(Red Aura) A merchant looks ready to buy all the slaves he sees.

{1743/1743hp 1725/1725m 481g 573s 1181Xnl align-1000 0min.}
<[EsW] UnderDark - Slaver's Route Before the Prisons>

Problems this way:
1) Still doesn't bring in the whole description - still brings in the same single line.
2) If I do it this way I could possibly miss some closed doors because they don't show on the autoexit. While prompt shows closed doors as lower case. In the above prompt the door to the south is closed.


The following is the configuration settings.

Room Exit config:
checked exit in prompt
checked single charecter exits

Prompt configuration:
checked auto prompt detect
checked complex
checked allow string> prompt

Room name config
Nothing is checked (trigger should take care of it)

Room description config:
checked room description
1
1
checked multi line description


btw, I am using the 6.32 beta version

Another problem to note is it seems the queue on the automapper doesn't seem to be clearing. If I type east, it will say Queue: east and won't clear until I click on it.

I also tried putting an extra return charecter in the prompt on the mud with no luck.
Reply with quote
ccogdill
Beginner


Joined: 16 Jul 2002
Posts: 27

PostPosted: Sun Aug 11, 2002 11:51 pm   
 
I just added this script to my trigger but it has no affect to the mapper:

#VAR exit ""
#VAR count 1
#IF (@exits != "none") {
#LOOP %len( @exits) {
#VAR exit %concat( @exit, %copy( @exits, @count, 1), " ")
#ADD count 1
}
}
;#echo Exits: @exits -> @exit
#TAG exit,name {@exit} {@names}



Could the problem be that I have a prompt that spans two lines?!?
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