PDA

View Full Version : Alchemy Script of Doom!!!1!one



Pages : [1] 2

Tillmen
01-05-2011, 03:56 PM
The alchemy script is getting to be near complete. The old alchemy script has been renamed to alchemy-old on the repository, and alchemy-new is renamed to just alchemy.

How the script works:

Everything is a recipe. In addition to the 190 recipes that give ranks, there are 428 support recipes. Many of these are one-step recipes for buying, foraging, grinding, extracting, distilling, or killing (either for skins or things like essence of fire).

The script makes recipes recursively. When it can't find an ingredient on you, it looks for recipes to make that ingredient. For example, if a recipe requires ground tkaro and you don't have any, it will find the recipe for making ground tkaro, which requires tkaro root. If you don't have any tkaro root, it looks for a recipe for tkaro root, which is a simple forage recipe. Or, if you're making something that requires an ayanad crystal, and you only have a n'ayanad crystal, it will break the n'ayanad crystal down into a t'ayanad crystal, s'ayanad crystal, and two ayanad crystals, and then do the original recipe.

The script attempts to find cheapest/fastest combination of recipes to do a task. The estimated cost is the cost of whatever needs to be bought, plus the cost of the pawnshop-style ingredients at the alchemist. If you have an ingredient on you, its cost is zero, unless it's a pawnshop-style ingredient. The time estimate includes travel time to and from forage locations, hunting grounds, and shops, the roundtime for all the alchemy commands, and an estimated time needed to forage or hunt.

The script learns how long it takes you to forage or hunt for each ingredient by keeping track of the total time spent foraging or hunting, and the total number of ingredients found for each ingredient. By default, everything is set to 1 second and 1 ingredient, which encourages the script to try new things and find out what is really the fastest.

The cost-per-second setting is used to combine the estimated cost and time into a value it can compare against other recipes to pick the best recipe (;alchemy set cost-per-second 15). The default value is 15, meaning the script would rather spend 899 silvers to buy an ingredient than spend 60 seconds foraging or hunting for it, and it would rather spend 60 seconds foraging or hunting than spend 901 silvers to buy.

How to get started:

The script does not buy alchemy equipment. So if you haven't already, go buy a cauldron, mortar, pestle (put the pestle inside the mortar), small crystal flask, and (clouded|warped|chipped|tapered|smoky|thick|slende r) glass vial. Also, get a large bank note and put it in one of your containers.

The script uses three containers. Set them up with:

;set change alchemysack <container>
;set change lootsack <container>
;set change herbsack <container>

The script will look in all three containers for anything it needs. It will put away herbs in your herbsack; alchemy equipment, reagents, and bank notes in your alchemysack; and alchemy products that can't be used as an ingredient in your lootsack.

If you want the script to collect skins or hunt for other ingredients, you need to set up an attack script (;alchemy set attack-script <scriptname>). The attack script is given the ids of any npcs in the room that are supposed to have the ingredient you're looking for. The attack script needs to kill them, handle looting, and exit. There are a couple global variables that the attack script can set.

$alchemy_abort_room = true

If the attack script does this, the alchemy script will ignore any npcs in the room and move to the next.

$alchemy_abort_hunt = true

If the attack script does this, the alchemy script will end the hunt.

You can also set before-hunt-script, after-hunt-script, before-forage-script, and after-forage-script.

“;alchemy help” should be pretty self-explanatory, except maybe a couple things.

;alchemy need – This finds every ingredient that can be used in any recipe you can get ranks for, and creates a regex that can be accessed with UserVars.needed_reagents or viewed with “;set list”. This regex is used by loot-be-gone to automatically exclude reagents you need from being sold, and by “;alchemy buy” to know what to buy.

;alchemy buy – This buys pawnshop-style reagents from the alchemist. It buys at most 20 of each reagent you need and puts them in jars if you have them.

If you're using “;alchemy auto”, then needed_reagents is automatically set if it's missing and each time the script gains a ranks for you.

What's left to do:

Many recipes are untested. There are likely errors and typos somewhere. Some recipes did not have the last rank it would give ranks on virilneus.com and krakiipedia.com. Pretty much any recipe with a range of 10 ranks is not correct.

The script knows that it should forage every ingredient that is foragable, and it knows what npc to kill for every skin, but it doesn't necessarily know where to find those things. It relies on tags in the map database. Likewise, it knows the full inventory for every guild shop. It knows if something is only available in certain towns and/or to certain professions. However, it doesn't know where every guild shop is, or every training cauldron, workshop, training administrator, etc. until the map database is fixed up.

Refract code was added, but not really tested. Also, I had to guess which time you can refract sunlight and moonlight.

The buy-crap, throw-away-crap, and sell-crap settings are only used in auto mode. Use throw-away-crap and sell-crap at your own risk. They pretty much only throw away and sell the stuff I needed them to, and it's possible it'll throw away something you don't want it to. It could be fixed up slightly by editing the script, but I plan on moving this function out of the alchemy script and into loot-be-gone.

If any recipe is missing from the script, I don't know what it is.

Swami71
01-05-2011, 07:04 PM
If this works and gets me mastered I'll be donating again soon. :)

Bhaalizmo
01-05-2011, 09:25 PM
If this works and gets me mastered I'll be donating again soon. :)

Agreed. Thanx Tillman.

phantasm
01-05-2011, 09:27 PM
Everything is a recipe, lol, I love the design of this script.

AMUSED1
01-05-2011, 09:27 PM
Woah, awesome. Totally needed and greatly appreciated.

Swami71
01-06-2011, 04:56 AM
Are there towns/guilds that this script works better with. It wasn't working so well in illy.

Tillmen
01-06-2011, 12:52 PM
It should work in every town for a Wizard in Shattered, cause I'm a Wizard in Shattered. Other than that, it depends on the map database, and I haven't been keeping track of what's been done.

Tillmen
01-06-2011, 09:58 PM
If the script doesn't work in the town you want, here's how to fix it.

First, the guild probably needs to be mapped or remapped. If you're not sure if your guild has been mapped properly, go to the training administrator and type:


;e echo Room.current.location

If that doesn't echo your town name, it needs to be mapped. See the lrn2map thread on how to do that. You should have a training cauldron task when mapping the guild, otherwise they won't let you in there while mapping and the alchemy script won't know where it is when you get the task.

Then, several rooms need tags added to them.

<profession> alchemy administrator
The place where you get new tasks.
<profession> alchemy guildmaster
The place where you get promoted
<profession> alchemy cleaning supplies
The place where you get a cleaning rag, broom, and dust pan.
<profession> alchemy masters
The place where you ask a guild master about training.
<profession> alchemy training cauldron
The place with the training cauldron. That is, the room you end up in after typing "go cauldrons"
<profession> alchemy workshop
Each of the alchemy workshops that have a crucible, assembly, and such.
<profession> alchemy shop
The place where you buy cauldrons and things.
<town> <profession> alchemy shop
Same room as <profession> alchemy shop.

<town> should be an exact match for one of these: Icemule Trace, Kharam-Dzu, Wehnimer's Landing, River's Rest, Zul Logoth, Ta'Illistim, Ta'Vaalor, Solhaven

<profession> should be all lowercase.

Here's some more tags that might be useful:

alchemy sea water
This is where you fill a flask with sea water. It is already set for Wehnimer's and Teras. I don't know where the room is in any other towns.

trash
This is used in auto mode if you use the throw-away-crap setting. Mostly prevents the buildup of ground herbs and tinctures.

reagent shop
This is the room next to the consignment room where you buy reagents pawnshop-style. I'm not sure if any towns are missing it.

The lrn2map thread tells how to add tags. You might want to type:


;e echo Room.current.tags

to make sure you're not adding a that that's already there.

If you have to map your guild, you can add the tags directly to the map database before you send it to me. If you didn't have to map your guild, you can just post the name of the tag, the room number, and the game instance it's for in the lrn2map thread and it'll get added before the next upload.

Aethor
01-12-2011, 01:40 PM
[alchemy: error: you are too poor for alchemy]
[alchemy: error: failed to buy: wizard alchemy shop]

standing in Ta'Illistim wizard alchemy shop with a 450k note and it says this
pls fix

note: room is tagged wizard alchemy shop
note : wayto.inspect was done

Aethor
01-12-2011, 01:49 PM
script doesnt recognize garland of sovine cloves

Aethor
01-18-2011, 10:21 AM
alchemy does not recognize a bottle conaining sea salt, i made like 40 of them and like 100 essence of regeneration, it uses the bottles of regen but will not use the bottles of sea salt, can this be fixed?

Tillmen
01-18-2011, 11:29 AM
alchemy does not recognize a bottle conaining sea salt, i made like 40 of them and like 100 essence of regeneration, it uses the bottles of regen but will not use the bottles of sea salt, can this be fixed?

Should be fixed now.

ShatteredCasis
02-07-2011, 01:42 AM
Having trouble with it switching between potions / general alchemy. For example, if you get to a point in general alchemy where you cannot be promoted until you pickup more ranks in potions, you have to manually get a task for potions, even if you do ;alchemy auto potions (I guess it's picking up that i'm ready for promotion in general alchemy, so it loops trying to get that promotion rather than getting a task for potions). Not a huge deal.. will just create a separate script catch this happening and have the other script control the grabbing of tasks.

- update... since getting a couple of ranks out manually in potions, this seems to have resolved itself. script is now doing both in auto-mode.

ShatteredCasis
02-08-2011, 02:11 PM
for the purpose of feedback...

So far, I'm loving this. I started at rank 1 of general alchemy / no potions or trinkets. Ran into the above looping problem when I hit the "you must diversify" requirement, but after some manual ranks in potions that has so far went away.

Only other general problem I've run into to, is ranks 13/14. You can't do "alchemy extract" until rank 15, but the script wants to keep doing it. To compound that problem, just about every recipe 13 and above requires sea salt. I ended up just doing these manually (well, get task manually then do ";alchemy task alchemy" to do the actual reps), and trading out the BOIL tasks which needed the sea salt.

There's a section for "equivalents", but it doesn't seem like the script tries to find the equivalents. For example, in RR there's nowhere I've found yet for Ayana leaf, but there is for Ayana berry. There's not a room for Ayana leaf in RR tagged for Ayana leaf, so the script exits when it pulls a recipe calling for this. It would be nice if the script would check for equivalents if there's no rooms tagged for the item. IE, if no ayana leaf room, see if there's an ayana berry room. I was able to manually get around this by doing a global search and replace ayana leaf with ayana berry.

I'm doing these in river's rest, so some comments about that.
sea water room is: 10814
The cauldron room was not mapped, but the mapmap and adding the proper tags resolved that.
The bigger problem is that the trainers and guild administrator are all in the same room. The script runs to the guild admin room, and just does a GameObj.npcs.last, which is not always going to be the guild admin, and the same deal for the trainers. I hard coded this, but a suggestion here would either be to have a list of guild admin names, or create a function that checks the full description of the npc to make sure that they are a trainer or a guild admin. Not sure if this is a problem anywhere other than RR tho (as this is my first venture into alchemy).

Hope this is helpful. Many many many thanks to Tillmen for this EXCELLENT script.

Currently, my wiz is rank 17 in Alchemy, 7 in Potions, after about a day and a half (I started sunday, but lost alot of time with ranks 13/14 and other adjustments that I needed to make).

Oh and some other "nice to have features" request (stuff I'm adding, but might be useful for inclusion in main script)...
a health check w/ health recover script option? maybe before taking on a new task or something like that, adding in the ability to check hands to make sure they are aren't damaged.
A pre-forage script option would also be handy (ie, so we could designate a script that will go do a spellup routine/get area specific spells-like water walking), if ;alchemy can call the pre-forage script with the name of the herb about to be foraged, even better)

- Casis

Tillmen
02-08-2011, 02:50 PM
So far, I'm loving this. I started at rank 1 of general alchemy / no potions or trinkets. Ran into the above looping problem when I hit the "you must diversify" requirement, but after some manual ranks in potions that has so far went away.


I thought I already fixed that, but my numbers or logic must be off. Anyone have the result of the gld verb while this is happening?



Only other general problem I've run into to, is ranks 13/14. You can't do "alchemy extract" until rank 15, but the script wants to keep doing it. To compound that problem, just about every recipe 13 and above requires sea salt. I ended up just doing these manually (well, get task manually then do ";alchemy task alchemy" to do the actual reps), and trading out the BOIL tasks which needed the sea salt.


I'll add that to the todo list. It'll also have a problem on recipes that require ayanad crystals before you can break down crystals, if you have any of the higher crystals on you.



There's a section for "equivalents", but it doesn't seem like the script tries to find the equivalents. For example, in RR there's nowhere I've found yet for Ayana leaf, but there is for Ayana berry. There's not a room for Ayana leaf in RR tagged for Ayana leaf, so the script exits when it pulls a recipe calling for this. It would be nice if the script would check for equivalents if there's no rooms tagged for the item. IE, if no ayana leaf room, see if there's an ayana berry room. I was able to manually get around this by doing a global search and replace ayana leaf with ayana berry.


You fixed that backwards. Rooms with ayana berry should be tagged as ayana leaf. When you send "forage for ayana leaf" to the game in a room with ayana berry, you still get ayana berry, and the script will use it just fine because of the equivalents. Should also work if you already have ayana berry on you and the recipe calls for ayana leaf.

However, if the room is tagged as ayana berry and it goes to forage for ayana berry, it'll ignore all the rooms tagged as ayana leaf. I suppose that doesn't matter in River's Rest, but in Wehnimer's it's common to go out for ayana leaf and come back with ayana leaf, ayana weed, ayana berry, and ayana moss. It usually has to do that to get enough.



The bigger problem is that the trainers and guild administrator are all in the same room. The script runs to the guild admin room, and just does a GameObj.npcs.last, which is not always going to be the guild admin, and the same deal for the trainers. I hard coded this, but a suggestion here would either be to have a list of guild admin names, or create a function that checks the full description of the npc to make sure that they are a trainer or a guild admin. Not sure if this is a problem anywhere other than RR tho (as this is my first venture into alchemy).


What are the full names of the administrator and masters?



Oh and some other "nice to have features" request (stuff I'm adding, but might be useful for inclusion in main script)...
a health check w/ health recover script option? maybe before taking on a new task or something like that, adding in the ability to check hands to make sure they are aren't damaged.
A pre-forage script option would also be handy (ie, so we could designate a script that will go do a spellup routine/get area specific spells-like water walking), if ;alchemy can call the pre-forage script with the name of the herb about to be foraged, even better)


There are before-hunt-script, after-hunt-script, before-forage-script, and after-forage-script settings. Also, the forage code starts useherbs if your hand gets a minor from foraging.

ShatteredCasis
02-08-2011, 04:00 PM
I thought I already fixed that, but my numbers or logic must be off. Anyone have the result of the gld verb while this is happening?

For me, only the guild info General Alchemy data was showing (sorry I wasn't loggin it). Once I started the potions training, it looked normal. There wasn't an indication that there was a hold. General Alchemy just said that I had "earned enough points". The guild alchemy doode would just give me the "other skills before I can promote you in this skill" message when asked for next rank.



I'll add that to the todo list. It'll also have a problem on recipes that require ayanad crystals before you can break down crystals, if you have any of the higher crystals on you.
There wasn't an error, it would just kick back the standard text for when you type "alchemy" with the list of commands available. Perhaps a solution would be that if that text comes up, the task get's traded.


You fixed that backwards. Rooms with ayana berry should be tagged as ayana leaf. When you send "forage for ayana leaf" to the game in a room with ayana berry, you still get ayana berry, and the script will use it just fine because of the equivalents. Should also work if you already have ayana berry on you and the recipe calls for ayana leaf.
Figures, heh



What are the full names of the administrator and masters?
In RR:
Master Elementalist Thalia
Master Elementalist Jerrem
Master Elementalist Kaeleigh
Master Elementalist Badrah
Master Elementalist Daryn
Master Elementalist Khine
Guild Master Acirem
Training Administrator Eirea (but she's in a room by herself)



There are before-hunt-script, after-hunt-script, before-forage-script, and after-forage-script settings. Also, the forage code starts useherbs if your hand gets a minor from foraging.
bah, I see the before-forage-script now. As for the healing part, I'm not sure where then I got the bleeders on my hands. Maybe I need to setup useherbs or something. I just noticed that my hands were bleeding and the script was either stopped or looping saying that I needed to get my hands healed. If it happens again, I'll pay a bit more attention.

Abaddon
02-20-2011, 02:49 PM
I was totally crushed by the level of insanity that alchemy was in Prime. Having recently come back, and in Shattered so I can have a life, I am quite pleased to see this script. Thank you for putting it out there.

Bhaalizmo
03-13-2011, 11:30 AM
Thanx again Tillman!

After I was able to get past the stumbling block of doing the first rank manually, the script auto repped me thru the first 3 ranks. Now I run into the following...

>;alchemy auto
You feel fully energetic again.
>
You feel more refreshed.
>
--- Lich: alchemy active.
>
You open a big hairy camel sack.
>
That is already open.
>
In the leather cloak:
Herb (39): tincture of acantha (16), barrel of Wort's Winter ale, barrel of Reaper's Red ale, barrel of Captn' Pegleg's ale, some sovyn clove, some woth flower, some calamia fruit, some pothinir grass, some ambrominas leaf (3), some acantha leaf (5), some wolifrew lichen, some basal moss, some ephlox moss, rose-marrow potion (3), some haphip root, some aloeas stem.
Other (7): barrel of Gert's Homemade ale, barrel of Dacra's Dream ale, barrel of Agrak's Amber ale, barrel of Bearded Ladies' ale, flagon of Volcano Vision ale, flagon of Olak's Ol'style ale, barrel of Aged Schooner ale.
Skin (1): elongated triton spine.
Reagent (8): n'ayanad crystal (2), ayanad crystal (5), pristine siren's hair.
You remove some wolifrew lichen from in your buzzing swarm.
>
The wolifrew lichen has 1 bite left.
>
You put some wolifrew lichen in your leather cloak.
>
You remove some wolifrew lichen from in your buzzing swarm.
>
You can't tell exactly, but the wolifrew lichen seems to have plenty of bites left.
>
You put some wolifrew lichen in your leather cloak.
>

tincture of wolifrew (5)
have:
some wolifrew lichen (5)
flask of clear water (5)

cost: 0, time: 0:04:15

--- Lich: go2 active.
[go2: ETA: 0:00:00 (4 rooms to move through)]
[go2]>go doors
You approach the doors the guard gives you a nod of recognition, opens the doors and waves you in.

[Wizard Guild, Foyer]
A bright river of flowing lava runs through the middle of the circular chamber, dividing it in two. A stone bridge spans the channel, connecting the two sides. Vivid tapestries line the rock walls, their patterns echoed in the highly polished inlaid marble floor. Despite the searing lava that illuminates the room in a bright reddish glow, the chamber is suprisingly cool. On this side of the lava there are passages easily accessible to the east and the west. You also see a pair of massive iron doors.
Obvious exits: east, west
>
[go2]>west
[go2]>go ingress
[Wizard Guild, West Hallway]
The smell of brimstone is stronger to the west. It is noticably brighter in this hallway, even though the channel along the hall where the lava flows is no wider here. A strip of narrow, smooth stone spans the lava, providing access to a shadowed ingress in the northern wall.
Obvious exits: east, west
>
[go2]>northwest
[Wizard Guild, Alchemic Nexus]
This octagonal stone chamber is lit by eight flickering torches, one positioned at each corner. Although the air seems still, it changes subtly from cool to warm, from moist to dry, then back with no obvious pattern.
Obvious exits: north, northeast, east, south, west, northwest, down, out
>
[Wizard Guild, Acid Workshop]
This room is rather warm and humid, though no source of climate control is apparent. In the center, circumscribed by continuous, yellow-green walls, sits a pitted wooden workbench. The domed walls rise from the stone floor to a round opening in the very top of the ceiling, which allows a few beams of stray daylight to enter.
Obvious exits: southeast
>
[go2: travel time: 0:00:01]
--- Lich: go2 has exited.
You remove some wolifrew lichen from in your leather cloak.
>
You carefully remove one dose from your wolifrew lichen.
>
You can't tell exactly, but the wolifrew lichen seems to have plenty of bites left.
>
You put some wolifrew lichen in your leather cloak.
>
You remove a clear glaes mortar from in your buzzing swarm.
>
You don't believe that should be used for mixing.

:wtf:

Edit: Nevermind, I just kept cramming the lichen back in my cloak and eventually it moved on.

Edit2: Keeps happening tho. Just sits there waiting for something. :(

Tillmen
03-13-2011, 12:29 PM
Did you get that mortar from the guild shop or from the alchemist shop in town?

Bhaalizmo
03-13-2011, 12:31 PM
Alchemist shop in town. I'll get one from the guild shop and re-test.

Edit: You da man, Tillman. That worx.

Edit2: 30 hours and 26 ranks later. Thanx Tillman.

Bhaalizmo
03-14-2011, 09:06 PM
I'm seeing alot of this...

[alchemy: warning: failed to find a decent recipe]
[alchemy: warning: failed to find a decent recipe]

Followed by lots of running around, foraging, etc., then repeat.

Should I mess with my alchemy set cost options?

Tillmen
03-14-2011, 09:34 PM
Try ;alchemy suggest to see what it's missing for each recipe. It won't tell you every possible set of ingredients that would make a recipe work, just one set, but it might still be useful. There are many ranks that you can't do without buying things from the alchemist shop in town, or finding on critters. Turn on the buy-crap setting if you haven't already. If the recipe is missing a skin, you may need to add tags to the map database for rooms where the critter can be found. You'd also need attack-script set in alchemy if it's not already. If it says you're missing foragables, you probably need rooms tagged in your areas for them, or extend your max-travel-time to get them from other towns.

The cost setting shouldn't have any affect on it finding a decent recipe. It only affects which recipe to pick and how to get the ingredients out out the recipes that will work.

Bhaalizmo
03-15-2011, 06:35 PM
I'm lazy so I translated your answer to the following.

"Move to Wehnimer's Landing."

Thanx Tillman!

Edit: Ran into the same thing in the landing. Turned buy crap on. We'll see how she goes.

Potzer01
04-13-2011, 12:18 PM
Hrm I'm curious if I can make the script ignore certain recipes?


--- Lich: alchemy active.
>
You remove some wolifrew lichen from in your silvery hip satchel.
>
The wolifrew lichen looks like it has a few bites left.
>
You put some wolifrew lichen in your silvery hip satchel.
>

tincture of tkaro (4)
have:
flask of clear water (4)
forage:
tkaro root (4)

cost: 0, time: 0:06:52

I would much rather have the script use the Lichen for the current skillup, as I have a stockpile... What is the script seeing when it looks at the lichen that it doesn't like?

As a side note I also have 8 tkaro root, and it insists on continuing to forage.

I see, Its suggesting that the tkaro root formula takes less time. Even though it hasn't factored in not being able to forage for it, because its over foraged.

Tillmen
04-13-2011, 01:38 PM
It decided it was faster to make tkaro for some reason. Probably because the wolifrew lichen needs to be ground and tkaro doesn't, which is an extra 25 seconds per recipe if you're not a wizard. The more you forage, the more accurate its time estimate for forging becomes, so if it takes you more than 25 seconds to forage for tkaro it will eventually figure that out and use the wolifrew instead.

If you want, you can open up the script and comment out the recipe for tincture of tkaro.

euginer
05-06-2011, 02:43 AM
Anyone mind walking me through setting up the autohunt feature? I assumed bigshot would work as the attack-script but maybe I'm doing it wrong. I now need troll hides to gain ranks, so I figured out to tag a bunch of rooms with 'forest troll'. Now alchemy wanders through the tagged rooms nicely, stops at a troll, but bigshot only starts and exits on a loop. Help please?

Tillmen
05-06-2011, 09:30 AM
Alchemy doesn't need a full hunting script like bigshot, it just needs an attack script. For example, this would almost work as an attack script:

fput "attack"

Assuming the tags are set up and everything, that will run around and kill the stuff you need, until you have enough of whatever ingredient you need. The reason that it only almost works is because it's not looting. If you want to use loot.lic as your looting script, it would be something like:

start_script 'loot' unless running? 'loot'
fput 'attack'
start_script 'waitloot'
wait_while { running?('waitloot') }

That would work, but it sucks. Alchemy will only stop in the rooms with a critter you need to kill, but the attack script will just attack anything in the room, and attack everything the same way. However, alchemy passes the ids of the npcs you're supposed to be killing to the attack script.


start_script 'loot' unless running? 'loot'
target_list = GameObj.npcs.find_all { |npc| script.vars[1..-1].include?(npc.id) and (npc.status !~ /dead/) }
if target_list.length > 2
cast 518
elsif target = target_list[rand(target_list.length)]
if target.noun == 'kobold'
cast 901, target
elsif target.name == 'forest troll'
cast 906, target
else
cast 904, target
end
end
start_script 'waitloot'
wait_while { running?('waitloot') }

You can make it as simple or as complicated as you like. Set a before-hunt-script that gets your gear out and stuff, and an after-hunt-script that puts your gear away and sells everything except the stuff you just hunted for.

euginer
05-08-2011, 02:11 AM
Thanks, that script works good enough for me, except I replaced loot and wait_loot with sloot2.

Nattor
06-08-2011, 11:49 AM
other than mapping and tagging all the rooms in a guild is there something else that needs to be done to make it work?

after the map DB was updated with the empath guild in icemule, (i know it was all tagged and mapped right because I did it, and all the ;e echo Room.current.tags came out right.)

but if you try to run the alchemy script it still says it knows nothing about your guild.

Nattor
06-08-2011, 08:37 PM
never mind.. it looks like it works to me, I have to talk to the person I was trying to help with it again.

wandererjs
06-25-2011, 04:51 PM
Tillmen,

Can you update do_task_grind to account for the shop npc in Ta'Vaalor empath guild?

Line 5078 in my version, add |apothecary$ to the re.

clerk = checknpcs.find { |npc_name| npc_name =~ /^clerk$|acolyte$|^hobgoblin$|^gnome$|apothecary$/ } || 'clerk'

Thanks,

Kadishmal

Tillmen
06-25-2011, 07:10 PM
Can you update do_task_grind to account for the shop npc in Ta'Vaalor empath guild?


Done.

BLAHSIEBLAH
06-27-2011, 07:26 PM
I am have having a problem with the alchemy script. It is saying it is unable to find a decent recipe.I also wanted to say thanks for such an awesome script.

>;alchemy auto alchemy

>
--- Lich: alchemy active.
>
[alchemy: warning: failed to find a decent recipe]
>
[alchemy: warning: failed to find a decent recipe]

>;kill alchemy
--- Lich: alchemy has exited.
>;alchemy task alchemy

--- Lich: alchemy active.

[alchemy: warning: failed to find a decent recipe]
--- Lich: alchemy has exited.


I am an empath with 11 ranks in general alchemy and a friend of mine who is having the same problem is a wizard with I believe 16 trains in general.

Tillmen
06-27-2011, 07:43 PM
When it fails to find a decent recipe, it knows the recipes you need to do, but it just can't do any of them on its own. This can be caused by missing tags in the map database so it doesn't know where to forage in your area, or doesn't know where critters are to hunt them, or if no attack script is set it won't be able to get any skins at all. Or it could be you need ayanad crystals and things like that. It can also be caused by misplacing your cauldron or something like that. Do:
;alchemy suggest
and it may give you an idea of what is wrong. Keep in mind that there's generally many ways to make something in alchemy, and ;alchemy suggest will only tell you what's missing for one of the ways.

BLAHSIEBLAH
06-27-2011, 08:07 PM
haha i misplaced my cauldron and its working now. Thank you.

BLAHSIEBLAH
06-28-2011, 05:07 AM
is there a way to make alchemy stow items in my backpack instead of my greatcloak? I have alchemysack, lootsack, herbsack, and stow all set to backpack but its still putting it in greatcloak

Tillmen
06-28-2011, 11:13 AM
I don't think I believe you.

Tsk Tsk
06-28-2011, 12:40 PM
I keep forgetting to mention this... I think the recipe for ;alchemy is wrong for
A scintillating pale blue potion


Add water
Add blue trafel mushroom
Alchemy Boil
Add powdered blue lapis lazuli
Alchemy Simmer
Add 3 doses of ayanad crystal
Alchemy Chant Lock Pick Enhancement (403)
Alchemy Seal

because every time I try to use it to make these potions, it adds TWO mushrooms rather than one and the potion fails.

Gweneivia
06-28-2011, 12:55 PM
for some reason the script with the minor sneezing potion just...stops after the boil. Unless I am in the cauldron workshop, then it runs fine. It doesn't error out or anything, it just stops doing anything.

Tillmen
06-28-2011, 01:35 PM
I keep forgetting to mention this... I think the recipe for ;alchemy is wrong for
A scintillating pale blue potion
because every time I try to use it to make these potions, it adds TWO mushrooms rather than one and the potion fails.

You might have an old version of the script. It looks right in the script.

Tillmen
06-28-2011, 01:36 PM
for some reason the script with the minor sneezing potion just...stops after the boil. Unless I am in the cauldron workshop, then it runs fine. It doesn't error out or anything, it just stops doing anything.

Do you have a log of that happening?

Gweneivia
06-28-2011, 03:47 PM
>;alchemy-new make minor sneezing powder

>
--- Lich: alchemy-new active.

minor sneezing powder
have:
pepperthorn root (3)
some essence of fire
vial of concentrated firethorn essence
ayanad crystal (2)
flask of clear water
some powdered citrine quartz

[alchemy-new: starting in 3 seconds...]
You focus on the soot-encrusted cauldron and pulse a small amount of mana into it. A small flickering flame appears beneath it.
>
You remove a flask of clear water from in your medic pack.
>
You pour the clear water into the soot-encrusted cauldron, keeping the empty flask that remains.
>
You put an empty flask in your medic pack.
>
You remove some powdered citrine quartz from in your medic pack.
>
You place some powdered citrine quartz into a slime and soot-encrusted cauldron.
>
You remove some essence of fire from in your medic pack.
>
You place some essence of fire into a slime and soot-encrusted cauldron.
>
You focus on the soot-encrusted cauldron and gently push mana into it. The flame beneath it quickly flares to life, bringing the contents to a slow simmer.
Roundtime: 20 sec.
>
You remove a pepperthorn root from in your medic pack.
>
You place a pepperthorn root into a slime and soot-encrusted cauldron.
>
You remove a pepperthorn root from in your medic pack.
>
You place a pepperthorn root into a slime and soot-encrusted cauldron.
>
You remove a pepperthorn root from in your medic pack.
>
You place a pepperthorn root into a slime and soot-encrusted cauldron.
>
You remove an ayanad crystal from in your medic pack.
>
You place an ayanad crystal into a slime and soot-encrusted cauldron.
>
You remove an ayanad crystal from in your medic pack.
>
You place an ayanad crystal into a slime and soot-encrusted cauldron.
>
You focus on the soot-encrusted cauldron and push mana into it. The flame beneath it quickly flares up wildly, bringing the contents to a rolling boil.
Roundtime: 20 sec.
>
A mottled tiger takes a bite of some chilled white brain matter.
>
A slime and soot-encrusted cauldron spins around in place on its legs, swirling the mixture inside it slightly.
>
A mottled tiger takes a bite of some chilled white brain matter.
>
You feel more refreshed.
>
A mottled tiger takes a bite of some chilled white brain matter.
>
A mottled tiger takes the last bite of some chilled white brain matter.
>
A mottled tiger takes a bite of some chilled white brain matter.
>
A mottled tiger takes a bite of some chilled white brain matter.
>
A mottled tiger takes a bite of some chilled white brain matter.
>
You feel more refreshed.
>
A mottled tiger takes a bite of some chilled white brain matter.
>
A slime and soot-encrusted cauldron spins around in place on its legs, swirling the mixture inside it slightly.
>
A mottled tiger takes a bite of some chilled white brain matter.
>
A mottled tiger takes a bite of some chilled white brain matter.
>
Jooniper just arrived.
>
A mottled tiger takes the last bite of some chilled white brain matter.


the tiger taking bites was about 10-15 seconds between each bite, to give you an idea. And it's still running, just not doing anything. If I try to sort of...nudge it, by doing it manually after the boil, it still doesn't kick in. It's really not a huge issue for me, just thought it was odd, especially since like I said it works fine in the cauldron workshop. I have an animated cauldron could that be messing it up somehow?

Tillmen
06-28-2011, 04:12 PM
The problem seems to be the dash in your cauldron's name. The regex didn't want to see a dash. Should be fixed now.

Tillmen
06-28-2011, 04:13 PM
Also, alchemy-new is old. It was only alchemy-new after a rewrite and before it was fully functional. It's just alchemy again.

BLAHSIEBLAH
06-28-2011, 06:00 PM
I don't think I believe you.
Well thats okay because come to find out even though I put in for it to change the sack it didnt work for some reason even though I spelled things correctly so the issue isn't with your script obviously heh.

Gweneivia
06-28-2011, 06:14 PM
Also, alchemy-new is old. It was only alchemy-new after a rewrite and before it was fully functional. It's just alchemy again.

Ahh good to know, thanks Tillmen! Off to the repo I go.

BLAHSIEBLAH
07-02-2011, 01:15 PM
can you think of any particular reason when I am in landing it runs me to the icemule empath guild even though I am in landing when I turn it on? It literally just started doing this for the first time so i'm a little confused. Normally this really wouldnt be a problem but I keep running into an issue in icemule with the script. Basically for whatever reason it is using go2 to go to the ice mule trace east road (rnum 2426) and it takes out two flasks of pure water and just idles there.

You remove a flask of pure water from in your wolf skin greatcloak.
Do you want to put that in, on, or behind an old beer barrel?
>
You remove a flask of pure water from in your wolf skin greatcloak.
Do you want to put that in, on, or behind an old beer barrel?
>
You need a free hand to pick that up.
You can't put something that you can't hold.
>
You need a free hand to pick that up.
You can't put something that you can't hold.
>
You need a free hand to pick that up.
You can't put something that you can't hold.
>
You need a free hand to pick that up.
You can't put something that you can't hold.

BLAHSIEBLAH
07-02-2011, 01:26 PM
can you think of any particular reason when I am in landing it runs me to the icemule empath guild even though I am in landing when I turn it on? It literally just started doing this for the first time so i'm a little confused. Normally this really wouldnt be a problem but I keep running into an issue in icemule with the script. Basically for whatever reason it is using go2 to go to the ice mule trace east road (rnum 2426) and it takes out two flasks of pure water and just idles there.

You remove a flask of pure water from in your wolf skin greatcloak.
Do you want to put that in, on, or behind an old beer barrel?
>
You remove a flask of pure water from in your wolf skin greatcloak.
Do you want to put that in, on, or behind an old beer barrel?
>
You need a free hand to pick that up.
You can't put something that you can't hold.
>
You need a free hand to pick that up.
You can't put something that you can't hold.
>
You need a free hand to pick that up.
You can't put something that you can't hold.
>
You need a free hand to pick that up.
You can't put something that you can't hold.

Nevermind ;updater update forcemap fixed this.

BLAHSIEBLAH
07-02-2011, 03:19 PM
So it happened again, and this time it got me killed. Should I just keep trying to use the ;updater force map? and is there anything else I should try? Kind of wierd that this just started happening today.

Meos
07-03-2011, 02:06 PM
Script works great, I love it!

Couple things.

when I have the grinding materials for the guild task, it tries to get something that isn't there. As soon as I type "get S mort" is grabs the mortar and starts working.

Other issue I have is when your tasked to get a lesson from a master, and the master wants you to make random shit using simmer/boil/chant ect. it's hangs up.

This is all at the illisitim wizard guild btw.

wandererjs
07-10-2011, 02:15 AM
All,

As I just noticed that the Solhaven empath guild is unmapped, I am considering mapping/tagging all the other guilds (all professions) that have been neglected. (Solhaven? really? close enough for cleaning reps and no one mapped it?)

I did Illistim and Vaalor empath guilds a few weeks ago; going to do Solhaven and Zul Logoth. While I'm doing it.. are there any other guilds that were never done? Except for Teras, I will make the trip to the other areas and map them all.

Also, did anyone ever locate seawater in Illistim or Vaalor?

Thanks,

Kadishmal

vamosj
07-14-2011, 10:51 AM
I have been having a couple of issues with Alchemy as of late and was hoping I could get some help with this.

1) It loves my satchel! When foraging for herbs it keeps on putting them in my satchel even though my satchel is not highlighted as part of my settings. My herbsack is my backpack, my lootsack is my cloak, and my reagent sack is my alchemy bag, but it keeps sticking all my herbs into my satchel and then it never looks in there to use them.. Ended up with over a hundred Wolifrew Lichen after one stint...

2) Keeps frying my nerves. I haven't found a common cause of this, but last time I fried my nerves I was working with the crucible. I have 101 mana and when I look back at my screen "POOF" I've overextended myself.

LOVE this script by the way. Especially for the foraging part.

Nattor
07-14-2011, 11:59 AM
I have been having a couple of issues with Alchemy as of late and was hoping I could get some help with this.

1) It loves my satchel! When foraging for herbs it keeps on putting them in my satchel even though my satchel is not highlighted as part of my settings. My herbsack is my backpack, my lootsack is my cloak, and my reagent sack is my alchemy bag, but it keeps sticking all my herbs into my satchel and then it never looks in there to use them.. Ended up with over a hundred Wolifrew Lichen after one stint...

2) Keeps frying my nerves. I haven't found a common cause of this, but last time I fried my nerves I was working with the crucible. I have 101 mana and when I look back at my screen "POOF" I've overextended myself.

LOVE this script by the way. Especially for the foraging part.

That herbsack thing sounds like there is a double setting in there. Do
;settings list
to check to see if herbsack is listed twice.

Tillmen
07-14-2011, 02:17 PM
Apparently it was just using the stow verb when it found herbs. That should be fixed now.

As for frying your nerves, I have no idea. The crucible task is just... cleaning a crucible with a rag. That doesn't take any mana, does it?

vamosj
07-14-2011, 02:24 PM
I was distilling water at the time.

Tillmen
07-14-2011, 02:41 PM
It makes more sense that distilling would use mana, and the script has no mana checks for that. Sadly, they don't let alchemy masters play with the alembic. How much mana do each of these steps use?

pour alembic
light alembic
turn alembic
turn alembic
clean alembic
get alembic

Tillmen
07-14-2011, 05:53 PM
when I have the grinding materials for the guild task, it tries to get something that isn't there. As soon as I type "get S mort" is grabs the mortar and starts working.

Other issue I have is when your tasked to get a lesson from a master, and the master wants you to make random shit using simmer/boil/chant ect. it's hangs up.

This is all at the illisitim wizard guild btw.

The mortar issue should be fixed.

Can you give me a log of it hanging up at the masters?

vamosj
07-14-2011, 06:54 PM
When I get an herb now I'm getting this.

You forage briefly and manage to find an ayana weed!
Roundtime: 5 sec.
Roundtime changed to 2 seconds.
KR>
--- Exception: undefined local variable or method `herbsack' for #<UntrustedScriptBinder:0xf0975b8>
alchemy:4841:in `create_block'
--- Lich: alchemy has exited.

Here are my settings.


--- My settings
wandsack: cloak
jewelrysack: pouch
needed_reagents: ^flask of clear water$|^ayana leaf$|^ayana lichen$|^ayana weed$|^ayana berry$|^ayana root$|^some powdered smoky topaz$|^smoky topaz$|^sprig of larkspur$|^glistening black eye$|^some powdered green sapphire$|^green sapphire$|^yabathilium fruit$|^ayanad crystal$|^vial of viscous liquid$|^essence shard$|^some faintly glowing dust$|^s'ayanad crystal$|^some faintly radiant dust$|^t'ayanad crystal$|^some faintly shimmering dust$|^n'ayanad crystal$|^cluster of t'ayanad crystals$|^cluster of s'ayanad crystals$|^cluster of ayanad crystals$|^some crystal core essence$|^crystal core$|^handful of sea salt$|^some ground bolmara$|^some bolmara lichen$|^some ground cactacae$|^some cactacae spine$|^some ground ephlox moss$|^some ephlox moss$|^some aloeas stem$|^some ground haphip$|^some haphip root$|^some pothinir grass$|^some ground talneo$|^some talneo root$|^some torban leaf$|^some calamia fruit$|^some essence of regeneration$|^troll hide$|^troll beard$|^ice troll scalp$|^pale troll tongue$|^some ground tkaro$|^tkaro root$|^some faintly glimmering dust$|^some glimmering blue essence dust$|^some woth flower$|^some brostheras grass$|^vial of translucent dye base$|^some ground murdroot$|^murdroot$|^some mashed alligator lily$|^some powdered clear sapphire$|^clear sapphire$|^some essence of air$|^pink topaz$|^shelfae crest$|^scraggly orc scalp$|^some powdered blue starstone$|^blue starstone$|^some powdered azurite$|^azurite$|^some powdered white opal$|^white opal$|^pale blue runed crystal shard$|^vial of sand-like liquid$|^some powdered violet sapphire$|^violet sapphire$
op: {"fried"=>nil}
herbask: backpack
clothingsack: backpack
stowsack: thigh
lockpicksack: cloak
magicsack: cloak
skinweaponfire:
skinweaponsack: sheath
skinweaponfiresack:
foragesack: bag
boxsack: cloak
alchemysack: bag
skinweaponblunt:
gems2jars: emptyjars=cloak
skinweaponbluntsack:
skinweapon: dubh
scrollsack: cloak
herbsack: backpack
uncommonsack: cloak
skinsack: cloak
reagentsack: backpack
ammosack:
lootsack: cloak
gemsack: pouch
Gems2Jars: emptyjars=back, emptyjars=cloak, fulljars=locker, fulljars=sack

Tillmen
07-14-2011, 06:57 PM
When I get an herb now I'm getting this.

You forage briefly and manage to find an ayana weed!
Roundtime: 5 sec.
Roundtime changed to 2 seconds.
KR>
--- Exception: undefined local variable or method `herbsack' for #<UntrustedScriptBinder:0xf0975b8>
alchemy:4841:in `create_block'
--- Lich: alchemy has exited.


Should be fixed now.

vamosj
07-15-2011, 02:15 AM
Working great... Thanks Tillmen..

Gizmo
07-15-2011, 02:44 AM
Working great... Thanks Tillmen..

You also have a setting in your list called "herbASK"

May wanna delete that...Unless of course you actually need it for something, then ignore me.

vamosj
07-15-2011, 07:28 PM
Looks like the task that was frying me was creating sea salt and it takes 10 mana per... from what I'm seeing.

Tillmen
07-15-2011, 11:50 PM
Looks like the task that was frying me was creating sea salt and it takes 10 mana per... from what I'm seeing.

Alright. Added a mana check. See if it helps.

Regallis
07-17-2011, 05:57 PM
Turns in task when items are on the self. Landing wizard guild.

[alchemy]>give my mortar to clerk
The clerk takes your stone mortar and looks over its contents.
The clerk nods to himself and says, "Yes, yes. This looks excellent." He carefully pours the ground flaeshorn berry into a nearby jar and returns the mortar to you.

[You have 2 repetitions remaining.]

>
[alchemy]>look on #-166088
There is nothing on there.
>
[alchemy]>ask clerk about ingredients
You ask the clerk about ingredients.

The clerk replies, "That's what I do here, ingredients. Those jars and bottles on the shelves store most of the most common that the guild has in its stores."
>
[alchemy]>look on #-166088
>
On the steel shelf you see a jar of crowberry, a jar of pothinir grass, a jar of chicory, a jar of alabaster sandsilver and the following:
1 Gem: a jar of snowflake zircon.
>
[alchemy]>get #
Get what?
>
[alchemy]>give my mortar to clerk
The clerk takes your stone mortar and looks over its contents.
The clerk says, "I don't see anything in this a stone mortar, Melenie.
>
[alchemy]>put mortar
You toss aside your stone mortar, having no more use for it. Just as it leaves your hand, the mortar vanishes without a trace.
>
--- Lich: go2 active.
[go2: ETA: 0:00:00 (2 rooms to move through)]
[go2]>go door
[go2]>southwest
[Wizard Guild Annex, Locus]
An offshoot of the courtyard, this small piazza is open to the sky and bounded by a circle of pillar-supported arches. A cobblestone walk leads east and west, while smaller flagstone paths radiate outward in a semi-sunburst pattern from a centrally-located marble birdbath. Covering the ground between the walks, creeping phlox creates bright lavender and white wedges of foliage above which bumblebees and butterflies flit from flower to flower in the sunlight. You also see a light spruce door, a pale birch door, a winding cobblestone walkway leading out and a rectangular trash receptacle.
Obvious paths: north, northeast, east, southeast, south, southwest, northwest
>
[Annex, Lightning Workshop]
Storm grey walls, painted with jagged lightning bolts and ominous dark clouds, are illuminated by diffuse rays of sunlight that saturate the room through frosted glass windows etched with the alchemical symbol for energy. Stark white tree branches, oddly singed and naked of bark, form wall sconces whose flickering candle flames glitter off gold flecks in the ebon ceramic floor tile. The musical tinkling of a wind chime can be heard from high above the brushed steel workbench as gentle breezes trickle in from the piazza.
Obvious exits: northeast
>
[go2: travel time: 0:00:00]
--- Lich: go2 has exited.
--- Lich: go2 active.
[go2: ETA: 0:00:00 (2 rooms to move through)]
[go2]>northeast
[go2]>go walkway
[Wizard Guild Annex, Locus]
An offshoot of the courtyard, this small piazza is open to the sky and bounded by a circle of pillar-supported arches. A cobblestone walk leads east and west, while smaller flagstone paths radiate outward in a semi-sunburst pattern from a centrally-located marble birdbath. Covering the ground between the walks, creeping phlox creates bright lavender and white wedges of foliage above which bumblebees and butterflies flit from flower to flower in the sunlight. You also see a light spruce door, a pale birch door, a winding cobblestone walkway leading out and a rectangular trash receptacle.
Obvious paths: north, northeast, east, southeast, south, southwest, northwest
>
[Wizard Guild, Courtyard]
An expansive open courtyard at the heart of the guild is lined with brick walkways around the well tended flowers and shrubbery. At the center of the courtyard stands a magnificent fountain, pouring forth water into a large pool. You also see a winding cobblestone walkway leading to a training annex, a marble arch, some large hardwood doors, a basalt arch, a granite arch and Training Administrator Leigh.
Obvious paths: none
>
[go2: travel time: 0:00:00]
--- Lich: go2 has exited.
>
[alchemy]>ask Leigh about training potions
You ask Leigh for an assignment in Alchemic Potions.

Leigh says, "All done with that task? Great!" Leigh checks her clipboard, "This gives you 9 Training Points, leaving you 12 points shy of earning your next rank."
>
[alchemy]>ask Leigh about training potions
You ask Leigh for an assignment in Alchemic Potions.

Leigh assays you with a critical eye and says, "Let's find you something to do to earn a rank in Alchemic Potions." Leigh rubs her chin thoughtfully, then continues, "Practice makes perfect! Work on making solutions that require chanting spell incantations as part of their creation process. Each completed solution using CHANT will count as one repetition. Make sure the recipes you use are a challenge for you." Leigh also adds, "Repeat this 6 times."
>
[alchemy]>ask Leigh about training alchemy
You ask Leigh for an assignment in General Alchemy.

Leigh says, "All done with that task? Great!" Leigh checks her clipboard, "This gives you 7 Training Points, leaving you 33 points shy of earning your next rank."
>
[alchemy]>ask Leigh about training alchemy
>
You ask Leigh for an assignment in General Alchemy.

Leigh assays you with a critical eye and says, "Let's find you something to do to earn a rank in General Alchemy." Leigh rubs her chin thoughtfully, then continues, "It seems our storerooms are running low on general alchemical ingredients. Go and gather some ingredients for the guild's supply and turn them in to the storeroom clerk. You can get a list of what is needed from the clerk as well, just ASK for a LIST." Leigh also adds, "Repeat this 4 times."
>
[alchemy]>ask Leigh about trade alchemy
You ask Leigh about trading in your current General Alchemy task for a new one.

Leigh says, "Very well, xxxxxxx. I've taken you off that assignment. You will need an additional 8 Training Points to earn your next rank. Ask me when you're ready for more training--I can't guarantee you'll get a different task."

[You must complete 1 tasks before you will receive experience for completing tasks.]

>
[alchemy]>ask Leigh about training alchemy
You ask Leigh for an assignment in General Alchemy.

Leigh assays you with a critical eye and says, "Let's find you something to do to earn a rank in General Alchemy." Leigh rubs her chin thoughtfully, then continues, "Your skills are still lacking, so we shall start there. Go to the guild's cauldron workshops and make some solutions involving your boil ability. A forewarning: The cauldrons are magically enchanted to resist your magic, so these attempts will be more difficult than working with your own cauldron." Leigh also adds, "Repeat this 7 times."

Tillmen
07-17-2011, 10:51 PM
That's a little confusing.. I'll just assume that by "turn in" you mean trade. In that log, the trade doesn't have anything to do with the shelf. Your grind task was for trinkets. There does seem to be some bug that kept it from finishing the task at that time, but the script didn't say anything to the administrator about trinkets, and it will finish the task when it comes back around to it.

The task that it traded in was the list task, which in that log was for general alchemy. The script always trades the list task. There's no code to attempt to do that task. Even if you were doing alchemy without scripts, it's a good idea to trade in that task. It's a horrible, horrible task and a waste of time.

Brad
07-19-2011, 05:16 AM
First off, I wanted to say that this is pretty much pure awesome. I've managed to actually do alchemy ranks without wanting to stab myself!

There are a couple oddities I've noticed though. First off, it seems to like to go to the Icemule Cleric Guild instead of staying in the Landing, which is no problem. From this thread, it seems like that may be connected to mapping and something of the sort?

The other seem that seemed a bit awkward is that it didn't seem to like any of the Mist Harbor herbs I had sitting around. Particularly the spicy acantha leaf I had for some reason.

vamosj
07-19-2011, 01:30 PM
I was wondering if there would be a possibility of readying a weapon should you find yourself travelling between towns for let's say a polish quest, or when going out to forage? I currently have my travel time turned way down so I don't head up to Icemule from Landing because of this reason (I've been nailed twice by that damn ice hound). Also when I forage it would be nice to have an option of having a weapon handy..

Last but not least, if there is anything you need in the game i.e. spells and such please let us know here.. I would love to be able to repay you somehow for all this wonderful work you have done...

Gweneivia
07-19-2011, 01:50 PM
Last but not least, if there is anything you need in the game i.e. spells and such please let us know here.. I would love to be able to repay you somehow for all this wonderful work you have done...

Donate (paypal: tillmen@lichproject.org)

wandererjs
07-25-2011, 05:21 PM
All,

Does anyone have a good kill script for an empath using bone shatter and sloot3? I attempted to modify Tillmen's example for wizards, but I'm getting a lot of screen scroll it tries to start the script repeatedly while it's already active.

Thanks,

Kadishmal

wandererjs
07-29-2011, 02:40 AM
Tillmen,

On your next update of alchemy, can I suggest the following:

1) Add Mist Harbor notes to note_name (about line 3917)

hash = {
'Icemule Trace' => 'Icemule promissory note',
'Kharam-Dzu' => 'Borthuum Mining Company scrip',
"Wehnimer's Landing" => "Wehnimer's promissory note",
"the Coastal Cliffs" => "Wehnimer's promissory note",
"River's Rest" => 'Torren promissory note',
'Zul Logoth' => 'mining chit',
"Ta'Illistim" => 'City-States promissory note',
"Ta'Vaalor" => 'City-States promissory note',
'Solhaven' => 'Vornavis promissory note',
'Mist Harbor' => 'Mist Harbor promissory note',
}

2) Add a few herb recipes to grind acantha, ambrominas, aloeas stem, torban, and pothinir. While the end product isn't useful as far as I know, they can be used by do_task_grind_mine for reps instead of running out to the wilds to forage other random items.

I added the below at ~2843 with the other herbs
#
r = { : product => 'some ground acantha', :steps => [ 'grind some acantha leaf' ] },
r = { : product => 'some ground ambrominas', :steps => [ 'grind some ambrominas leaf' ] },
r = { : product => 'some ground aloeas stem', :steps => [ 'grind some aloeas stem' ] },
r = { : product => 'some ground torban', :steps => [ 'grind some torban leaf' ] },
r = { : product => 'some ground pothinir', :steps => [ 'grind some pothinir grass' ] },
#

As I think about it... I probably could add calamia, woth, and any other herb that uses boil as well, but I only tested the above, and 5 more herb choices should round out that task

3)

Add the other flavors of troll parts for essence of regeneration, to allow those to be used if already in inventory, vs running out to kill more.

I don't know if your equivalents array is used here... so just added recipes.

r = { : product => 'some essence of regeneration', :steps => [ 'extract troll hide' ] },
r = { : product => 'some essence of regeneration', :steps => [ 'extract troll beard' ] },
r = { : product => 'some essence of regeneration', :steps => [ 'extract ice troll scalp' ] },
r = { : product => 'some essence of regeneration', :steps => [ 'extract troll scalp' ] },
r = { : product => 'some essence of regeneration', :steps => [ 'extract chipped troll tusk' ] },
r = { : product => 'some essence of regeneration', :steps => [ 'extract troll heart' ] },
r = { : product => 'some essence of regeneration', :steps => [ 'extract pale troll tongue' ] },

Thanks,

Kadishmal

[Update: have to typo :product as : product, as the board won't let me post more than twelve smileys. Whee.]

Tillmen
07-29-2011, 03:09 AM
Added and uploaded.

havok
07-29-2011, 07:03 AM
Brad,

This happens for clerics (to me, at least) because the Landing cleric guild alchemy supply room doesn't have 'some powered white jade' for sale which is listed as #42 in Icemule.

- hav

Jymamon
08-03-2011, 08:10 AM
I'm getting

[alchemy: warning: failed to find your guild]
for everything that requires my guild to be found.

which is caused by line 3842 failing:
if home_room = Room.current.find_nearest_by_tag("#{Char.prof.downcase} alchemy administrator")

Looking through lich.rbw, I think the tag data should be coming from the map database, but I believe I'm up-to-date:

--- Lich: updater active.

these scripts are in the update list: repository, spell-list.xml.txt, gameobj-data.xml, go2
Lich is set to be updated
map.dat is set to be updated

--- Lich: updater has exited.
>;updater check
--- Lich: updater active.

scripts are up-to-date (4 scripts checked)
Lich is up-to-date
map.dat is up-to-date

My guild should be being detected correctly:

>;e respond "#{Char.prof.downcase}"
--- Lich: exec1 active.
wizard
--- Lich: exec1 has exited.

Is there something obvious I should be checking that isn't above or do I just need to step through everything? (Something I'm trying to avoid this late at night.)

Brad
08-03-2011, 06:07 PM
Brad,

This happens for clerics (to me, at least) because the Landing cleric guild alchemy supply room doesn't have 'some powered white jade' for sale which is listed as #42 in Icemule.

- hav

Ohh, ok, that makes sense. Being that I had never had enough desire to get anywhere manually before, I hadn't gotten to a point where I needed anything of the sort.

Jymamon
08-03-2011, 07:06 PM
[alchemy: warning: failed to find your guild]
Blah, blah, blah...

Don't know why I didn't just try last night (or why it said my maps were up-to-date already), but
;updater update forcemap
solved the problem.

wandererjs
08-05-2011, 06:57 PM
Tillmen,

On your next update of alchemy, can you please update the following:

1) ~ line 685: For the second recipe of minor stamina potion (cloudy grey tonic), remove the second smooth stone. The first version uses two stones and one oats; the second uses one stone and three powdered chestnut.

2) ~ line 2692: update location for 'some powdered red-green bloodstone' to be empath vs cleric. This ingredient is in the empath shops only (I checked cleric), which makes sense as it's only used for the fine sanguine flakes (1101 trinket).

3) Also.. I've noticed some problematic behavior with the previous change to stow herbs in the herbsack instead of the lootsack. For the non-herb forageables (such as marallis berry, pepperthorn), I forage, they're put in the herbsack, but after foraging, the script can't find them. I think it checks regular herbs in the herbsack, but not the other forageables. The previous behavior (where it stowed all forageables) worked fine for me. Also, I think the poster with the issue had typo'd herbsack to herbask, which was likely their real issue.

Thanks,

Kadishmal

Tillmen
08-05-2011, 08:56 PM
1 and 2 are fixed and uploaded.

For #3, I'm not sure what the problem is. The script checks all three containers anytime it needs anything. If it's not finding something that's in your herbsack, it shouldn't be able to find it if it's in your lootsack or alchemysack either.

wandererjs
08-06-2011, 12:59 AM
1 and 2 are fixed and uploaded.

For #3, I'm not sure what the problem is. The script checks all three containers anytime it needs anything. If it's not finding something that's in your herbsack, it shouldn't be able to find it if it's in your lootsack or alchemysack either.

Tillmen,

Thanks for the update. I'll watch #3 closer when it happens again. As I think about it, though, it may have been an error saying that it couldn't find marallis berry because it couldn't find enough of it.

Thanks,

Kadishmal

Endaar
08-07-2011, 04:43 PM
Trying to see why ";alchemy task distill" doesn't work for my newly freshly mapped RR Cleric's Guild alchemy tasks.

>;alchemy task distill
--- Lich: alchemy active.
[alchemy: error: failed to find workshop]
--- Lich: alchemy has exited.

However, sure enough :

>;e echo Room.current.tags
--- Lich: exec1 active.
[exec1: cleric alchemy workshop]
--- Lich: exec1 has exited.

Ideas? Thanks.

Tillmen
08-07-2011, 07:19 PM
The room probably isn't connected to the rest of the map database.

wandererjs
08-17-2011, 01:57 AM
Tillmen,

On your next update to alchemy, can you update the max ranks for minor mana-well and lesser health-potion?

minor mana-well ~line 164. Does not give reps at 37, and semi-sure it did at 36

lesser health potion ~line 207. Does not give reps at 38, and definitely did at 37.

Thanks,

Kadishmal

Tillmen
08-17-2011, 02:05 AM
On your next update to alchemy, can you update the max ranks for minor mana-well and lesser health-potion?

Done.

Saurven
08-22-2011, 07:54 PM
I am unable to use the alchemy script on my sorcie in any way. I've downloaded it 3 times to make sure I got the right script, and have also tried the alchemy-old script. I have trusted the script, also set all three bags.

>;alchemy help
--- Lich: alchemy active.
--- SyntaxError: compile error
alchemy:1433: syntax error, unexpected $end, expecting ']'
alchemy:1433:in `start_script'
--- Lich: cannot execute alchemy, aborting.
--- Lich: alchemy has exited.

>;alchemy auto
--- Lich: alchemy active.
--- SyntaxError: compile error
alchemy:1433: syntax error, unexpected $end, expecting ']'
alchemy:1433:in `start_script'
--- Lich: cannot execute alchemy, aborting.
--- Lich: alchemy has exited.

Tillmen
08-22-2011, 08:32 PM
I think that error message means the file ended on line 1433, which is less than a fourth of the actual file. Open up the script and see if that's the case. If so, you might have to download it three more times.

wandererjs
08-23-2011, 01:26 PM
Tillmen,

On your next update, can you please update the following:

1) replace "some golden aster" with "golden aster". The article is 'a', not 'some'.

2) ~2997: update recipe for 'powdered blue eostone' to 'grind deep blue eostone' (currently says 'grind blue eostone', which won't grind the eostones if you already have them, and everyone has eostones from Zul, right?)

r = { :product => 'some powdered blue eostone', :steps => [ 'grind deep blue eostone' ] },

3) ~1479: update recipe for deep blue eostone talisman to use powdered eostone:

r = {
:product => 'deep blue eostone talisman',
:steps => [ 'light', 'add vial of pearlescent oil', 'add golden aster', 'add some powdered blue eostone', 'simmer', 'add spotted leopard pelt', 'boil', "add s'ayanad crystal", 'chant 204', 'seal' ],
:type => 'trinkets',
:spell => '204',
:rank => [ 15, 28 ],
:for => [ 'Cleric', 'Empath' ],
},

4) add recipe for minor stamina regeneration crystal. Ranks is a guess at the moment. I'll make one per rank until it stops. I inserted ~line 2005 next to the greater crystal.

r = {
:product => 'dull brown crystal disk',
:nick => 'minor stamina regeneration crystal',
:steps => [ 'light', 'add vial of viscous liquid', 'add some ground ironfern', 'add some ground ironfern', 'add some ground ironfern', 'add some powdered red coral', 'add some powdered red coral', 'add some powdered red coral', 'chant 1107', 'add some faintly glowing dust', 'boil', 'add crystalline globe', 'simmer', 'seal' ],
:type => 'trinkets',
:spell => '1107',
:rank => [ 18, 31 ], #fixme
:for => [ 'Empath' ],
},

5) add recipe for minor mental focus crystal. I inserted ~line 2080 by the greater crystal. Ranks are again a swag.


r = {
:product => 'pale yellow crystal pyramid',
:nick => 'minor mental focus crystal',
:steps => [ 'light', 'add vial of viscous liquid', 'add some ground wolifrew', 'add some ground wolifrew', 'add some ground wolifrew', 'add some powdered water sapphire', 'add some powdered water sapphire', "add s'ayanad crystal", 'simmer', 'seal' ],
:type => 'trinkets',
:rank => [ 24, 25 ], #fixme
:for => [ 'Empath' ],
},


Thanks,

Kadishmal

Tillmen
08-23-2011, 02:34 PM
On your next update, can you please update the following:

Done. I've also separated the alchemy script into two scripts. All the recipes are now in alchemy-recipes.lic. Starting alchemy-recipes.lic loads the recipes into memory and leaves them there. The alchemy script will download alchemy-recipes.lic if you don't already have it, and run it if the recipes aren't already loaded, but it won't update it. So, you'll probably want to do something like:

;updater add alchemy-recipes

Or you could just manually check the repository to see if there's an update and do:

;rep download alchemy-recipes
;alchemy-recipes

At any rate, this cuts the size of the alchemy script down to about 40% of what it was before, which should help with load times.

wandererjs
08-24-2011, 12:37 AM
Ok... not sure what's going on here.

While checking one of the recipes just added, it can't find one of the ingredients: the corked crystalline globe of glowing mineral water.

It worked yesterday in my version.
It worked earlier today with the new version.
It won't work now: it can't find the globe regardless of the container. I tried in a jar, outside a jar, moving from alchemysack to lootsack, etc... it can't be found. I also tried logging to ensure alchemy-recipes was restarted.

Am I missing something stupid?

>;alchemy prepare minor stamina regeneration crystal
--- Lich: alchemy active.
>

dull brown crystal disk
have:
vial of viscous liquid
s'ayanad crystal
polished red coral (3)
ironfern root (3)
missing:
crystalline globe

cost: 510, time: 0:04:46

--- Lich: alchemy has exited.
>get globe
You remove a corked crystalline globe filled with glowing mineral water from in your spidersilk backpack.
>
You feel more refreshed.
>;e echo GameObj.right_hand
--- Lich: exec1 active.
[exec1: globe]
--- Lich: exec1 has exited.
>;e echo GameObj.right_hand.name
--- Lich: exec1 active.
[exec1: crystalline globe]
--- Lich: exec1 has exited.
>
You feel more refreshed.
>
You feel more refreshed.
>;e echo GameObj.right_hand.inspect()
--- Lich: exec1 active.
[exec1: #<GameObj:0x1457be80 @id="57374178", @after_name=nil, @before_name=nil, @noun="globe", @name="crystalline globe">]
--- Lich: exec1 has exited.
You feel more refreshed.
>put globe in back
You put a corked crystalline globe filled with glowing mineral water in your spidersilk backpack.
>;alchemy prepare minor stamina regeneration crystal
--- Lich: alchemy active.
>

dull brown crystal disk
have:
vial of viscous liquid
s'ayanad crystal
polished red coral (3)
ironfern root (3)
missing:
crystalline globe

cost: 510, time: 0:04:46

wandererjs
08-24-2011, 02:13 AM
Disregard. Simu fail.

Globes that were jarred are slightly different than fresh ones. I'll poke around and look for a fix.

Kad

Tillmen
08-24-2011, 08:10 AM
>stow globe
You put a corked crystalline globe filled with glowing mineral water in your black leather pack.
;eq echo GameObj['pack'].contents.first.name

[exec2: crystalline globe]

>get globe
You remove a corked crystalline globe filled with glowing mineral water from in your black leather pack.
>put globe in my jar
You put your crystalline globe into your empty jar.
>shake jar
You give your jar a hard shake, causing a corked crystalline globe filled with glowing mineral water to fall into your right hand.
That was the last globe in the jar.
>stow globe
You put a corked crystalline globe filled with glowing mineral water in your black leather pack.
>;eq echo GameObj['pack'].contents.first.name

[exec2: corked crystalline globe filled with glowing mineral water]


Weird stuff. Updated the equivalent array to use both names. Might work.

Persephone
08-25-2011, 10:58 AM
Hi, new to lich and to alchemy

I am using the Landing Wizard's Guild. Almost every time I have to clean crucibles, the scripts runs me to Icemule (with no weapon out, a clean rag in my hand, and no coins for the gate!). I'm level 20 and it's a miracle i haven't died on the way to and fro.

Can I change the settings to:

Not run me to Icemule
Not deposit all of my coins


Thanks a bunch. I tried alchemy on an old character a few years ago and never got past gen alchemy level 2 - it was too tedious. I love this script!

Tillmen
08-25-2011, 11:10 AM
You can avoid going to Icemule by lowering you max travel time. I think somewhere around 25 seconds would do it.

;alchemy set max-travel-time 25

There's no setting to avoid depositing coins. It only deposits in auto mode, and you can get quite encumbered from the silvers that the alchemy masters give you. If you wanted, you could open up the alchemy script and search for deposit. It only shows up once. Comment out that five line block where it checks silvers, does go2 bank, and deposits.

go2 should withdraw 5 silvers for the gate, if you have it set to get silvers.

;go2 getsilvers=on

wandererjs
08-25-2011, 03:23 PM
>stow globe
You put a corked crystalline globe filled with glowing mineral water in your black leather pack.
;eq echo GameObj['pack'].contents.first.name

[exec2: crystalline globe]

>get globe
You remove a corked crystalline globe filled with glowing mineral water from in your black leather pack.
>put globe in my jar
You put your crystalline globe into your empty jar.
>shake jar
You give your jar a hard shake, causing a corked crystalline globe filled with glowing mineral water to fall into your right hand.
That was the last globe in the jar.
>stow globe
You put a corked crystalline globe filled with glowing mineral water in your black leather pack.
>;eq echo GameObj['pack'].contents.first.name

[exec2: corked crystalline globe filled with glowing mineral water]


Weird stuff. Updated the equivalent array to use both names. Might work.

yeah, was going to try the same. Will test tonight/tomorrow.

wandererjs
08-25-2011, 10:12 PM
Alchemy recognizes it correctly. Assuming Simu didn't also taint the object to where it won't work in the recipe will be another test. Will test at my next rank, which should be where it stops giving reps.

Even odder with the jar/unjar issue is that the name is correct when you hold it, just not when it's in our container, which is when ;alchemy checks it.

You feel more refreshed.
>;e echo GameObj['backpack'].contents.first.inspect()
--- Lich: exec1 active.
[exec1: #<GameObj:0x13565a50 @id="62878181", @after_name=nil, @before_name="a", @noun="globe", @name="corked crystalline globe filled with glowing mineral water">]
--- Lich: exec1 has exited.
>get globe
You remove a corked crystalline globe filled with glowing mineral water from in your spidersilk backpack.
>;e echo GameObj.right_hand.name
--- Lich: exec1 active.
[exec1: crystalline globe]
--- Lich: exec1 has exited.
>put globe in back
You put a corked crystalline globe filled with glowing mineral water in your spidersilk backpack.
>;alchemy check minor stamina regeneration crystal
>
--- Lich: alchemy active.
>

dull brown crystal disk
have:
crystalline globe
vial of viscous liquid
polished red coral (3)
ironfern root (3)
t'ayanad crystal
buy:
vial of viscous liquid (2)

cost: 3515, time: 0:06:48

Tillmen
08-25-2011, 11:44 PM
Objects in your hand almost always have a shorter name than they do in a container. It's just a coincidence that the broken globe in the hand matches the fresh globe in a container.

krishicall
08-28-2011, 11:32 AM
Getting a new error I havent gotten before: Unknown alchemy shop.
The only thing I can think of that I have done differently is use the alchemy-recipes script.

Tillmen
08-28-2011, 12:27 PM
There's nothing in the alchemy script that would cause it to say Unknown alchemy shop.

Kithus
08-29-2011, 08:52 PM
Any chance you could add a check to not turn in List tasks for the auto mode? I've been using the auto to blow through sweeping and alembic tasks but I'd like to do the list tasks if possible. Overall awesome script and it's making alchemy bearable.

krishicall
08-30-2011, 09:56 PM
There's nothing in the alchemy script that would cause it to say Unknown alchemy shop.


Well, that's interesting, because it definitely said that where it gives you the recipe and ingredient list. Its not really a problem, I just restarted the script and it went away. But I wonder if the script has become so complicated that it is now writing itself.

Tillmen
08-31-2011, 12:02 AM
Well, that's interesting, because it definitely said that where it gives you the recipe and ingredient list. Its not really a problem, I just restarted the script and it went away. But I wonder if the script has become so complicated that it is now writing itself.

Ah.. well if it was in the recipe summary, it probably said "missing: (profession) alchemy shop". If so, and since it didn't say it after restarting the script, you may have started the script in an unmapped room, like the room where the alchemy masters are teaching you. It would give you a warning that it can't find your guild when the script started. Then, when it needed to know where the alchemy shop was, it wouldn't have been able to find a path to it from the non-existent guild.

Tillmen
08-31-2011, 12:09 AM
Any chance you could add a check to not turn in List tasks for the auto mode? I've been using the auto to blow through sweeping and alembic tasks but I'd like to do the list tasks if possible. Overall awesome script and it's making alchemy bearable.

I'm not sure if I want to do this or not. It's just a bad idea to do the list task.

You can edit the script yourself by searching for the word "trade". It only shows up in the script once. Replace that whole line with "exit" or something, and the script will end instead of trading the task.

krishicall
09-10-2011, 07:52 PM
My herbsack is too small to hold all the herbs needed when foraging. Ive just been changing the herbsack to a larger container before running the script, the only downside is that it messes up useherbs. Would it be easy to change the forage container to the stowsack or foragesack instead of the herbsack?

krishicall
09-10-2011, 08:25 PM
I think i got it, just changed the four "herb_sack.call.id" to a different container under the forage method.

godefroy
09-17-2011, 11:07 AM
Ah.. well if it was in the recipe summary, it probably said "missing: (profession) alchemy shop". If so, and since it didn't say it after restarting the script, you may have started the script in an unmapped room, like the room where the alchemy masters are teaching you. It would give you a warning that it can't find your guild when the script started. Then, when it needed to know where the alchemy shop was, it wouldn't have been able to find a path to it from the non-existent guild.

I also get the "unknown alchemy shop" issue. It seems to be getting confused, despite the Solhaven guild being fully mapped and such. I played around with auto mode for symptom elaboration, and it seems to want to take me to the WL Wizard's Guild - I'm guessing that is the default guild when it gets confused.

This is odd, because it was working a few days ago. Mine, alas, does not fix itself when restarted.

wandererjs
09-17-2011, 12:29 PM
I have seen this behavior, but only when I edit alchemy-recipes and restart just alchemy-recipes. The filter for figuring out that I can only do empath recipes breaks, and apparently some wizard recipes are cheaper.

Logging out and back in works around it.

godefroy
09-17-2011, 06:34 PM
Ah hah. That seems to have done it. Odd, but thanks.

wandererjs
10-09-2011, 01:28 PM
Tillmen,

Alchemy stopped working this morning.. but I think the trigger was a change in lich, as I don't see any recent updates to alchemy.

On anything that estimates time:

>;alchemy make warm golden crystal x5
--- Lich: alchemy active.
--- Exception: undefined method `to_f' for StringProc.new("Char.prof == 'Empath' ? 0.2 : nil"):StringProc
C:/Users/xxx/yyy/lich-4.2.7/lich/lich.rbw:5025:in `estimate_time'
--- Lich: alchemy has exited.
>;alchemy task trinkets
--- Lich: alchemy active.
>
--- Exception: undefined method `to_f' for StringProc.new("Char.prof == 'Empath' ? 0.2 : nil"):StringProc
C:/Users/xxx/yyy/lich-4.2.7/lich/lich.rbw:5025:in `estimate_time'
--- Lich: alchemy has exited.

Tillmen
10-10-2011, 11:50 AM
Lich 4.3.3 should fix this.

mighty1u2
01-25-2012, 08:53 AM
I found a sweeping issue when somone else is already sweeping:


[Annex, Curse Workshop]
In sharp contrast to the entry chamber, this cubicle is both uniform in dimension and serene in atmosphere. Sand-colored walls stretch upward to a glass-paned vaulted ceiling that funnels moonlight directly onto the wrought iron workbench below. Aside from a few assorted pieces of alchemical equipment, the room's only distinguishing feature is a vividly painted mural depicting a grisly scene in larger-than-life proportions. You also see a small pile of dust, a small pile of dust and a small pile of dust.
Also here: High Lord Oxxon
Obvious exits: east
>
[go2: travel time: 0:00:00]
--- Lich: go2 has exited.
Someone else is already sweeping that pile of dust!
>
Oxxon carefully sweeps a small pile of dust into his dust pan.
>
Oxxon carefully sweeps a small pile of dust into a neater pile.
>
Oxxon carefully sweeps a small pile of dust into a neater pile.
>
Oxxon carefully sweeps a small pile of dust into a neater pile.
>
Oxxon carefully sweeps a small pile of dust into his dust pan.
>
Oxxon carefully sweeps a small pile of dust into a neater pile.
>
Oxxon carefully sweeps a small pile of dust into a neater pile.
>
Oxxon carefully sweeps a small pile of dust into his dust pan.
>
High Lord Oxxon just went east.
>
YOU HAVE BEEN IDLE TOO LONG. PLEASE RESPOND.
>

--- Lich: sorter has exited.


--- Lich: uberbar has exited.
--- Lich: uberspells has exited.
--- Lich: alchemy has exited.
--- Lich: lnet has exited.
--- Lich: infomon has exited.

*
* Connection to the game has been lost. You will need to login again to continue playing.

Tillmen
01-31-2012, 12:55 PM
Should be fixed now. Update alchemy.lic.

loxe
02-03-2012, 03:55 PM
had an issue today in RR. was at the training administrator and type alchemy auto ...got this...

-- Lich: go2 active.
[go2: you're already here...]
--- Lich: go2 has exited.
--- Lich: go2 active.
[go2: ETA: 0:00:00 (1 rooms to move through)]
[go2]>out
[Wizard Guild, Library]
The curving, erratic path of the guild's stone walls has been allowed to continue, the only compromise to practicality being a series of rectangular niches lined with shelves. Hundreds of scrolls and volumes compete for the available space, sheltered safely beneath the unfinished round of the ceiling. Benches and desks are scattered in a semi-circle, each equipped with an oddly shaped bit of quartz that sheds a gentle glow. You also see Master Elementalist Badrah, a broad archway, Master Elementalist Khine, Master Elementalist Kaeleigh, Master Elementalist Thalia, Master Elementalist Jerrem, Guild Master Acirem and Master Elementalist Daryn.
Obvious exits: east, west
>
[go2: travel time: 0:00:00]
--- Lich: go2 has exited.
You ask Daryn about something.

Daryn shaked his head and asks, "Huh?"

Perhaps you could ASK him ABOUT TRAINING instead?
>

then it would go back to the administrator and do it agin over and over...

i stopped the script and manually asked one of the trainers about training and go this

>ask bad about training
Badrah says, "I remember you, you were training in Alchemic Trinkets..."

You ask Badrah about training in Alchemic Trinkets.

Badrah says, "It seems you aren't assigned a task to train with one of us, Kyard. See the Training Administrator if you need a task."


went back to the administrator and ask manually about training and got...


>
Eirea nods to you and says, "Need help with training? Just ASK if you do."
>ask eir about training
Eirea says, "I remember you, you were training in Alchemic Trinkets..."

You ask Eirea for an assignment in Alchemic Trinkets.

Eirea says, "You need to finish the task I gave you before you can continue. If you'd rather not do this task, ask me about TRADING it. Be warned, however, that trading in your task will require you to do additional training to earn your rank, and I won't guarantee that you'll be given a different task."
....

dont know what i did wrong
john

loxe
02-03-2012, 04:42 PM
when im doing work in icemule and i need to go out and forage herbs it doesnt make sure i have any silvers on me befor i head out of town...then when im done foraging i get an Oh Crap message and it hangs

SPFairy
02-13-2012, 05:52 PM
tincture of acantha (5)
have:
some acantha leaf (5)
buy:
flask of clear water (5)

cost: 500, time: 0:03:51

[alchemy: starting in 3 seconds...]
[alchemy: error: you are too poor for alchemy]
[alchemy: error: failed to buy: empath alchemy shop]
--- Lich: alchemy has exited.
>;go2 empath alchemy shop
--- Lich: go2 active.
[go2: you're already here...]
--- Lich: go2 has exited.

>wealth
You have no silver coins with you.
You are carrying Torren promissory notes valued at a total of 3160 silver.

I get this every time in Plat. Anyone know how I can fix it, please?

subzero
02-13-2012, 09:20 PM
Is the note in your alchemysack?

SPFairy
02-14-2012, 11:31 AM
I've tried the note in my alchemysack, in my cloak, in my hand, even with plenty of silvers on me. The script works flawlessly in Prime in other profession guilds. I have no way of testing this particular (RR) empath guild in Prime, but I'm assuming that it works, or someone would have found an issue long before now.

I just got a grind task, and it worked just fine until the item was fully ground.


The blue thunderstone looks like it is already ground as much as possible.
>
To whom?
>
You toss aside your stone mortar, having no more use for it. Just as it leaves your hand, the mortar vanishes without a trace.

You also see a thin red-haired gnome.

Kavey
03-04-2012, 02:24 PM
Alchemy dont work for me.. i havent used it in several months. Last time I used it ;alchemy auto worked.. now it waits a minute.. says alchemy active.. then it never does anything else but slow down/lock up the game

Jonty
03-04-2012, 06:31 PM
[alchemy: error: you are too poor for alchemy]
[alchemy: error: failed to buy: wizard alchemy shop]

standing in Ta'Illistim wizard alchemy shop with a 450k note and it says this
pls fix

note: room is tagged wizard alchemy shop
note : wayto.inspect was done

I get the same error. The script won't buy ingredients even though I have the note/coins with me. Anyone have a fix for this yet?

Jonty
03-05-2012, 04:19 AM
Okay, I tracked down the problem that's causing this:

[alchemy: error: you are too poor for alchemy]
[alchemy: error: failed to buy: sorcerer alchemy shop]
--- Lich: alchemy has exited.

...to the note_name proc.

Basically, the script was failing to obtain the object ID of the promissory note because the proc is returning nil instead of the name of the note for the current location.

This is the proc's code:



note_name_var = nil
note_name = proc {
if note_name_var.nil?
if (room_id = where_is.call("#{Char.prof.downcase} alchemy administrator").first) and (location = Room[room_id].location)
hash = {
'Icemule Trace' => 'Icemule promissory note',
'Kharam-Dzu' => 'Borthuum Mining Company scrip',
"Wehnimer's Landing" => "Wehnimer's promissory note",
"the Coastal Cliffs" => "Wehnimer's promissory note",
"River's Rest" => 'Torren promissory note',
'Zul Logoth' => 'mining chit',
"Ta'Illistim" => 'City-States promissory note',
"Ta'Vaalor" => 'City-States promissory note',
'Solhaven' => 'Vornavis promissory note',
'Mist Harbor' => 'Mist Harbor promissory note',
}
note_name_var = hash[location]
else
note_name_var = false
end
else
note_name_var
end
}

I used "echo Room[room_id].location)" to determine that "the town of Icemule Trace" is the string that needs to be in the hash used to assign note_name_var, instead if simply "Icemule Trace".

I'm sure we'll have to check the other towns for the correct strings, as well. I'll post as I get to them if the script hasn't been updated yet.

Has anyone else had trouble with this? If so, on what server, Prim, Plat, Shattered?

Xzean
03-05-2012, 03:11 PM
Has anyone had a problem getting this to work for an empath? When my husband tries to run the auto function it just brings him to a room in the guild and does nothing forever.

Jonty
03-05-2012, 03:21 PM
Looks like the location string may be different depending on the character you're playing. I used the location verb on two characters and found that the messaging for Icemule was different between the two. Both characters also had different messaging than what is listed in the script for Landing and Solhaven.

Warrior:
You carefully survey your surroundings and guess that your current location is Icemule Trace or somewhere close to it.
You carefully survey your surroundings and guess that your current location is the Coastal Cliffs or somewhere close to it.
You carefully survey your surroundings and guess that your current location is the town of Wehnimer's Landing or somewhere close to it.
You carefully survey your surroundings and guess that your current location is the free port of Solhaven or somewhere close to it.


Sorcerer:
You carefully survey your surroundings and guess that your current location is the town of Icemule Trace or somewhere close to it.
You carefully survey your surroundings and guess that your current location is the Coastal Cliffs or somewhere close to it.
You carefully survey your surroundings and guess that your current location is the town of Wehnimer's Landing or somewhere close to it.
You carefully survey your surroundings and guess that your current location is the free port of Solhaven or somewhere close to it.

I added the different strings I found to hash to make it work:

hash = {
'the town of Icemule Trace' => 'Icemule promissory note',
'Icemule Trace' => 'Icemule promissory note',
'Kharam-Dzu' => 'Borthuum Mining Company scrip',
"the town of Wehnimer's Landing" => "Wehnimer's promissory note",
"Wehnimer's Landing" => "Wehnimer's promissory note",
"the Coastal Cliffs" => "Wehnimer's promissory note",
"River's Rest" => 'Torren promissory note',
'Zul Logoth' => 'mining chit',
"Ta'Illistim" => 'City-States promissory note',
"Ta'Vaalor" => 'City-States promissory note',
'the free port of Solhaven' => 'Vornavis promissory note',
'Solhaven' => 'Vornavis promissory note',
'Mist Harbor' => 'Mist Harbor promissory note',
}

Jonty
03-05-2012, 03:28 PM
Has anyone had a problem getting this to work for an empath? When my husband tries to run the auto function it just brings him to a room in the guild and does nothing forever.

I don't have my empath active, but I'm sure something is making the code fall into a loop. You can track the problem down by adding echos in the code to tell you where the script is looping. Just make sure that all your settings are correct and that you have the proper alchemy items first.

EDIT: Also, put a '#' at the begining of the line anywhere you see 'silence_me' so that you can see the commands that the script is sending to the game.

Tillmen
03-08-2012, 09:12 PM
Updated the script with Jonty's fix.

As for the script not doing anything, try ";alchemy suggest" and see if it gives any clues.

Jonty
03-08-2012, 11:13 PM
Thanks. This script has been a great help.

Maybe put something like "echo '*** Cannot determine your location. ***' if note_name_var.nil?" after "note_name_var = hash[location]"note_name_var = hash[location]" to make it easier for anyone else who runs into this problem in the future.

Nilandia
03-09-2012, 12:04 AM
Quick question since I'm using this script for doing tasks in Plat.

As most are probably aware, Plat has droppage upon decay, and a spirit death induces immediate decay. Needless to say, I'm very leery of causing a spirit death while working on making spirit shards in the upper ranks of general alchemy. It seems that the script checks for the needed spirit for the task, but in the interest of being careful, has anyone had a problem with spirit deaths while using the script?

Thanks!

Gretchen

Gweneivia
03-09-2012, 02:05 AM
I was nervous about it too and kept a pretty close eye on it whenever I was doing channeling tasks (especially at the cauldrons, such a pain in the ass) but it would always wait when I was down to one or two spirit and I never had a problem with it.

Nilandia
03-15-2012, 02:49 AM
A few things of note on this script.

First, thank you! It's been incredibly helpful, even though I tend to gather stuff on my own and mostly use it only to crank out the reps.

I've got a new master-taught recipe and an adjustment on the rank of another. Temporary dingy hair dye was learned at rank 26 of general: add hair dye base, add wight skin from arch wights, add faintly glimmering dust, add 2 doses charcoal, boil and seal. I was also taught the minor health-well potion at rank 10 of empath potions, though it's listed as 11 in the script.

Don't know if it's been added in Prime, but room 16401 on FWI and room 1270 in Solhaven can be used to collect salt water. It doesn't show in the room tags in Plat, but I believe the instances have separate databases.

Is there some way to use recipes that have alternatives? I'm working with disease resistance potions that can be made either with a single black forest viper fang, or two tree viper fangs. I'd vastly prefer using one black forest viper fang, but the script refuses to acknowledge that a recipe exists that uses it.

Gretchen

Nilandia
03-19-2012, 07:57 PM
Another suggested tweak to the alchemy-recipes. Both recipe alternatives for the softly glowing crystal need three sunburst blossoms. Right now the script calls for two. It's fixed easily enough by going in and editing the script by hand, of course. Might be easier to update it on the repo, though.

Gretchen

Tillmen
03-26-2012, 12:58 PM
Added a sunburst blossom to one of the softly glowing crystal recipes.

Added temporary dingy hair dye, though I'm not too sure about the charcoal. I went with "a few lumps of charcoal" because the recipe just said charcoal, but every other recipe uses "some powdered charcoal".

Changed the minor health-well start rank to 10.

Added the alternative recipe for pale sea-green potion. I'm guessing the skin name for a black forest viper is "a viper fang".

Nilandia
03-26-2012, 01:28 PM
Added the alternative recipe for pale sea-green potion. I'm guessing the skin name for a black forest viper is "a viper fang".
It is. I updated the recipe a few days back to use 'a viper fang' and it worked just fine.

Thanks for the updates!

Gretchen

Nilandia
03-27-2012, 12:05 AM
Couple more updates for alchemy-recipes.

I was just master-taught the deep green volatile elixir (vertigo relief potion) at rank 34 of empath potions.

The lesser necromantic regeneration potion appears mislabeled as an empath potion, where it seems it should be a sorcerer potion.

Thanks!

Gretchen

Kronius
03-27-2012, 10:43 AM
Any ideas for failure to startup on my work machine?

--- Lich: alchemy active.
--- SyntaxError: compile error
alchemy:1701: syntax error, unexpected $end, expecting kEND
alchemy:1701:in `start_script'
--- Lich: cannot execute alchemy, aborting.
--- Lich: alchemy has exited.

Philiater
03-27-2012, 04:27 PM
i just downloaded new version. no compile errors.

I'm not sure what that would be if you have the latest version.

Philiater
03-28-2012, 06:36 PM
Is this a known issue? I was having incredible lag when trying to test alchemy anytime it entered a room that needed a location check. all of a sudden I'd see this and the game would lag for like 8-10 seconds. i killed scripts one by one and ran go2 10 times into and out of rooms and I think rnum.lic is the problem, but I can't tell because this is the messaging:

[(script unknown)]>location


thats when the lag starts.

Aylien
03-28-2012, 06:58 PM
I did disable rnum a long time back because of this issue. I ended up moving over to uberbar.

Tillmen
04-03-2012, 04:23 PM
Is this a known issue? I was having incredible lag when trying to test alchemy anytime it entered a room that needed a location check. all of a sudden I'd see this and the game would lag for like 8-10 seconds. i killed scripts one by one and ran go2 10 times into and out of rooms and I think rnum.lic is the problem, but I can't tell because this is the messaging:

[(script unknown)]>location


thats when the lag starts.

That's the result of rnum using Room.current in a room that's marked as a duplicate but can be made unique with the location verb. I'm guessing rnum uses a DownstreamHook to display room numbers. The problem with that is the DownstreamHook is called for each game line that comes in, and no more game lines will come in until it finishes. Also, it's calling Room.current which is waiting for a game line. It's blocking game lines and waiting for game lines at the same time. Not much to do to fix it except rewrite rnum.

Nilandia
04-08-2012, 08:45 PM
Couple more things to note for the alchemy-recipes script.

The milky blue oil recipe using blue moonstones is incorrectly only requiring 1 moonstone. The correct recipe uses 2 moonstones.

The full stamina potion is missing from the script. I was just taught it by the masters at rank 60 in empath potions. I suspect it will work until mastery.

The recipe given is as follows: add water, add powdered sylvarraend ruby, add troll blood, simmer, add 4 doses of mashed golden buttercup, chant the Adrenal Surge spell, add essence of vitality, add essence of body, boil and refract sunlight through a ruby lens.

Gretchen

Tillmen
04-09-2012, 03:16 AM
Updated.

Philiater
04-10-2012, 04:38 PM
there any easy way to make alchemy use an empty jar to put stuff in when the first jar is full? I know the ingredient number is set at 20 so you'd never need more than one jar per ingredient, but what if I wanted to store up to 60 of each?

reason I ask is sometimes you can go through 20 doses in one guild task; I'd like to have more stockpiled if I could but I don't see an easy way to make it work.

Philiater
04-10-2012, 04:39 PM
oh just wanted to add I could just change the number to 60 but then it'll just put ingredients loosely in the alchemysack, which can make it fill up really fast.

stormtov
04-20-2012, 12:21 PM
I think the recipe for bloodwood twig runs out at 15ranks rather then 16 that the alchemy script thinks:

You sense that the ritual is complete and lower your hands. The flame beneath the cauldron quietly goes out. You note that the solution in the cauldron has condensed completely, forming a small trinket.

You reach into the cauldron and take out a polished bloodwood wand.

Nivana shakes her head and says, "You'll need to try something harder than that to impress me."

You have 16 ranks in the Alchemic Trinkets skill.
You need 56 training points to earn your next rank.
The Training Administrator told you to visit a skilled master for a lesson.
You have 6 repetitions remaining to complete this task.

Not a big thing but thought i would point it out.

Jadista
05-27-2012, 06:16 AM
At 60 ranks in Trinkets, the script has stopped working for trinkets recipes - it's just giving the error message "Exception: wrong number of arguments (1 for 0) alchemy:526:in `getlocal'
--- Lich: alchemy has exited."

zelts
06-01-2012, 03:49 PM
When using the Wizard Guild in the Landing, the script always takes me to the Northern Caravansary to buy alchemical components. It's always empty. How can I change it to go to the Landing Alchemist Shop instead?

I looked through the script and don't see any room tags, IDs, nothing. I can't figure out where it's calling "place" from; I'm assuming from GO2 tags. Do I need to go into the GO2 database and remove the Alchemist tag for the Caravansary, and do that every time GO2 is updated?

Now that I think of it, even if I run the script from in the Landing itself and run a buy command, it still goes to the Caravansary, so it must not just be the Alchemist tag. Any solutions?

zelts
06-01-2012, 04:26 PM
On another issue, when I try to ";alchemy make lesser health potion x1", it exits with "missing troll tooth and cluster of s'ayanad crystals." This is strange because it should just go buy the teeth (always in stock) and it can make the s'ayanad because I have the components. So then I try to ;alchemy make the cluster, and it exits with "missing faintly radiant dust." This is also odd because I have t'ayanad crystals and it can extract it from there. So then I tell it to ;alchemy make the faintly radiant dust, and it does it. What's the deal here? Why does it just stop at missing and forcing me to tell it to make each component one by one?
Thanks much. And I donate every month, Tillmen! ;-)

Allereli
06-01-2012, 05:33 PM
hmm, quite a few people working on alchemy. PM me if you want to outsource your mass foraging/skinning/extracting/grinding.

Allereli
06-02-2012, 01:18 PM
100 centaur hides delivered this morning, took about an hour

zelts
06-03-2012, 09:54 AM
Came up with a fix on one of the recipes. The alchemy-recipes.lic needs to be modified to replace the one instance of "some bright chrysoberyl powder" with "some chrysoberyl powder". Without that, it won't buy it, since only the gem is bright, not its powder.

zelts
06-06-2012, 05:41 AM
Minor Mana Potion reps end at 22 rather than 23.

r = {
:product => 'minor mana potion',
:steps => [ 'light', 'add flask of clear water', 'add ayanad crystal', 'add ayanad crystal', 'simmer', 'seal' ],
:type => 'alchemy',
:rank => [ 10, 22 ],

Regallis
07-31-2012, 03:35 PM
I am having a problem with the script locking up. I have used ;alchemy task alchemy, ;alchemy auto alchemy, ;alchemy suggest. It looks in all three containers, then pulls out sovyn clove to check amount (I have tried this bundled and not bundled), at that point to just stops. It has been slow since I started alchemy again the other day.

capped wizard in the landing.

;settings list

needed_reagents: ^flask of clear water$|^sprig of larkspur$|^glistening black eye$|^some powdered green sapphire$|^green sapphire$|^blue trafel mushroom$|^some powdered blue lapis lazuli$|^blue lapis lazuli$|^ayanad crystal$|^vial of viscous liquid$|^essence shard$|^some faintly glowing dust$|^s'ayanad crystal$|^some faintly radiant dust$|^t'ayanad crystal$|^some faintly shimmering dust$|^n'ayanad crystal$|^cluster of t'ayanad crystals$|^cluster of s'ayanad crystals$|^cluster of ayanad crystals$|^flask of pure oil$|^some powdered black jasper$|^black jasper$|^jagged translucent crystal$|^some ground ayana$|^some ground ayana leaf$|^some ground ayana lichen$|^some ground ayana weed$|^some ground ayana berry$|^some ground ayana root$|^ayana leaf$|^ayana lichen$|^ayana weed$|^ayana berry$|^ayana root$|^some essence of water$|^red trafel mushroom$|^some powdered brown sphene$|^brown sphene$|^some powdered blue peridot$|^blue peridot$|^some powdered green peridot$|^green peridot$|^some ground flathead mushroom$|^flathead mushroom$|^crimson dragonstalk$|^iridescent piece of mother-of-pearl$|^myklian scale$|^orange myklian scale$|^red myklian scale$|^yellow myklian scale$|^green myklian scale$|^some powdered rainbow quartz$|^rainbow quartz$|^some ground tkaro$|^tkaro root$|^some faintly glimmering dust$|^some glimmering blue essence dust$|^handful of sea salt$|^some brostheras grass$|^some essence of regeneration$|^troll hide$|^troll beard$|^ice troll scalp$|^pale troll tongue$|^troll scalp$|^chipped troll tusk$|^troll heart$|^some ground wingstem$|^some wingstem root$|^some ground bur-clover$|^some bur-clover root$|^glimmering blue mote of essence$|^some ground sovyn$|^some sovyn clove$|^some ground marallis$|^marallis berry$|^small troll tooth$|^glimmering blue essence shard$|^some powdered sea urchin shell$|^sea urchin shell$|^some powdered crystal crab shell$|^faceted crystal crab shell$|^some essence of earth$|^some glowing violet essence dust$|^some powdered black ambergris$|^perfect myklian belly scale$|^some murdroot essence$|^murdroot$|^vial of hair dye base$|^some mashed golden buttercup$|^golden buttercup$|^some powdered Kezmonian honey beryl$|^Kezmonian honey beryl$|^some cave moss$|^witchwood twig$|^some powdered malachite stone$|^some powdered green malachite stone$|^green malachite stone$|^wight skin$|^few lumps of charcoal$|^stick$|^thick stick$|^stained stick$|^slender stick$|^pointed stick$|^twisted stick$|^long stick$|^slim stick$|^charred stick$|^flexible stick$|^sturdy stick$|^dark stick$|^hefty stick$|^cracked stick$|^thin stick$|^small stick$|^bent stick$|^short stick$|^heavy stick$|^some mashed juicy plum$|^some powdered violet sapphire$|^violet sapphire$|^black dreamstone$|^vial of sand-like liquid$|^some coarse glittering earth$|^some powdered charcoal$|^some powdered pink dreamstone$|^pink dreamstone$|^some mashed blue poppy$|^some powdered blue tourmaline$|^blue tourmaline$|^some powdered white jade$|^white jade$|^some powdered blue starstone$|^blue starstone$|^some powdered azurite$|^azurite$|^some powdered white opal$|^white opal$|^pale blue runed crystal shard$
foragesack: cloak
alchemysack: bag
herbsack: cloak
lootsack: backpack

;alchemy task alchemy
--- Lich: alchemy active.
--- Lich: alchemy-recipes active.
--- Lich: alchemy-recipes has exited.

checks all three containers.

You remove some sovyn clove from in your ash grey cloak.
>
You can't tell exactly, but the sovyn clove seems to have plenty of bites left.
>
You put some sovyn clove in your ash grey cloak.

It might start in a while or it might not, usually takes a while for it to work if it works. So I guess its looking for something.


I don't know where to look, this script is way beyond what I know. Thanks

Jim

jromo81
08-15-2012, 06:39 PM
I'm new to Alchemy and have been using this scrip and its helped me to nearly rank two, but I have a problem and was hoping someone could help me out. When it comes time to practice making solutions with your simmer ability, It will take me to forage tkaro root for about 300 seconds and then it will exit when I fail to find any. I have the "shiny tkaro root" from FWI in my bag but it wont recognize it and I have to do these simmer reps manually. Is there something I'm doing wrong, maybe a setting? I've made sure the bag is ;set change herbsack <container> Everything else seems to work as intended except when it comes up to these particular reps

Tillmen
08-15-2012, 06:48 PM
Is it "a shiny tkaro root" or "some shiny tkaro root"?

jromo81
08-15-2012, 06:54 PM
It is "a shiny tkaro root"

Tillmen
08-15-2012, 07:01 PM
Ok, I updated alchemy. It might fix it.

jromo81
08-15-2012, 07:10 PM
Thank you so much Tillmen that did it!!

godefroy
08-17-2012, 12:53 PM
Having a problem here where the script hangs between reps when I'm making multiples, and won't terminate when making singles. The workaround is to manually put my cauldron back in my alchemy sack, but this is a new problem for me. Thoughts?

critter
08-31-2012, 02:12 PM
Gotta say, I'm loving it. I am running into one problem, though. I have 37 ranks of general alchemy, but ;alchemy suggest is still picking up a minor mana-well potion as something I can get reps for, even though it says it only works for ranks 16-36.

nocturnix
09-05-2012, 07:22 AM
Its working like a charm (just started from alchemy level 1 so have not ran into any problems yet). Donated.

UPDATE:

The script decided to run me to icemule, i think it thinks my bank is there? I am practicing alchemy in the sorcerer's guild near the landing....Here is what happened before the script took off to IMT:

[go2: travel time: 0:00:00]
--- Lich: go2 has exited.
You take the dirty gem lens assembly aside and work your polishing cloth over it, scrubbing away the built up dirt and grime.
The assembly looks much cleaner.


[You have 2 repetitions remaining.]


Roundtime: 18 secs.
R>
--- Lich: go2 active.
>
[go2: You are too poor to make this trip.]
[go2: To give go2 permission to take your monies, type ;go2 getsilvers=on]
[go2: Continuing anyway in 5 seconds...]
[go2: ETA: 0:00:37 (188 rooms to move through)]
[go2]>south
[go2]>go trapdoor

Tillmen
09-05-2012, 10:51 PM
It's sending you to Icemule to finish your cleaning task. You can make it not do that by lowering the max travel time setting, but then you'll have to wait to finish your task if you clean all the workshops and still have reps left. Also, any ingredients that might only be availible at the Icemule guild and anything you can skin or forage for in Icemule will be off limits too.

nocturnix
09-10-2012, 09:16 AM
Suggestion: Ability to set a node room. When you run out of mana, runs you to the node room. Lets you regen mana until full, then run back and continue alchemy.

Right now I am running out of mana fairly quickly on my wizard as he does not have alot of mana and then he is standing in a non node room in the guild with low regen.

Philiater
12-01-2012, 01:10 PM
Can anyone explain how the cost is calculated when I check a recipe? my cost-per-second is set to 0. I checked the recipe t'ayanad crystal. I have the n'ayanad crystal already. it said I had to buy viscous liquid, which is dirt cheap, but the check recipe cost quoted 5555 silvers for it.

just confused...

Tillmen
12-01-2012, 01:42 PM
The cost of anything that can be bought from the alchemist backroom is added to the cost of the recipe, even if you already have it. Every other ingredient can be obtained by the script when needed, more or less, with an appropriate cost figured in for obtaining it. The alchemist backroom ingredients are only bought by the script preemptively when ";alchemy set buy-crap" is on and running in auto mode. Without adding in the cost of those ingredients, it might pick very expensive recipes when it didn't need to.

Philiater
12-01-2012, 04:29 PM
ok thanks for the info!

wandererjs
02-14-2013, 04:18 PM
Hi All,

After a bit of an absence, I started alchemy again, and have the following updates to recipes:

1) slender ivory wand works for ranks 29-45 (same as golden wand)


2) The dye recipes for ambergris seem to have changed in the past year: the ground ingredient now shows the lump.


r = { :product => 'some powered lump of grey ambergris', :steps => [ 'grind lump of grey ambergris' ] },

and the two dye bases that use it: [personally tested the limpid; I couldn't make the clear dye base at rank 48]


r = {
:product => 'vial of limpid dye base',
:steps => [ 'light', 'add flask of clear water', 'add some ground murdroot', 'add some ground murdroot', 'add some powdered lump of grey ambergris', 'boil', "add s'ayanad crystal", 'add crystalline globe', 'simmer', 'seal' ],
:type => 'alchemy',
},


r = {
:product => 'vial of clear dye base',
:steps => [ 'light', 'add flask of clear water', 'add some ground murdroot', 'add some ground murdroot', 'add some ground murdroot', 'add some ground murdroot', 'add some powdered lump of grey ambergris', 'boil', "add t'ayanad crystal", "add t'ayanad crystal", 'add vial of farlook vitreous humor', 'infuse', 'seal' ],
:type => 'alchemy',
},

#I assume this changed, but haven't made it.

r = {
:product => 'hazy silver potion',
:steps => [ 'light', 'add flask of clear water', 'add some ground haphip', 'add some ground haphip', 'add some ground haphip', 'add some powdered lump of grey ambergris', 'add some powdered lump of grey ambergris', 'add some powdered lump of grey ambergris', 'add glowing firefly', 'add glowing firefly', 'add glowing firefly', 'add glowing firefly', 'boil', 'add giant glowing toadstool', 'add giant glowing toadstool', 'add giant glowing toadstool', 'add Elanthian snow rose', 'add soft blue griffin feather', 'simmer', 'add some powdered rock crystal', 'add some essence of vitality', 'add some essence of vitality', 'add vial of faintly glowing aelotoi tears', 'seal' ],
:type => 'alchemy',
},

# I assume that black ambergris also changed, but haven't verified it.

3a) Under #extract reagents, troll skins can also be used for essence of regeneration


r = { :product => 'some essence of regeneration', :steps => [ 'extract troll skin' ] },

3b) Related kill


r = { :product => 'troll skin', :steps => [ 'kill cave troll' ], },

4) greater health potion, including sub component of grinding yabathilium


#inserted ~line 246 after greater mana potion
r = {
:product => 'greater health potion',
:nick => 'vibrant red potion',
:steps => [ 'light', 'add flask of clear water', 'add some ground yabathilium', 'add some ground yabathilium', 'add some ground yabathilium', "add t'ayanad crystal", 'boil', 'chant 1101', 'add large troll tooth', 'infuse', 'seal' ],
:type => 'alchemy',
:rank => [ 44, 62 ],
:for => [ 'Empath' ],
},
# ~line 3065 after ground bur-clover

r = { :product => 'some ground yabathilium', :steps => [ 'grind yabathilium fruit' ] },



Thanks,

Kadishmal

Tillmen
02-20-2013, 05:16 PM
Updated.

Tillmen
02-27-2013, 01:47 PM
The getlocal bug might be fixed now. getlocal is something that worked on Ruby 1.9 but apparently hadn't been implemented on Ruby 1.8. I was using it to try to adjust the time zone to match the server time and figure out if there was moonlight or sunlight available for the recipes that needed it. It should be able to get the right server time now, but what time it thinks moonlight and sunlight starts at probably isn't accurate. Let me know if it tries to make a recipe at the wrong time or refuses to make a recipe at the right time, and what the output of the time game verb is when it happens.

Chilango2
03-20-2013, 01:05 PM
Benn using this for a few days now on auto, great overall. One commentary (not quite a complaint, since I know it has bugs and stuff) but the thing seems far too fond of traveling to a guild in a different town to clean things. This can obviously be fixed by changing the setting for max travel distance (which I've done), but just thought I'd point it out. I've had to stop in mid way to Icemule from the Landing guild quite a few times before I set it low enough that it stopped doing that. It would travel to the Icemule guild or something, clean one or two things, then head all the way back.

Whirlin
03-20-2013, 01:27 PM
Benn using this for a few days now on auto, great overall. One commentary (not quite a complaint, since I know it has bugs and stuff) but the thing seems far too fond of traveling to a guild in a different town to clean things. This can obviously be fixed by changing the setting for max travel distance (which I've done), but just thought I'd point it out. I've had to stop in mid way to Icemule from the Landing guild quite a few times before I set it low enough that it stopped doing that. It would travel to the Icemule guild or something, clean one or two things, then head all the way back.
When you only have 1 category of alchemy that you're working on, and you've unloaded your alchemy stuff from your mule to your main to do alchemy for the day, and you get a clean task for 18 crucibles, you'll be psyched about that feature.

I've traveled from Ta'Illistim to Zul Logoth to do cleaning (and clear out the alchemy shop), made it back to Ta'illistim, and still had a 10 minute wait before I could clean their whatevers again to finish a single task.

Chilango2
03-21-2013, 07:05 AM
When you only have 1 category of alchemy that you're working on, and you've unloaded your alchemy stuff from your mule to your main to do alchemy for the day, and you get a clean task for 18 crucibles, you'll be psyched about that feature.

I've traveled from Ta'Illistim to Zul Logoth to do cleaning (and clear out the alchemy shop), made it back to Ta'illistim, and still had a 10 minute wait before I could clean their whatevers again to finish a single task.

Ok, fair. Still maybe warn the user or something? The feature nearly got my character killed since he was wandering from the Landing to Icemule with nothing but a cleaning rag in his hand. :P And yes, I know, I should set a hunting script so it knows what to do. Still, if nothing else it should get out whatever the character uses for defense if it travels over a certain number of rooms?

Or create a setting to limit the time it's willing to spend on any one task? Similar to the foraging time limit, but more broad?

Because, in essence, it could turn the other two in, get new tasks for those ranks and continue to do the new tasks and return to the cleaning task whenever the crucibiles in the guild you're in reset, right? I figure that might be more efficient than time spent traveling....

eulogia
05-22-2013, 03:16 AM
Any idea what is going on here?

***

>;alchemy suggest
--- Lich: alchemy active.
>
[alchemy]>measure #106855548
>
[alchemy]>look in #106855627
>
[alchemy]>look in #106855640
>
[alchemy]>look in #106855623
>


alchemy:
tincture of calamia ranks: 15-28 cost: 500 time: 0:12:35 includes: boil missing: troll hide (2)
tincture of woth ranks: 16-30 cost: 500 time: 0:10:24 includes: boil missing: troll hide (2)
tincture of brostheras ranks: 17-31 cost: 500 time: 0:10:13 includes: boil missing: troll hide (2)
lesser health potion ranks: 22-37 cost: 3690 time: 0:11:15 includes: boil missing: cluster of s'ayanad crystals (3)
temporary honey blonde hair dye ranks: 26-36 cost: 500 time: 0:16:46 includes: boil missing: perfect myklian belly scale (5), Kezmonian honey beryl (5), cluster of s'ayanad crystals (3), some powdered black ambergris (5)
temporary dingy hair dye ranks: 26-36 cost: 1012 time: 0:24:33 includes: boil missing: perfect myklian belly scale (5), wight skin (5), cluster of s'ayanad crystals (3), some powdered black ambergris (5)

potions:
silvery potion ranks: 2-13 cost: 5500 time: 0:12:34 includes: boil, simmer, chant
shimmering pale green potion ranks: 5-16 cost: 9500 time: 0:08:23 includes: simmer, boil, chant missing: glistening black eye (5)

trinkets:
iron wand ranks: 1-15 cost: 6000 time: 0:08:07 includes: simmer, boil, chant
pale glittering dust ranks: 3-14 cost: 5140 time: 0:08:24 includes: simmer, boil, chant

--- Lich: alchemy has exited.
>tap my scalp
You tap a bundle of ice troll scalps in a blue and white alchemy satchel shot with veniom threads.

>gld
You are a member of the Wizard Guild.
You are current with your dues and must check in again sometime in the next 53 days.
You currently have 35 ranks out of a possible 116 for your training.

You have 28 ranks in the General Alchemy skill.
You need 64 training points to earn your next rank.
The Training Administrator told you to visit the cauldron workshop and practice making solutions with your boil ability.
You have 5 repetitions remaining to complete this task.

You have 5 ranks in the Alchemic Potions skill.
You need 31 training points to earn your next rank.
The Training Administrator told you to practice creating tough solutions that involve simmering.
You have 5 repetitions remaining to complete this task.

You have 5 ranks in the Alchemic Trinkets skill.
You need 56 training points to earn your next rank.
The Training Administrator told you to visit a skilled master for a lesson.
You have 5 repetitions remaining to complete this task.

eulogia
05-22-2013, 03:17 AM
Related:

>;alchemy task alchemy
--- Lich: alchemy active.
>
[alchemy]>measure #106855548
>
[alchemy]>look in #106855627
>
[alchemy: warning: failed to find a decent recipe]

Tillmen
05-22-2013, 03:30 AM
I think ice troll scalps were added somewhat recently, so try updating alchemy-recipes.lic. You'll have to start alchemy-recipes after you download it.

eulogia
05-22-2013, 09:11 PM
Still happening.

How do you explain this?

***

;alchemy suggest
--- Lich: alchemy active.

tincture of calamia ranks: 15-28 cost: 500 time: 0:12:35 includes: boil missing: troll hide (2)

>;alchemy make essence of regeneration
--- Lich: alchemy active.
[alchemy]>measure #107450834
>

some essence of regeneration
have:
ice troll scalp

cost: 0, time: 0:00:40

eulogia
05-22-2013, 09:12 PM
And then further, it's giving me "can't find a decent recipe" even though it will make tincture of calamia if I ;alchemy make tincture of calamia.

Whirlin
05-22-2013, 09:21 PM
Do you have a cauldron in your alchemysack?

eulogia
05-22-2013, 09:27 PM
Yep.

eulogia
05-23-2013, 04:08 AM
FWIW, it's behaving better now that I gathered other troll components: hearts, skins. The way it looks at ice troll scalps is weird and inconsistent. It will recognize them for ;alchemy make essence of regeneration, but not other recipes.

Tillmen
05-23-2013, 10:40 AM
It looks like you needed 5 reps but only had 3 ice troll scalps. I think everything is working right.

Sjoldamn
05-28-2013, 08:41 PM
Personally went into the recipes and added:


r = { :product => 'some essence of regeneration', :steps => [ 'extract troll thumb' ] },
r = { :product => 'some essence of regeneration', :steps => [ 'extract troll eyeball' ] },

This is for Tomb Trolls and Tomb Troll Necromancers in RR.

Going through both scripts, trying to figure out why it doesn't always recognize some herbs that have already been ground up. Any thoughts?

Buckwheet
07-15-2013, 03:55 PM
Was there a solution to it not grabbing silvers? I have go2 silvers on flagged and its sticking me outside the gate in Icemule.

Tillmen
07-15-2013, 04:03 PM
;go2 get-return-trip-silvers=on

Buckwheet
07-15-2013, 04:11 PM
I will try that thanks. Also, it looks like loxe asked about running to the caravansary instead of the landing shop to buy stuff. Any suggestions for that one?

I needed n'ayanad crystals and there were none in the caravansary however in the landing shop there were quite a few.

Sherlock
08-25-2013, 01:15 PM
I had that same problem. For some reason depending on the room I'm in at the landing guild it sends me to the caravansary for stuff randomly and refuses to throw stuff away if it can't sell it. It also doesn't try to buy crystals even though I have it set it to buy stuff. There's typically plenty of crystals at the Landing alchemist but I have to manually buy them if I'm in front of my pc.

Snoopy Dogg
09-14-2013, 08:32 AM
tillmen alchemy went kray on me last night..

http://i1134.photobucket.com/albums/m610/Justin_Arnold5/Untitled-1.jpg (http://s1134.photobucket.com/user/Justin_Arnold5/media/Untitled-1.jpg.html)

i haz the log of it too.. in case you wanna see it

Ceyrin
09-14-2013, 08:48 AM
Dat font...

Tillmen
09-14-2013, 02:06 PM
Working as intended...

eulogia
10-03-2013, 05:53 PM
Anyone know what's going on here? Never seen this before:

>;alchemy task alchemy
--- Lich: alchemy active.
>
[alchemy]>look in #29883752
>
[alchemy]>look in #29883773
>
[alchemy]>look in #29883769
>
[alchemy]>look in #29883763
>
[alchemy]>look in #29883753
>
[alchemy]>look in #29883777
>
[alchemy]>look in #29883762
>
--- Exception: wrong number of arguments (1 for 0)
alchemy:533:in `getlocal'
--- Lich: alchemy has exited.

Tillmen
10-03-2013, 08:31 PM
That's an old version of the script.

eulogia
10-11-2013, 11:59 PM
Apologies if this has been addressed already, but ;alchemy seems goofy with the Illistim guild. It sends me there to buy components, but doesn't seem to have the map right. Yet, when I am in the Illistim guild, I can ;go2 anywhere else and it knows the way out just fine.

wandererjs
10-12-2013, 09:02 PM
What profession?

eulogia
10-12-2013, 10:20 PM
Wizard.

eulogia
10-14-2013, 10:35 PM
It looks like some kind of problem with the mapping of the Ta'Illistim Wizard Guild. I don't know who cleans that up, but if someone is interested, here is a link to a map that I think is cleaner than the one currently available via ;narost:

http://www.krakiipedia.org/w/images/1/1e/TIWizardGuild.jpg

masterdtwin
10-15-2013, 08:17 AM
It looks like some kind of problem with the mapping of the Ta'Illistim Wizard Guild. I don't know who cleans that up, but if someone is interested, here is a link to a map that I think is cleaner than the one currently available via ;narost:

http://www.krakiipedia.org/w/images/1/1e/TIWizardGuild.jpg

Give me the specific rooms you are getting stuck on and I'll fix it up. I need to add in the enchanting room puzzle anyways since I'm getting tired of running another script just to get to that room.

Malgaftan
12-06-2013, 05:13 PM
Give me the specific rooms you are getting stuck on and I'll fix it up. I need to add in the enchanting room puzzle anyways since I'm getting tired of running another script just to get to that room.



Abruptly, the column of water surrounding you turns opaque and fleeting coolness washes over you. The water falls with a quiet splash to reveal...
[Wizard Guild, Conveyance - 15564]
The soft music of running water fills the still air, and the smooth crystalline walls of the chamber ripple with the movement of the flowing rivulets trapped behind them. Faint runic traceries glint on the surface of the transparent walls and run their entire length and breadth. Stretching across the floor are sinuous silver lines that whorl and spiral about each other in fanciful runes and geometric shapes, ultimately forming a vast circle.
Obvious exits: east
>
[Wizard Guild, Hallway - 15599]
Dimly glowing orbs hang from the ceiling, illuminating the hallway with soft golden light. Braids of silver and gold trim bound the oak paneled walls and send glimmering runic traceries across the stone floor. Carved crystalline archways stand in the east and west walls, and beyond them the soft sound of trickling water can be heard.
Obvious exits: north, east, west
>
[go2]>north
>
[ Elemental Barrier: +3:30:00, 3:29:59 remaining. ]
[Wizard Guild, Branch - 15618]
Three passages meet in this branching hallway. To the northeast stands a slender archway of pink-flecked granite that flickers occasionally with a hazy reddish aura. A white marble arch is set into the northwest wall, ornately carved and shot through with meandering veins of gold. The corridor continues to the south, framed by polished oak paneled walls. You also see a columnar web of golden light spearing up through the center of the floor.
Obvious exits: south
>
[go2]>go arch
[Wizard Guild, Library - 692]
The long rows of bookshelves that line the adjacent halls meet here at the corner of the library. Faint beams of colored light stream in through a series of arched stained glass windows set high in the walls. At the juncture of the bookcases, a great marble arch leads out of the library, while a pair of gilded columns marks an entrance to the central atrium to the northwest.
Obvious exits: north, west, northwest
>
[go2]>down
You can't go there.
>
[go2: move: failed]
[go2: restarting script...]
[go2: ETA: 0:00:00 (4 rooms to move through)]
[go2]>go arch
[Wizard Guild, Branch - 15618]
Three passages meet in this branching hallway. To the northeast stands a slender archway of pink-flecked granite that flickers occasionally with a hazy reddish aura. A white marble arch is set into the northwest wall, ornately carved and shot through with meandering veins of gold. The corridor continues to the south, framed by polished oak paneled walls. You also see a columnar web of golden light spearing up through the center of the floor.
Obvious exits: south
>

Gibreficul
01-02-2014, 03:02 PM
Found a bug.

Line 1215, when it comes to grinding...

grind_result = dothis "grind #{ingredient.noun} from my mortar", /^Roundtime. [0-9]+ sec\.$|appears to be as ground as its going to get|^Grind what|^With what do you intend to grind/

missing apostrophe, should be this.

grind_result = dothis "grind #{ingredient.noun} from my mortar", /^Roundtime. [0-9]+ sec\.$|appears to be as ground as it's going to get|^Grind what|^With what do you intend to grind/


Same missing apostrophe on line 1224 and 2032


.... and... I updated the script and see you fixed it... thanks Tillmen.... Maybe I should've updated FIRST.

Gibreficul
01-07-2014, 09:04 PM
So my sorcerer has been doing recipes that require viper fangs, found off of tree vipers , Vipershroud. Alchemy works pretty well, except the tree vipers show up as both tree vipers and hanging tree vipers. ;alchemy doesn't stop for "hanging tree vipers." Is there anything I can do (or you can do Tillmen) to update that?

Here's what I did. Untested so far, but I'm curious if it'll cause errors or not:


r = { :product => 'tree viper fang', :steps => [ 'kill tree viper' ], },
r = { :product => 'tree viper fang', :steps => [ 'kill hanging tree viper'], },

(I added the 2nd line)

I'm wondering if maybe...
r = { :product => 'tree viper fang', :steps => [ "kill (hanging)? tree viper"], },

would work better?

bp0731
01-12-2014, 04:52 PM
Im using this in RR in wizard guild and when I do grind tasks I have to manually type to give the mortar to the apprentice.. it ends grinding and I get a to whom? I'm clueless on code but is this because it wants to give to clerk instead of apprentice?

Thanks
Creiger

Tillmen
01-12-2014, 05:03 PM
Probably. Download it again and see if it's fixed.

bp0731
01-12-2014, 05:31 PM
That did it!

Thank you
Creiger

bp0731
01-12-2014, 06:11 PM
Still here running in RR in wizard guild and it seems the script is having issues when you need a rank/train with masters. For the rank the guildmaster is Acirem. Khine, Daryn, Thalia, Badrath, Kaeleigh and Jerrem are the training masters.

Gibreficul
01-15-2014, 09:48 PM
I've already patched this into ;alchemy just before the preforage/postforage/prehunt/posthunt scripts run. Before I tinker any more, I figured I'd ask the man behind the curtain (That means you Tillmen) how hard an ;alchemy settings would be to implement that turns on and off $go2_use_portals for the buying part so I can save some time running between towns for unique items in specific alchemy shops. (Like powdered bluerock in Zul Logoth.) I don't want to have that toggle on all the time because then things get crazy moving between towns when I don't intend to. Just a thought. If you give the thumbs down, I'll dig into ;alchemy and hard code it myself. Loving it so far...

Tillmen
01-16-2014, 12:46 AM
Portals and alchemy sounds pretty awesome.... you know... except for the alchemy part. Anyway, I'm not sure when you want portals to be off. It would probably be best to turn portals on before starting alchemy and turn them off when it's done (or have the script do it). Otherwise, the script isn't going to know how long it really takes you to get anywhere. The script does the Dijkstra algorithm (finds out how long it takes to get from one room to every other room) when it starts and then reuses the results over and over; possibly hundreds of times for just one task. So, if you plan to leave portals off and add --portals=on to each time alchemy uses go2, you'll probably end up sad.

It shouldn't be hard to add a setting to turn portals on and off while alchemy is running. I might do that at some point.

Gibreficul
01-16-2014, 05:53 AM
OK, so I flipped on the $go2_use_portals toggle and then started alchemy... I have a bank note from every possible town (I figured that was a good idea.) Seems that the script took me to Teras to forage for tkaro root, then brought me back to Wehnimers to buy stuff. It's grabbing the Teras note and of course, that's not valid currency in Wehnimers. So... any suggestions?

Gibreficul
01-16-2014, 06:40 AM
I changed my after hunt/forage scripts to move me to room 228... I hope that solves the issue. <crosses fingers>

Gibreficul
01-16-2014, 03:13 PM
I changed my after hunt/forage scripts to move me to room 228... I hope that solves the issue. <crosses fingers>

Yeah, that didn't work...

New solution. Edit go2! Let's try THIS solution...

if running?('alchemy')
return_silvers = needed_silvers * 2
fput "withdraw #{return_silvers - current_silvers}"
else
fput "withdraw #{needed_silvers - current_silvers}"
end
And... let's see if that works.

... and, we're back to the "wrong note" issue. <stare>

Gibreficul
01-16-2014, 05:41 PM
So, here's my next idea:

A) make alchemy check location before buying, instead of before you move to buy... I didn't remove anything, just added

note = all_sack_contents.call.find { |obj| obj.name == note_name.call }
In the two places, it shouldn't mess with me since I have bank notes for all towns on me.

My other trick is... adding 10 seconds to the timetos for room 19660 (The transport hub room) to try to keep you from jumping towns. We'll see how THIS works.

eulogia
04-13-2014, 08:27 PM
Can someone smarter than me explain why this error is happening? In Plat, FWIW. It's night time, I have the right lens, why does it say I am missing "moonlight" as an ingredient?

greater lockrot oil
have:
piece of golden amber (2)
s'ayanad crystal
some radiant crimson essence dust
forage:
stick (2)
buy:
dark glimmering crystal
flask of pure oil
missing:
moonlight

cost: 8495, time: 0:03:20

--- Lich: alchemy has exited.
>time
Today is Restday, day 13 of the month Olaesta in the year 5114. It is 20:26 by the elven time standard. It is currently late evening.
>tap ame lens
>
You tap an amethyst lens in a folded spidersilk alchemy satchel.

ROTOR
12-04-2014, 04:24 AM
Just started alchemy in Ta'Illistim and getting an error message when trying to polish assemblies for room 18153: 'What were you referring to?'.

Tillmen
12-04-2014, 01:59 PM
It looks like that room was tagged as an alchemy workshop in the map database, and it's not an alchemy workshop. I removed the tag and updated the map database.

ROTOR
01-05-2015, 04:51 PM
Loving this script at the moment.

Ran into a small problem though...how do i remove/delete a before-foraging-script? I tried adding iSigns to buff up the defenses while out foraging but alchemy doesn't seem to want to get on with foraging until the before-foraging-script actually exits so running isigns won't work. However, I can't seem to find a way to delete the script. I can change it to another useless script, but I'd rather just have nothing if possible.

Any suggestions?

Thanks.

ROTOR
01-24-2015, 05:02 AM
Hi,
Still trying to plow my way through alchemy. This script is a godsend.

Having a small problem with travel from landing to icemule. For some reason it doesn't get out the 5 silvers for the gate. I have go2 getsilvers=on and if I just manually type in go2 (somewhere in Icemule), it will get out 5 silvers. However, when using ;alchemy it doesn't. In case it makes a difference, I'm using ;alchemy auto alchemy.

Thanks.

loxe
01-24-2015, 06:15 AM
i have this same problem with my wizard

Whirlin
01-27-2015, 01:30 PM
Recipe list:
Grot potion
Starts at rank 13, not 15.

thanks~

Tillmen
01-27-2015, 02:07 PM
Recipe list:
Grot potion
Starts at rank 13, not 15.

thanks~

updated

ROTOR
01-28-2015, 09:31 AM
Is it possible to get arch wights added to the kill list or is there some way to do this myself?

Ran into a recipe requiring arch wight skins but the script wouldn't go hunt for arch wights.

Thanks a million.

Tillmen
01-28-2015, 01:42 PM
If you want it to collect wight skins, then that's already in the script, but it's not getting them because there's no tags for arch wight in the map database. Or at least there wasn't. I just added the tags for the graveyard. If you want them in some other town, it's not too hard to add tags to the map database.

If arch wights regularly drop some other alchemy reagent, let me know what it is and I'll add it to the script.

ROTOR
01-28-2015, 03:34 PM
Great, thanks Tillmen. Now to go and read up on adding tags.

Just for future reference, when adding tags relating to the alchemy script, should the tag refer to the critter or the skin name? Thanks.

Tillmen
04-27-2015, 04:03 PM
Ran into a small problem though...how do i remove/delete a before-foraging-script?

It's been a little while.. but I just added this option. You can now do ";alchemy clear before-forage-script" or something similar for the other helper scripts.

Gnomad
07-14-2016, 08:34 AM
The starting rank for pale sea-green potions is wrong. It's listed as 12, but it's actually 14.

Tillmen
08-07-2016, 06:46 PM
Updated. Thanks.

Shae
01-09-2017, 02:45 PM
Finally realized why ;alchemy task grind (and in auto mode when this task came up) wasn't working. Dug through the code and the script won't accommodate if you have FLAG SORT on because of the specific text its looking for. Turned the sorting flag off and violins!, it worked. Wish I'd realized that 30 ranks earlier.

Prosperanna
02-18-2017, 12:27 PM
Is there anywhere I can find an attack script? I have no idea how to write a script and my alchemy is stuck because it says every recipe I could benefit from needs an attack script.

Ltlprprincess
03-23-2017, 12:28 AM
So, admittedly I haven't done alchemy in a while, but I've run into a couple issues tonight that seem very off and can't pinpoint why it wouldn't be working right.

Issue #1: I have a jar of murdroots that ;alchemy won't recognize I have and will instead try to go forage for them.
Issue #2: There is an extremely painful pause when going from the WL sorc guild garden to the reagent shop to buy flasks of water. It has a 30+ second pause when searching for the trapdoor, then a 30+ pause before going through it.
Issue #3: When it gets to the reagent shop, it gets as far as pulling the note from my case then freezes indefinitely.
Issue #4: Recipe calls for 2 murdroot. I have shaken my jar to remove 1. It thinks I have 2 (still not seeing the jar, though).
Issue #5: Gets as far as getting said murdroot from my alchemysack, but freezes indefinitely when it needs to get my mortar to grind it up.
Issue #6: Missing something it sees I have??? (Crystals are in a jar as well)

>;alchemy make black vial of dye
--- Lich: alchemy active.
>

black vial of dye
have:
flask of clear water -
some ground murdroot (2) -
ayanad crystal 64
some alder bark -

cost: 64 time: 0:01:57

[alchemy: starting in 3 seconds...]
[alchemy: error: missing ayanad crystal]
--- Lich: alchemy has exited.
Issue #7: Hanging up when getting cauldron out.

Update: So on a hunch, I decided to turn ;uberbar off as a fav as it seems to act wonky for me with my loverly capped characters. When I did, ;alchemy worked wonderfully as it's supposed to. That being said... WHY did I have to do that to get it to work?

Lemonkyst
03-23-2017, 06:47 PM
On Teras Isle in Prime.

[alchemy: error: failed to find trash room]
>
[alchemy: error: failed to find a reagent shop]

I went to room 13063 [Thistleberry's Hut, Repository - 13063]
and checked for tags. None.
Your disk arrives, following you dutifully.
>;e echo Room.current.tags
--- Lich: exec1 active.
[exec1: []]
--- Lich: exec1 has exited.


I have no idea how to do this and don't want to mess anything up.
Not sure what room should be tagged for a trash room.

Can someone fix this or walk me through it?

Donquix
03-23-2017, 08:47 PM
Looks like it's just "trash"

You can add the the tag proper like to the room using the steps outlined in the lrn2map thread. If you just want to get it working for you go to whatever room you want to use for tags and do:
Room.current.tags.push('trash')
or from another room
Room[####].tags.push('trash')

You'll have to do that everytime you login.

Lemonkyst
03-23-2017, 08:59 PM
The reagant room is also missing. Not just trash.

Gnomad
03-29-2017, 11:01 AM
The recipe for the 507 potion is wrong; it needs 2 mountain lion skins, not 1.

https://gswiki.play.net/Shimmering_silver_potion

Nephelem
09-17-2017, 02:11 PM
Ignore this, my question was dumb.

HermieTheDentist
10-10-2017, 08:26 AM
Good morning.

Anyone have a clue why ;alchemy launches bigshot it would start and stop bigshot repeatedly in the hunting area?

Thanks

Alastir
04-08-2018, 09:18 AM
Attempted to add the attunement reset recipe, but alchemy fails to find the recipe after adding it.



r = {
:product => 'reflective soulstone',
:steps => [ 'light', 'add vial of viscous liquid', 'add some essence of air', 'add some essence of earth', 'add some essence of fire', 'add some essence of water', 'infuse', 'add gleaming multicolored soulstone', 'chant 925', 'seal' ],
:type => 'trinkets',
:rank => [ 63, 63 ],
:for => [ 'Wizard' ],
},


>;alchemy make reflective soulstone
--- Lich: alchemy active.
[alchemy: no matching recipe]
--- Lich: alchemy has exited.

Tillmen
04-08-2018, 09:23 AM
The recipe list is kept in memory rather than reloading them each time the script starts. Run the alchemy-recipes script to force it to load your changes into memory.

Alastir
04-08-2018, 09:28 AM
http://i0.kym-cdn.com/photos/images/original/000/925/410/4cc.jpg

Thanks!

Ltlprprincess
04-09-2018, 06:32 PM
It's not buying powdered green starstones in the Teras guild. I'm in the guild, I have the money scrip to buy, but it doesn't recognize it for some reason?

Ltlprprincess
04-18-2018, 03:04 PM
Bottling "strands of seaweed" changes it to just "seaweeds" which makes the script not recognize that I do, in fact, have the seaweed. Can we update this, please?

Also, ogre teeth are not being recognized when bundled, only when they are separate as ogre tooth. Can we get it to recognize bundles, please?

yagan
12-26-2018, 06:03 PM
When i run Alchemy it takes about 10 minutes to either tell me what i need or just to start running the script. is there anything i could do to speed this up?

Merzbow
01-01-2019, 08:42 PM
if contents_line =~ /There is nothing on there\./

needs to become

if contents_line =~ /There is nothing on/

Since "there" can be returned from the game as "shelf", hanging the script on a grind-for-the-guild task.

AnOrdim
01-10-2019, 02:07 PM
Sisfu potions recipe may be wrong, I am trying to confirm this. Wiki entries seem to indicate there is a missing 'infuse' and 'boil' steps that need to be added.


:steps => [ 'light', 'add flask of clear water', 'add some ground ayana', 'add some ground ayana', 'add some ground ayana', 'add some essence of water', 'add some essence of water', 'add some essence of water', 'chant 925', 'add some faintly radiant dust', 'add some faintly radiant dust', 'infuse' 'refract moonlight through diamond lens', 'boil', 'seal' ],
Above is the changes I believe should work properly, based on http://www.virilneus.com/recipes/recipeview.php?rid=563

I should just be able to save this change to the alchemy-recipes.lic , run it inside the client, and then try and make the potion correct?

Goldtree
12-05-2019, 04:40 PM
I'm getting a strange response all of a sudden - the script stops on jar, auto, etc after either adding water to a cauldron, pulling a jar out of my alchemy sack, or purchasing a flask of water. Any thoughts?

**Update - figured it out. My alchemy sack was a scripted container, and was causing some sort of error. We can't use scripted?

Deso
01-15-2020, 08:59 PM
I just got the attack script from post 27. I'm also using loot. It seems to be moving rooms before skinning. Any help?

start_script 'loot' unless running? 'loot'
target_list = GameObj.npcs.find_all { |npc| script.vars[1..-1].include?(npc.id) and (npc.status !~ /dead/) }
if target_list.length > 2
cast 709
elsif target = target_list[rand(target_list.length)]
if target.noun == 'kobold'
cast 705, target
elsif target.name == 'forest troll'
cast 705, target
else
cast 702, target
end

start_script 'loot'
wait_while { running?('waitloot') }
end

Tellistto
01-16-2020, 05:22 AM
You didn't mention if you've also got the waitloot.lic script which is what will make it wait for loot to finish.

That may be the problem?

Deso
01-16-2020, 06:33 PM
ahh thanks!

correcting

kutter
06-24-2020, 07:31 AM
For some reason the script is not buying green starstones from the Teras alchemy shop, not sure about the other color, I forget which one that is. I can manually buy them then the script will run perfectly but it will not actually purchase them.

critter
10-25-2020, 05:15 AM
The recipes list is missing the recipe for minor mana regeneration potion.

Sherlock
06-23-2022, 09:57 AM
I'm considering starting the dreaded journey of trying to master alchemy.. I have a few questions..

Does this script still perform well? Are there any gotchas that I should be on the look out? How miserable will I be? Anyone have rough out of pocket cost from start to finish? What towns do you suggest parking for easy access to materials?

Winter
06-23-2022, 10:48 AM
;Alchemy works just as well as it always did, fantastic script.

I mastered 4 or 5 years ago, the total cost was less than 1m silvers total to master potions, trinkets, general Alchemy I can't remember how many trading ranks I had then. Sell your alchemy creations back to the alchemist to recoup the cost of store bought ingredients.

Naijin made the leveling process significantly less tedious. Skinning is probably the most time consuming part now along with foraging. Use guild nights and your login guild boosts to speed up the process.

Wizard trinkets is much less of a faff to master since most of the wand's ingredients are store bought you just need a lot of crystals which all the town alchemy shops will always have a glut of. General alchemy requires a heck of a lot less of essence of fire to master because of Naijin's changes. Wizard potions might be a bit more annoying since the majority of the potions I used to level with are now obsolete due to the enchanting changes.

Overall I think the biggest pain these days is just inventory management due to all the ingredients.

drumpel
06-23-2022, 11:13 AM
I'm considering starting the dreaded journey of trying to master alchemy.. I have a few questions..

Does this script still perform well? Are there any gotchas that I should be on the look out? How miserable will I be? Anyone have rough out of pocket cost from start to finish? What towns do you suggest parking for easy access to materials?

I did all my work out of the Landing guild.

Alchemy does indeed still work well, but it does hang when you move up a rank sometimes. The script will take you to the guild master and you will get promoted to the next rank, but when you go back to the task master it would sometimes hangs for me. Then I would have to kill the script, ask the taskmaster for the next training task and then restart the script.

You may need to setup a hunting script for ;alchemy - that is, if you want the scrip to automatically work on collecting skins from creatures. Or you can certainly go about and hunt/skin creatures yourself or you could even use ;bigshot to do some hunting for you (I don't think I was able to get ;bigshot to work with ;alchemy for the parts it would ask for a hunting script).

Work on gathering up as many fire essences and even water essences, also gather up ayanda crystals (also some s'ayanda and t'ayanda as well - you'll mostly use ayanda, but as you get higher in ranks you may have some that need the s' and t' variety). I was constantly running from town to town and buying up any and all fire essences....I don't think the issue will be as severe with the reduction to points needed to advance through a rank these days, but just be aware you may be doing some ingredient hunting.

I went through general and potions for alchemy about 3 years ago and with all the fire essences and ayanda crystals I had to buy I spent upwards of 2mil.

Getting through alchemy's trinkets I just did. I had banked a ton of guild boosts, so I just stacked up a bunch for the profession option and with how the GMs reduced points needed to rank up, I was doing 2-3 tasks per rank and I went through trinkets in about 12-16 hours total time. What slowed me down was the need to do some hunting for some skin gatherings during the last 10-12 ranks.

I would also suggest having some guild task trading vouchers as well, if you can, so you're not penalized for trading in stupid tasks. I think I started with 100 and I'm now left with 21. You might get by with 50 now that you don't have to do as many tasks to advance through a rank as you did years ago.

Make sure you have your mortar, cauldron and a crystal flask (for doing salt water, I know you can buy one from the alchemist shop in Solhaven... a small crystal flask) in your bag you're using and that you also keep a bank note in the same bag.

Sherlock
06-27-2022, 10:09 AM
Thank you both for all that info. I started giving it a shot but it's definitely hung up on me a few times so far. Seems just like you mentioned when moving up ranks it just hangs on me.

I did pick up a 100 pack of vouchers to not get penalized for trading tasks. Super helpful tip. Hopefully I can finally master it.

I get this error a lot.. any insight on how to fix it?

[alchemy: error: unmatched measure result: nil]

drumpel
06-27-2022, 11:03 AM
Thank you both for all that info. I started giving it a shot but it's definitely hung up on me a few times so far. Seems just like you mentioned when moving up ranks it just hangs on me.

I did pick up a 100 pack of vouchers to not get penalized for trading tasks. Super helpful tip. Hopefully I can finally master it.

I get this error a lot.. any insight on how to fix it?

[alchemy: error: unmatched measure result: nil]

Never came across that error, sorry, I'm not sure what needs to be fixed.

Sherlock
06-27-2022, 11:25 AM
Never came across that error, sorry, I'm not sure what needs to be fixed.

No worries. I appreciate that. It's just not liking any of the herbs I already have it looks like. So it just goes to forage for acantha leaf even though I have 2 50 stacks in the herb container.

Additionally, that level up rank bug where it hangs I've encountered already 3 times. Otherwise, it's pretty good.


I wonder if the alchemy_noalchemy script has some of those bugs fixed. Unfortunately, it was trading a ton of tasks so I wasn't sure if it was working or not. I don't mind getting more trade vouchers to speed this up if it actually works well.

Sherlock
06-27-2022, 01:52 PM
The bug where it hangs after going up a rank is definitely super prominent. After each rank mine has hung up each time. Asking for training and restarting the script kicks it back up.

Lavastene
06-27-2022, 04:12 PM
The bug where it hangs after going up a rank is definitely super prominent. After each rank mine has hung up each time. Asking for training and restarting the script kicks it back up.
This is pretty much why I haven't done more with alchemy on either my cleric or my mage.

Sherlock
06-28-2022, 05:47 AM
This is pretty much why I haven't done more with alchemy on either my cleric or my mage.

I'm working on a potential fix right now. If it works maybe I can clean it up and share.

lesterkj
07-08-2022, 12:47 PM
Attack Script

Would anyone mind posting the script text they use for the "attack-script". I've done some trial and error with not success. I do see another user tried bigshot, which gets you to the room but then does a loop over an over. That user replied with "Fixed now!", so I can't find a solution. Another user did post the text she/he used but I can't make sense of it (nor does it work as it relies on 2 other scripts that I don't even see in the repo. Any input is appreciated. Been screwing around with this for a couple weeks now. (It's likely something silly and I just can't see it...)