loathers / freecandydotexe

A trick-or-treating script for the 2003 browser-based RPG Kingdom of Loathing.
Apache License 2.0
6 stars 8 forks source link

Source Terminal #36

Closed Gawea1 closed 1 year ago

Gawea1 commented 1 year ago

The script doesn't seem to be playing well with the souce terminal:

> freecandy 1

currentMood => apathetic
Preference currentMood changed from default to apathetic
Preference customCombatScript changed from default to grimoire_macro
CCS set to grimoire_macro

Executing hacking your system/Autumn-Aton
CCS set to grimoire_macro
Autoattack is disabled.
Submitting option 2 for choice 1483
Send your autumn-aton to Shadow Rift
Preference _autumnatonQuests changed from 3 to 4
Preference autumnatonQuestLocation changed from to Shadow Rift
Preference autumnatonQuestTurn changed from 1210060 to 1210136

Executing hacking your system/Terminal Skills
Autoattack is disabled.
Source Terminal: educate extract.edu
Source Terminal used.
Source Terminal: educate duplicate.edu
Preference sourceTerminalEducate1 changed from extract.edu to duplicate.edu
Source Terminal used.

Executing hacking your system/Terminal Skills
Autoattack is disabled.
Source Terminal: educate extract.edu
Preference sourceTerminalEducate1 changed from duplicate.edu to extract.edu
Source Terminal used.
Source Terminal: educate duplicate.edu
Preference sourceTerminalEducate1 changed from extract.edu to duplicate.edu
Source Terminal used.

Executing hacking your system/Terminal Skills
Autoattack is disabled.
Source Terminal: educate extract.edu
KoLmafia declares world peace.
Preference sourceTerminalEducate1 changed from duplicate.edu to extract.edu
Autoattack is disabled.
freecandy has run 0 blocks, and produced the following items:
autumn-aton: -1
JavaScript exception: KoLmafia error: KoLmafia declares world peace. (file:/D:/KoLMafia/scripts/freecandydotexe/freecandy.js#4376)
at file:/D:/KoLMafia/scripts/freecandydotexe/freecandy.js:4376
at file:/D:/KoLMafia/scripts/freecandydotexe/freecandy.js:4457 (educate)
at file:/D:/KoLMafia/scripts/freecandydotexe/freecandy.js:9766
at file:/D:/KoLMafia/scripts/freecandydotexe/freecandy.js:7217
at file:/D:/KoLMafia/scripts/freecandydotexe/freecandy.js:7069
at file:/D:/KoLMafia/scripts/freecandydotexe/freecandy.js:7006
at file:/D:/KoLMafia/scripts/freecandydotexe/freecandy.js:10152 (main)

It will continue like this indefinitely.

horrible-little-slime commented 1 year ago

Freecandy expects you to have a fully upgraded source terminal. I'll consider making it more resilient to unupgraded terminals, but the answer here will probably be "I add something to the readme telling you to upgrade your source terminal"

Gawea1 commented 1 year ago

My terminal was upgraded fully when this was run. In particular, I had duplicate.edu already installed, and extract.edu is installed by default..

horrible-little-slime commented 1 year ago

Based on what happened here, mafia doesn't believe you have a DRAM chip installed because it thinks you can only know one skill at a time. You should either let mafia know that this is the case (by visiting the terminal in the relay browser and running the status command) or you should make that be the case (by installing a DRAM chip)