Time-Spinner Far Future Solver

Ezandora

Member
What does it do?

Far future will play through the Far Future mini-game once, replicating an item and earning two medals.

Screenshot:
Explorer.png

How do I use it?

Install it by running this command in KoLmafia's graphical CLI:

Code:
svn checkout https://github.com/Ezandora/Far-Future/branches/Release/

Once it's installed, type "FarFuture" in the Graphical CLI, for a list of replication options:

Drink - Shot of Kardashian Gin - Epic one-drunkenness drink, gives PVP fights.
Food - Tea, Earl Grey, Hot - Epic one-fullness food.
Memory - Memory Disk, Alpha - Sell in mall for others to play the game.
History - Riker's Search History - combat item, deals ~950 sleaze damage.
Ears - Unstable Pointy Ears - +3 stats/fight accessory.
Mall - Whatever sells for the most. (won't add it to store)
None - Replicate nothing.

So, running "FarFuture food" will play through the far-future mini-game once, collecting two medals and a nice cup of tea.

To update the script itself (or any script), run this command in the graphical CLI:

Code:
svn update

Far Future will require a recent daily build of mafia.

Github: https://github.com/Ezandora/Far-Future/
Contact me in-game: Ezandora (#1557284)
 

Magus_Prime

Active member
I just tried the script and I ended up holding a bottle of gin in my quarters. Not sure what happened.
Code:
> FarFuture food

FarFuture.ash version 1.0.1
Encounter: Travel back to a Delicious Meal
Encounter: The Far Future
Encounter: The Far Future
Executing action Passenger
Encounter: Starship Passenger :: In your Quarters
Executing action Take the Kardashian Gin
Encounter: Starship Passenger :: In your Quarters
Executing action Use the Replicator
Encounter: Starship Passenger :: In your Quarters
Unable to replicate Tea, Earl Grey, Hot. Re-run the script and pick something else (or nothing) to replicate.
 

Ezandora

Member
I just tried the script and I ended up holding a bottle of gin in my quarters. Not sure what happened.

Code:
Unable to replicate Tea, Earl Grey, Hot. Re-run the script and pick something else (or nothing) to replicate.
You haven't unlocked tea yet, so it can't be replicated. Try "FarFuture none".
 

xKiv

Active member
RFE: FarFuture help (and maybe FarFuture list?) might benefit from printing a list of available (or even just known) targets.

ETA: actually, I think there's no reason why any unknown target shouldn't print that, as long as any of them do(es).
 

ckb

Active member
There actually is a help, just that it is hard to find.
Type 'FarFuture' into the CLI.
At the promt for 'Please input a value for string desired_item_name' enter a space " " and hit ok

And the help prints!

Though this might be more useful if it was less cryptic.
 

Abbbo

New member
Ooops!

Code:
FarFuture.ash version 1.0.3
Encounter: Starship Corporation :: In your Quarters
Encounter: Starship Corporation :: In your Quarters
Executing action Sailor
Encounter: Starship Sailor :: In your Quarters
Executing action Take the flute
Encounter: Starship Sailor :: In your Quarters
Executing action Go to the Bridge
Encounter: Starship Sailor :: In the Bridge
Executing action Speak with the alien
Encounter: Starship Sailor :: In the Bridge
Executing action Enjoy the harmonic sounds
Encounter: Starship Sailor :: In the Bridge
Executing action "Greetings. This is Admiral of this ship, the Starship Sailor."
Encounter: Starship Sailor :: In the Bridge
Executing action Play the flute
Encounter: Starship Sailor :: In the Bridge
Executing action Go to your Quarters
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Encounter: Starship Sailor :: In your Quarters
Executing action Play the flute for a while
Unable to determine where we are.
 

Ezandora

Member
RFE: FarFuture help (and maybe FarFuture list?) might benefit from printing a list of available (or even just known) targets.

ETA: actually, I think there's no reason why any unknown target shouldn't print that, as long as any of them do(es).
"help" and "list" added as aliases.
I thought about making it always print that help message if you don't specify a valid option, but that seems like it could be annoying? "asdfasdfasdf" probably means they just want to play through for medals.

The in-game message changed, so it wasn't able to recognise your skill.

Anyone running the script should run "svn update" in the GCLI, to handle this.
 

Gryphon

New member
Er... Oops. I ran across this error running the warrior route? The one you have to end it after this was to fire a warning shot, hail them and then threaten them. May have been a spotty connection at fault. Not sure.

Any suggestions on how to plop this into my daily script? IE. Call this up with a predetermined option from my breakfast ash file?

FarFuture.ash version 1.0.4
Encounter: Starship Navigator :: In your Quarters
Encounter: Starship Navigator :: In your Quarters
Executing action Imagination
Encounter: Starship Imagination :: In your Quarters
Executing action Use the Replicator
Encounter: Starship Imagination :: In your Quarters
Executing action Go to the Bridge
Encounter: Starship Imagination :: In the Bridge
Executing action Speak with the alien
Encounter: Starship Imagination :: In the Bridge
Executing action "Warleader Gryphon_2 of the Imagination"
Encounter: Starship Imagination :: In the Bridge
Executing action "This will be your last mistake."
Encounter: Starship Imagination :: In the Bridge
Executing action "Yeah, well, Imagination!"
Encounter: Starship Imagination :: In the Bridge
Executing action Enter the Turbolift
Encounter: Starship Imagination :: In the Turbolift
Executing action Take the flute
Encounter: Starship Imagination :: In the Turbolift
Executing action Go to the Holofloor
Encounter: Starship Imagination :: In the Holofloor
Executing action "Computer, activate program Kobayashi Maru."
Encounter: Starship Imagination :: In the Holofloor
Executing action "Computer, activate program Kobayashi Maru."
Encounter: Starship Imagination :: In the Holofloor
Executing action "Computer, activate program Kobayashi Maru."
Encounter: Starship Imagination :: In the Holofloor
Executing action Enter the Turbolift
Encounter: Starship Imagination :: In the Turbolift
Executing action Go to the Bridge
Encounter: Starship Imagination :: In the Bridge
Executing action Sit at the Weapons Console
Encounter: Starship Imagination :: In the Bridge
Unable to determine where we are.
 

Ezandora

Member
Er... Oops. I ran across this error running the warrior route? The one you have to end it after this was to fire a warning shot, hail them and then threaten them. May have been a spotty connection at fault. Not sure.

Any suggestions on how to plop this into my daily script? IE. Call this up with a predetermined option from my breakfast ash file?

Another game text change, which 1.0.5 handles.

In your breakfast script:
Code:
cli_execute("FarFuture tea");
 

DeathShade

New member
How come I'm running it and not getting anything?

> farfuture food

FarFuture.ash version 1.0.6
Encounter: The Far Future
Encounter: The Far Future
Executing action Vagrant
Encounter: Starship Vagrant :: In your Quarters
Executing action Take the Oort Absinthe
Encounter: Starship Vagrant :: In your Quarters
Executing action Use the Replicator
Encounter: Starship Vagrant :: In your Quarters
Executing action Go to the Bridge
Encounter: Starship Vagrant :: In the Bridge
Executing action Speak with the alien
Encounter: Starship Vagrant :: In the Bridge
Executing action "This conversation is futile."
Encounter: Starship Vagrant :: In the Bridge
Executing action Enter the Turbolift
Encounter: Starship Vagrant :: In the Turbolift
Executing action Go to Engineering
Encounter: Starship Vagrant :: In Engineering
Executing action Speak to Tommy
Encounter: Starship Vagrant :: In Engineering
Executing action "Tell me about the computer."
Encounter: Starship Vagrant :: In Engineering
Executing action "Good bye, Tommy."
Encounter: Starship Vagrant :: In Engineering
Executing action Enter the Turbolift
Encounter: Starship Vagrant :: In the Turbolift
Executing action Go to the Holofloor
Encounter: Starship Vagrant :: In the Holofloor
Executing action "Computer, activate Computers for Dummies program."
Encounter: Starship Vagrant :: In the Holofloor
Executing action "Computer, activate Computers for Dummies program."
Encounter: Starship Vagrant :: In the Holofloor
Executing action "Computer, activate Computers for Dummies program."
Encounter: Starship Vagrant :: In the Holofloor
Executing action Enter the Turbolift
Encounter: Starship Vagrant :: In the Turbolift
Executing action Go to the Bridge
Encounter: Starship Vagrant :: In the Bridge
Executing action Go to your Quarters
Encounter: Starship Vagrant :: In your Quarters
Executing action Access the Computer
Encounter: Starship Vagrant :: In your Quarters
Executing action Execute "ssh Assimilatotron.ship"
Mission successful, earning two medals.
You've earned 24 medals so far.
 

Bale

Minion
I see that it tries to use the replicator so I suspect you already replicated something earlier today.
 

lostcalpolydude

Developer
After accidentally running this script a second time today, I added this bit of code:
Code:
	else if (__item_desired_to_replicate != $item[none] && get_property( "_timeSpinnerReplicatorUsed" ) == "true")
	{
		print_html("You already used the replicator today.");
		return;
	}
If the goal is to get an item and there isn't one available, then don't try.

I guess this complicates things for someone that wants lots of medals and wants to just call the script the same way every time...
 

jf4nathan

New member
I am occasionally getting the message "Unable to determine where we are" while I am running the script. Any ideas what could be causing this? I entered "mall" as the parameter for the script.

FarFuture.ash version 1.0.6
Searching for "Memory Disk, Alpha"...
Search complete.
Searching for "Shot of Kardashian Gin"...
Search complete.
Searching for "Riker's Search History"...
Search complete.
Searching for "Tea, Earl Grey, Hot"...
Search complete.
Encounter: The Far Future
Encounter: The Far Future
Executing action Sailor
Encounter: Starship Sailor :: In your Quarters
Unable to determine where we are.
 

Totentanz

New member
After accidentally running this script a second time today, I added this bit of code:
Code:
	else if (__item_desired_to_replicate != $item[none] && get_property( "_timeSpinnerReplicatorUsed" ) == "true")
	{
		print_html("You already used the replicator today.");
		return;
	}
If the goal is to get an item and there isn't one available, then don't try.

I guess this complicates things for someone that wants lots of medals and wants to just call the script the same way every time...

This is helpful because sometimes I can't remember if I already used the replicator today or not. Maybe have the message state something like 'if you just want medals, run FarFuture none' or something like that?
 

Ezandora

Member
Latest update introduces a breaking change - the "mall" command will now automatically mall sell the one item you replicated, at current mall price. This will also alter your store's current price, if you were already selling it.



After accidentally running this script a second time today, I added this bit of code:
Hmm...

I am occasionally getting the message "Unable to determine where we are" while I am running the script. Any ideas what could be causing this? I entered "mall" as the parameter for the script.

Not sure what's causing that. For that area, it uses this test:
Code:
else if (message.contains_text("You are in ") && message.contains_text("'s quarters."))
{
     state.sublocation = "";
}
When that happens, can you save the page HTML and post it here?
 
What if I want to *acquire* the currently best priced item, but not put it into the mall? Would a non-breaking approach be better, such as "farfuture mall now" ? Sort of a moot point, since it's already published with the breaking change. Assuming folks have already adjusted to the new behavior, what about "farfuture mall later"? Otherwise, I guess I'll maintain my own change to return to prior behavior.

Of course, the important part is that this script exists in the first place - very much appreciated, as always!
 
Top