View Issue Details

IDProjectCategoryView StatusLast Update
0008819Multi Theft Auto : San AndreasClientpublic2016-06-07 14:30
ReporterccwAssigned Toccw 
PrioritynormalSeverityminorReproducibilitysometimes
Status resolvedResolutionfixed 
Product Version1.4.1 
Target Version1.5.3Fixed in Version1.5.3 
Summary0008819: Projectile setElementModel crash
Description

Changing the model of the rhino tank projectile to 342 can cause crashes as reported in this forum post: http://forum.mtasa.com/viewtopic.php?f=104&t=86801

Steps To Reproduce

1) Get this resource http://community.mtasa.com/?p=resources&s=details&id=1280
2) Get two or more players
3) Use rhino and fire
4) Extra unknown thing

Additional Information

The crash address (4096AD) is in the function CStreaming::AddEntity, where the code is trying to delete an old entry in global rwObjectInstances list. (But the old entry is invalid (already deleted?) for some reason)

GUESS: Changing the model to 342 also changes the tank projectile behaviour from instant hit style, to moving projectile. Maybe streaming during the projectile flight can cause it to not be properly removed from the global rwObjectInstances list.

TagsNo tags attached.

Relationships

related to 0008890 closed New issues Random crashes with no visible reason 
related to 0009163 resolvedccw Multi Theft Auto : San Andreas setElementModel crash 

Activities

einheit-101

2015-06-19 19:31

reporter   ~~0023395

Rhino has no projectile, its an instant explosion. I created vreload that prevents the rhino main gun from firing and I just use createProjectile to create 342 as custom ballistic shell.

Dutchman101

2016-06-07 09:48

updater   ~~0024760

Fixed in https://github.com/multitheftauto/mtasa-blue/commit/60c87a1e5514ce48205e091980a637629645d80f

Issue History

Date Modified Username Field Change