Difference between revisions of "KoLmafia Guide"

From Kolmafia
Jump to navigation Jump to search
imported>Bale
imported>Bale
(One page introduction.)
Line 32: Line 32:
 
= Table of Contents =
 
= Table of Contents =
 
{{GuideP|
 
{{GuideP|
* [[KoLmafia Guide: How I Teach & Requirements|How I Teach & Requirements]]
+
* [[KoLmafia Guide: Introduction|Introduction]]
* [[KoLmafia Guide: What About Greasemonkey|What About Greasemonkey? (another automation/scripting toolset)]]
 
* [[KoLmafia Guide: Getting Started & Links|Getting Started, Installing KolMafia, and Helpful Links]]
 
 
* [[KoLmafia Guide: Basics (Relay Browser)|Lesson 1: Basics (Relay Browser)]]
 
* [[KoLmafia Guide: Basics (Relay Browser)|Lesson 1: Basics (Relay Browser)]]
 
* [[KoLmafia Guide: Java Interface|Lesson 2: Java Interface]]
 
* [[KoLmafia Guide: Java Interface|Lesson 2: Java Interface]]
Line 51: Line 49:
 
* [[KoLmafia Guide: Closing Thoughts|Lesson 15: Closing Thoughts]]
 
* [[KoLmafia Guide: Closing Thoughts|Lesson 15: Closing Thoughts]]
 
}}
 
}}
 +
 
= Scripting for Dummies =
 
= Scripting for Dummies =
 
{{GuideP|
 
{{GuideP|

Revision as of 09:57, 29 April 2010

Introduction

Although a few KoLMafia guides exist already, they are either out-of-date, too brief, or too complex. They work, but are typically for more advanced players that catch the lingo and references. My guide is by a noob, to be on the level of noobs. It is (hopefully) easy to understand, pretty verbose, and up to date (at time of writing anyways in Jan 2010).


This guide is for those players that are interested in using a great third-party tool to enrich their Kingdom of Loathing experience significantly. Mafia is a java program that acts as a go-between for you to the KoL server. It has its own frame that contains a lot of functionality. In addition, you will use a normal browser window to play like normal. Mafia helps you in many ways:


  • Mafia allows you to use a 'Relay Browser' which is practically identical to the normal playing environment. The only noticeable difference is that Mafia adds bonus information and reminders that are very helpful when playing. This is by far my favorite feature because you do not have to try to learn a brand new interface to use and learn Mafia.


  • Provides some alternative interfaces to do certain functions that you may or may not like better than the built-in interface. At the very least, you can easily say... look up a mall price on something in Mafia without having to redirect your browser to the mall and then back to your inventory or adventuring location.


  • Automation. KolMafia allows you to intelligently automate actions, from small scale to larger scale. As an example, you can easily set up a 'script' combat button that will then do exactly what you want it to do; Maybe a Disco Bandit always wants to Pickpocket if possible, followed up by a Disco Dance, then auto-attack the rest of the way. Or an owner of a certain familiar wants to extend each fight to maximize Meat/Mana/HP,etc gains. Instead of doing this manually for each fight, you click ONE button which does the entire sequence!


  • Reduction of lag. Mafia works as an interface directly to KoL. What this means is that when you automate actions, no browser refresh is needed. This is really helpful, as a 12 round auto-combat using the Script button can be done in about three browser refreshes.


  • Collating of information. KolMafia keeps track of all stat gains, meat found, items found, and an entire log of everything that has happened in the game. The info is logged automatically and effortlessly if you want it.


  • Ability to call player written scripts which do various stuff. For example, one of them will help you equip outfits to get new Tattoos. These require more trust, but I will show you how to examine scripts and see what they do.


Remember... Automation is only ONE aspect of KolMafia! I generally avoid too much of something 'playing for me' myself, and it is entirely possible to use and love KolMafia with NO automation whatsoever!
Unless you are outright opposed to the concept of KolMafia or Greasemonkey, I'd strongly urge you to read this guide and give it a try. By the end of the first Lesson, you will know enough to decide for yourself. ---Warning:--- There are some light spoilers in this guide for illustration purposes!


Table of Contents


Scripting for Dummies

As an addendum to the basic KolMafia end user guide above, I also created a guide that helps you learn how to create simple scripts. It is surprisingly easy to create these scripts and they can accomplish many repetitive tasks that you might do on a daily basis. For example, a farming setup script might pull out a familiar, equip a certain outfit, buff yourself up, ask a buffbot for buffs, drink some potions to increase itemfind, and increase the Monster Level dial to maximum, and finally setup a particular custom combat script. This makes it easy to do things without forgetting stuff!
I would recommend that you at least browse through the scripting guide, see some of the neat stuff that you are capable of doing, then decide if it is worthwhile for you to dive into it yourself. I strongly suspect that at the very least, you can copy and paste some of my example scripts, change some of the buff/item/familiar names, and have your very own script!