|
robert Wanderer
Joined: 25 Feb 2004 Posts: 98
|
Posted: Sat Feb 28, 2004 3:36 am
How to stop Room Enter on Prompt? |
Hey All,
This is my first post! I am really stuck, and could use some help or need an option added to Zmud.
While mapping on Zmud 7.03, I have noticed that if my prompt "> " occurs after I enter a room and after I enter a direction, the Zmud mapper automaticly calls the On Room Create and On Room Enter aliases. This occurs even when I have No Prompt checked, Perl Expresion Checked, or make a Trigger for the prompt and use #NOMAP.
Basicly for Zmud Mapper config, I have unchecked everything, and made my own trigger that does:
#SA Room Trig
#TAG name,exit {%2} {%3}
#TAG prompt
#SA Name: {%2} Exits: {%3}
I have put a bunch of #SAs for debugging. The #SA's are bold, and the Room Create and Enter I do not want is Bold and Red.
If anyone could help me, I would appreciate it.
Thanks!
Robert
Example:
Town (w,u)
Room Trig
Name: Town Exits: w,u
> No map Prompt
w
Town (e,w)
Room Trig
Name: Town Exits: e,w
On Room Create!
On Room Enter
w
> No map Prompt
On Room Create!
On Room Enter
e
Town (e,sw)
Room Trig
Name: Town Exits: e,sw
> No map Prompt |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Sun Feb 29, 2004 1:05 am |
You are leaving out a lot of information. Such as actual mud data that causes these triggers to fire, the specific trigger patterns, and what you are trying to do. With out at least some of these items there is absolutely no way any of us can help you. Your post almost tempts to change my signature back to what it used to be...
We're good, but we are not mind readers. |
|
|
|
robert Wanderer
Joined: 25 Feb 2004 Posts: 98
|
Posted: Sun Feb 29, 2004 2:05 am |
What I am trying to do is stop the Zmud Mapper from thinking I have entered or that it should create a room when it gets my prompt after a direction has been entered. As I have said, I have unchecked everything in the Mapper Configuration, and have tried checking No Prompt as well.
The actual mud data was in the post, but I will remove my #SA's below to make it more clear. The w and w and e are the user inputs:
Town (w,u)
> w
Town (e,w)
w
> e
Town (e,sw)
>
The patterns+scripts are the following:
Pattern:
"* ~(*~)"
Script:
#SA Room Trig
#TAG name,exit {%2} {%3}
#TAG prompt
#SA Name: {%2} Exits: {%3}
Patern:
"^~> "
Script:
#SA No map Prompt
#NOMAP
Alias:
onroomenter
Script:
#SA On Room Enter
Alias:
onroomcreate
Script:
#SA On Room Create!
If there is anything else you need, just ask!
Thanks,
Robert |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Sun Feb 29, 2004 6:46 am |
I still don't really get what you are trying to do. Obviously you have tagged everything there is to capture for the mapper so you have successfully overidden it automatic room detection. Rooms are then created based what you have tagged. After that the automapper calls onroomcreate, then onroomenter. If you leave these blank, as they are by default, then they will do nothing.
If your goal is to not get the mapper to create rooms then don't put into map mode.
If your goal is to not have the mapper think you entered a room then turn it off.
Obviously I still don't understand what you want to do. I have said on many occasions that you have to know where you are and where you want to go before you can figure out a way to get there. That applies to places, but is similarly true here. I get the equivalent of 'where you are', but I can't translate what you have said into a 'where you want to go' and so it is impossible for me to tell you 'a way to get there'. |
|
|
|
robert Wanderer
Joined: 25 Feb 2004 Posts: 98
|
Posted: Sun Feb 29, 2004 7:30 am |
Ok, I have studied the issue more, and it seems to have little to do with the prompt.
The true problem seems to be that if there are multiple commands on the mapper queue, and my Room trig Tags a room, it can create multiple rooms from 1 TAG.
I would like the Mapper to only create 1 room per #TAG name,exit,prompt no matter how many commands are on the Mapper Queue.
Below, is an example in which the Mapper creates 2 Rooms although I only #TAG a single set of name,exit,prompt.
1. I input 2 "w" at once.
2. I enter the first room.
3. My Room Trigs are hit, which TAG the name, exit, and prompt 1 time.
4. The prompt does come in the middle of Tagging, but has #NOMAP...
5. After the TAGs are done, the Mapper creates a room to the west with the TAGed info, and enters it.
6. Before the second room trigger is hit, another room is created and entered.
I am trying to stop Step 6 from occuring because it can end up creating rooms without a Name or any Exits.
New Example:
w
w
Town (e,w)
Room Trig
> No map Prompt
Name: Town Exits: e,w
On Room Create!
On Room Enter
On Room Create!
On Room Enter
Thanks again for trying to assist me with this issue!
Robert |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Mon Mar 01, 2004 4:19 am |
This seems to be an obscure mapper bug. Best recommendation is don't try to go so fast when mapping. Next best would be build yourself a queue to hold direction user input directions so they are not sent when mapping.
|
|
|
|
|
|
|
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
|
|