altv-issues icon indicating copy to clipboard operation
altv-issues copied to clipboard

getForHandlingName errors

Open Konders opened this issue 3 years ago • 6 comments

Description of the problem

[09:26:30][Error] [V8] Exception at core:client/systems/handling.js:87 [09:26:30][Error] const handling = alt.HandlingData.getForHandlingName(vehicle.handling.handlingN... [09:26:30][Error] Error: Failed to convert argument 1 to uint32 at client/systems/handling.js:87:36

Reproduction steps

alt.on("enteredVehicle", (vehicle, seat) => { const handling = alt.HandlingData.getForHandlingName(vehicle.handling.handlingNameHash); alt.log(handling); });

/veh cheburek

Expected behaviour

We successfully got handling data

Additional context

With oracle everything works good, maybe this problem are model based and can be reproduced not only with cheburek

Operating system

Windows 11

Version

8.4 (release)

Konders avatar Dec 27 '21 07:12 Konders

jester3, buffalo4 affects too

Konders avatar Dec 27 '21 08:12 Konders

Happens for me on some dlc vehicles too

zziger avatar Dec 27 '21 09:12 zziger

I can assume it was caused by a bug in the js module https://github.com/altmp/altv-js-module/commit/cc61215cacfc8f2da210dfff690965197b54df2e

xxshady avatar Sep 25 '22 16:09 xxshady

handlingNameHash on cheburek now returns the correct hash изображение

xxshady avatar Sep 25 '22 16:09 xxshady

Dlc vehicles still seem to be broken изображение

xxshady avatar Sep 25 '22 17:09 xxshady

Can we maybe close this since we already have #1173?

xxshady avatar Sep 25 '22 17:09 xxshady

Yea we can close this one here as resolved then

C0kkie avatar Mar 16 '23 23:03 C0kkie