View Issue Details

IDProjectCategoryView StatusLast Update
0009701New Feature Requests[All Projects] Generalpublic2017-08-13 20:06
ReporterLopSided_Assigned To 
PrioritylowSeveritycrashReproducibilityalways
Status newResolutionopen 
Summary0009701: fixVehicle() in onClientVehicleCollision crashes client if vehicle is blown
Description

fixVehicle() doesn't appear to do a check on whether the vehicle provided is blown/exploded. This can obviously be avoided in Lua by checking with isVehicleBlown() - however it can cause client crashes if not checked.

A solution / better approach would be to check for this and produce a debug output to tell them what's wrong.

Check this topic for all the information you need. https://forum.mtasa.com/topic/98351-unexpected-bug-in-a-script/

TagsNo tags attached.

Activities

pkpawelo

2017-08-13 13:28

viewer   ~~0026140

I'm sorry but the suggested solution is just ridiculous because this would make it impossible to repair blown vehicles, which currently works like a charm in any normal situation. You must have hit some edge case... combination of game events and actions taken inside them, which are together causing a crash for some reason.

Issue History

Date Modified Username Field Change