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
baro
Newbie


Joined: 18 Jul 2010
Posts: 5

PostPosted: Mon Jul 19, 2010 5:45 pm   

Zmud mapper speedwalk running ahead of actual mud location
 
It seems that my location on the zmud mapper is moving ahead of my location in mud.

Sometimes when i speedwalk to a room, but get caught in the way by an aggro mob, my location on mapper continues to run.

For example, I do a run 2e2n, and there is an aggro mob 2e of here, I will get stopped by the mob, attempt to continue running, and shows the following text for each attempt to carry out the next direction in the stack:

Code:
Not while you are fighting!


my location in mud is at 2e, but my location on the mapper is already at 2e2n. And this is the main problem because after that my location in mud and on map does not tally.

I tried using a trigger:

Code:
#TRIGGER {Not while you are fighting!} {#NODIR}


However it seems that before the trigger can clear the stack, those commands have still already been executed by the mapper.

When I get intercepted by aggros, there is no message telling me that I have been attacked or I could trigger off it to clear entire stack maybe. I see the following:

Code:

On the River
  You are on the steadily flowing Akha river, which is rather small and is
only a drain from the Siirima Ocean, supplying the waterfall to the east its
beauty.  The river flows quickly to the east, but is traversable to the
west.

[Exits: east west]
A white shark swims in from the dragon sea.
A white shark's stab misses you. [0]
A white shark's bash misses you. [0]
A white shark is in perfect health.


[Fighting: 558/558hp 407/407mn 875/899mv 3942tnl Enemy: 100% ]
Not while you are fighting!

[Fighting: 558/558hp 407/407mn 875/899mv 3942tnl Enemy: 100% ]
Not while you are fighting!

[Fighting: 558/558hp 407/407mn 875/899mv 3942tnl Enemy: 100% ]
A white shark's stab grazes you. [8]
Your stab <-:-> ASPHYXIATES <-:-> a white shark! [132]
Your stab misses a white shark. [0]
Your stab <-:-> ASPHYXIATES <-:-> a white shark! [131]
A white shark is slain by a final deadly stab!!
You receive 200+20 experience points.



I'm thinking is there anyway to tell the mapper to refresh your current location by script? But then that also has the problem that rooms may have the same name.

Is there any consistent way to solve this? Am I getting some configurations wrong?

Thanks!
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Tue Jul 20, 2010 3:26 am   
 
Use SLOW mode. Movement commands aren't sent all at once when you decide to speedwalk somewhere, so any scripts that decide to muddle with the speedwalk can easily do so before the movement is sent to the game.
_________________
EDIT: I didn't like my old signature
Reply with quote
baro
Newbie


Joined: 18 Jul 2010
Posts: 5

PostPosted: Tue Jul 20, 2010 7:56 am   
 
Thanks, Matt!

I've tried it, SLOW mode would solve that problem, but then I realise its not too efficient in another sense because it really is kinda slow.. I need it to be quite quick too because sometimes I'm running 50+ to 100+ rooms and SLOW mode is not really a viable option for me.

I'm pretty sure its doable with safe mode, I did some homework and I narrowed down the problem somewhat, if you will take a look its at:

http://forums.zuggsoft.com/forums/viewtopic.php?p=158891#158891

Appreciate your time, thank you!
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