• constraint.NoCollide Crashes my game since 13.12.05 Update
    9 replies, posted
constraint.NoCollide Crashes my game since the 13.12.05 Update, I use this code for my SNPCs to make the Spider queen and regular spider not to collide each other. More Info: It crashes when the SNPC or Entity is removed or killed. [lua]function ENT:CollisonBetweenSomethingCode() -- You can add as many as you want! for k, v in pairs ( ents.GetAll() ) do if v:GetClass() == "npc_vj_dmvj_spider_queen" then constraint.NoCollide( self, v, 0, 0 ) end end end[/lua]
This should be fixed in the Dev version of the game.
When will the real update be released? Also little more info: It crashes when the SNPC or Entity is removed or killed. [QUOTE=Robotboy655;43110637]This should be fixed in the Dev version of the game.[/QUOTE]
You should be using the ShouldCollide hook.
[QUOTE=vrej;43114505]When will the real update be released?[/QUOTE] Whenever Garry chooses to. Just subscribe to the dev branch for testing and release your SNPCs when it's publicly released.
My SNPCs are already released that's the problem. I am getting spammed by people complaining how the projectiles are crashing and they wont understand that it's the GMod dev's fault not mine. Also even if I chose dev branch, not everyone who has my addons going to do the same thing -_- [QUOTE=code_gs;43116938]Whenever Garry chooses to. Just subscribe to the dev branch for testing and release your SNPCs when it's publicly released.[/QUOTE]
Just tell everyone to either disable the addon or subscribe to the dev branch to fix the problem. Either that or make it private until the update is publicly released. If you have an issue with it, then email Garry about it.
I don't want to make it private, it has 40,000+ are subscribers...[QUOTE=code_gs;43117231]Just tell everyone to either disable the addon or subscribe to the dev branch to fix the problem. Either that or make it private until the update is publicly released. If you have an issue with it, then email Garry about it.[/QUOTE]
Then wait I suppose.
Why the fuck do you use nocollide constraint for projectiles?
Sorry, you need to Log In to post a reply to this thread.