Most issues with the macro fall into one of three categories: window targeting (the macro cannot find or activate the Roblox window), OCR detection (Windows OCR cannot read the item name from the inventory slot), or coordinate mismatch (clicks land in the wrong place because your screen resolution or scale differs from the defaults). The steps below address each of these categories and a handful of other common situations.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Flyingbacen/Sols-Biome-Randomizer-Macro/llms.txt
Use this file to discover all available pages before exploring further.
"Window not Found" error appears
"Window not Found" error appears
WinExist() with the value stored in the AFK target field. If that value is a stale HWND (from a previous session) or a title that no longer matches any open window, the check fails and a Window not Found message box appears.Fix:Re-target using Ctrl+Click
Items are not being used (scheduler is running but nothing happens)
Items are not being used (scheduler is running but nothing happens)
RectangleTopX / RectangleTopY / RectangleWidth / RectangleHeight in settings.ini. If OCR.FromRect() returns an empty string, UseItem() returns false without clicking anything and without resetting the cooldown timer.Possible fixes:- Check that the item is in your inventory. The macro searches for the item by name; if you have used up all copies, OCR will find nothing.
-
Verify the OCR rectangle coordinates point to the correct inventory slot on your screen. The defaults assume fullscreen 1080p at 100% Windows display scale. If your setup differs, update
RectangleTopX,RectangleTopY,RectangleWidth, andRectangleHeightinsettings.ini. -
Bypass OCR entirely by setting
IgnoreOCR=trueinsettings.ini. With this flag enabled,UseItem()skips the OCR check and clicks the slot directly. This is less safe (it will click the slot even if the item is absent) but can confirm whether OCR is the bottleneck. -
Check the enable flags. Confirm that the relevant toggles are
trueinsettings.ini:If either flag isfalse,UseItem()returns immediately without doing anything.
Clicks are landing in the wrong positions / missing inventory elements
Clicks are landing in the wrong positions / missing inventory elements
settings.ini were calibrated for Roblox running in fullscreen 1080p at 100% Windows display scale. A different resolution, windowed mode, or a display scale other than 100% will shift every UI element and cause clicks to miss.Fix:Identify the correct pixel positions
Update settings.ini
settings.ini while the macro is not running and replace the default values in the [Inventory Coordinates] and [Crafting] sections with your measured positions.The macro keeps interrupting what I'm doing on my computer
The macro keeps interrupting what I'm doing on my computer
UseItem() and DoAFK() call WinActivate() to bring the Roblox window into focus, which briefly steals keyboard and mouse control from whatever you are doing on the same machine.Fix options:-
Increase
AFKIntervalMinutesto reduce how often the AFK action fires (at the cost of a higher chance of being kicked for inactivity). The item cooldowns are fixed by the game, so only the AFK interval is adjustable for frequency. - Run the macro on a dedicated machine or virtual machine. Because the macro requires window focus, the cleanest solution for uninterrupted work on your main PC is to run Roblox and the macro on a separate session entirely.
The AHK script says "AutoHotkey v2 required" or fails to load
The AHK script says "AutoHotkey v2 required" or fails to load
#Requires AutoHotkey v2.0. If you launch it with AutoHotkey v1 (which uses a different syntax), the interpreter will reject it immediately.Fix:Download AutoHotkey v2
Install AutoHotkey v2
Discord webhook is not sending notifications
Discord webhook is not sending notifications
DiscordWebhookURL value in settings.ini is empty or malformed, or Eden is not being detected by OCR (since the webhook fires only when CheckEden() finds "eden" or "contract" in a full-window OCR scan).Fix:-
Verify the webhook URL is correctly set in
settings.ini:Test the URL independently using a tool like Postman,curl, or Discord’s webhook tester to confirm it accepts POST requests. -
Check internet access. The macro uses
WinHttp.WinHttpRequest.5.1to make the POST request. Firewalls or proxies that block outbound HTTPS will silently prevent delivery. -
Understand the trigger. The Eden detection webhook fires only when
CheckEden()(called 5 seconds after every AFK action) reads the word"eden"or"contract"— or a fuzzy match within Levenshtein distance 3 — from a full OCR scan of the Roblox window. If Eden is not currently active in-game, or if the OCR scan misses the text, no webhook will be sent. This feature is noted as untested in the project README.
Settings I changed in settings.ini are not being applied
Settings I changed in settings.ini are not being applied
settings.ini once at startup and holds all values in memory. When it exits (via the X button or F12), it writes its in-memory values back to disk — overwriting any edits you made while it was running.Fix: Always edit settings.ini while the macro is not running.The macro exits immediately / script errors on launch
The macro exits immediately / script errors on launch
#Include directives to load three helper files at startup:Biome randomizer.ahk, AutoHotkey cannot compile the script and exits with an error.Fix: Ensure all five files are present in the same folder:OCR.ahk, CaptureScreen.ahk, and CreateFormData.ahk internally via AutoHotkey’s FileInstall directive and extracts them to the system temp folder at runtime. If you are using the EXE, only settings.ini needs to be in the same folder as the executable.General Debugging Tips
If the issues above do not resolve your problem, the following techniques provide deeper visibility into what the macro is doing at runtime. Use DebugView to see real-time output. The macro containsOutputDebug() calls throughout its core functions. You can capture these messages using DebugView from Microsoft Sysinternals (free download). Launch DebugView before starting the macro and watch for lines like:
Scheduler() function wraps its entire body in a try / catch block: