ImageLibrary

Moved

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

5/5, 36 likes
  1. I have not yet tried to understand how or why this plugin is necessary to reduce the weight of some plugins, especially for CUI and other client-side images. But a skin_data.json file of more than 9 MB and an image_urls.json file of more than 4 MB ... IN 2 DAYS ... !! I think there is a problem somewhere, and I understand better the problem with the LustyMap, the self icon that bug ...
    [DOUBLEPOST=1518230843][/DOUBLEPOST]0 */24 * * * rm -rf /home/rip/Rust/server/oxide/data/ImageLibrary

    :mad:
     
  2. removed. Server was crashing but it was not image library related.
     
    Last edited by a moderator: Feb 11, 2018
  3. Yeah, LustyMap self icon bug, caused by this plugin, SignArtist too...
     
  4. Wulf

    Wulf Community Admin

    It is a Rust issue.
     
  5. For the LustyMap too? because when i remove data files of ImageLibrary and reboot my server (reload plugin don't works) lustymap works good again for a time.
     
  6. Wulf

    Wulf Community Admin

    The image storage in Rust doesn’t load them correctly in some cases. It happens on vanilla too.
     
  7. Skins wont load, lusty map wont work. BUT Refreshallimages im console seems to fix kinda...
     
  8. Hello Guy´s i have some Question since 1 Week we have the issue the Imagelibary dont load the images for the /s Store right. Some images working some not.
    https://puu.sh/zohA8/f78fbe3ad7.png

    there is some Screen

    refreshallimages not working it say´s " https://puu.sh/zohDO/026fa598d9.png "

    and Unload and Load ( Reload ) the Plugin dont do anythink else like the refreshallimages.

    Delete and new install dont change anythink too ....
     
  9. Wulf

    Wulf Community Admin

    Update Oxide for a temp fix or wait for a Rust update.
     
  10. Wulf... you know there only monthly Rust updates now? and the server Restarts all 12 Hours if there is an oxide update its allready done...the images dont show since 4-5 day´s maybe.
     
  11. Wulf

    Wulf Community Admin

    Yes, fully aware.
     
  12. i checked other server´s and the shop images working. They Maybe Download them All and reupload them on own servers ? :)
     
  13. Nope i have try it too... loading icons on Server too... some error :S
     
  14. when the server starts
    Code:
    Failed to call hook 'LoadImageList' on plugin 'ImageLibrary v2.0.22' (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.ImageLibrary.LoadImageList (System.String title, System.Collections.Generic.List`1 imageList) [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
    08:46
    Failed to call hook 'ImportImageList' on plugin 'ImageLibrary v2.0.22' (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.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
    08:46
    Failed to call hook 'GetImage' on plugin 'ImageLibrary v2.0.22' (NullReferenceException: Object reference not set to an instance of an object) 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
     
  15. k1lly0u updated ImageLibrary with a new update entry:

    2.0.25

     
  16. k1lly0u updated ImageLibrary with a new update entry:

    2.0.28

     
  17. [ImageLibrary] The CommunityEntity instance ID has changed! Due to the way CUI works in Rust all previously stored images must be removed and re-stored using the new ID as reference so clients can find the images. Please be patient as this process may take a while to complete depending on how many images are stored.
    Interrupting this process may result in invalid image storage and could require you to re-download all stored images!
    [ImageLibrary] Restoration process complete! : -1025 images successfully restored, 1093 images failed
    Calling 'OnServerInitialized' on 'ImageLibrary v2.0.28' took 1231ms


    1093 Images failed? =/
     
  18. did you wipe though? It kicks off the processing correctly if you do.

    upload_2018-3-31_11-37-51.png

    Confirmed fixed, this is what was happening to us before

    [​IMG]

    and now we're back, we wipe every restart because of our tree spawning and it's now working fine :)

    upload_2018-3-31_11-42-52.png

    It even found a missing slice in our Lusty and resplit

    @k1lly0u Does this make Storage Cleaner redundant or no?
     

    Attached Files:

    Last edited by a moderator: Mar 31, 2018