Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Bug reports ➜ A auto-mapper bug in version 4.40 and 4.44

A auto-mapper bug in version 4.40 and 4.44

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Ron   China  (15 posts)  Bio
Date Wed 09 Dec 2009 06:12 PM (UTC)
Message
Hi , Nick .
Thanks for your mushclient. This is a great program.

I think there is a bug for auto-mapper.

I enabled the mapper it work well on standard direction, but when i add some special direction like "nu/sd", the standard direction stop work. whatever i input any direction.

I think the reason may be "Remove backtracking". because when i disable it the mapper can work well .

Please check this .

Thanks.

Ron
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Wed 09 Dec 2009 08:08 PM (UTC)
Message
How did you add the special direction exactly?

The mapper expects non-standard directions to be in brackets eg. "(nu)". Otherwise that is interpreted as north followed by up.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Ron   China  (15 posts)  Bio
Date Reply #2 on Wed 09 Dec 2009 11:08 PM (UTC)
Message
I used the function 'addtomapper' in perl script.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #3 on Wed 09 Dec 2009 11:18 PM (UTC)
Message
Can you give a bit more detail? Did you do something like this?


AddToMapper("nu", "sd")


So you want to add a direction called "nu"? If I do that I get a speedwalk:


(nu/sd) 


Or do you mean something else?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Ron   China  (15 posts)  Bio
Date Reply #4 on Thu 10 Dec 2009 05:58 AM (UTC)
Message
Hi Nick,

I will explain what i did.

First , I add some common direction like n, s by input or number keypad. The auto-mapper work well.

And then , I attempt to add one special direction (nu/sd) , I used 2 way to add them. One is call 'AddToMapper' function by perlscript 'addTomapper ("nu", "sd");send('nu')', another is input some thing into the window GUI for generate special path . On this step. auto-mapper work well too. it can record the special direction.

But the problem happened on next step. when the last item in mapper sequence is (nu/sd), whatever i input or use keypad some common direction like 'w', 'e' , the auto-mapper catch nothing until i delete the special direction.

I have written some perl script in a plugin to solve this. But i think there should be a bug . please have a check.

thanks.

Ron
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #5 on Thu 10 Dec 2009 06:48 AM (UTC)
Message
You are right, this is a confirmed bug.

This particular condition shows up in the circumstances you describe.

Fixed in version 4.45.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #6 on Thu 10 Dec 2009 08:40 PM (UTC)
Message
Your query about DatabaseStep has been moved to:

http://www.gammon.com.au/forum/?id=9916

Please start a new thread for unrelated questions.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


23,617 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.