> For the complete documentation index, see [llms.txt](https://code-after-sex.gitbook.io/script-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://code-after-sex.gitbook.io/script-documentation/cas-roulette/changelog.md).

# Changelog

CAS Advanced Roulette System changelog for RedM: what changed in each release, which files to replace and what to do after an update.

Every update reaches you in your Cfx.re Keymaster. Replace the files the release lists, keep your own config if you changed it, and restart the resource.

## 1.0.2 (2026-10-24): Betting controls and rail fixes

### Fixed: Betting controls stopped for the rest of the session

* When a seat ended from outside the betting loop (the server seating a player out, the character dying or being moved more than 3 m from the rail, a table being removed), the betting loop in that player's game stopped: no prompts, no cursor, no chips, and Backspace could no longer stand them up until they reconnected.
* The loop now checks the seat after every frame and keeps running, so the next visit to any table works as normal.

### Fixed: Players sank into the floor at the rail

* The rail lean now uses the height the character really stands at when they step up, so players stay on the floor instead of sinking into it.

### Fixed: A sofa covered the player places at La Bastille

* The Saint Denis table now hides the parlour furniture in its way with the game's model hide (map furniture is not a normal object, so the old search could not find it). It comes back when the table unloads.

### Updated files

* `client/betting.lua`: the betting loop survives a seat that ends in another thread
* `client/seat.lua`: the lean height comes from where the player actually stands
* `client/tables.lua`: map furniture in a table's way is hidden with a model hide
* `fxmanifest.lua`: version 1.0.2

### What you need to do

* Replace the `cas-roulette` folder. The `cas-roulette-assets` folder and the config files are unchanged.
* `restart cas-roulette`

## 1.0.1 (2026-10-24): Translatable bet names

### New: bet spot names in the locale file

* The names of the bet spots (Straight, Split, Street, Trio, Top Line, Corner, Six Line, the dozens and columns, Red, Black, Odd, Even, 1 to 18, 19 to 36) now come from `config/locale.lua`, so every text a player reads can be translated, also in the Escrow version.
* The English names stay exactly as they were for all 161 spots.

### Updated files

* `shared/rules.lua`: builds every spot name from the locale entries
* `config/locale.lua`: new `spot...` entries for the bet spot names
* `README.md`: matches the build
* `fxmanifest.lua`

### What you need to do

* Replace the files and `restart cas-roulette`.
* If you keep your own `config/locale.lua`, add the new `spot...` lines from the new file.
* `cas-roulette-assets` is unchanged (still 1.0.0).

## 1.0.0 (2026-10-24): First release

American roulette on a real table in the world: Rockstar's own table, wheel, ball, marker, rake and chips, two croupiers, a real spin, all 161 American bet spots at the true odds, a HUD that leaves the felt clear, and money kept safe through disconnects, restarts and crashes. Two folders: `cas-roulette-assets` (the models) and `cas-roulette` (the game).
