Aprocalypse
New member
This isn't meant to be used by anyone else, however, I recall a while back someone was interested in how I script my buffbot, IocaineBot - here's the main script.
Currently, I use three different scripts, (well, four, technically, and a batch file), IocaineBot.ash, IocaineBotPrestat.ash and IocaineBotStatDay.ash.
IocaineBot.ash = average day
IocaineBotPrestat.ash = the day before stat days
IocaineBotStatDay.ash = stat day
I could put them all together in one file with the new ASH functions for determining stat day, but just to make it easier for myself to read, I kept them seperate. The only real difference is that IocaineBotPreStat.ash is IocaineBot.ash, leaving enough adventures to have 200 adventures on a stat day. IocaineBotStatDay.ash consumes higher quality food (too costly to eat daily), but else is the same as IocaineBot.ash.
I'm only uploading and explaining IocaineBot.ash, because I'm a lazy bastard, and this is only really for show, not for actual use.
Changes that'll probably happen includes cuttinng down on the Moxie Buffs used (to increase MP, due to MP being juged from moxie, due to the moxie magnet - could use a equalising potion instead, for other offhand items to be used... costlier though).
The fourth script simply is ran from a batch file (which is ran at 2:30 each day(30 minutes after the end of rollover, incase of long rollover), which logs on the character, and then tests what kind of day it is, then runs that script. Huzzah.
Basically what the IocaineBot.ash script does (brackets show things that would be edited to be of use to others, [square brackets show comments]):
- Check if Drunkeness is under 15 (15 changed to 20 if character has liver not stomach)
- run breakfast routine
- Buys/uses 1 milk of magnesium
- eats 20 fullness worth of food, [4 chow meins], with a munchies pill each.
- Drinks 2xMoxie Superhuman DB drink, drink 2xTPS [will put character overdrunk, will buy items if need be] (Change drink routine, if have liver)
- run adventure routine
- If adventures greater than 10
- adventure 5 adventures at zodiac gym [done to reduce outliers]
- If adventures lower than 10
- adventure 1 adventure at zodiac gym [done to reduce outliers]
- run spleen routine
- Use ten twinkly wads [10 spleen]
- Adventure 10 adventures at zodiac gym
- Use 1 of each elemental wad [5 spleen]
- Use/buy a load of +moxie buffs
- End Drunkeness check
[after here is always run, no matter drunkeness]
- Create infinite loop
- Run buffbot for 15 iterations
- If number of MMJs under 1000 (change to whatever) [Ensure meat on hand!]
- Buy 5000 MMJs [Ensure meat on hand!]
- Restart infinite loop
The advantage of this is, one script can be used for running, powerleveling and restarting the bot in case of a crash.
So, eh, have a look.
Currently, I use three different scripts, (well, four, technically, and a batch file), IocaineBot.ash, IocaineBotPrestat.ash and IocaineBotStatDay.ash.
IocaineBot.ash = average day
IocaineBotPrestat.ash = the day before stat days
IocaineBotStatDay.ash = stat day
I could put them all together in one file with the new ASH functions for determining stat day, but just to make it easier for myself to read, I kept them seperate. The only real difference is that IocaineBotPreStat.ash is IocaineBot.ash, leaving enough adventures to have 200 adventures on a stat day. IocaineBotStatDay.ash consumes higher quality food (too costly to eat daily), but else is the same as IocaineBot.ash.
I'm only uploading and explaining IocaineBot.ash, because I'm a lazy bastard, and this is only really for show, not for actual use.
Changes that'll probably happen includes cuttinng down on the Moxie Buffs used (to increase MP, due to MP being juged from moxie, due to the moxie magnet - could use a equalising potion instead, for other offhand items to be used... costlier though).
The fourth script simply is ran from a batch file (which is ran at 2:30 each day(30 minutes after the end of rollover, incase of long rollover), which logs on the character, and then tests what kind of day it is, then runs that script. Huzzah.
Basically what the IocaineBot.ash script does (brackets show things that would be edited to be of use to others, [square brackets show comments]):
- Check if Drunkeness is under 15 (15 changed to 20 if character has liver not stomach)
- run breakfast routine
- Buys/uses 1 milk of magnesium
- eats 20 fullness worth of food, [4 chow meins], with a munchies pill each.
- Drinks 2xMoxie Superhuman DB drink, drink 2xTPS [will put character overdrunk, will buy items if need be] (Change drink routine, if have liver)
- run adventure routine
- If adventures greater than 10
- adventure 5 adventures at zodiac gym [done to reduce outliers]
- If adventures lower than 10
- adventure 1 adventure at zodiac gym [done to reduce outliers]
- run spleen routine
- Use ten twinkly wads [10 spleen]
- Adventure 10 adventures at zodiac gym
- Use 1 of each elemental wad [5 spleen]
- Use/buy a load of +moxie buffs
- End Drunkeness check
[after here is always run, no matter drunkeness]
- Create infinite loop
- Run buffbot for 15 iterations
- If number of MMJs under 1000 (change to whatever) [Ensure meat on hand!]
- Buy 5000 MMJs [Ensure meat on hand!]
- Restart infinite loop
The advantage of this is, one script can be used for running, powerleveling and restarting the bot in case of a crash.
So, eh, have a look.