Faerie Solitaire Remastered

Faerie Solitaire Remastered

Not enough ratings
Egg Hunting with AutoHotKey
By ChrisPhatt
Updated version of Glodenox's AutoHotKey script for Faerie Solitaire Classic to repeatedly play the first level of Red Reef to make farming eggs / resources less of a pain in the whatsit! ^_^
2
   
Award
Favorite
Favorited
Unfavorite
Intro
Back in the pixelly days of Faerie Solitaire Classic, a user by the handle of 'Glodenox' developed a script using AutoHotKey to repeatedly play the level that had the highest probability of dropping eggs, and being the magnanimous soul that they were, freely shared the fruits of their labour for the masses to enjoy, here.

Alas, as time moved on and Faerie Solitaire got Remastered, smoothing those blurry pixels, making its window bigger and implementing small changes to menu options, that original script became yesterday's hero... fondly remembered, but sadly no longer fit to gather all those elusive little eggs.

That is, until now...
Glodenox's Script Remastered
Rather than wasting space here explaining what AutoHotKey is and does, I refer you back to Glodenox's original guide as that already covers everything you need to know, where to get it from, and how to use the script.

A couple of points to note:
  • Like the original script, this one expects Faerie Solitaire Remastered to be in windowed mode
  • Unlike the original script, this one expects it to just be sat at the main menu when you start it
  • As there is now a cost of 1,000 Pure associated with restarting a level, I tweaked the code to quit out to the main menu and re-select Red Reef from the Quickplay menu, thus preserving your precious and ever-growing ill-gotten gains... Scrooge McDuck would be proud!

On to the main purpose of this guide: below is the script that does all the whizzy magic stuff!

; This script expects to be started from the main menu in windowed mode ; Original script for Faerie Solitaire Classic by Glodenox - full credit and kudos to them for the bulk of this! ; Tweaked for Faerie Solitaire Remastered by ChrisPhatt SetDefaultMouseSpeed,0 WinWaitActive, Faerie Solitaire Remastered Run() ; To stop the application at any time, simply press the Escape button Escape::ExitApp ;Run the whole application indefinitely Run() { while true { ; Start level StartRedReef() ; Go through the first 15 deck cards (nudged up from original 12) Loop 15 { ClickAllCardsSeveralTimes() GetNewCard() } ClickAllCardsSeveralTimes() ; Needed only for when we've had a perfect game ContinueFinishedGame() RemoveObjectivesWindow() ; Quit back to menu GotoMenu() } } ; Go to menu GotoMenu() { ; select menu Click,171,737 Sleep,1000 ; main menu Click,674,561 Sleep,1000 } ; Select level StartRedReef() { ; quickplay Click,518,702 Sleep,1000 ; no, i don't want to continue Click,687,568 Sleep,1000 ; right button (x4) Click,750,735 Sleep,100 Click,750,735 Sleep,100 Click,750,735 Sleep,100 Click,750,735 Sleep,100 ; red reef Click,485,391 Sleep,2000 RemoveObjectivesWindow() } ClickAllCardsSeveralTimes() { ; We try clicking all cards 4 times - arbitrary number that seems to work Loop 4 { ClickAllCards() } } ; Close the objectives window ; Not needed if you've disabled this window in the settings RemoveObjectivesWindow() { Click,686,581 Sleep,1000 } ; Click all the cards, going left to right, top to bottom (2 clicks for big stack near left hand-side) ClickAllCards() { Click,282,400 Click,400,319 Click,400,468 Click,504,417 Click,504,345 Click,607,434 Click,723,308 Click,725,468 Click,826,455 Click,826,398 Click,935,315 Click,1044,323 Click,945,476 Click,1077,481 } ; Get a new card from the stack GetNewCard() { Click,558,720 Sleep,500 } ; Press the continue button if we've finished the game ContinueFinishedGame() { ; Long wait to cope with a possible perfect game animation Sleep,4000 ; continue Click,1000,680 Sleep,1500 }
Outro
That's it!

Run the script, sit back / go off and watch TV / go to bed, and let the computer play that one level over and over again in the hopes of finally persuading the Random Number Gods to give you the eggs you're missing!

4 Comments
ChrisPhatt  [author] 3 May, 2023 @ 12:09am 
thanks F2B; glad it helped, and good tip for future users that it needs a previous version of AHK!
F2B 2 May, 2023 @ 12:05pm 
Thanks for the guide and code it was very useful!
First of all for all future users: The code does not work with AutoHotKey v2 as it uses a different syntax. You need to use the old AutoHotKey v1.1

A few improvements I made to the code:
- using the Aura Ring before restarting the level (ensures way more perfect games)
- reducing the times each card is clicked per new deck card from 4 to 2 and increasing the deck cards played from 15 to 21 (This works as good if not better and reduces the time the script needs for the level from 60s to 40s)
- reducing some sleeps e.g. GetNewCard from 500 to 100 (This may vary from PC to PC as krouton3 had to increase their sleep timers)
ChrisPhatt  [author] 13 Aug, 2022 @ 1:12am 
cool - glad it worked for you, albeit with a couple of minor tweaks needed! ;)
krouton3 12 Aug, 2022 @ 12:18pm 
tip for any1 else who uses this i had to add a sleep timer to the begining to so it would star properly on the main menu i also had to add some timers for the card clicks cause it was going to fast for the clicks

ps thanks for the code other then those two things i had to change it was super useful