View Issue Details

IDProjectCategoryView StatusLast Update
0000491GTA ConnectedGrand Theft Auto IVpublic2023-08-14 19:05
Reportermariokamani Assigned To 
PrioritynormalSeveritycrashReproducibilityrandom
Status newResolutionopen 
Platformx64OSWindowsOS Version11
Summary0000491: Random client crash when using /goto and /gethere
Description

10% chance for the client to crash when using goto or gethere on players, especially out of streaming distance.

Steps To Reproduce

I'm calling "triggerNetworkEvent("setPlayerPosition", client, Number(x), Number(y), Number(z))" on player command.

addNetworkHandler("setPlayerPosition", (x, y, z) => {
if (localPlayer) {
console.log(Setting player position to ${x}, ${y}, ${z});
if (localPlayer.vehicle) {
localPlayer.vehicle.position = new Vec3(x, y, z);
localPlayer.vehicle.velocity = new Vec3(0, 0, 0);
return;
}
localPlayer.velocity = new Vec3(0, 0, 0);
localPlayer.position = new Vec3(x, y, z);
} else {
console.log(Local player is null);
}
});

Additional Information

Attaching crash dump. Let me know whatever info you need.

TagsNo tags attached.
Game

Activities

mariokamani

2023-08-14 19:05

reporter  

Issue History

Date Modified Username Field Change
2023-08-14 19:05 mariokamani New Issue
2023-08-14 19:05 mariokamani File Added: 2023-08-14 20-59-21.492.dmp.gz