> ## Documentation Index
> Fetch the complete documentation index at: https://docs.roadshop.org/llms.txt
> Use this file to discover all available pages before exploring further.

# FAQ

> Startup messages and frequently asked questions about RoadCasino

# FAQ

> [accordion] "\[RoadCasino] Startup gated: secure\_random\_unavailable"
>
> Your database is older than **MariaDB 10.10**. RoadCasino seeds its random
> number generator with the database function `RANDOM_BYTES`, which older
> versions do not have, and it never opens with a weaker random source.
>
> 1. Check the version: run `SELECT VERSION();` in your database tool, or
>    read the version oxmysql prints when the server starts.
> 2. Update MariaDB to 10.11 LTS or newer. XAMPP and many older Linux
>    packages ship 10.4 to 10.6.
> 3. Restart the server. The console then shows
>    `[RoadCasino] Persistent Lua engine loaded` instead of the message.
>
> Your casino tables and data stay as they are; nothing was written while
> startup was gated.

> [accordion] The casino building is missing, or I still see the construction site
>
> * Start the resources in this order: `road_world_map`,
>   `road_casino_props`, `road_casino_map`, `road_casino`. Start
>   `road_world_map` by name, not the whole `[road_world_map]` folder.
> * Set `sv_enforceGameBuild 3889`.
> * Restart the server fully and reconnect. Map files load only at server
>   start.

> [accordion] Another RoadShop map also brings road\_world\_map
>
> Keep only one `[road_world_map]` folder, the newer one. Its version is in
> `[road_world_map]/road_world_map/fxmanifest.lua`. It holds the original
> GTA map files for every combination of RoadShop maps and starts the set
> that matches your server.

> [accordion] A table or slot machine is missing
>
> Stand near it and run `/roadcasino_status`. It prints the state of the
> stations near you to the F8 console. Send that output with your report.
> Tables and machines are created within `Config.SpawnDistance` metres
> (default 85).

> [accordion] A player cannot sit down in a salon
>
> A salon table needs at least its minimum stake in chips (at hold'em, the
> minimum buy-in). The screen beside the salon door shows **locked** while
> the player's chips are below it, and **full** when every seat is taken.
> See [Games](https://docs.roadshop.org/roadcasino/games.md).

> [accordion] The staff menu does not open
>
> * The player needs the job in `Config.Staff.Job` (default `casino`) at or
>   above `Config.Staff.MinimumGrade`. Create the job in your framework.
> * The player must leave the table first.
> * House and Management pages need `Config.Staff.BossGrade`, the
>   framework's boss flag or the operator ACE.

> [accordion] The lift reports a fault
>
> Run `casino_lift_recover` in the server console. The cabin drives to its
> nearest landing.

> [accordion] Which money do players pay with?
>
> Chips are bought and sold at the cashier against the framework account in
> `Config.Account` (default `bank`). Inside the casino, every stake, payout,
> drink and cashback is in chips.

> [accordion] What happens to bets on a restart or a disconnect?
>
> Wallets and running rounds are stored in the database and survive a
> restart. A disconnect never forfeits an accepted bet, and a hold'em stack
> returns to the player's chips.

> [accordion] Can I change the table limits or move tables?
>
> No. Stations, seats and limits are part of the casino layout that comes
> with the map. The options you can change are listed under
> [Configuration](https://docs.roadshop.org/roadcasino/configuration.md).

> [accordion] How do I update?
>
> Delete the old `road_casino`, `road_casino_map` and `road_casino_props`
> folders, copy the new ones and keep your `road_casino/config.lua`. See
> [Installation](https://docs.roadshop.org/roadcasino/installation.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.