Code:(18:10:36) | Failed to call hook 'OnServerInitialized' on plugin 'ImageLibrary v2.0.7' (NullReferenceException: Object reference not set to an instance of an object) (18:10:36) | at Oxide.Plugins.ImageLibrary.CheckForRefresh () [0x00000] in <filename unknown>:0 at Oxide.Plugins.ImageLibrary.OnServerInitialized () [0x00000] in <filename unknown>:0 at Oxide.Plugins.ImageLibrary.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
ImageLibrary
Moved
Total Downloads: 18,292 - First Release: Oct 29, 2016 - Last Update: Jun 11, 2018
- 5/5, 36 likes
-
Hey I need some help I loaded the plugin into my server, continuously tried restarting, uninstalling and re downloading, deleting configs and data and reloading, and still every time I load my server I get
Failed to call hook 'OnServerInitialized' on plugin 'ImageLibrary v2.0.7' (NullR
eferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.ImageLibrary.CheckForRefresh () [0x00000] in <filename unknow
n>:0
at Oxide.Plugins.ImageLibrary.OnServerInitialized () [0x00000] in <filename un
known>:0
at Oxide.Plugins.ImageLibrary.DirectCallHook (System.String name, System.Objec
t& ret, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod meth
od, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[]
args) [0x00000] in <filename unknown>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] arg
s) [0x00000] in <filename unknown>:0
Loaded plugin ImageLibrary v2.0.7 by Absolut & K1lly0u -
in ImageLibrary.cs
line 82
replace
Code:webrequest.EnqueueGet("http://s3.amazonaws.com/s3.playrust.com/icons/inventory/rust/schema.json", (code, response) =>
Code:webrequest.Enqueue("http://s3.amazonaws.com/s3.playrust.com/icons/inventory/rust/schema.json", null, (code, response) =>
-
-
Absolut updated ImageLibrary with a new update entry:
2.0.8
-
Error while compiling: ImageLibrary.cs(219,24): error CS1061: Type `Oxide.Core.Libraries.WebRequests' does not contain a definition for `Enqueue' and no extension method `Enqueue' of type `Oxide.Core.Libraries.WebRequests' could be found. Are you missing an assembly reference?
Error while compiling: Missing dependencies: ImageLibrary -
Code:
Error while compiling: ImageLibrary.cs(219,24): error CS1061: Type `Oxide.Core.Libraries.WebRequests' does not contain a definition for `Enqueue' and no extension method `Enqueue' of type `Oxide.Core.Libraries.WebRequests' could be found. Are you missing an assembly reference?
-
Code:
(06:13:26) | ImageLibrary was compiled successfully in 383ms (06:13:26) | Failed to call hook 'OnServerInitialized' on plugin 'ImageLibrary v2.0.8' (NullReferenceException: Object reference not set to an instance of an object) (06:13:26) | at Oxide.Plugins.ImageLibrary.CheckForRefresh () [0x00000] in <filename unknown>:0 at Oxide.Plugins.ImageLibrary.OnServerInitialized () [0x00000] in <filename unknown>:0 at Oxide.Plugins.ImageLibrary.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 (06:13:26) | Loaded plugin ImageLibrary v2.0.8 by Absolut & K1lly0u (06:13:52) | Failed to call hook 'ImportImageList' on plugin 'ImageLibrary v2.0.8' (NullReferenceException: Object reference not set to an instance of an object) (06:13:52) | at Oxide.Plugins.ImageLibrary.HasImage (System.String imageName, UInt64 imageId) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ImageLibrary.ImportImageList (System.String title, System.Collections.Generic.Dictionary`2 imageList, UInt64 imageId, Boolean replace) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ImageLibrary.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 (06:13:52) | Loaded plugin SkipNightUI v0.1.2 by k1lly0u (06:13:59) | Failed to call hook 'GetImage' on plugin 'ImageLibrary v2.0.8' (NullReferenceException: Object reference not set to an instance of an object) (06:13:59) | at Oxide.Plugins.ImageLibrary.GetImage (System.String imageName, UInt64 imageId, Boolean returnUrl) [0x00000] in <filename unknown>:0 at Oxide.Plugins.ImageLibrary.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 (06:13:59) | Failed to call hook 'GetImage' on plugin 'ImageLibrary v2.0.8' (NullReferenceException: Object reference not set to an instance of an object)
-
re: latest update
(08:45:39) | Error while compiling: ImageLibrary.cs(219,24): error CS1061: Type `Oxide.Core.Libraries.WebRequests' does not contain a definition for `Enqueue' and no extension method `Enqueue' of type `Oxide.Core.Libraries.WebRequests' could be found. Are you missing an assembly reference? -
Need to update Oxide?
Wulf had done an update which broke this.. so it is broke for some that updated and cant go in reverse. -
Ya. Woops on my part
-
-
Wulf Community Admin
-
-
Wulf Community Admin
-
Got it, thanks @Wulf
Another Question if you don't mind? How can I wipe BP's? I never owned a server when BP's were a thing. -
Wulf Community Admin
-
Ok thanks
-
Code:
Web request callback raised an exception (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.ImageLibrary.<GetItemSkins>m__0 (Int32 code, System.String response) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>b__42_0 () [0x00000] in <filename unknown>:0
-
... same: after Rust - Update (DevBlog 182) not working !