|
rpcervi Beginner
Joined: 04 Nov 2004 Posts: 14
|
Posted: Thu Oct 11, 2007 10:52 pm
Help Finding Something |
On these forums, there use to be an Achaea Auto Harvester for concoctionists.
If I remember correctly, it had the the setup so you can type 'har (plant) (#)' and worked or was 'har (#) (plant)' - Since for some reason, the forums search keeps taking me to google thing and it doesn't show it at all, it apparently is missing.
I know it is on these forums because about 1-2 years ago, /I/ used it in fact. Message me if you find it or post here please! |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Fri Oct 12, 2007 2:33 am |
Auto-harvesters aren't too hard to write. I haven't written one in a while, but the basic principle is something like this:
#alias har {#if (%1 and %2) {#var HerbNum %1;#var HerbName %2;#t+ AutoHarvest;harvest %2}}
#trig "AutoHarvest" {You have recovered balance} {#if (@HerbNum>0) {#add HerbNum -1;harvest %2} {#t- AutoHarvest;#say Harvesting complete.}} "" disable
#var HerbNum "" ""
#var HerbName "" ""
You can then add snazzy extras if you feel the need, like a script that'll parse the output of PLANTS and give you the max you're allowed to harvest for each plant. Then you can add a check to the har alias that won't let you set the HerbNum variable too high, if that's what you want. |
|
|
|
charneus Wizard
Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: Fri Oct 12, 2007 5:03 am |
By the way, the old search is still accessible by mousing over the site link at the top. I'm surprised that Fang didn't point that out. Heh.
|
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Fri Oct 12, 2007 5:16 am |
Fixed a problem with it - as it was, it'd harvest one too few herbs.
|
|
|
|
rpcervi Beginner
Joined: 04 Nov 2004 Posts: 14
|
Posted: Sat Oct 13, 2007 1:23 am |
Thanks you guys :) Loads of love :)
As a side note, Fang, I suck at scripting. I got my basics down and side from that .. KABOOM - I suck heh. |
|
|
|
rpcervi Beginner
Joined: 04 Nov 2004 Posts: 14
|
Posted: Sat Oct 13, 2007 1:31 am |
Hmm, I just tried your autoharvest, it keeps giving me back funny problems.
It keeps regaining balance and then, saying what do you wish to harvest? |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Sat Oct 13, 2007 1:32 am |
The way I originally learnt was someone gifting me a load of scripts they'd written. Then I followed the logic through, starting from the triggers and looking up the commands until I thought I knew what was going on. For the really annoying bits I'd post on the forums of the game, PM the person who made them, or post here to get more help on that specific problem.
Hopefully that little script helps you on your way :) |
|
|
|
|
|