> For the complete documentation index, see [llms.txt](https://wiki.stmod.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.stmod.net/private-servers/waithack.md).

# Waithack

<figure><img src="https://1662484209-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSrVu0j9CYXbvJXRYgHnk%2Fuploads%2Fgit-blob-197cea9b9b19ba19296c269b26acde42850e7ea1%2Fwaithack-tab.png?alt=media" alt="Waithack tab"><figcaption><p>Waithack tab (build v181126)</p></figcaption></figure>

Waithack is a stationary attack mode: instead of walking to targets like [Farming](https://wiki.stmod.net/private-servers/farming.md) does, it attacks everything within range from a fixed spot. It's found under **General → Waithack** in the left-hand sub-menu.

* **Waithack speed** — Sets the attack interval, in milliseconds. This is the base rate: the waithack makes one pass every X ms.
* **Waithack range** — Sets the attack range.
* **Monsters to attack** — Sets how many entities the waithack will attack simultaneously.
* **Don't KS** — The bot will not attack entities that are already being attacked by another player.
* **Walk to targets** — Moves one short step per tick instead of covering the whole distance at once, then attacks when it arrives. Slower per target, but the server sees ordinary running instead of an instant jump.
* **Disable range waithack** — Only attacks monsters already within real melee reach, with no position spoofing at all. Far fewer targets per hit, but nothing teleports.
* **Pause waithack if HP lower than x%** — Pauses attacking once your HP drops below the percentage you set.
* **What to attack:**
  * **Metins**
  * **Monsters**
  * **Bosses**
  * **Players**
  * **Safe damage** — Restricts Waithack to attacks that won't pull aggro from entities outside your current fight, where supported.
  * **Attack selected target** — Only attacks the entity you currently have selected in-game, instead of everything in range.
  * **Only when farmbot has target** — Only runs while the [Farming](https://wiki.stmod.net/private-servers/farming.md) bot is actively engaged with a target.
* **Start waithack** — Starts or stops the waithack.

{% hint style="warning" %}
**Walk to targets** and **Disable range waithack** both exist for servers that disconnect you the moment waithack starts. Try **Walk to targets** first — it keeps the range, it just stops the instant jump. **Disable range waithack** is the stricter option: it gives up the range entirely.
{% endhint %}

## Individual delays

Ticking **Individual delays** gives each target type its own delay instead of all of them sharing one, so you can hammer Metins while barely touching monsters.

* A type is attacked only once its own delay has passed, so a type can be **slower** than the base rate but never faster. A delay lower than **Waithack speed** just means that type is hit on every pass.
* Example — speed `300` ms, Metins `300` ms, Monsters `1200` ms: Metins are hit on every pass, Monsters on every 4th.
* The delays also apply to **Attack selected target**, using the type of the target you have selected.

{% hint style="info" %}
**Waithack range** and **Monsters to attack** are not split up — every type keeps sharing them.
{% endhint %}

{% hint style="warning" %}
Very low speed values can be unstable on some servers — start conservative and lower it gradually while watching for errors.
{% endhint %}
