Garry's Mod

Garry's Mod

Material Combat System
Errors I've Run Into
Instead of just constantly leaving comments for my errors, I'm just gonna make a discussion for a more centralized and out-of-the-way place to leave the error's I've run into.

Right now, I've run into a conflict between this mod and Viewmodel Stains, where getting hit by an antlion worker's acid spit attack with the plasmatic health type causes an error. If this is true, then it's caused by the health drain's damage being specified as typeless. I'm unsure what the loricate-penetrating issue is. If I'm wrong about this, please ignore.

The errors are coming from Viewmodel Stains, but this mod is very likely what is causing the incompatibility. Plus I'm 90% certain this addon is no longer being worked on, so the best I can hope for is for this mod to be updated and fix what is conflicting. If you can't, then I can just ignore it, I guess.

The errors are as follows:
[Viewmodel Stains] lua/autorun/sh_vmd.lua:124: Tried to use a NULL entity! 1. GetClass - [C]:-1 2. v - lua/autorun/sh_vmd.lua:124 3. unknown - lua/includes/modules/hook.lua:102 4. TakeDamageInfo - [C]:-1 5. MCS_TypelessDamage - lua/mcs_framework/util/sv_util.lua:89 6. func - lua/mcs_types/armor/adrenaline.lua:79 7. unknown - lua/mcs_framework/util/sh_util.lua:80
[Viewmodel Stains] lua/autorun/sh_vmd.lua:124: Tried to use a NULL entity! 1. GetClass - [C]:-1 2. v - lua/autorun/sh_vmd.lua:124 3. unknown - lua/includes/modules/hook.lua:102 4. TakeDamageInfo - [C]:-1 5. MCS_TypelessDamage - lua/mcs_framework/util/sv_util.lua:89 6. lTypeHook - lua/mcs_types/effect/loricate-penetrating.lua:23 7. MCS_TypeHook - lua/mcs/sh_types.lua:42 8. unknown - lua/mcs/effects/sv_effects.lua:199
[Viewmodel Stains] lua/autorun/sh_vmd.lua:124: Tried to use a NULL entity! 1. GetClass - [C]:-1 2. v - lua/autorun/sh_vmd.lua:124 3. unknown - lua/includes/modules/hook.lua:102 4. TakeDamageInfo - [C]:-1 5. MCS_TypelessDamage - lua/mcs_framework/util/sv_util.lua:89 6. lTypeHook - lua/mcs_types/effect/plasmatic-chemical.lua:29 7. MCS_TypeHook - lua/mcs/sh_types.lua:42 8. unknown - lua/mcs/effects/sv_effects.lua:199
Last edited by Purplexion; 20 Jul @ 9:35am
< >
Showing 1-2 of 2 comments
textstack Ƹ̴Ӂ̴Ʒ  [developer] 23 Jul @ 3:12am 
it seems viewmodel stains assumes that all damage has a valid attacker (which is not true)
i can just make sure the typeless damage function mcs has sets the attacker
Originally posted by textstack Ƹ̴Ӂ̴Ʒ:
it seems viewmodel stains assumes that all damage has a valid attacker (which is not true)
i can just make sure the typeless damage function mcs has sets the attacker
That sounds like a good fix. Hope to see it soon!
< >
Showing 1-2 of 2 comments
Per page: 1530 50