Buying diamonds
The program watches the Diamonds category on the Trading Post and buys out a lot the instant it appears — up to the maximum the game allows. It watches the screen and clicks the mouse like a person, so the game has to be on screen and in focus.







14:02:11 start: tracking diamonds
14:02:12 market listings visible, Diamonds selected — watching
14:05:40 a lot appeared — buying
14:05:40 bought 300 in 0.41 sec
14:07:03 the game is not in front - paused. Go back to the game and I will carry on
The lines are illustrative — the idea is the same.
| Pause | What it sets |
|---|---|
| Reaction to a lot | how long to wait before the first click |
| Pause between steps | between Purchase, Amount and Purchase |
| Typing the quantity | how fast the digits are typed |
Above the slider both ends of the range are written — «0.15 – 0.20 sec» — and each time the bot waits a random amount of time between them: a pause that's the same to the millisecond is the most recognisable thing about automation. Below the slider is what's selected: «Highest speed, higher risk», «Optimal: fast and inconspicuous», or «Lowest risk, lower speed». «Fast» has its own sliders — the same three, but with values twice as large.
The faster the purchase, the more noticeable the program. The defaults were chosen by measurement — only touch them if you actually see a problem.
A check is started with the same key instead of buying, and it doesn't buy anything.
Tests 1 and 2 count from the selected category — the highlighted one and its neighbour above — so Diamonds has to be selected.
| What you see | What to do |
|---|---|
| «Waiting for the game to be active» | Go back to the game — the bot will carry on by itself. |
| «The category is not Diamonds» | Select Diamonds in the game. |
| «I can't see the market» | Open Trading Post → I want to buy and check the game window's size. |
| «click blocked: another window covers that point of the screen» | Move away the window sitting on top of the game. |
| «SEVERAL WINDOWS AT ONCE DON'T WORK» | Diamonds are bought in one game window at a time. |
| «emergency stop: the cursor is in the corner of the screen» | The cursor moved into a corner. Start it again. |
The bot works inside the game — through the same link to the game as the professions. It switches the Follow ↔ Diamonds tabs by itself, so the list refreshes without waiting 5 seconds. As soon as a lot appears, the bot buys it with the game's own buttons: lot row → amount → Purchase. It needs neither the mouse nor focus — the game window can be minimised.
How fast the bot presses the purchase buttons is set by the three sliders of the «Pauses» card (what each one sets is in «Pauses in detail» under «Standard»). «Fast» has its own, and every value on them is twice the «Standard» one: by default 0.40 – 0.50, 0.30 – 0.40 and 0.040 – 0.060 sec. The card shows the sliders of the chosen method; move one method's slider and the other's stays as it was. The bot types the exact amount: as much as the lot has, but no more than the remaining limit and no more than your crystals cover.
If a game window covers the market, the bot waits and presses nothing. If the Trading Post is closed, it waits too, and if it stays closed for 30 seconds in a row, it stops: «Trading Post has been closed for 30 s — stopping the fast method». If the diamond limit is used up, crystals run short or a game warning window appears, it stops by itself and says why. If a purchase step fails, the journal shows «A purchase step failed: …».
Rox Helper · guide.