Dracula's Library

Dracula's Library

26 ratings
Easy Keyboard/Idle Mode (AutoHotkey)
By Eviction Notice
This guide will demonstrate how to use the freeware tool, AutoHotKey to play using a keyboard or automate/idle to obtain 100% achievements.
   
Award
Favorite
Favorited
Unfavorite
Requirements
Autohotkey is a very useful freeware automation tool. Available here: http://www.autohotkey.com/
The Script
Once Autohotkey is installed, open Notepad. Simply copy the code below and save it to a text file with an .ahk extension.

Double-clicking the file will automatically open and run the script in Autohotkey - an icon will appear in the system tray to show that the script is running. Right-clicking on the icon will allow you to Exit the script when you're done.

#SingleInstance m_speed=2 ;speed of mouse movements m_length=10 ;length of mouse movements m_pause=100 ;wait time (milliseconds) between mouse movements #IfWinActive, drlib { ;--key bindings z::SetTimer, Spam, % (State:=!State) ? m_pause : "Off" ;auto w::Goto, draw_up s::Goto, draw_down d::Goto, draw_right a::Goto, draw_left e::Goto, draw_line c::Goto, draw_dash ;--routines draw_up: ;draw "^" send {Click down} MouseMove, m_length, -m_length, m_speed, R Sleep, m_pause MouseMove, m_length, m_length, m_speed, R send {Click up} Sleep, m_pause MouseMove, -m_length*2, 0, 0, R return draw_down: ;draw "V" send {Click down} MouseMove, m_length, m_length, m_speed, R Sleep, m_pause MouseMove, m_length, -m_length, m_speed, R send {Click up} Sleep, m_pause MouseMove, -m_length*2, 0, 0, R return draw_right: ;draw "\" send {Click down} MouseMove, m_length, m_length, m_speed, R send {Click up} Sleep, m_pause MouseMove, -m_length, -m_length, 0, R return draw_left: ;draw "/" send {Click down} MouseMove, -m_length, m_length, m_speed, R send {Click up} Sleep, m_pause MouseMove, m_length, -m_length, 0, R return draw_line: ;draw "|" send {Click down} MouseMove, 0, m_length, m_speed, R send {Click up} Sleep, m_pause MouseMove, 0, -m_length, 0, R return draw_dash: ;draw "-" send {Click down} MouseMove, m_length, 0, m_speed, R send {Click up} Sleep, m_pause MouseMove, -m_length, 0, 0, R return Spam: ;autoplay IfWinActive, drlib { gosub, draw_up Sleep, m_pause gosub, draw_down Sleep, m_pause gosub, draw_right Sleep, m_pause gosub, draw_left Sleep, m_pause gosub, draw_line Sleep, m_pause gosub, draw_dash } Return }
In-Game Usage
Once in the game with the script running, the following keyboard commands can be used to draw the shapes:

Key
Shape
W
”/\”
A
”/”
S
”\/”
D
”\”
E
”|”
C
”-”

The “Z” key will toggle spam idle mode where it will cycle through all shapes and solve each level.

All key bindings can be re-configured within that portion of the script.
Troubleshooting
If the game is not registering the shapes, the “m” variables at the beginning of the script can be adjusted:
m_speed=2 ;speed of mouse movements m_length=10 ;length of mouse movements m_pause=100 ;wait time (milliseconds) between mouse movements

If the achievements stop working after finishing a level:
  1. Close the game
  2. Delete the save game folder: %USERPROFILE%\AppData\LocalLow\dc2\
  3. Open the game and select “Start Over” from the main menu
2 Comments
unrealghost 2 May, 2020 @ 6:54pm 
You are a hero!
simply_EL 27 Jul, 2019 @ 12:41pm 
Thanks mate!