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
skrot
Beginner


Joined: 12 Mar 2012
Posts: 23

PostPosted: 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.
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: 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...
Reply with quote
skrot
Beginner


Joined: 12 Mar 2012
Posts: 23

PostPosted: 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!
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: 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?
Reply with quote
skrot
Beginner


Joined: 12 Mar 2012
Posts: 23

PostPosted: 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.
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: 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.
Reply with quote
skrot
Beginner


Joined: 12 Mar 2012
Posts: 23

PostPosted: 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.
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: 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.
Reply with quote
skrot
Beginner


Joined: 12 Mar 2012
Posts: 23

PostPosted: 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.
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: 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.
Reply with quote
skrot
Beginner


Joined: 12 Mar 2012
Posts: 23

PostPosted: 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.
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