I have a little script set up that allows me to use the mapper in Zmud to track my position (follow only so far) from within MUSHclient. The challenge for me now is reliably keeping my position and the map in sync.
I'm using the keypad to navigate, each key is set up to call an alias with a direction as the first wildcard. I set a variable to indicate that I am attempting to move, and another for the direction I'm moving. I enable a trigger to catch a room name to indicate the move was successful. Triggers for failure messages clear both variables. If the room name trigger fires, it sends the command to zmud to update the map position. Theres is a check in there so that if I attempt to move and a move is still in progress, the new command is ignored.
Now, as long as I move relatively slowly, all is well, but if I move quickly, sometimes, the map loses track. Is there a better/more accurate way I could do this?
I'm using the keypad to navigate, each key is set up to call an alias with a direction as the first wildcard. I set a variable to indicate that I am attempting to move, and another for the direction I'm moving. I enable a trigger to catch a room name to indicate the move was successful. Triggers for failure messages clear both variables. If the room name trigger fires, it sends the command to zmud to update the map position. Theres is a check in there so that if I attempt to move and a move is still in progress, the new command is ignored.
Now, as long as I move relatively slowly, all is well, but if I move quickly, sometimes, the map loses track. Is there a better/more accurate way I could do this?