Jump to content

​​​​​​​Failed to call hook 'hitbar' on plugin 'AdvancedHitBar v1.2.4'

Closed 1.2.4 1.2.5

MadDom
MadDom

Posted (edited)

If i enter /hitbar on or off, i will get this error:

Failed to call hook 'hitbar' on plugin 'AdvancedHitBar v1.2.4' (KeyNotFoundException: The given key 'MYSTEAMID' was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <467a840a914a47078e4ae9b0b1e8779e>:0 ents, 10 slprs                                                                             3kb/s in, 17kb/s out
  at Oxide.Plugins.AdvancedHitBar.hitbar (BasePlayer player, System.String command, System.String[] args) [0x000a8] in <84ffe56952b04c709d464aab27c114ef>:0
  at Oxide.Plugins.AdvancedHitBar.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0010b] in <84ffe56952b04c709d464aab27c114ef>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <795304323ac74a298b8ed190a1dfa739>: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

If i work with editor everything is fine.

Edited by Andariel
ProCelle

Posted

Hey @Andariel,

Unload the plugin, delete the data file and load it back again.

MadDom

Posted

If I do so, i will get the following message:

[AdvancedHitBar] Image Settings_Background was not found. Maybe you didn't upload it to the .../oxide/data/AdvancedHitBar/Images/ folder

So I uploaded the folder to data, deleted AdvancedHitBar.json and tried it again.

Same message:

Failed to call hook 'hitbar' on plugin 'AdvancedHitBar v1.2.4' (KeyNotFoundException: The given key 'MYSTEAMID' was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <467a840a914a47078e4ae9b0b1e8779e>:0 ents, 10 slprs                                                                             3kb/s in, 17kb/s out
  at Oxide.Plugins.AdvancedHitBar.hitbar (BasePlayer player, System.String command, System.String[] args) [0x000a8] in <84ffe56952b04c709d464aab27c114ef>:0
  at Oxide.Plugins.AdvancedHitBar.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0010b] in <84ffe56952b04c709d464aab27c114ef>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <795304323ac74a298b8ed190a1dfa739>: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

ProCelle

Posted

Hey,

Can you send me a copy of ur data file so i can have a more deep look tomorrow? Thank you 🙂

ProCelle

Posted

Changed Status from Pending to Closed

Changed Fixed In to Next Version

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.3m
Total downloads
Customers
10.7k
Customers served
Files Sold
155k
Marketplace sales
Payments
3.3m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.