Description
A craps dice table with a pass-line bet (extensible to come/odds/proposition) where the come-out and point phases are tracked on the server and the two-dice throw is synced to the whole table. Servers buy it because craps is rare on Tebex — the bet-matrix and point-state complexity keep supply low, so a correct one stands out.
Prompt Template
You are writing a FiveM resource for esextended (stable, exports getSharedObject).
The full prompt template and its reference Lua are part of a one-time pack. Pick your depth — both are lifetime access, no subscription, ever.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.
Expected Output
The reference Lua at content/expected-outputs/casino/05-craps-dice-table.lua implements a proximity bet matrix, a per-source pass-line pointState, a resolvePass come-out/point resolver, stake…
The full prompt template and its reference Lua are part of a one-time pack. Pick your depth — both are lifetime access, no subscription, ever.
- 60 prompts + syntax-validated reference Lua
- Lifetime access — pay once
- All 510 prompts — the full library
- Per-prompt profit/trend intelligence (CSV + playbook)
- Lifetime free updates — new niches as the market moves
$49 for 60 · $199 for all 510 + intelligence — one-time, no subscription.
Known Failure Modes & Corrective Prompt
- Client-rolled dice — Claude rolls and tracks the point on the client; keep both dice and
pointStateserver-side. - Anim before load — the throw
TaskPlayAnimno-ops unless the dict is loaded viaRequestAnimDict+while not HasAnimDictLoaded(dict) do Wait(0) end. - One-sided net event —
craps:rollResulton only one side breaks the shared throw; both sides needRegisterNetEvent+AddEventHandler.
Corrective re-prompt: Roll both dice and resolve the pass-line point entirely in server.lua keyed by source; the client may only send its bets and render the broadcast result. Escrow the staked amount before rolling and reject under-funded bets. Guard the throw animation with RequestAnimDict + a HasAnimDictLoaded wait loop, and define craps:throw / craps:rollResult with RegisterNetEvent + AddEventHandler on both sides.
Framework Integration
- ESX:
exports['es_extended']:getSharedObject(), thenxPlayer.getMoney()/removeMoney/addMoneyfor stake escrow and payouts. - QBCore: use
exports['qb-core']:GetCoreObject()andPlayer.Functions.RemoveMoney('cash', staked)/AddMoney('cash', passBet*2)keyed offQBCore.Functions.GetPlayer(src). - QBox: not targeted in this spec; the QBCore path runs unchanged under qbx_core if needed via
exports.qbx_core:GetPlayer(src).
Profit Potential
$200–$2000/mo on Tebex (expected ~$650). [INFERRED] priced inside the $50-389 FiveM script band against a stable, low-supply niche; corpus median seller $11.85K/mo (signal-scraper tebex_snapshot n=100), with a scarcity premium for craps.
Trend Signal
→ stable — inferred: craps far rarer than blackjack/roulette; synced-dice bet-matrix complexity limits supply.
Sales Angle
The table most casino packs skip: craps with real point state and a synced two-dice throw — low supply, high perceived value. Recommended Tebex price $189.
Difficulty & Ship Time
advanced · ships in 1-2 days.