Skip to content

Hacking ​

Puzzles on a screen: find codes, redraw a pattern, brute-force a wheel. Mostly mouse plus a keyboard alternative. Every game has four difficulties; the tables list the params, their range and what each preset sets (generated from the game files, see Games & difficulty).

Hex hack (hexhack) ​

Medium Expert
Hex hack Hex hack, expert

Find the target codes in the grid before the trace completes: the first in the top row, then alternate between the column and the row of your last pick. Wrong picks cost time.

  • Controls: Click a code, or move with the arrow keys and pick with Enter. Esc gives up (cancel) unless the caller set cancelable = false.
  • Fails with: timeout (the trace completed; every wrong pick costs penalty seconds), deadend (no matching code left in the line).
  • Used by: np_banking: vault keypads and panels, every Pacific / Union sync terminal, the ATM jackpot hack.
lua
exports.np_minigames:Play(src, 'hexhack', { difficulty = 'hard', label = 'Fleeca keypad', seconds = 25 })
param type range default easy medium hard expert
codes list — — — —
cols int 3 – 10 6 5 6 7 8
length int 2 – 10 5 4 5 6 7
penalty number 0 – 10 3 — — — 4
rows int 3 – 8 5 4 5 6 6
seconds number · time 8 – 120 30 40 30 28 26

A preset column shows only what that preset sets; — means the default applies. time params grow with timeScale and Assist, speed params shrink with them.

Pattern lock (pattern) ​

Medium Expert
Pattern lock Pattern lock, expert

A pattern draws itself on the lock, dot by dot. Redraw it from memory; every round it grows longer. One wrong dot and the attempt is over.

  • Controls: Drag across the dots or click them one by one; 1–9 picks a dot on the 3 × 3 lock. Esc gives up (cancel) unless the caller set cancelable = false.
  • Fails with: wrong (more wrong dots than mistakes), timeout, unfinished.
  • Used by: np_passwords: pattern locks in play mode; np_shops: an option for the safe.
lua
exports.np_minigames:Play(src, 'pattern', { difficulty = 'medium', size = 4 })
param type range default easy medium hard expert
grow int 0 – 3 1 1 1 1 2
length int 2 – 12 4 3 4 5 6
mistakes int 0 – 3 1 1 1 0 0
rounds int 1 – 6 3 3 3 4 4
seconds number · time 3 – 30 8 10 8 8 8
showMs int · time 200 – 1500 550 700 550 450 380
size int 3 – 5 3 3 3 4 5

A preset column shows only what that preset sets; — means the default applies. time params grow with timeScale and Assist, speed params shrink with them.

Code cracker (crack) ​

Medium Expert
Code cracker Code cracker, expert

Brute-force a lock code. The active wheel rolls through the digits: hit SPACE while it shows the target above it to lock it. Wrong presses heat the rig and cost time.

  • Controls: SPACE locks the active wheel while it shows the target digit above it. With mode = 'auto' the wheels lock by themselves over the given duration; the player only has to stay put. Esc gives up (cancel) unless the caller set cancelable = false.
  • Fails with: overheat (more wrong presses than allowMisses), timeout.
  • Used by: np_passwords: the code breaker; np_shops: an option for the safe.
lua
exports.np_minigames:Play(src, 'crack', { length = 6 })                        -- play
exports.np_minigames:Play(src, 'crack', { mode = 'auto', duration = 20000 })   -- passive
param type range default easy medium hard expert
allowMisses int 0 – 9 2 3 2 1 1
alternate bool false — — true true
duration int 2000 – 600000 8000 — — — —
graceMs int · time 0 – 120 40 — — — —
length int 4 – 8 6 4 6 7 8
mode string play / auto play — — — —
penaltyMs int · speed 0 – 10000 1500 1000 1500 2000 2500
spinMs int · time 40 – 400 110 150 110 90 72
timeMs int · time 4000 – 120000 14000 15000 14000 13000 12000

A preset column shows only what that preset sets; — means the default applies. time params grow with timeScale and Assist, speed params shrink with them.