Garry's Mod

Garry's Mod

Otillräckligt med betyg
CTakeDamageInfo Fixer (Refer To Wade)
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Content Type: Addon
Addon Type: Tool
Filstorlek
Lades upp
Uppdaterades
4.306 KB
22 feb, 2024 @ 7:49
25 feb, 2024 @ 20:23
6 ändringsnotiser ( visa )

Abonnera för att ladda ner
CTakeDamageInfo Fixer (Refer To Wade)

Beskrivning
Originally addons on https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3139359330, Normalized CTakeDamageInfo processing. ( Ensuring that you only have this addon, instead of the other ctakedamage fixer, if you want to use it properly. ) Stop Working
7 kommentarer
Hearkisnf  [skapare] 9 feb @ 10:25 
推荐所有人不要用这个模组,除非你再经历一些绰绰有余的报错,它破坏了原本的CTakeDamageInfo的工作原理,实现到个维持的操作,就是维持实例化元表的数据,防止他们的数据赋空,因为这个元表的本来就是瞬态的,创建完了就消失,有些开发者直接就把takedamageinfo放在迭代里面执行,打破了一个它的一次性执行的逻辑,这就意料着报错,这个模组的主要原理就是维持了它的一个有效数据
Hearkisnf  [skapare] 24 mar, 2024 @ 8:59 
@22JUAN22 Does it pop the error message? What's the bad code? I really don't know that the details.
22JUAN22 24 mar, 2024 @ 8:15 
So the issue is that with Fully Dynamic Animated Blood mod, you need to shoot npcs more than once to make it work. So if you kill an NPC with 1 shot, the mod will not work. Only if you shoot the NPC's body again after death it works.
Hearkisnf  [skapare] 24 mar, 2024 @ 5:23 
@22JUAN22 What kind of errors?
Hearkisnf  [skapare] 24 mar, 2024 @ 1:28 
@22JUAN22 It actually just returns an entity that captured on valid data when GetAttacker is called but doesn't return a NULL ( Avoiding Invalid Data ), and also have some details in it, so I guess it works better than before, but I will try to fix it if there are some issues.
22JUAN22 24 mar, 2024 @ 0:41 
Does this work for Fully Dynamic Animated Blood Mod? I tried to use the other fixer, but you still need to shoot NPC's more than once for it to actually work. Does this mod fix that?
Hearkisnf  [skapare] 21 mar, 2024 @ 6:53 
Problem: Without disposes for disposable information object after calling TakeDamageInfo, or by a transience.