본문으로 건너뛰기

joaat 해시 계산기

GTA V, RDR2의 joaat 해시 (GetHashKey)를 아무 문자열에나, 여러 개를 한 번에, 전부 브라우저에서 계산합니다. signed, unsigned, hex 출력과 함께 목록용 Lua 해시 테이블도 나옵니다.

도구 아래의 설명은 아직 영어로만 제공됩니다.

계산기해시문서 읽기

입력

결과

Unsigned
Signed (int32)
Hex
Lua backtick

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)