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


Joined: 13 Mar 2012
Posts: 4
Location: United States

PostPosted: Mon Jan 06, 2014 5:57 am   

#MARK / #SLOW / #OK / #PATH recording doubles
 
Ok so what i am trying to do is follow a given path until i find a mob and attack it and then retrace my steps back to where i started...
I have my #OK trigger based off my prompt, I #Mark my starting point, start my #slow walk, it meets #OKs everywhere that the mob is not, when it meets the mob it is sent #path returnpath and #abort to stop my slow walk, upon killing the mob it is triggered to ..returnpath. This whole thing would work seemlessly except when i save the path it writes doubles to everything. so for example if my path was .8s9e8n9w the path it would save is .16s18e16n18w

Any idea what I could be doing wrong here, and how i could remedy this problem? also im using zmud 7.04
Reply with quote
megamog75
Enchanter


Joined: 20 Nov 2002
Posts: 627
Location: USA

PostPosted: Sat Mar 15, 2014 11:48 pm   
 
not sure whats going on. you should watch it and see if you can see where it messes up. Maybe a smaller path.
maybe a double trigger somewhere.?

try walking in a straight line about 5 or 6 steps. save path and #sh it to you the try #retrace and see how it goes.

all else fails you could write a math script to always cut it in half, but that's a last resort.
_________________
megamog75 Smile
I will do this.Nothing in my life matters except this.No moment in my life exists except this moment.I am born in this moment, and if I fail, I will die in this moment. Raistlin Majere
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sun Mar 16, 2014 3:15 am   
 
Get rid of the #OK in your prompt trigger. It's what's causing the doubled path.
_________________
EDIT: I didn't like my old signature
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