FuzzyLiama
Hollowed
- Joined
- Jan 25, 2017
- Messages
- 31
- Points
- 8
If you have updated Team Fortress 2 recently and have it mounted
It may or may not crash you when you join a server with pac3 this also goes for pointshop 2
Of course the easiest way to do this is un-mount Team Fortress 2 from Garry's Mod
But if you want to keep it mounted
"particles/weapon_unusual_isotope.pcf" seems to be the particle that causes crash.
Code used to find the bad particle and check.
Replicate crash:
Temp patch (place this in lua/autorun):
It may or may not crash you when you join a server with pac3 this also goes for pointshop 2
Of course the easiest way to do this is un-mount Team Fortress 2 from Garry's Mod
But if you want to keep it mounted
"particles/weapon_unusual_isotope.pcf" seems to be the particle that causes crash.
Code used to find the bad particle and check.
Code:
local badList = {}
badList["particles/weapon_unusual_isotope.pcf"] = true
for _, file_name in pairs(file.Find("particles/*.pcf", "GAME")) do
if badList["particles/" .. file_name] then
file.Append( "loadparticle.txt", "BAD particles/" .. file_name .. "\n" )
else
file.Append( "loadparticle.txt", "particles/" .. file_name .. "\n" )
game.AddParticles("particles/" .. file_name)
end
end
Code:
lua_run_cl game.AddParticles("particles/weapon_unusual_isotope.pcf")
Code:
old_game_Particles = old_game_Particles or game.AddParticles
function game.AddParticles(str)
if str == "particles/weapon_unusual_isotope.pcf" then return end
old_game_Particles(str)
end
Last edited: