ImageLibrary

Moved

Total Downloads: 18,292 - First Release: Oct 29, 2016 - Last Update: Jun 11, 2018

5/5, 36 likes
  1. He's right - just delete your ImageLibrary folder in data, and the json in config and load it fresh - worked for me. Why couldn't the developer or someone already said this?
     
  2. This is the errors you get, when you try to delete everything, and reload the plugins after reinstalling:

    Failed to call hook 'OnServerInitialized' on plugin 'ImageLibrary v2.0.2' (NullReferenceException: Object reference not set to an instance of an object)
    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 (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
    Calling 'OnServerInitialized' on 'ImageLibrary v2.0.2' took 966ms [GARBAGE COLLECT]
    Loaded plugin LustyMap v2.1.1 by Kayzor / k1lly0u
    [LustyMap] [Warning] Validating imagery
    Failed to call hook 'OnServerInitialized' on plugin 'LustyMap v2.1.1' (NullReferenceException: Object reference not set to an instance of an object)
    at Oxide.Plugins.ImageLibrary.HasImage (System.String imageName, UInt64 imageId) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.LustyMap.ValidateImages () [0x00000] in <filename unknown>:0
    at Oxide.Plugins.LustyMap.OnServerInitialized () [0x00000] in <filename unknown>:0
    at Oxide.Plugins.LustyMap.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (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
     
  3. unload the plugin - Delete the config json - delete the entire imagelibrary folder inside data - type load ImageLibrary fresh
     
  4. not work((((
     
  5. This 100 % works delete every image library file including the language file and do a fresh install
     
  6. sanks!
     
  7. Hi

    I just deleted all ImageLibrary files on our server and installed the plugin new. But the images on LustyMap still don't work.
    Does someone know how to fix that?
     
  8. Lusty map is temperamental at best try in console 'refreshallimages' wait 15 minutes then reload lusty map works for me most times
     
  9. thanks that worked for all town images but now the map image (the minimap and the big one you get when pressing M) are grey and saying "Image not found" although that worked before...
    any ideas how to fix that as well? :D
    [DOUBLEPOST=1498246050][/DOUBLEPOST]never mind.. just reloaded it again and now it works
     
  10. More errors on log this week (use with LustyMap):
    Code:
    12:02 [Error] Web request callback raised an exception (NullReferenceException: Object reference not set to an instance of an object)
    12:02 [Stacktrace]   at Oxide.Plugins.ImageLibrary+ImageAssets.StoreByteArray (System.Byte[] bytes, System.String name) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ImageLibrary+ImageAssets.Next () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ImageLibrary+ImageAssets.BeginIndividual (System.String name, System.String url, System.Byte[] bytes) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ImageLibrary.AddImage (System.String url, System.String imageName, UInt64 imageId) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ImageLibrary+<GetPlayerAvatar>c__AnonStorey2.<>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 
     
  11. [ImageLibrary] Querying Steam for available workshop items. Please wait for a response from Steam...
    How to fix this it stucks and do nothing everytime i wrote refreshallimages in the rcon
     
    Last edited by a moderator: Jun 30, 2017
  12. With regards to ServerRewards. Can a future version when it displays:

    (21:42:15) | Image loading fail! Error: 404 Not Found

    Give you some indication of which image has an issue? Sometimes an image that is there and working fine wont load for a couple of restarts but will eventually show up, would be nice to not have to chase red herrings or be able to make it quicker to do what we currently do which is switch an image to an imgur version if its having trouble getting it from the workshop page
     
  13. Does anyone know how to make this plugin work for ServerRewards? Because it keep showing "No image found" everytime i reload the ServerRewards plugin. Also i've done the refreshallimages before i reload the ServerRewards but still no images showing at ServerRewards GUI.
     
  14. Failed to call hook 'OnServerInitialized' on plugin 'ImageLibrary v2.0.2' (NullReferenceException: Object reference not set to an instance of an object)
    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 (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

    I did followed steps.
    Removed all ImagesLibrary in data folder, config, and plugin. fresh installed.
    Doesnt help!
     
  15. Code:
    (13:32:45) | [ImageLibrary] Reloading all images!
    (13:32:46) | [ImageLibrary] Retrieving item skin lists...
    (13:32:47) | [ImageLibrary] Found 665 item skins. Gathering image URLs
    (13:32:47) | Exception: ISteamUGC _ptr is null!
     
  16. Good call. Added. Doing final testing but about to release it. I added bear rug and hide shirt.
     
  17. Absolut updated ImageLibrary with a new update entry:

    2.0.3

     
  18. [ImageLibrary] Reloading all images!
    [ImageLibrary] Retrieving item skin lists...

    [ImageLibrary] Found 665 item skins. Gathering image URLs
    Exception: ISteamUGC _ptr is null!
    [DOUBLEPOST=1499122634][/DOUBLEPOST][LustyMap] Error whilst retrieving the map image from file storage: An exception was thrown by the type initializer for System.Drawing.GDIPlus If you are running linux you must install LibGDIPlus using the following line: "sudo apt install libgdiplus", then restart your system for the changes to take affect
    ExType: TypeInitializationException
    Failed to call hook 'OnServerInitialized' on plugin 'LustyMap v2.1.2' (DllNotFoundException: gdiplus.dll)
    at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&) at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0
    Image batch (LustyMap) has been stored successfully
     
  19. Разгруженный плагин ImageLibrary v2.0.2 от Absolut & K1lly0u
    8:36:11
    Загруженный плагин ImageLibrary v2.0.3 от Absolut & K1lly0u
    8:36:11
    Вызов «OnServerInitialized» в «ImageLibrary v2.0.3» занял 494ms
    8:36:11
    Обратный вызов веб-запроса вызвал исключение в плагине «ImageLibrary v2.0.3» (NullReferenceException: ссылка на объект не установлена в экземпляр объекта)
    8:36:11
    На Oxide.Plugins.ImageLibrary + ImageAssets.StoreByteArray (System.Byte [] bytes, имя System.String) [0x00000] в: 0
    на Oxide.Plugins.ImageLibrary + ImageAssets.Next () [0x00000] в: 0
    на оксиде. Plugins.ImageLibrary + ImageAssets.BeginIndividual (имя System.String, System.String url, System.Byte [] bytes) [0x00000] в: 0
    в Oxide.Plugins.ImageLibrary.AddImage (System.String url, System.String imageName, UInt64 imageId) [0x00000] в: 0
    на Oxide.Plugins.ImageLibrary + c__AnonStorey2. <> M__0 (код Int32, ответ System.String) [0x00000] в: 0
    на Oxide.Core.Libraries.WebRequests + WebRequest.b__42_0 () [0x00000] в: 0
     
  20. Perhaps @k1lly0u has an idea? :p