Jump to content

just updated

Fixed 0.1.18 0.1.18

WarKingz
WarKingz

Posted

Failed to call hook 'CreateBar' on plugin 'AdvancedStatus v0.1.18' (KeyNotFoundException: The given key 'AdvancedStatus_Default' was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in :0 
  at Oxide.Plugins.AdvancedStatus.DrawBars (Oxide.Plugins.AdvancedStatus+PlayerWatcher watcher, System.Int32 startIndex) [0x00134] in :0 
  at Oxide.Plugins.AdvancedStatus.CreateBar (System.UInt64 userID, System.Collections.Generic.Dictionary`2[TKey,TValue] parameters) [0x00125] in :0 
  at Oxide.Plugins.AdvancedStatus.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x01970] in :0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in :0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in :0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0 

 

WarKingz

Posted

[CSharp] Started Oxide.Compiler v successfully
AdvancedStatus was compiled successfully in 1672ms
Unloaded plugin Advanced Status v0.1.18 by IIIaKa
DirectoryNotFoundException: Could not find a part of the path '/home/container/oxide/data/AdvancedStatus\Images'.
Loaded plugin Advanced Status v0.1.18 by IIIaKa
Failed to call hook 'CreateBar' on plugin 'AdvancedStatus v0.1.18' (KeyNotFoundException: The given key 'AdvancedStatus_Default' was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in :0 
  at Oxide.Plugins.AdvancedStatus.DrawBars (Oxide.Plugins.AdvancedStatus+PlayerWatcher watcher, System.Int32 startIndex) [0x00134] in :0 
  at Oxide.Plugins.AdvancedStatus.CreateBar (System.UInt64 userID, System.Collections.Generic.Dictionary`2[TKey,TValue] parameters) [0x00125] in :0 
  at Oxide.Plugins.AdvancedStatus.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x01970] in :0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in :0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in :0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0 

 

  • Like 1
IIIaKa

Posted

Changed Status from Pending to Work in Progress

IIIaKa

Posted

Try adding the image AdvancedStatus_Default (from the archive) to the folder SERVER\oxide\data\AdvancedStatus\Images.

StrifeZ

Posted

issue is in line 66 
Change
ImagesPath = $@"{AdvancedStatusName}\Images", 

to
ImagesPath = $@"{AdvancedStatusName}/Images", 

  • Like 1
etiv

Posted

11 hours ago, StrifeZ said:

issue is in line 66 
Change
ImagesPath = $@"{AdvancedStatusName}\Images", 

to
ImagesPath = $@"{AdvancedStatusName}/Images", 

I tried this and weirdly enough, it didn't actually fix the issue for me. It is possible that because I'm using carbon, its breaking due to the way its handled. 

StrifeZ

Posted

I'm running Oxide and made that change and everything started working again. Couldn't tell you if it's a Carbon thing or not sorry. Did you change the \ to /?

etiv

Posted

6 minutes ago, StrifeZ said:

I'm running Oxide and made that change and everything started working again. Couldn't tell you if it's a Carbon thing or not sorry. Did you change the \ to /?

Yeah. It says the file doesn't exist still but the error message changed. So your fix does technically work but not fully for carbon from what I can tell.

StrifeZ

Posted (edited)

Well before it would throw that error the OP mentioned when a bar was being created. The change from \ to / should fix that. The message about the image not being found -  if it's this "[Advanced Status] The image folder is empty, or the default image is missing! For proper functionality, the file ***/data/AdvancedStatus/Images/AdvancedStatus_Default.png must be present! Please reload the plugin after adding it." Not sure, but I'm sure IIIaKa can clarify that when he gets a chance.

Edited by StrifeZ
  • Like 1
IIIaKa

Posted

Changed Status from Work in Progress to Fixed

Changed Fixed In to 0.1.18

IIIaKa

Posted

If the issue persists, feel free to report it in this thread.

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.4k

Files Sold

Total number of files sold.

2.3m

Payments Processed

Total payments processed.

×
×
  • 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.