You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/copilot-instructions.md
+40-4Lines changed: 40 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,11 +7,37 @@ Purpose: Help AI coding agents work productively in this repo of desktop automat
7
7
- Screen + input automation:
8
8
-`arrastools.py` — hotkey-driven macros using pynput. Listeners run at module end and spawn daemon threads via `start_*` helpers.
9
9
-`arrastools2.py` — alternative version with similar functionality and cross-platform support.
10
+
-`arrastools_nomacropanel.py` — streamlined version of arrastools without the macro panel GUI, same hotkey functionality.
10
11
-`arrasbot.py` — a watchdog that samples screen pixels with `mss`, reacts to state (disconnected/died/banned), and logs/screenshots.
11
12
-`arrascopypasta.py` — copypasta automation with platform-agnostic file path handling using pathlib.
12
-
- PPO AI prototype:
13
+
-`arrascopypastareload.py` — enhanced copypasta with auto-reload functionality and pixel detection for UI state.
14
+
- PPO AI prototypes:
13
15
-`arrasai.py` — defines PPO agent (PolicyNetwork, PPOMemory, ArrasAI) and training/exec loops over screen observations sampled in a polygon (`GAME_REGION`). Models saved to `arras_models/` (e.g., `arras_model.pt_best`).
-`asnake.py` — DQN-based Snake game AI with configurable training via `snake_config.json`. Models saved to `snake_models/`. Optional pygame visualization (headless mode if pygame unavailable).
17
+
- Utilities and helpers:
18
+
-`arraspixel.py` — click-to-inspect pixel color tool using mss and pynput mouse listener.
19
+
-`arrasmouselocator.py` — records mouse click positions for coordinate mapping.
20
+
-`arrasmouse.py` — simple mouse position setter utility.
21
+
-`keylogger.py` — keypress logger with timestamped output to `logsk/` directory. Press Esc to stop.
22
+
- Game-specific macros:
23
+
-`arrasantiafk.py` — simple anti-AFK mouse wiggle with periodic clicks.
24
+
-`arrashealmacro.py` — auto-spam 'h' key for 15s when h is pressed (healer macro).
25
+
-`arrastank.py` — tank upgrade/control automation sequence.
26
+
-`arrasstack.py` — stack macro with circular mouse movement at configurable angles/radius.
27
+
-`arrasdev.py` — multi-threaded ball crash stress test (spawns 32 threads for mass ball spawning).
28
+
-`arrasreload.py` — automated UI reload with chat message automation.
29
+
-`arrastext.py` / `arrastext2.py` — in-game text drawing using ball placement with bitmap font support.
30
+
-`arrasshaver.py` — utility for processing bitmap font character templates.
- Hotkeys: `Esc` to quit, visualization via pygame (optional).
135
+
- Models saved in `snake_models/` with suffixes `_best`, `_ep<N>`, `_interrupted`.
136
+
-`keylogger.py`: Run to log all keypresses to `logsk/keylog_<timestamp>.txt`. Press Esc to stop.
137
+
-`screensender.py`: WebSocket server for remote screen streaming. Set `SCREEN_SENDER_TOKEN` env var. Connect via `screenreciever.html`.
138
+
-`drawacircle.py`: Click two points to define rectangle, then automatically draws circle at white center.
139
+
-`cobalt.py`: Reads URLs from `downloadqueue.txt` and automates downloads via cobalt.tools UI.
104
140
105
141
## Conventions and patterns to follow
106
142
-**Threading**: Use `threading.Thread(..., daemon=True)` for background actions; toggle with global flags (e.g., `slowballs`, `randomwalld`). Provide `start_*` helpers to avoid duplicate threads.
0 commit comments