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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Eowyn
Apprentice


Joined: 19 Jan 2001
Posts: 117
Location: Norway

PostPosted: Fri Oct 04, 2002 2:36 pm   

Setting current position = none?
 
Is it possible to tell zmud that current position is none (off the map) with some command?

Thx.

-E
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Sat Oct 05, 2002 1:15 pm   
 
I'm quite sure you can't, but I'm curious as to why you need to do this?

Kjata
Reply with quote
Eowyn
Apprentice


Joined: 19 Jan 2001
Posts: 117
Location: Norway

PostPosted: Sat Oct 05, 2002 6:55 pm   
 
Zmud seems to bug a bit when it needs to handle large scripts. I've tried reinstalling quite a few times, but I always end up with the same problem - Zmud will start mapping when in followmode. It sometimes gets better from pressing the mapmode button and then followmode button again, but far from always. Having the map do this when you've just spammed in 20+ rooms is a bit annoying. Having a #command to set position to null until done spamming would be ideal. If there's a #command to toggle follow / mapmode - that would help too.

Also - about script - it seems to mess up _something_ while running for a long time. In one of my scrips all #wait and #alarm functions will simply stop waiting if I let them run for too long. (I.e. spewing out the entire script within seconds). I'm guessing the memory gets fuubared or something? I don't suppose there's a function to clear the memory and start anew?
I know you recommend using Alarm instead of Wait, but in some nested functions it just don't work with alarm. #wait eats 100% cpu - anyway to fix that?

-E
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Sat Oct 05, 2002 10:21 pm   
 
You can toggle the map mode by using the #MENU command. You will need to check the exact name in the mapper File menu, but it should be something like:
#MENU {File|Map Off}

On the issue where alarms and #WAIT's stop working, you might want to try upgrading to a newer version if you are not already using 6.16. I seem to recall people having this problem before. If you are already using this version, then I don't know what to suggest you.

Kjata
Reply with quote
Eowyn
Apprentice


Joined: 19 Jan 2001
Posts: 117
Location: Norway

PostPosted: Sun Oct 06, 2002 12:54 pm   
 
I'm allready using 6.16, but thanks for the mapmode-hint :)
Reply with quote
Eowyn
Apprentice


Joined: 19 Jan 2001
Posts: 117
Location: Norway

PostPosted: Mon Oct 07, 2002 4:53 pm   
 
How do I access the Zmud map-window by

#MENU {File|Mapper OFF}

(since there is a file menu on both the main window and the mapper.)
Reply with quote
doomfyre
Apprentice


Joined: 03 Jan 2002
Posts: 152
Location: USA

PostPosted: Mon Oct 07, 2002 5:54 pm   
 
#MENU {mapper|file|mapper off} to turn the mapper off.

I played with it and found a workaround for your original question, but not sure if its practical or not. As long as your current position is highlighted in the mapper, this will work:

#MENU {mapper|edit|delete} deletes the current room you are in.

#MENU {mapper|edit|undo} restores the room, but doesn't put the blue marker back.

I tried stacking the commands together, like #MENU {mapper|edit|delete|edit|undo} and #MENU {mapper|edit|delete|mapper|edit|undo} which didn't work, but im sure there's a way to shorten it.

Will this do what you want?
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Mon Oct 07, 2002 7:22 pm   
 
Yeah, I forgot about the "mapper" part to specify which window you are talking about.

Kjata
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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