• Хостинг игровых серверов

    Максимальная производительность для ваших игровых серверов!

    Заказать сейчас

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

KarabeeN

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

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

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

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

Кто может помочь с ремонтом. Плагин очень нравиться но ошибки глаза мазолят.
Приложи плагин
 
Не уверен, но вроде правильно поправил. Как показалось из-за того, что info.Attacker.Object или же info.Victim.Object является null выходит ошибка
 

Вложения

  • RustyDeath.cs
    74.8 KB · Просмотры: 28
Всё равно. Такая же ошибка(
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
 
поправил плагин только вот убийства животных не отображается. Может позже исправлю
 

Вложения

  • RustyDeath.cs
    74.8 KB · Просмотры: 33
Помогите ошибка в плагине киты

[14:33:01]Failed to call hook 'cmdDrawKitInfo' on plugin 'Kits v1.1.2' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Kits.DrawKitInfo (BasePlayer player, Oxide.Plugins.Kits+Kit kit, System.Int32 page) [0x003a8] in <67bb099136db474d9451f6f0e141d87f>:0
at Oxide.Plugins.Kits.cmdDrawKitInfo (ConsoleSystem+Arg args) [0x0005c] in <67bb099136db474d9451f6f0e141d87f>:0
at Oxide.Plugins.Kits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x005b3] in <67bb099136db474d9451f6f0e141d87f>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <58a9bd7f6e0746638054bf1318c946eb>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0
 
Помогите ошибка в плагине киты

[14:33:01]Failed to call hook 'cmdDrawKitInfo' on plugin 'Kits v1.1.2' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Kits.DrawKitInfo (BasePlayer player, Oxide.Plugins.Kits+Kit kit, System.Int32 page) [0x003a8] in <67bb099136db474d9451f6f0e141d87f>:0
at Oxide.Plugins.Kits.cmdDrawKitInfo (ConsoleSystem+Arg args) [0x0005c] in <67bb099136db474d9451f6f0e141d87f>:0
at Oxide.Plugins.Kits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x005b3] in <67bb099136db474d9451f6f0e141d87f>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <58a9bd7f6e0746638054bf1318c946eb>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0
А причем тут ЭТОТ плагин?)
 
Активность
Пока никто не печатает сообщение