Vai al contenuto

Calcolatore hash joaat

Calcola gli hash joaat di GTA V / RDR2 (GetHashKey) per qualsiasi stringa, anche in blocco, interamente nel tuo browser. Output signed, unsigned ed esadecimale, più una tabella hash Lua pronta per le liste lunghe.

Per ora le note sotto lo strumento sono in inglese.

Input

Risultato

Unsigned
Signed (int32)
Esadecimale
Backtick Lua

What is joaat?

GTA V and RDR2 identify models, weapons, animations and most other assets by a 32-bit Jenkins one-at-a-time hash of their lower-cased name. In FiveM it is exposed as GetHashKey(name), joaat(name) or the Lua backtick shorthand `name`, which is resolved at compile time.

Signed vs unsigned

The hash is an unsigned 32-bit number, but many natives and dumps show it as a signed int32. Both refer to the same model: 3078201489 and -1216765807 are both adder.

local model = `adder`            -- compile-time hash
RequestModel(model)
while not HasModelLoaded(model) do Wait(0) end
local veh = CreateVehicle(model, coords.x, coords.y, coords.z, heading, true, false)