Gameplay of GTA 6 Online
Open video directlyGTA 6 Online — G6MP (Standalone Multiplayer Framework)
An independent multiplayer framework (in the style of FiveM / alt:V) featuring its own dedicated server, binary UDP protocol, test client, and C-ABI SDK ready to be integrated with a runtime layer (e.g., voctory or Tigonida).
The project does not use any Xbox Live or Rockstar services, contains no game files, and has zero external dependencies (pure Rust std).
Project Structure
| Crate | Role |
|---|---|
crates/protocol (g6mp-protocol) | Binary G6MP network protocol (big-endian, boundary validation, header with sequence/ack, client and server packets, player and vehicle states). |
crates/server (gta6-server) | Dedicated UDP server with a fixed-timestep loop (30 Hz by default), session management, heartbeat/timeouts, spatial filtering (Area of Interest), chat and commands (/who, /tp, /help), and a vehicle registry. |
crates/client (gta6-client) | NetworkClient client library + interactive CLI client and bot mode (--bot-secs) for load testing. |
crates/bridge-sdk (g6mp-bridge-sdk) | C-ABI integration layer (cdylib / staticlib + include/g6mp_bridge.h) for connecting to the game runtime. |
Quick Start
Building and Testing
cargo test
cargo build --release
Starting the Dedicated Server
cargo run -p g6mp-server -- --bind 127.0.0.1:7777 --tick-rate 30 --max-players 64
Starting the Test Client (in a Second Terminal)
cargo run -p g6mp-client -- --server 127.0.0.1:7777 --name Lucia
Available Client Commands
Type any text to send a chat message (or a server command: /who, /tp 10 20 5, /help).
!move <x> <y> <z>— Update the local player's position.!spawn <hex_model>— Spawn a vehicle (e.g.,!spawn 0xDEADBEEF).!players— Display synchronized players and vehicles.!quit— Disconnect cleanly.
Bot Mode (Movement Testing)
cargo run -p g6mp-client -- --server 127.0.0.1:7777 --name Bot1 --bot-secs 10
Next Steps (Roadmap)
- Reliable UDP Channel — Retransmission of critical events (join/leave, chat, vehicle spawn/despawn, RPC) using the sequence/ack/ack_bits fields in PacketHeader.
- Client-Side Interpolation and Prediction — A snapshot buffer (100 ms) for smooth movement of remote players and vehicles.
- Resource / Scripting System — Loading server-side game modes (e.g., Lua/WASM).
- Runtime Integration (voctory / Tigonida) — Connecting g6mp-bridge-sdk to read player positions and spawn/update remote peds and vehicles.
How this page works
- Click to enter. A fullscreen intro video plays with sound and disappears after 15 seconds.
- Then a popup shows a short muted preview of how the project looks.
- Press OK to close the popup and go to the main page.
- Press play on the gameplay video to watch it with sound.
- Press the button below to open the project files on GitHub.