• Добавили новые платежные методы (AnyPay, FreeKassa, PayPal), постарались уменьшить комиссию на пополнение баланса. Пользуйтесь!

Обсудим Кто поможет починить плагин

KarabeeN

37
0
6
Плагин стал ругаться в консоли

Failed to call hook 'OnEntityDeath' on plugin 'RustyDeath v1.28.1688' (ArgumentNullException: Value cannot be null. Parameter name: key) at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <437ba245d8404784b9fbab9b439ac908>:0 at System.Collections.Generic.Dictionary`2[TKey,TValue].ContainsKey (TKey key) [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0 at ListHashSet`1[T].Contains (T val) [0x00000] in <16422af7043844b496fab96baf66bd00>:0 at Oxide.Plugins.RustyDeath.OnEntityDeath (BaseCombatEntity entity, HitInfo hit) [0x00117] in <7071988caf88416f91a007b29bca476e>:0 at Oxide.Plugins.RustyDeath.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001d9] in <7071988caf88416f91a007b29bca476e>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <98321e516fc1420ea57d4d2088213a59>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0

Кто может помочь с ремонтом. Плагин очень нравиться но ошибки глаза мазолят.
 

Oxide Россия

Команда форума
1,965
1
234
292
Плагин стал ругаться в консоли

Failed to call hook 'OnEntityDeath' on plugin 'RustyDeath v1.28.1688' (ArgumentNullException: Value cannot be null. Parameter name: key) at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <437ba245d8404784b9fbab9b439ac908>:0 at System.Collections.Generic.Dictionary`2[TKey,TValue].ContainsKey (TKey key) [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0 at ListHashSet`1[T].Contains (T val) [0x00000] in <16422af7043844b496fab96baf66bd00>:0 at Oxide.Plugins.RustyDeath.OnEntityDeath (BaseCombatEntity entity, HitInfo hit) [0x00117] in <7071988caf88416f91a007b29bca476e>:0 at Oxide.Plugins.RustyDeath.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001d9] in <7071988caf88416f91a007b29bca476e>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <98321e516fc1420ea57d4d2088213a59>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0

Кто может помочь с ремонтом. Плагин очень нравиться но ошибки глаза мазолят.
Приложи плагин
 

Kaidoz

Главный главного
1,092
10
159
237
Не уверен, но вроде правильно поправил. Как показалось из-за того, что info.Attacker.Object или же info.Victim.Object является null выходит ошибка
 

Вложения

  • RustyDeath.cs
    74.8 KB · Просмотры: 27

Ivandev

6
0
0
Всё равно. Такая же ошибка(
Failed to call hook 'OnEntityDeath' on plugin 'RustyDeath v1.28.1688' (ArgumentNullException: Value cannot be null.
Parameter name: key)
at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <fb001e01371b4adca20013e0ac763896>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].ContainsKey (TKey key) [0x00000] in <fb001e01371b4adca20013e0ac763896>:0
at ListHashSet`1[T].Contains (T val) [0x00000] in <57eaf952bf1942519766e89ab34f93c4>:0
at Oxide.Plugins.RustyDeath.OnEntityDeath (BaseCombatEntity entity, HitInfo hit) [0x00117] in <214aae81f46e4ac8982c6bc7330da580>:0
at Oxide.Plugins.RustyDeath.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001d9] in <214aae81f46e4ac8982c6bc7330da580>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <80b90e8213db44b29ec2d4111764172c>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ec05e0208c9149bba43236ca58fea105>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ec05e0208c9149bba43236ca58fea105>:0
Failed to call hook 'OnEntityDeath' on plugin 'RustyDeath v1.28.1688' (ArgumentNullException: Value cannot be null.
Parameter name: key)
at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <fb001e01371b4adca20013e0ac763896>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].ContainsKey (TKey key) [0x00000] in <fb001e01371b4adca20013e0ac763896>:0
at ListHashSet`1[T].Contains (T val) [0x00000] in <57eaf952bf1942519766e89ab34f93c4>:0
at Oxide.Plugins.RustyDeath.OnEntityDeath (BaseCombatEntity entity, HitInfo hit) [0x00117] in <214aae81f46e4ac8982c6bc7330da580>:0
at Oxide.Plugins.RustyDeath.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001d9] in <214aae81f46e4ac8982c6bc7330da580>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <80b90e8213db44b29ec2d4111764172c>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ec05e0208c9149bba43236ca58fea105>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ec05e0208c9149bba43236ca58fea105>:0
 

Диматлт

242
3
6
31
поправил плагин только вот убийства животных не отображается. Может позже исправлю
 

Вложения

  • RustyDeath.cs
    74.8 KB · Просмотры: 31
Активность
Пока никто не печатает сообщение