[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Suggestions
. . -> [Subject]  mapping scripting callbacks and other stuff

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: mapping scripting callbacks and other stuff
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please).
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Posted by Tsunami   USA  (204 posts)  [Biography] bio
Date Sun 23 Jan 2005 07:55 PM (UTC)  quote  ]
Message
You know, I got myself so totally mixed-up there. Ignore everything I said, because I just realized what an idiot I've been. Sorry!
[Go to top] top

Posted by Nick Gammon   Australia  (18,772 posts)  [Biography] bio   Forum Administrator
Date Sat 22 Jan 2005 09:45 PM (UTC)  quote  ]
Message
You can't really "pause" the mapper. The mapping failure just removes the direction from the mapper. Then your trigger could open the door or whatever (adding that to the mapping list) and then retry.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Tsunami   USA  (204 posts)  [Biography] bio
Date Wed 19 Jan 2005 05:29 PM (UTC)  quote  ]
Message
ahh, but then you would not be able to pause the mapper, neh? By using a callback, you could delay until returning control to mushclient, no?
[Go to top] top

Posted by Nick Gammon   Australia  (18,772 posts)  [Biography] bio   Forum Administrator
Date Sat 15 Jan 2005 09:52 PM (UTC)  quote  ]
Message
To detect mapping failures you really only need to add your own trigger that matches on the mapping failure message. You could use:

GetAlphaOption ("mapping_failure")

to find what that is.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Tsunami   USA  (204 posts)  [Biography] bio
Date Thu 13 Jan 2005 06:56 PM (UTC)  quote  ]

Amended on Fri 14 Jan 2005 05:00 PM (UTC) by Tsunami

Message
It seems to me it would be easy enough to add some mapping scripting callbacks, a la OnPluginMappingFailDetected, etc... This would be most helpful for some more advanced mapping functions, for example delaying a certain amount of time after you hit a failure, and then continuing.

On a slightly less important note, Nick, do you think you could satisfy my perfectionist urges and include a shortcut to the MC folder in the start menu during installation?

Also, I seem to remember some vague discussion about making your stand-alone status bar have an always-on-top function. Has that happened, and if not, is there a realistic possibilty of that any time in the future?
[Go to top] 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.


1,585 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]