|
skrot Beginner
Joined: 12 Mar 2012 Posts: 23
|
Posted: Fri Apr 06, 2012 6:36 pm
How do I turn the mapper off with command? |
The events movements are raising slow down my walk speed, and with that turned off, they are not raised. The dot doesn't move, but that is not a problem, because I can move that from command line.
So the question is: How do I set the map to OFF mode (without closing it), or how do I stop the "onRoomWalk" and "onRoomEnter" events from being raised (also the location of the dot from being changed)?
I couldn't find the correct command (not even with %pref), so my last hope is that someone knows the answer here. |
|
|
|
Daern Sorcerer
Joined: 15 Apr 2011 Posts: 809
|
Posted: Fri Apr 06, 2012 6:49 pm |
Try #MENU {Mapper|File|Off}. I'll repeat what I say every time this comes up: it would be nice if %maplocked was extended to allow turning the map off...
|
|
|
|
skrot Beginner
Joined: 12 Mar 2012 Posts: 23
|
Posted: Fri Apr 06, 2012 7:16 pm |
Daern wrote: |
Try #MENU {Mapper|File|Off}. I'll repeat what I say every time this comes up: it would be nice if %maplocked was extended to allow turning the map off... |
Thank you very much! |
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Fri Apr 06, 2012 8:35 pm |
Actually, I would ask why you have onRoomeEnter and onRoomWalk events if you don't want them firing? Perhaps you just need better code to only fire them when you really do want them going off?
|
|
|
|
skrot Beginner
Joined: 12 Mar 2012 Posts: 23
|
Posted: Fri Apr 06, 2012 10:52 pm |
Rahab wrote: |
Actually, I would ask why you have onRoomeEnter and onRoomWalk events if you don't want them firing? Perhaps you just need better code to only fire them when you really do want them going off? |
I never EVER fire them in any of my triggers. It does it by itself. Tried to turn everything off. using fast walk.
My guess is it does it because this way it can fire the scripts that are added to rooms. |
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Sat Apr 07, 2012 12:13 am |
Do you have room scripts or onRoomEnter or onRoomWalk events? If not, what makes you think that onRoomEnter and onRoomWalk events are causing the slowdown? If there are no events with those names, nothing happens and they do not add any extra time. If you do not have events with those names and your movement still seems slow, then it is being caused by something else in the mapper, not the events.
|
|
|
|
skrot Beginner
Joined: 12 Mar 2012 Posts: 23
|
Posted: Sat Apr 07, 2012 12:24 am |
Rahab wrote: |
Do you have room scripts or onRoomEnter or onRoomWalk events? If not, what makes you think that onRoomEnter and onRoomWalk events are causing the slowdown? If there are no events with those names, nothing happens and they do not add any extra time. If you do not have events with those names and your movement still seems slow, then it is being caused by something else in the mapper, not the events. |
well, maybe it isn't the event itself, but the movement of the location dot. With the mapper turned off, I reached my destination 2-4 times faster. So the solution was a new command I wrote including the solution the first reply contains. |
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Sun Apr 08, 2012 12:34 am |
Doing that, you lose most of the features of the mapper, such as room scripts, movement confirmation, and automatic map updating. But if you don't need those features, then that will work.
|
|
|
|
skrot Beginner
Joined: 12 Mar 2012 Posts: 23
|
Posted: Mon Apr 09, 2012 7:24 pm |
Rahab wrote: |
Doing that, you lose most of the features of the mapper, such as room scripts, movement confirmation, and automatic map updating. But if you don't need those features, then that will work. |
I gave up on movement confirmation long time ago, because It doesn't want to work properly.
This way I still have the main features I want out of the mapper, and If I miss something, I just replace that with my own scripts. Works so far. |
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Tue Apr 10, 2012 12:02 am |
Well, I am quite certain that we can _get_ the movement confirmation to work properly. But you didn't ask about that.
|
|
|
|
skrot Beginner
Joined: 12 Mar 2012 Posts: 23
|
Posted: Tue Apr 10, 2012 10:35 am |
Rahab wrote: |
Well, I am quite certain that we can _get_ the movement confirmation to work properly. But you didn't ask about that. |
I tried it a lot of times, but it doesn't want to work. Anyway, I fixed that my own way, it is working perfectly. |
|
|
|
|
|