TinTin++ Mud Client The TinTin++ message board

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
TinTin++ Mud Client

Savepath backward doesn't work?

 
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
titeuf



Joined: 29 Jul 2006
Posts: 84

PostPosted: Tue Aug 29, 2006 4:00 am    Post subject: Savepath backward doesn't work? Reply with quote

I'm trying to make a simple autowalker, but have the following problem:
I load a path from an alias and it's loaded correctly:
Code:

#PATH:  s s sw s se s s se s e e s s sw sw s

But saving it back only works for forward, not backward:
Code:

#savepath forward p
#OK. {p} NOW ALIASSES {s;s;sw;s;se;s;s;se;s;e;e;s;s;sw;sw;s} @ {5}.
#savepath backward p
#OK. {p} NOW ALIASSES {;;;;;;;;;;;;;;;} @ {5}.

As you can see, the path is lost. Is there a fix for this?

Also, would it be possible to make a loadpath forward/backward, so that I don't have to store two aliases per path?
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3796

PostPosted: Tue Aug 29, 2006 5:35 am    Post subject: Reply with quote

The reason it's failing is because tintin doesn't add the reverse directions when loading a path. So currently you can only #savepath backward {alias} when you've created a path with #mark.

I'll have tintin guess the reverse directions when loading a path and add a forward/backward option while at it.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Bug Reports All times are GMT - 5 Hours
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
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
TinTin++ Homepage

Powered by phpBB © 2001, 2002 phpBB Group