ImageLibrary

Moved

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

5/5, 36 likes
  1. Absolut updated ImageLibrary with a new update entry:

    2.0.1


    [DOUBLEPOST=1494656565][/DOUBLEPOST]
    No idea, this has been this way for a long time. Some just dont load. I think it has to do with the skin more so then oxide/plugin.
    [DOUBLEPOST=1494656614][/DOUBLEPOST]
    I apologize it was poorly explained. Everything has changed even the data structure so no you dont have to wipe data because it just loads it all in a new place :)
     
  2. oh i found out you need to delete the old imagelibrary.json config
     
  3. IMPORTANT THINGS TO UNDERSTAND...

    1. The config file changed. So make sure you delete the old one and load the plugin. This will create the new config.
    2. The data structure has changed and now the ImageLibrary data is in a folder called ImageLibrary.
    3. Unless you have it set to do so, the plugin no longer downloads every image available. Instead the process has changed where the plugins using ImageLibrary "ask for" and "tell ImageLibrary to" get Images and Save them.

    DONT START SPAMMING REFRESHALLIMAGES.

    The plugin should honestly just do what it needs on its own.
    [DOUBLEPOST=1494656845][/DOUBLEPOST]
    literally was typing this :)
     
  4. Hello not sure this goes here. But I cannot get lfg to load images once I updated the two plugins. Do I manually have to force it to load the images . anyone else having same issue?
     
  5. thanks for update it looks like everything is working, only one error after few hours testing:

    Code:
    Web request callback raised an exception (NullReferenceException: Object reference not set to an instance of an object)  at Oxide.Plugins.ImageLibrary+ImageAssets.StoreByteArray (System.Byte[] bytes, System.String name) [0x00000] in :0
      at Oxide.Plugins.ImageLibrary+ImageAssets.Next () [0x00000] in :0
      at Oxide.Plugins.ImageLibrary+ImageAssets.BeginIndividual (System.String name, System.String url, System.Byte[] bytes) [0x00000] in :0
      at Oxide.Plugins.ImageLibrary.AddImage (System.String url, System.String imageName, UInt64 imageId) [0x00000] in :0
      at Oxide.Plugins.ImageLibrary+c__AnonStorey2.<>m__0 (Int32 code, System.String response) [0x00000] in :0
      at Oxide.Core.Libraries.WebRequests+WebRequest.b__42_0 () [0x00000] in :0 
     
  6. [05/13/2017 12:37:51] Loaded plugin ImageLibrary v2.0.1 by Absolut & K1lly0u
    [05/13/2017 12:37:51] at Oxide.Plugins.ImageLibrary.RefreshImagery () [0x00000] in <filename unknown>:0
    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

    just got this error in console after i updated the plugin

    my bad, i forgot to look at the update notes for version 2.0.0 before 2.0.1
     
  7. IL doesnt seem to want to create a load order for Server Rewards

    upload_2017-5-13_14-36-25.png

    {
    "Avatars - Store player avatars": true,
    "Images - Only download image's when required": true,
    "Progress - Show download progress in console": true,
    "Progress - Time between update notifications": 20,
    "User Images - Manually define images to be loaded": {
    "worldmap": ""
    },
    "Workshop - Download workshop images": true,
    "Workshop - Pull skin information": true
    }
     
  8. Same issue bro :/
     
  9. AbsolutGifts and LFG may has some bug there if i update ImageLibrary 2.0.1
     

    Attached Files:

  10. check my post in SR thread.
     
  11. imagelibrary download all skindata but its not work with customsets.its not give any images customets plugins and customsets not work then.i just go back old version and wait when this really works again
     
  12. i have an error by refreshing images

    Code:
    (21:13:29) | Unloaded plugin ImageLibrary v2.0.1 by Absolut & K1lly0u
    (21:13:34) | ImageLibrary was compiled successfully in 1721ms
    (21:13:34) | Loaded plugin ImageLibrary v2.0.1 by Absolut & K1lly0u
    (21:13:39) | [ImageLibrary] Reloading all images!
    (21:13:40) | Failed to call hook 'cmdRefreshAllImages' on plugin 'ImageLibrary v2.0.1' (NullReferenceException: Object reference not set to an instance of an object)
    (21:13:40) | at Oxide.Plugins.ImageLibrary.RefreshImagery () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ImageLibrary.cmdRefreshAllImages (.Arg arg) [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
     
  13. Make sure you wiped your old config. then reload.
    [DOUBLEPOST=1494707125][/DOUBLEPOST]
    I posted an LFG update.
    [DOUBLEPOST=1494707179][/DOUBLEPOST]
    Ive been using CustomSets with this new version. Post more specifics in CustomSets for me so if others are having the issue they can see to.
     
  14. alright, thanks errors are gone, everything works, but serverrewards is not loading any images. any suggestion?
     
  15. Sadly no I do not :/
     
  16. well, im not a coder, but as far I understand serverrewards is only loading images, if imagelibrary told it, its ready. but in another plugin (UniversalUI) the plugin keeps yelling: UniversalUI ImageLibrary is nto loaded. Unable to open the GUI. funny thing is, UniversalUI works fine, besides this message. But maybe the problem is, other plugins seems not to regognize that IL is running. can you check this?
     

  17. i have an error by refreshing images

    Code (Text):
    (21:13:29) | Unloaded plugin ImageLibrary v2.0.1 by Absolut & K1lly0u
    (21:13:34) | ImageLibrary was compiled successfully in 1721ms
    (21:13:34) | Loaded plugin ImageLibrary v2.0.1 by Absolut & K1lly0u
    (21:13:39) | [ImageLibrary] Reloading all images!
    (21:13:40) | Failed to call hook 'cmdRefreshAllImages' on plugin 'ImageLibrary v2.0.1' (NullReferenceException: Object reference not set to an instance of an object)
    (21:13:40) | at Oxide.Plugins.ImageLibrary.RefreshImagery () [0x00000] in <filename unknown>:0
    at Oxide.Plugins.ImageLibrary.cmdRefreshAllImages (.Arg arg) [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
    Make sure you wiped your old config. then reload.
    ========================================================
    i did this and i have same errors still. any thoughts? thank you.
     

  18. please delete your config and reload the plugin
     
  19. its loaded the images but it keeps saying

    Failed to call hook 'OnPlayerInit' on plugin 'ImageLibrary v2.0.1' (NullReferenceException: Object reference not set to an instance of an object)
     
  20. Code:
    (01:55:10) | Web request callback raised an exception (NullReferenceException: Object reference not set to an instance of an object)
    (01:55:11) | 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>cAnonStorey2.<>m0 (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