Garry's Mod

Garry's Mod

Zbyt mało ocen
CTakeDamageInfo Fixer (Refer To Wade)
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Content Type: Addon
Addon Type: Tool
Rozmiar pliku
Zamieszczono
Zaktualizowano
4.306 KB
22 lutego 2024 o 7:49
25 lutego 2024 o 20:23
Listy zmian: 6 ( zobacz )

Zasubskrybuj, aby pobrać
CTakeDamageInfo Fixer (Refer To Wade)

Opis
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
Komentarzy: 7
Hearkisnf  [autor] 9 lutego o 10:25 
推荐所有人不要用这个模组,除非你再经历一些绰绰有余的报错,它破坏了原本的CTakeDamageInfo的工作原理,实现到个维持的操作,就是维持实例化元表的数据,防止他们的数据赋空,因为这个元表的本来就是瞬态的,创建完了就消失,有些开发者直接就把takedamageinfo放在迭代里面执行,打破了一个它的一次性执行的逻辑,这就意料着报错,这个模组的主要原理就是维持了它的一个有效数据
Hearkisnf  [autor] 24 marca 2024 o 8:59 
@22JUAN22 Does it pop the error message? What's the bad code? I really don't know that the details.
22JUAN22 24 marca 2024 o 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  [autor] 24 marca 2024 o 5:23 
@22JUAN22 What kind of errors?
Hearkisnf  [autor] 24 marca 2024 o 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 marca 2024 o 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  [autor] 21 marca 2024 o 6:53 
Problem: Without disposes for disposable information object after calling TakeDamageInfo, or by a transience.