Skip to content

vizuugit/vzu_circuit_hack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VZU Circuit Hack

Premium Pipe-Dream-style hacking minigame for FiveM. Free, open-source, framework-agnostic.

Made by VZU Studio License: MIT FiveM

Features

  • Pipe Dream visual paradigm — instantly recognisable, zero learning curve for players
  • 3 difficulty tiers — Easy (4×4), Medium (6×6), Hard (8×8) with auto-balanced grids
  • API v2 — 5 callbacks (onStart / onSuccess / onFail / onCancel / onCooldown), context tracking, custom configs
  • Server hooksvzu-circuit-hack:onStart / :onSuccess / :onFail / :onCancel for cross-resource integration
  • Cooldown system — Per-context cooldowns (atm: 60s, vehicle: 15s, safe: 120s, fully configurable)
  • Player stats — Attempts, success rate, average time, leaderboards via GetTopPlayers
  • Optional persistence — Stats, cooldowns, and per-attempt history via oxmysql
  • Anti-cheat — Server-side validation, session nonce, rate limiting, min-time guard
  • Tablet animation — Player ped raises a tablet (with prop) before the puzzle opens
  • 6 SFX included — Tile rotate, partial connect, full connect, lock-in loop, success, fail
  • Locale system — English default, PT-BR included, easily extensible
  • Test zone resource/vzutest chains every scenario for QA passes and promo capture
  • 5 ready-to-use examples — ATM robbery, vehicle lockpick, door breach, computer hack, safe crack

Quick start

ensure ox_lib
ensure vzu_circuit_hack

In-game:

/circuithack medium

The minigame opens, the player ped raises a tablet, the puzzle plays. That's it.

Basic usage

-- v1 — simple, success-only callback
exports['vzu_circuit_hack']:Start('medium', function(success)
    if success then print('Hack completed!') end
end)
-- v2 — full callbacks + context (recommended)
exports['vzu_circuit_hack']:StartAdvanced({
    difficulty = 'medium',
    context = {
        type = 'atm',
        targetId = 'atm_pacific_01',
        description = 'Pacific Standard ATM',
    },
    callbacks = {
        onSuccess = function(d)
            print(('Hack succeeded in %dms with %d clicks'):format(d.timeMs, d.clickCount))
        end,
        onFail = function(d)
            print(('Hack failed: %s'):format(d.reason))
        end,
        onCooldown = function(cd)
            print(('On cooldown: %dms remaining'):format(cd.remainingMs))
        end,
    },
})

AI Integration

Using Claude Code, Cursor, Copilot, or another AI assistant to integrate?

Paste LLM_CONTEXT.md into your AI conversation as context. It contains the complete API reference, integration patterns, and common pitfalls — optimized for AI consumption (real config values, named anti-patterns, lockpick canonical reference).

Example prompt:

Read LLM_CONTEXT.md from this repo. I want to add an ATM hack to my
Qbox server with a police alarm 30s after start and a $1500 reward
on success.

The AI will produce production-ready code without hallucinating non-existent exports.

Documentation

Compatibility

Framework Status
Qbox Native
QBCore Bridge (auto-detected)
ESX Bridge (auto-detected)
Standalone Works without any framework
Inventory Status
ox_inventory Recommended
qb-inventory Compatible (via fallback)
esx_inventoryhud Compatible (via fallback)

Dependencies

Performance

  • Idle: 0.00ms server, 0.00ms client (no resmon impact)
  • Active hack: ~0.05ms client (NUI rendering only)
  • Network: 1 callback round-trip on submit, no per-frame events

Bundled examples

The examples/ folder contains 5 production-ready integrations:

  1. ATM Robbery — Hack ATMs with cooldown, marked bills, optional Discord webhook
  2. Vehicle Lockpick — Difficulty modulated by vehicle class. Canonical reference (see API.md)
  3. Door Breach — Electronic doors with optional keycard skip path
  4. Computer Hack — 3 tiers (residential / corporate / military) with loot tables
  5. Safe Crack — Safes with low/mid/high tier loot pools

Each example is copy-paste ready, framework-agnostic, and includes a fxmanifest.lua snippet. See examples/README.md.

Test zone

The examples/_test_zone/ folder is a drop-in test rig with one command (/vzutest) that teleports the player to a known spot, sets up the scenario (spawning props as needed, attaching ox_target prompts), and triggers the hack. Built specifically for QA passes and promo captures.

/vzutest atm | lockpick | door | pc <tier> | safe <tier>
/vzutest god        # invincibility
/vzutest revive     # heal + revive (qbx_medical-aware)
/vzutest clear      # wipe spawned props + reset cooldowns

See examples/TEST_ZONE.md for the full walkthrough including suggested promo shot list.

About VZU Studio

VZU is an independent FiveM script studio focused on premium quality, polished UX, and developer-first APIs. This is our first public release — Circuit Hack will always be free.

Coming next:

  • VZU Heist Pack — Yacht, Bank, Casino vault heists
  • VZU Underground Apps — Drug dealer, stock trading, marketplace LB Phone apps
  • VZU Circuit Hack PRO — Themed variants (cyberpunk, retro, military), advanced callbacks

License

MIT — free to use, modify, and redistribute. Attribution appreciated.

See LICENSE for the full text.

Credits

  • Pipe Dream paradigm — Lucasfilm Games (1989), the original gameplay design that inspired this minigame
  • GTA V Tablet animations — Rockstar Games
  • ox_lib — Overextended team for the foundational FiveM utilities
  • Community — Every server owner who tested, broke, and improved this build

Made by VZU StudioTwitter/X · GitHub · Tebex

About

Premium Pipe Dream-style hacking minigame for FiveM

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors