Bet Controller — User Quick Guide

I’ll walk you step-by-step: install, start Chrome for remote debugging, run the controller, calibrate, and place instant bets.

1 — You Must Have Python Or Install on your PC

Requirements (Windows instructions, but Linux similar):

You must have Python 3, install if you don't have. And you must have to install through Microsoft Store, just click the Microsoft Store Link and click the "View in Store" botton on that page.

2 — One-time installs (Windows)

Do these steps once on your PC on that folder where you keeps your files.

python -m pip install --upgrade pip
python -m pip install flask requests playwright flask-cors
python -m playwright install

If a package fails, run the command again and paste the error into my chat so I can help.

3 — Files put in a folder [Send request for the files]

Create a folder on your PC, for example:

D:\roulette-controller\

Put these files in that folder:

  • advanced_control_server_cdp.py — the local controller (must use the version provided to you).
  • immersive_map.json — coordinates for the casino numbers (we calibrate if you don’t have this).
  • run_controller.bat — batch file to start the controller (example below).

4 — Create the Chrome "Casino" shortcut (remote debugging)

Create a Desktop shortcut and set the Location exactly to this (copy/paste):

"C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222 --user-data-dir="C:\chrome-debug-profile" --window-size=1366,768 --window-position=0,0

I double-click that shortcut, log into my casino in that Chrome window, and leave it open. The controller will attach to this Chrome.

5 — Calibrate the map (make immersive_map.json)

I run calibration from DevTools in the casino Chrome. Steps:

  1. Open the casino page in the debug Chrome & set zoom 100% and window size 1366×768.
  2. Open Developer Tools (F12) → Console and paste the script below. Then click each number on the casino table in numeric order (0..36).

Calibration script — paste into Console

Copy table map builder codes from here

Save as D:\roulette-controller\immersive_map.json. If you click numbers in a different order, map each entry to the correct number.

6 — Start everything & test

My exact order when I play:

  1. Double-click the Chrome **Casino** shortcut and log into casino in that Chrome window.
  2. Double-click `run_controller.bat` in `D:\roulette-controller\` (this starts the Python controller).
  3. Open the **Bet Controller** shortcut (site) and wait for targets to appear.
  4. Click Bet on Predict — the controller should instantly click every predicted number in the debug Chrome session.

If I want to test a single number from PowerShell:

$body = '{"targets":[28]}'
Invoke-RestMethod -Method Post -Uri http://127.0.0.1:7879/bet -ContentType 'application/json' -Body $body

Expected JSON response: {"ok":true,"message":"Clicked X numbers.","clicks":[...],"misses":[...]}

7 — Troubleshooting (quick)

If clicking does nothing:

  • Make sure the debug Chrome window is open and logged in to the casino.
  • Make sure the controller is running (you see [cdp] UI: http://127.0.0.1:7879 in the console).
  • Check health: Invoke-RestMethod -Uri http://127.0.0.1:7879/health
  • Check the controller logs/console - look for lines like [cdp] /bet called with targets: ...
  • If you see misses, fix coordinates in immersive_map.json.
  • If the controller reports a CORS error, ensure ALLOWED_ORIGINS=https://roulettepredictor.tools before starting the controller.

8 — Quick reference (commands I paste)

# Start debug Chrome (one time)
"C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222 --user-data-dir="C:\chrome-debug-profile" --window-size=1366,768 --window-position=0,0

# Start controller
cd D:\roulette-controller
run_controller.bat

# Health check
Invoke-RestMethod -Uri http://127.0.0.1:7879/health

Need help?

1. Contact and send message directly to telegram

2. Join telegram group

3. Subscribe to my YT Channel

4. Visit Website

If anything fails, copy the controller console output and paste it to me. I’ll diagnose it. If you want, I’ll also provide a small calibration HTML that writes immersive_map.json automatically.

Good luck — I use this exact flow every time I play. Bets are instant when BET_DELAY_MS=0.