View Issue Details

IDProjectCategoryView StatusLast Update
0008314Multi Theft Auto : San AndreasClientpublic2014-06-28 14:57
ReporterGengarAssigned ToCazomino05 
PriorityhighSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target Version1.4Fixed in Version1.4 
Summary0008314: MTA crashing with smoke grenades
Description

I was trying to make resource where vehicle drops 9 smoke grenades if unauthorized person tries to enter vehicle using function createProjectile client side. Vehicle throws smoke grenades, but they don't release any smoke. Further more, if I am in radius of 5 meters from smoke grenades, my MTA crashes.

Steps To Reproduce

Crash happens if you are in radius of 5 meters from location where vehicle drops smoke grenades, or if you try to approach dropped smoke grenades from further distance.

TagsNo tags attached.

Activities

ccw

2014-06-28 00:47

administrator   ~~0021157

How is the vehicle dropping smoke grenades?

Gengar

2014-06-28 00:52

viewer   ~~0021158

Last edited: 2014-06-28 00:58

View 2 revisions

I am using this function client sided: http://pastebin.com/3jEYTYpf
and this function server sided: http://pastebin.com/wskiY3ib

Edit:
Made further testing, crash only happens if I am approaching smoke grenades on foot. If I am inside vehicle which threw smoke grenades, I can see smoke and my MTA doesn't crash.

Dutchman101

2014-06-28 00:58

updater   ~~0021159

Provide crashdumps (Programfiles > MTA San Andreas 1.3 > MTA > Dumps > Private >

and in MTA dir the core.log last entry of it (crash info)

Gengar

2014-06-28 01:08

viewer   ~~0021160

This is what I have in Dumps > Private: http://i.imgur.com/NBP7RrM.png
If I understood correctly, you need this file: https://www.dropbox.com/s/s28s6x2d6wxfiad/client_1.3.5-release-6471.0.000_lua51c_00017d86_5_CPxMb_096C692E_1387_FFF_FD1D9_20140627_1413.dmp
?

And here is core.log: https://www.dropbox.com/s/s5qsfsnpfs2mwdg/core.log

sbx320

2014-06-28 01:11

administrator   ~~0021161

We need the crashdump for this exact crash. That's most likely the latest crash from today. You sorted the crashdumps by name, and not by creation date.

Gengar

2014-06-28 01:14

viewer   ~~0021162

Sorry about that, this one should be correct one: https://www.dropbox.com/s/o6kzeyrngxe8vk9/client_1.3.5-release-6471.0.000_gtasa_000c0403_5_CPxMb_B4691619_55F3_1A9_FD1D9_20140628_0056.dmp

Gengar

2014-06-28 01:34

viewer   ~~0021163

Some further testing showed that MTA crashes only when I approach on foot in smoke range to smoke grenade which was created using function createProjectile(). That doesn't happen with smoke grenades I give myself with admin panel.

Cazomino05

2014-06-28 13:00

reporter   ~~0021170

only happens when the source is a vehicle

Gengar

2014-06-28 13:12

viewer   ~~0021171

I only tried createProjectile() function with vehicle as source. There are no crashes with rocket launcher and heat seeking rocket launcher (projectile ID 19 and 20). I haven't tried any other besides those 3.

Cazomino05

2014-06-28 13:31

reporter   ~~0021172

issue is in 1.3.5 as well

Cazomino05

2014-06-28 14:57

reporter   ~~0021173

fixed in r6618 - https://code.google.com/p/mtasa-blue/source/detail?r=6618

Issue History

Date Modified Username Field Change