Bug - Fixed CLI Script Fails to run in KoLmafia-10111.jar

Rahmuss

Member
KoLmafia v14.8 r10111, Windows 7, Java 1.6.0_26

I open mafia (KoLmafia-10111.jar) and go to scripts and select a .txt file that runs CLI commands to login, do a bunch of stuff, then logs out when it logs in with my multi. With this current version (10111.jar) when I choose the script it says "logout request submitted", then it briefly opens a very small window (you can only see the minimize, maximize, and close options), and then opens up mafia giving an error and it doesn't do anything. The script has always worked fine before. If I'm already logged in I can run a script which does exactly the same things except that it does not log me in, it works just fine. This worked most recently with KoLmafia-10099.jar (I haven't tried the ones in-between). I can't get the new choice adventure (the wasps) with the 10099.jar file.

After it logs me in the CLI shows:
Code:
> call scripts\Chars\TEMP.txt

Preparing for logout...
Validating login server (www.kingdomofloathing.com)...
Sending logout request...
Logout request submitted.
Using data override: data/mallprices.txt
Using data override: data/mallprices.txt
You have a present under the Crimbo tree in your clan's VIP lounge!

I don't have any other mafia window open at the time.

My script (slightly modified) starts out like this:
Code:
Login [I]CharName[/I]

# empathy
csend 15 meat to IocaineBot
csend 20 meat to kolabuff
# sneakiness
csend 18 meat to IocaineBot
csend 23 meat to kolabuff
# fat leon's
csend 14 meat to IocaineBot
csend 18 meat to kolabuff

visit_url store.php?whichstore=h
visit_url campground.php?preaction=openadvent
And obviously CharName is my characters name.

Again, this works fine in KoLmafia-10099.jar; but that version does not have the choice adventure to fight the wasps.
 
Top