Tools: Difference between revisions

From A KoL Wiki
imported>Oneforfortytwo
removed outdated and broken things
imported>Akatosh
m KoLmafia: - link to loathers
 
(23 intermediate revisions by 13 users not shown)
Line 1: Line 1:
<div style="text-align: center;">
<div style="text-align: center;">
[[Image:hammer.gif|Hammer]][[Image:screwdrive.gif|Screwdriver]][[Image:pliers.gif|Pliers]]
[[File:hammer.gif|Hammer]][[File:screwdrive.gif|Screwdriver]][[File:pliers.gif|Pliers]]
</div>
</div>


There are a variety of tools that exist to automate, simplify, reproduce, or add functionality to [[Kingdom of Loathing|KoL]].
There are a variety of tools that automate, simplify, reproduce, and/or add functionality to the [[Kingdom of Loathing]].


__TOC__
__TOC__
==Alternate User Interfaces==
==Advanced User Interfaces==
These tools are usually freestanding and often provide an alternate way to play KoL, rather than using the standard web browser interface.
These tools are freestanding and run outside the normal browser security sandbox, which allows for more powerful features such as logging your ascensions and automated adventuring.
 
===KoL CLI===
*Is a [[Wikipedia:command line interface|command line interface]] to KoL.
*Is written in [[Wikipedia:Perl|Perl]].
*Requires [[Wikipedia:Perl|Perl]] with [[Wikipedia:cURL|cURL]] to run.
*Availablity:.
**Is now maintained as an [http://gna.org/projects/kolcli/ open project at GNA], and can be downloaded [http://download.gna.org/kolcli/ here].


===KoLmafia===
===KoLmafia===
*Is a cross-platform desktop interface to KoL created by '''holatuwol''' and others.
*Provides an improved web browser interface, a graphical window interface, and a textual command-line interface as alternatives for playing KoL.
*Is written in [[WIkipedia:Java programming language|Java]].
*Has many many features, with various functionality for every part of KoL, and a large [http://kolmafia.us/forumdisplay.php?3-Repository scripting community]. You can obtain many useful scripts from [https://github.com/loathers Loathers.]
*Requires the [http://java.com Java Runtime Environment (JRE)].
*Is a cross-platform desktop interface to KoL, written by '''holatuwol''' and others.
*Open Source with code available to build, edit or inspect in a [https://github.com/kolmafia/kolmafia GitHub repository].
*Is written in [[Wikipedia:Java (programming language)|Java]] and requires [https://adoptium.net Java Development Kit (JDK)] 11 or newer to run.
*JDK 17 is supported and recommended.
*Can be scripted using KoLmafia's own [http://wiki.kolmafia.us/index.php?title=ASH_For_Beginners ASH] scripting language.
*Forum thread is located [http://forums.kingdomofloathing.com/vb/showthread.php?t=186011 here].
*Availability:
*Availability:
**The latest version is available [http://kolmafia.sourceforge.net/ here].
**The latest versions are available [http://builds.kolmafia.us/ here].  
**Unstable releases are available [http://kolmafia.us/forumdisplay.php?f=12 here].
**The [https://github.com/kolmafia/kolmafia/releases/latest latest release] on GitHub has packaged builds including a JRE for Windows (.exe), MacOS (.dmg), and Debian (.deb)


===KoLHack===
===Kolproxy===
*Is a prototype text-based rogue-like interface to KoL written by '''us3r1d'''.
*'''No longer maintained'''
*Is written in Perl.
*Enhances the web browser interface for playing KoL. Built to provide better support for ascension and automation, without surprises or gotchas.
*Forum thread is [http://forums.kingdomofloathing.com/viewtopic.php?t=82703 here].
*Focused on helping players ascend better (suitable for newbies to #1 leaderboarders depending on settings), and automating entire quests or ascensions. Limited support for non-ascension-relevant content.
*Availability:
*Can be scripted using [[Wikipedia:Lua (programming language)|Lua]], a popular programming language for video games. (Kolproxy's features are also implemented as Lua scripts.)
**Is included in the [http://kol.devnull.net dev null network].
*Forum thread is located [http://forums.kingdomofloathing.com/vb/showthread.php?t=180265 here].
*Available for Windows, Mac, Linux (and as source code).
*The latest version and more information is available at [https://github.com/houeland/kolproxy/ https://github.com/houeland/kolproxy/] and the [http://www.houeland.com/kolproxy/wiki/ kolproxy wiki].
 
Support for using both KoLmafia and kolproxy in the same session is limited, and requires recompiling KoLmafia yourself with a compatibility patch. Usually players using both instead log off/on again to switch between the two depending on what they're doing.


==Scripts & Scriptlets==
==Scripts & Scriptlets==
Scripts/Scriptlets directly affect and/or enhance the functionality of the standard web browser interface of KoL.
Scripts/Scriptlets directly affect and/or enhance the functionality of the standard KoL web browser interface.


They are commonly implemented in [[Wikipedia:JavaScript|JavaScript]], a browser/client scripting language, but are sometimes dynamically generated by [[Wikipedia:PHP|PHP]] or some other server scripting language.
They are commonly implemented in [[Wikipedia:JavaScript|JavaScript]], a browser/client scripting language, but are sometimes dynamically generated by [[Wikipedia:PHP|PHP]] or some other server scripting language.


Scriplets are usually run by entering "javascript:''SCRIPT''" in the address bar of a web browser. They can also be bookmarked for easier use. Some scriplets are browser-dependent.
Scriptlets are usually run by entering "javascript:''SCRIPT''" in the address bar of a web browser. They can also be bookmarked for easier use. Some scriptlets are browser-dependent.


*'''[[:User:Ohayou|Ohayou]]''' has written a multitude of handy scriptlets. His Repeat Action Scriptlet has been revised in this [http://forums.kingdomofloathing.com/viewtopic.php?t=57391 KoL Forum thread]. Another popular script is his [http://userscripts.org/scripts/show/53504 UI improvements script], which not only logs and displays his item effect logging scriptlet, but combines a variety of his other scriplets.
*'''[[User:Ohayou|Ohayou]]''' has written a multitude of handy scriptlets. His Repeat Action Scriptlet has been revised in [http://forums.kingdomofloathing.com/vb/showthread.php?t=119658 this forum thread]. Also popular is his [http://forums.kingdomofloathing.com/vb/showthread.php?t=174943 UI improvements script], which not only logs and displays his item effect logging scriptlet, but also combines a variety of his other scriptlets.


==Greasemonkey User Scripts==
==Greasemonkey User Scripts==
[https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/ Greasemonkey] is an extension for the [[Wikipedia:Firefox|Firefox]] web browser that provides a framework for user scripts to be written to automatically be invoked when you visit a particular page.


[http://www.greasespot.net/ Greasemonkey] is an extension for the [http://www.mozilla.com/firefox/ Firefox] web browser, which provides a framework for user scripts to be written to automatically be invoked when you visit a particular page.
In-depth instructions on using Greasemonkey are available at [http://forums.kingdomofloathing.com/vb/showthread.php?t=136174 this forum post], courtesy of '''Aprocalypse'''.
 
In-depth instructions on using Greasemonkey scripts are available at [http://forums.kingdomofloathing.com/viewtopic.php?t=79085 this forum post], courtesy of '''Aprocalypse'''.


The following scripts all require Greasemonkey.   
The following scripts all require Greasemonkey.   


*'''Tard''' created a multitude of various scripts, from an arena trainer to spoiler/helper scripts, which can automatically inform you of updates when using his framework script. These scripts have since been updated and maintained by '''SomeStranger''' at his [http://somestranger.kol.googlepages.com/ Greasemonkey scripts page].
*'''Tard''' created a multitude of various scripts, from an arena trainer to spoiler/helper scripts, that can automatically inform you of updates when using his Framework script. These scripts were updated and maintained by '''SomeStranger''' until 2008 at his [https://www.sites.google.com/site/somestrangerkol/other user scripts page]. Currently, several of them are updated and maintained by '''Hellion''' at his [http://userscripts.org/users/103890/scripts user scripts page].
 
*'''Turias''' has a selection of scripts available at [http://forums.kingdomofloathing.com/viewtopic.php?t=48919 this forum thread], including a color-changing, a location dropdown, a moon, a search, and a toolbar script.
 
*'''Numfar''' has authored a monster stat script, a wiki-linking script, and a bang potion script at his user [http://batmantis.com/kol/ script page].
 
*'''OneTonTomato''' has authored a large number of scripts, all of which are available at his [http://kol.upup.us/scripts/ user scripts page].
 
*'''DaCyclops''' provides a number of small helpful scripts, including one that counts visible trophies and one that shows the moon sign effects on ascension at his [http://cyclops.yqmonline.com/kol_monkey.php scripts page].
 
For a more complete list, see the [[List of all Greasemonkey Scripts (Categorized)]].


==Stylish==
*'''Numfar''' has authored a monster stat, wiki-linking, and bang potion script, which are available at his [http://www.batmantis.com/kol/ user scripts page].


Stylish is a Firefox extension similar to Greasemonkey, but is more visual than functional in nature. KoL Stylish scripts include one that labels chat mods and one that colorizes a menu to highlight HP and MP restorers.
*'''DaCyclops''' provides a number of small helpful scripts, including one that counts visible trophies and one that shows the moon sign effects after ascending, at his [http://www.cyclops.yqmonline.com/kol_monkey.php user scripts page].


See [https://addons.mozilla.org/en-US/firefox/addon/2108 Stylish] and [http://www.userstyles.org/styles/search/kol a list of KoL scripts for Stylish]
For a more complete list, see the [[list of Greasemonkey scripts]].


==Web-based tools==
==Stylus==
[https://addons.mozilla.org/en-US/firefox/addon/styl-us/ Stylus] is a replacement for the old [https://addons.mozilla.org/en-US/firefox/addon/stylish/ Stylish] extension that is similar to Greasemonkey, but is more visual than functional in nature. KoL Stylish scripts include one that labels chat mods and one that colorizes a menu to highlight HP and MP Restorers.  [https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne Chrome] and [https://addons.opera.com/en/extensions/details/stylus/ Opera] versions of the extension also exist.


There are some tools to assist with gameplay that are accessed by a standard web browser. Typically you type or cut-and-paste information into them:
For more information, see the [https://add0n.com/stylus.html Stylus website] and a [http://userstyles.org/styles/browse/kingdomofloathing list of KoL Stylish scripts].


<!--*[http://sol.kolmafia.us The Simulator of Loathing], developed by Ayvuir and released under the GPL.  Lets you predict the outcome of adventuring given your zone, monster, and player state.-->
==Web-Based Tools==
*[http://items.ofloathing.org Items of Loathing], The ofLoathing Network's price history and prediction database.
There are some tools to assist with gameplay that are accessed by a standard web browser. Typically, you type or cut-and-paste information into them:
*Cisco's <!--[http://hardcoreoxygenation.com/cgi-bin/moxie.cgi Moxie Lookup] and -->[http://hardcoreoxygenation.com/cgi-bin/door.cgi Door Code Generator]
*[http://www.the-rye.dreamhosters.com/familiars/ The Rye Familiar Arena Tool]
*[http://retrofrog.hardcoreoxygenation.com/ RetroFrog's KoL Tools]: Consumption, Skills, Familiars, and more.
*[http://www.idea-inc.com/~allanc/bonezorz.php Allanc's dusty bone checker]
*[http://forums.kingdomofloathing.com/viewtopic.php?t=75847 KProxy] is a web-based account proxy written by '''us3r1d''' which allows the sharing of KoL accounts without distributing the account password with a configurable set of restrictions on player actions. It is included in the [http://kol.devnull.net dev null network].
*[http://www.yfont.info/optimizr/ TeKRunneR's Level 12 Quest Optimizer] lets you calculate the best way through the level 12 quest.
*[http://www.acme.com/jef/kol/warmeat/ Jef's War Meat Optimizer] lets you calculate the best combination of smashing, nickel-and-diming and selling war items in the mall for the highest profit.
*[http://www.houeland.com/kol/diets Eleron's KoL diet lists] fetches food prices from the mall and calculates the optimal diet for various farming incomes.
*[http://epicure.bewarethefgc.com/ The Well-Tempered Epicure] calculates the return from food, booze, and pulverizing under various conditions.
*[http://beefcheese.it.cx/ddice.html Goffrie's Dwarvish Dice solver] will solve the digit portion of the [[Dwarvish language]].


==Offline tools==
*[http://www.hardcoreoxygenation.com/cgi-bin/door.cgi Cisco's Door Code Generator] can help you if are [[Deciphering the Door Code]].
*[http://www.retrofrog.hardcoreoxygenation.com/ RetroFrog's KoL Tools] page contains tools for consumption, skills, familiars, and more.
*[http://www.acme.com/jef/kol/warmeat/ Jef's War Meat Optimizer] lets you calculate the best combination of smashing, nickel-and-diming, and selling war items in the mall for the highest possible profit.
*[http://www.lethe.xyz/kol/diets.php tehtmi's Kingdom of Loathing diet calculator], based on the now-defunct [http://www.houeland.com/kol/diets Eleron's KoL diet lists], displays the optimal aftercore diets based on current mall prices.
*The Well-Tempered [http://kol.coldfront.net/tools/anvil/ Anvil], [http://kol.coldfront.net/tools/epicure/ Epicure], and [http://kol.coldfront.net/tools/mixology/ Mixologist] allow you to calculate the returns from food, booze, and pulverizing under various conditions.
*[http://kol.coldfront.net/newmarket/ KoL Coldfront Marketplace 2.0] provides long-term history of item prices in the mall. It requires Adobe Flash.
**[https://g1wjmf0i0h.execute-api.us-east-2.amazonaws.com/default/itemindex KoL Marketplace 2.1] is an alternative version that does not require Flash.


Besides many online resources, there are also some tools for offline use.
==Offline Tools==
In addition to many online resources, there are also some tools for offline use.


*[http://alliancefromhell.com/viewtopic.php?t=949 KujjieKujjieKoo's Barrel Full of Barrels calculators] are able to calculate the probability of each possible outcome of any given barrel.
*[https://alliancefromhell.com/viewtopic.php?t=949 KujjieKujjieKoo's Barrel Full of Barrels Calculators] are able to calculate the probability of each possible outcome of any given barrel.
*[http://code.google.com/p/ascension-log-visualizer/ Ascension Log Visualizer] is a tool that is able to create ascension logs from KolMafia sessions and visualize them through various different charts. It can also make those visualizations from pre-parsed logs.
*The [http://code.google.com/p/ascension-log-visualizer/ Ascension Log Visualizer] is a tool that is able to create ascension logs from Kolmafia sessions and visualize them through various different charts. It can also make visualizations from pre-parsed logs.


Other links are available on the [[Community]] and [[Bots]] pages. For a specific type of web link, see the related wiki page.
==See Also==
*[[Bots]]
*[[Community]]


[[Category:Basics]]
[[Category:Basics]]
[[Category:Help]]
[[Category:Help]]

Latest revision as of 17:03, 31 July 2023

HammerScrewdriverPliers

There are a variety of tools that automate, simplify, reproduce, and/or add functionality to the Kingdom of Loathing.

Advanced User Interfaces

These tools are freestanding and run outside the normal browser security sandbox, which allows for more powerful features such as logging your ascensions and automated adventuring.

KoLmafia

  • Provides an improved web browser interface, a graphical window interface, and a textual command-line interface as alternatives for playing KoL.
  • Has many many features, with various functionality for every part of KoL, and a large scripting community. You can obtain many useful scripts from Loathers.
  • Is a cross-platform desktop interface to KoL, written by holatuwol and others.
  • Open Source with code available to build, edit or inspect in a GitHub repository.
  • Is written in Java and requires Java Development Kit (JDK) 11 or newer to run.
  • JDK 17 is supported and recommended.
  • Can be scripted using KoLmafia's own ASH scripting language.
  • Forum thread is located here.
  • Availability:
    • The latest versions are available here.
    • The latest release on GitHub has packaged builds including a JRE for Windows (.exe), MacOS (.dmg), and Debian (.deb)

Kolproxy

  • No longer maintained
  • Enhances the web browser interface for playing KoL. Built to provide better support for ascension and automation, without surprises or gotchas.
  • Focused on helping players ascend better (suitable for newbies to #1 leaderboarders depending on settings), and automating entire quests or ascensions. Limited support for non-ascension-relevant content.
  • Can be scripted using Lua, a popular programming language for video games. (Kolproxy's features are also implemented as Lua scripts.)
  • Forum thread is located here.
  • Available for Windows, Mac, Linux (and as source code).
  • The latest version and more information is available at https://github.com/houeland/kolproxy/ and the kolproxy wiki.

Support for using both KoLmafia and kolproxy in the same session is limited, and requires recompiling KoLmafia yourself with a compatibility patch. Usually players using both instead log off/on again to switch between the two depending on what they're doing.

Scripts & Scriptlets

Scripts/Scriptlets directly affect and/or enhance the functionality of the standard KoL web browser interface.

They are commonly implemented in JavaScript, a browser/client scripting language, but are sometimes dynamically generated by PHP or some other server scripting language.

Scriptlets are usually run by entering "javascript:SCRIPT" in the address bar of a web browser. They can also be bookmarked for easier use. Some scriptlets are browser-dependent.

  • Ohayou has written a multitude of handy scriptlets. His Repeat Action Scriptlet has been revised in this forum thread. Also popular is his UI improvements script, which not only logs and displays his item effect logging scriptlet, but also combines a variety of his other scriptlets.

Greasemonkey User Scripts

Greasemonkey is an extension for the Firefox web browser that provides a framework for user scripts to be written to automatically be invoked when you visit a particular page.

In-depth instructions on using Greasemonkey are available at this forum post, courtesy of Aprocalypse.

The following scripts all require Greasemonkey.

  • Tard created a multitude of various scripts, from an arena trainer to spoiler/helper scripts, that can automatically inform you of updates when using his Framework script. These scripts were updated and maintained by SomeStranger until 2008 at his user scripts page. Currently, several of them are updated and maintained by Hellion at his user scripts page.
  • Numfar has authored a monster stat, wiki-linking, and bang potion script, which are available at his user scripts page.
  • DaCyclops provides a number of small helpful scripts, including one that counts visible trophies and one that shows the moon sign effects after ascending, at his user scripts page.

For a more complete list, see the list of Greasemonkey scripts.

Stylus

Stylus is a replacement for the old Stylish extension that is similar to Greasemonkey, but is more visual than functional in nature. KoL Stylish scripts include one that labels chat mods and one that colorizes a menu to highlight HP and MP Restorers. Chrome and Opera versions of the extension also exist.

For more information, see the Stylus website and a list of KoL Stylish scripts.

Web-Based Tools

There are some tools to assist with gameplay that are accessed by a standard web browser. Typically, you type or cut-and-paste information into them:

Offline Tools

In addition to many online resources, there are also some tools for offline use.

See Also