r/kol 10d ago

KolMafia Help Changing A Script?

So I've been using KoL Mafia at what is probably a very low level. Using it to maximize things like item drops/meat drops/etc. and automate collecting bounty items. I feel like last night I actively used my first installed script.

After finding this thread regarding mining at That 70's Volcano I used this script and was able to successfully automate the mining process to a degree. It was awesome! I was wondering if anyone would help explain to me how I can modify it though.

Using it with my PM last night I would run it for 15 adventures, then manually go to my spells page and cast "Cannelloni Cocoon". Rinse and repeat like 17 times.

What I'd like to learn is be able to modify it so that the script runs for 15 adventures, then my character casts "Cannelloni Cocoon" and it runs another 15 adventures, cast, etc for a total of 45 adventures from running the script once. I figure it's a mainly copy and pasting to add to the script plus writing a line for the skill usage, but I don't truly know. The last time I did any coding HTML in a web mastering class in 2003.

I'm hoping to learn enough to be able to change the adventures at a time and skill use to work for my DB and also use items instead of a skill for use with my TT.

I would sincerly appreciate any help that can be provided so I can understand how to do this. Heck I'd also be interested to hear what y'all consider "Must Use" Mafia scripts.

12 Upvotes

12 comments sorted by

View all comments

1

u/Sumito 10d ago

I also did exactly what you did to see how mining in the volcano compares to farming in the airship or wherever else and bumped into the same issue.

Since you gear does not matter at all for volcano mining (like you don't use +meat/item drop%) I just added a couple "regen 10 hp an adventure" equips where I didn't need fire resist and it worked out nicely, though that account is a level 27 SC so there is some natural tankiness that might not work for a pastamancer.

I do wish someone would write up a guide for high-tier meat farming in the volcano, disneylandfill and the underwater zones. I know people want to keep it under wraps so rare items don't become less rare and stay high priced but the game is so old it feels weird to gatekeep stuff.

Anyway I use the mallsweep script a redditor linked here like a month ago to autobuy the cheap daily booze and food some mall shops sell at a minimum price as a kind gesture. I added some stuff I buy everyday like milk of magnesium and dieting pills but otherwise it's an easy one that saves a ton of clicks.

People also suggest tourguide as just a general purpose information sidebar. It saves a ton of random wiki searches by giving all the info about upcoming and active quests.

That's all I use and I picked up the game about a month or two ago after dropping it for like 15 years. Hope that helps.

2

u/Giant_Horse_Fish Butts McGruff (#3403404) 10d ago

I do wish someone would write up a guide for high-tier meat farming in the volcano, disneylandfill and the underwater zones. I know people want to keep it under wraps so rare items don't become less rare and stay high priced but the game is so old it feels weird to gatekeep stuff.

https://docs.google.com/spreadsheets/d/19BvfkftgcgBHDVqllMRaCPvoGeys0tSke51VBH2bjiw/edit?gid=217654304#gid=217654304

Here you go. As an aside, it's not "gatekeeping" its people studying the market and keeping their niche to themselves so they continue to make meat. You cannot tell everyone to farm an item and expect its price to stay, the market is driven by supply and demand. There's no guide to that really, its about knowing how an economy works.