View Issue Details

IDProjectCategoryView StatusLast Update
0000214ServerGrand Theft Auto IVpublic2020-10-30 14:00
ReporterTosfera Assigned Tojack9267  
PriorityhighSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.1.21 
Summary0000214: Restarting a resource when the resource creates vehicles, crashes the client
Description

My script creates several vehicles server sided to test a few functions and scripts, once I rebooted the resource; every client disconnected.

Steps To Reproduce

create a server sided file with the following content:

addEventHandler(
'OnResourceStart',
function(_, resource)
if (resource == thisResource) then
local vehicle= gta.createVehicle(1821991593, randomLocation.crook)
addToWorld(vehicle)
vehicle.setColours(vehicle, 0, 0)
end
end
)

start the script, connect to the server, restart the script. watch it crash.

Additional Information

crashlogs: https://cdn.discordapp.com/attachments/431847495732166658/764225254573736006/2020-10-09_22-37-23.945.dmp.gz

TagsNo tags attached.
Game

Activities

Callum

2020-10-22 21:56

updater   ~0000096

Adding to this, the server appears to get stuck in an infinite loop creating the vehicles again in the same position. Within a second or so you can see dozens and dozens of the same vehicle model all within each other. This is most observable with a Police Maverick as they instantly shoot across the sky in all directions (as if they're trying to spread out).

Issue History

Date Modified Username Field Change
2020-10-09 20:44 Tosfera New Issue
2020-10-22 21:56 Callum Note Added: 0000096
2020-10-30 14:00 Vortrex Assigned To => jack9267
2020-10-30 14:00 Vortrex Status new => resolved
2020-10-30 14:00 Vortrex Resolution open => fixed