Giter Site home page Giter Site logo

neverending-party's Introduction

Neverending Party

Script to automate the Neverending Party IOTM

Installation

Run this command in the graphical CLI:

git checkout https://github.com/Ezandora/Neverending-Party.git

Will require a recent build of KoLMafia.

Usage

Commands:
free: only complete free fights
quest: complete quest (on by default)
noquest: only complete free fights, do not start quest (best for in-run)
hard: hard mode, if available
mall: open favors and sell results in mall
clara: use clara's bell, if available

Example usage:
party quest: complete quest
party hard: complete hard mode quest
party noquest: use when in-run - won't complete quest.
party free: only use free fights, but will complete the quest if it can.

neverending-party's People

Contributors

ezandora avatar

Stargazers

Quelzie avatar

Watchers

James Cloos avatar  avatar

neverending-party's Issues

Unrecognized quest log pattern

Hi Ezandora,

I got the following error today when running "party hard".

Quest log parsing error: unknown partial match = "<br>     Take the 10 dusty bottles of Marsala to the backyard of the <b><a     class=nounder target=mainpane     href=place.php?whichplace=town_wrong>Neverending Party</a></b>."

It looks like an unhandled variation of the Gerald booze quest. I was able to fix it for myself by adding the following code to the main pattern matching against the partial_match variable.

	else if (partial_match.contains_text("Take the") && partial_match.contains_text("to the backyard of the"))
	{
		active_quest = QUEST_TYPE_GERALD;
		quest_substate = 1;
	}

I haven't done any additional analysis to verify whether or not this change works in all scenarios. It worked for me today and hopefully it will be useful for others as well.

Usage instructions do not work on case-sensitive filesystems

KOLMafia just uses the filesystem to find scripts; the filename in the repository is 'Party.ash', so if it's stored on a case-sensitive filesystem typing 'party free' in the KOLMafia command line will result in the error message "Unable to invoke party".

Maybe rename the file 'party.ash'?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.