loathers / freecandydotexe Goto Github PK
View Code? Open in Web Editor NEWA trick-or-treating script for the 2003 browser-based RPG Kingdom of Loathing.
License: Apache License 2.0
A trick-or-treating script for the 2003 browser-based RPG Kingdom of Loathing.
License: Apache License 2.0
Another thing which is easily fixable if you know what the issue is (as in, have read the README.MD) but I found that on a new account which I hadn't already purchased a single item outfit (e.g. beholed bedsheet) it looted the lit houses in the current block then stopped as if it were done without any error message or warning etc.
Perhaps printing a list of acceptable items with current mall_price of each and telling the user why it's stopping would be a more user friendly experience for less technically savvy users.
Observed after freecandy visits haunted kitchen for the nemesis assassin.
Maybe this problem comes from mafia's side, not sure.
MP:507/507
> scripts/freecandydotexe/freecandy.js
logPreferenceChange => true
logPreferenceChangeFilter => _lastCombatStarted,libram_savedMacro,maximizerMRUList,testudinalTeachings
Preference logPreferenceChangeFilter changed from to _lastCombatStarted,libram_savedMacro,maximizerMRUList,testudinalTeachings
autoSatisfyWithCoinmasters => true
Preference autoSatisfyWithCoinmasters changed from false to true
dontStopForCounters => true
Preference dontStopForCounters changed from false to true
hpAutoRecoveryTarget => 0.0
Preference hpAutoRecoveryTarget changed from 0.9 to 0.0
mpAutoRecoveryTarget => 0.0
Preference mpAutoRecoveryTarget changed from 0.3 to 0.0
autoGarish => true
Preference autoGarish changed from false to true
allowNonMoodBurning => false
Preference allowNonMoodBurning changed from true to false
Preference customCombatScript changed from default to grimoire_macro
CCS set to grimoire_macro
Updating display case...
Executing hacking your system/Start Quest: questM23Meatsmith
CCS set to grimoire_macro
Autoattack is disabled.
Submitting option 1 for choice 1059
Preference questM23Meatsmith changed from unstarted to started
Preference skeletonStoreAvailable changed from false to true
Executing hacking your system/Start Quest: questM24Doc
Autoattack is disabled.
Submitting option 1 for choice 1064
Preference questM24Doc changed from unstarted to started
Preference overgrownLotAvailable changed from false to true
Executing hacking your system/Start Quest: questM25Armorer
Autoattack is disabled.
Submitting option 1 for choice 1065
Preference questM25Armorer changed from unstarted to started
Preference madnessBakeryAvailable changed from false to true
Executing hacking your system/Magical Sauasage
Autoattack is disabled.
Eating 1 magical sausage...
You gain 1 Adventure
You gain 999 Mana Points
Preference _sausagesEaten changed from 0 to 1
Preference _concoctionDatabaseRefreshes changed from 406 to 407
Finished eating 1 magical sausage.
Executing hacking your system/Magical Sauasage
Autoattack is disabled.
Eating 1 magical sausage...
You gain 1 Adventure
You gain 999 Mana Points
Preference _sausagesEaten changed from 1 to 2
Preference _concoctionDatabaseRefreshes changed from 407 to 408
Finished eating 1 magical sausage.
Executing hacking your system/Magical Sauasage
Autoattack is disabled.
Eating 1 magical sausage...
You gain 1 Adventure
You gain 999 Mana Points
Preference _sausagesEaten changed from 2 to 3
Preference _concoctionDatabaseRefreshes changed from 408 to 409
Finished eating 1 magical sausage.
Executing hacking your system/Magical Sauasage
Autoattack is disabled.
Eating 1 magical sausage...
You gain 1 Adventure
You gain 999 Mana Points
Preference _sausagesEaten changed from 3 to 4
Preference _concoctionDatabaseRefreshes changed from 409 to 410
Finished eating 1 magical sausage.
Executing hacking your system/Magical Sauasage
Autoattack is disabled.
Eating 1 magical sausage...
You gain 1 Adventure
You gain 999 Mana Points
Preference _sausagesEaten changed from 4 to 5
Preference _concoctionDatabaseRefreshes changed from 410 to 411
Finished eating 1 magical sausage.
Executing hacking your system/Magical Sauasage
Autoattack is disabled.
Eating 1 magical sausage...
You gain 1 Adventure
You gain 999 Mana Points
Preference _sausagesEaten changed from 5 to 6
Preference _concoctionDatabaseRefreshes changed from 411 to 412
Finished eating 1 magical sausage.
Executing hacking your system/Magical Sauasage
Autoattack is disabled.
Eating 1 magical sausage...
You gain 1 Adventure
You gain 999 Mana Points
Preference _sausagesEaten changed from 6 to 7
Preference _concoctionDatabaseRefreshes changed from 412 to 413
Finished eating 1 magical sausage.
Executing hacking your system/Magical Sauasage
Autoattack is disabled.
Eating 1 magical sausage...
You gain 1 Adventure
You gain 999 Mana Points
Preference _sausagesEaten changed from 7 to 8
Preference _concoctionDatabaseRefreshes changed from 413 to 414
Finished eating 1 magical sausage.
Executing hacking your system/Magical Sauasage
Autoattack is disabled.
Eating 1 magical sausage...
You gain 1 Adventure
You gain 999 Mana Points
Preference _sausagesEaten changed from 8 to 9
Preference _concoctionDatabaseRefreshes changed from 414 to 415
Finished eating 1 magical sausage.
Executing hacking your system/Treat
No treatOutfit given--doing some math to decide what to use
We have a winner! We'll be trick-or-treating with Filthy Hippy Disguise.
This is not a problem per se, but it definitely seems to be prioritising basically everything above pantsgiving as a gnomefolk. Currently only have the 500-turn expansion left (in 450 turns). This /feels/ wrong to me, but I might be off in my calcs.
My calculations are as follows: Great wolf beastly pants give +10 weight, which equates to +~4.5 adventures across 450 turns compared to whatever weight it was prior to the GWBP. +1 stomach can easily beat that?
dont hav pantogram pants that drop anything in this life, so shoudlnt be considering those as I understand it.
Once Ive closeted all my +weight pants, it wears the stainless steel slacks.
Though this might have something to do with what appears to be a -20.94 modifier to Pantsgiving I've just noticed in the maximiser string
Based on the Maximier String and convo with phredd - potentially bad algorithm for picking the pantsgiving food?
I ran it on an account which doesn't have many scripts installed & got a failure when it tries to find canadv.ash for some reason.
Easily fixable from the mafia script manager but equally easily fixable in the repo.
May require mafia change--mafia hates adventuring while drunk
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.
Once you have gotten past the end of the expected window for wink/arrowed monsters, they are guaranteed. Can be tracked with the counter 1504:Romantic Monster window end loc=* type=wander:rparen.gif
(i think). Obvs not required, would be nice to have, can probably add a PR for myself, just adding this as a reminder to do so.
Amazing script! Would be really great to add a feature that loops through your special drop familiars. Currently I'm running 5 blocks with each of my special drop familiars.
It'd be useful of the script considered the mafia thumb ring and the can of mixed everything, in addition to lucky gold ring and cheeng.
Currently, if Pantsgiving is used, then freecandy.exe will eat Pantsgiving foods to fill up:
freecandydotexe/src/regularTasks.ts
Lines 197 to 210 in 58d6044
If I could assume arbitrary dependencies Iʼd replace it with a call to soolar/CONSUME.ash (which is what Iʼve done for myself), but it would be weird to make that a dependency here. Instead I propose making a preference, either to disable auto-eating with pantsgiving (so people can manually eat instead) or for manually overriding what to eat. Then I could set freecandy_pantsgiving=Pete's rich ricotta
and it would eat that, and other users who had other things to eat could use those options, while the current behavior could still be the default.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.