PDA

View Full Version : Automove help?



HSB
02-12-2009, 01:48 AM
So I like to think that I'm not a complete idiot, but I can't for the life of me figure out lich's automove abilities. I know that it has something to do with a pair (or more) of the scripts on the repository, but I've downloaded the ones that I think I need, and tried to look through them, but I'm completely Ruby illiterate.

So... help? How do I utilize these features? I know Atlas with Psinet is easy, but there are a lot of areas unmapped over there... areas that are supposedly available on lich. And besides, everything in lich tends to work betterfasterstronger, the more I dig into it.

One of these days I gotta buckle down and learn Ruby... until then, help?

Tillmen
02-12-2009, 10:09 PM
I guess you're wanting the goto script. Doing a:

;goto help

should tell you want you need to know. The most common use of goto is to go to a room that you've previously saved. First, use the hard way to get to the places you often go, and give each room a name like so:

;goto save <name>=current

Later, when you want to go to the room, do:

;goto <name>

Another way to use goto, is to enter part of the room description or room title after ";goto". The script will show you the first matching room that it finds, and you can unpause the script to go there or kill the script to cancel.

goto.lic uses map.dat in order to know how to get to places. The map.dat that comes with Lich has many unmapped places, and some errors with the places that are mapped. You'll probably want the updates I've done to the map database. It has more than twice as many rooms mapped, and many of the errors fixed. To get it:

;rep download updatemap
;updatemap

You may also want the changes I've done to goto.lic.

;rep download go2

Use go2 just like you would goto. go2 handles errors in the map database a little better, and has many more built-in targets. For example:

;go2 bank

Will go to the bank closest to you. Other built-in targets are pawnshop, gemshop, weaponshop, etc.