Auto-Reconnect & Macro Resume¶
Lyonspyre is an AFK-friendly realm. Set up a looping macro (or a Razor script), let it grind a skill while you're away, and if the server restarts or your connection blips, the client logs itself back in and picks up where it left off. A reboot won't cost you a night of progress.
This covers both of Razor's automation systems: a GUI macro with the Loop box checked, and a running text script. Either one resumes from the top once you're back in the world.
What happens when the server restarts¶
With auto-reconnect enabled and the connection drops - a server reboot, a brief network hiccup - the client will:
- Wait and retry until the server is back. Retries start quick, then back off to one attempt every ~30 seconds, so a long reboot doesn't matter; it just keeps waiting.
- Log you back in automatically using your saved account, last server, and last character. No clicks needed.
- Drop you back where you were. The server stores your position at logout, so you reappear right where your character was standing.
- Resume your looping macro or running script from the top, once you're fully back in-world.
Quitting on purpose never triggers a reconnect. Only an unexpected drop does.
Setting it up¶
Auto-reconnect is on by default. To leave a skill grinding overnight through reboots, you only need a saved account and a loop running:
| Setting | Where | Why |
|---|---|---|
| Auto-reconnect | Razor → Macros or Scripts option tab ("Auto-reconnect after a disconnect") | On by default. Uncheck it if you'd rather a drop send you to the login screen instead of relogging. |
| Save Account | Login screen / client options | Auto-reconnect needs your saved credentials to log back in. |
| A loop to run | Razor (the in-game assistant) | Either a macro with the Loop box checked, or a script that loops on its own (e.g. a while that re-casts Hiding). |
| Resume after reconnect | Razor options ("Resume looping macro after reconnect") | On by default - replays your macro or script once you're back in-world. Turn it off if you'd rather not auto-resume. |
Keep gaining: vary your target
The skill-gain engine stops counting repeated checks on the same target in the same spot (see Skills → skill gain). A macro that hammers one tile will run fine but stops gaining. A good AFK loop roams between nodes so every check still counts.
What's NOT auto-resumed¶
- One-shot macros. Only macros set to Loop resume; a macro meant to run once won't re-fire on reconnect. (Scripts resume if they were running at the drop, so a one-shot script restarts from the top - keep that in mind before you AFK a non-looping script.)
- A macro or script you stopped yourself. Stop it by hand and a later reconnect won't bring it back.
- A full client restart. If the client itself closes, there's nothing left running to resume. This only covers the client staying open through a server-side reboot or a network drop.
A note on security¶
Auto-reconnect needs your password saved on disk to log back in. That's fine on a personal machine, but don't enable Save Account on a shared or public computer.