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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
kingfish1
Beginner


Joined: 13 Jun 2005
Posts: 20

PostPosted: Thu Feb 18, 2010 11:27 pm   

Wait for prompt in SLOW speedwalking
 
"Wait for prompt in SLOW speedwalking"
I have this checked on my mapper configuration. Is there anyway to have it trigger on prompt instead of trigger on newline. The option is available when creating your own triggers was just wondering if it is available on this mapper config setting.

Thanks

-KF
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Fri Feb 19, 2010 2:23 pm   
 
I believe that _does_ effectively trigger on prompt, as long as it recognizes the prompt. Since that is completely internal to the mapper, that means you must have the right pattern for the prompt in the mapper configuration.
Reply with quote
kingfish1
Beginner


Joined: 13 Jun 2005
Posts: 20

PostPosted: Fri Feb 19, 2010 3:47 pm   
 
It recognizes the prompt and triggers correctly but it seems to trigger on a prompt and newline not just the prompt. You can tell because when you have this setting checked and you make a slow walk the next direction command is sent on the newline after the prompt, not on the same line.
The problem I am facing is when my walk is finished and the prompt displays in that final room, if I put a trigger on that prompt %inwalk will still show a 1 as if it was walking.

Here is an example

I have a trigger on a prompt something like:
(*)/(*)hp (*)/(*)m (*)/(*)mv ~((*)-~) ~*~[NOEXP~]~*
I have "Trigger on Prompt" checked and "Trigger on Newline" unchecked.
I have #PRINT %inwalk
and #SEND %crlf;#PRINT %inwalk

on the last room when the speedwalk is complete the first print shows a 1 the second a 0

If there is a way to have the mapper wait for the prompt but "Trigger on prompt" then the first print would be a 0. Or is there another way of doing this?

Thanks

-KF
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Fri Feb 19, 2010 9:19 pm   
 
Three questions: What version of Cmud are you using? In your mapper configuration, what is your prompt trigger pattern? And in your mapper configuration, what other boxes do you have checkmarked on the Mud Prompt settings?
Reply with quote
kingfish1
Beginner


Joined: 13 Jun 2005
Posts: 20

PostPosted: Fri Feb 19, 2010 10:04 pm   
 
1) CMUD 3.14
2) ^\d+\/\d+\w+ \d+\/\d+\w+ \d+\/\d+\w+ \(\d+\-\) \*[\w+]\*\s+
3)
Auto Prompt detect - Checked
No Prompt - Not Checked
Complex Prompt - Checked
Number Prompt - Checked
Allow string> Prompt - Checked
PERL Regular Expression - Checked
Wait for prompt in SAFE speedwalking - Not Checked
Wait for prompt in SLOW speedwalking - Checked
Allow blank line to trigger speedwalking as prompt - Not Checked

I am using SLOW speedwalking.

Thanks

-KF
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Mon Feb 22, 2010 2:46 pm   
 
Hm. I don't see any problems with those settings offhand. I'm not in a position right now to actually test it myself, so I hope someone else can try to help further. The only comment I can really make right now is that, since you are using the Beta test version, you should have posted this to the Beta forum.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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