• Particle Effect crashing GMod
    2 replies, posted
This is a recent issue that keeps crashing hl2.exe. Whenever I spawn one of my effects (specific ones not all), it mostly crashes the game when the player directly looks at it. Video: [url]https://www.dropbox.com/s/h7innl2rdg75oen/hl2%202015-04-18%2020-33-10-276.avi?dl=0[/url] How to replicate: Download the pcf - [url]http://puu.sh/hiv67/7a1350fd1e.pcf[/url] Use this code to spawn it: [code] function test( ply, command, arguments ) local pos = ply:GetPos() for i=1, 50 do timer.Simple(i/4, function() ParticleEffect( "gf2_battery_03_explosion_01", pos, ply:GetAngles(), ply) end) end end concommand.Add( "run_effect", test ) [/code] and wait until the game crashes. This type of a crash doesn't produce any crash dumps or errors just so you know.
For those wanting to test this, it has to be game.AddParticles-ed first.
[code] particle_test_file "gf2_battery_03_explosion_01" particle_test_start [/code] Worked without a crash, but I got console spam that says, Cannot update control point 0 for effect 'gf2_battery_03_explosion_01'. Just tested your script. Works fine sometimes, but does randomly crash. Might be overflowing.
Sorry, you need to Log In to post a reply to this thread.