ImageLibrary

Moved

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

5/5, 36 likes
  1. lusty map stiil errors on above v2.1.02
    Code:
    (08:09:28) | [LustyMap] Map reset Confirmed! Creating a new image load order with ImageLibrary
    (08:09:28) | [LustyMap] [Warning] Icon images have not been found. Uploading images to file storage
    (08:09:28) | [ImageLibrary] Starting order LustyMap
    (08:09:28) | [LustyMap] [Warning] Downloading map image to file storage. Please wait!
    (08:09:29) | [LustyMap] [Warning] Attempting to split and store the complex mini-map. This may take a few moments! Failure to wait for this process to finish WILL result in error!
    (08:09:29) | [LustyMap] [Warning] Starting complex map split (6x). Please wait!
    (08:09:29) | Failed to call hook 'ccmdResetmap' on plugin 'LustyMap v2.1.2' (ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter])
    (08:09:29) | at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in <filename unknown>:0
      at System.Drawing.Bitmap.SetResolution (Single xDpi, Single yDpi) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:SetResolution (single,single)
      at Oxide.Plugins.LustyMap+MapSplitter.ResizeImage (System.Drawing.Image image, Int32 pixels) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LustyMap+MapSplitter.SplitMap (System.String imageId, Int32 amount) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LustyMap.AttemptSplit (Int32 attempts) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LustyMap.LoadMapImage () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LustyMap.ccmdResetmap (.Arg arg) [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
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    (08:09:29) | Calling 'ccmdResetmap' on 'LustyMap v2.1.2' took 534ms
    (08:09:35) | Image batch (LustyMap) has been stored successfully
    (08:09:35) | [ImageLibrary] Starting order LustyMap - Map Image
    (08:09:35) | Image batch (LustyMap - Map Image) has been stored successfully

    refreshallimages

    Code:
    (08:14:42) | [ImageLibrary] Reloading all images!
    (08:14:42) | [ImageLibrary] Retrieving item skin lists...
    (08:14:44) | [ImageLibrary] Found 665 item skins. Gathering image URLs
    (08:14:44) | Exception: ISteamUGC _ptr is null!
     
  2. thanks absolut good update thanks for adding missing skins but there is 1 more that is 'salvaged sword' that would be the last one then all work well.:)
     
  3. Libgdiplus is installed. I even rebooted for good measure.
     
  4. I even reverted to the last version - same issues
     
  5. Code:
    (22:45:24) | Failed to call hook 'AddImage' on plugin 'ImageLibrary v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    (22:45:24) | at Oxide.Plugins.ImageLibrary.AddImage (System.String url, System.String imageName, UInt64 imageId) [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
    Please Help
     
    Last edited by a moderator: Jul 6, 2017
  6. Code:
    Failed to call hook 'OnPlayerInit' on plugin 'ImageLibrary v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    (16:57:29) | at Oxide.Plugins.ImageLibrary.HasImage (System.String imageName, UInt64 imageId) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.ImageLibrary.GetPlayerAvatar (System.String userId) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.ImageLibrary.OnPlayerInit (.BasePlayer player) [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
     
  7. ImageLibrary is showing errors in the console

    Code:
    22:12:18) | Failed to call hook 'AddImage' on plugin 'ImageLibrary v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    (22:12:18) | at Oxide.Plugins.ImageLibrary.AddImage (System.String url, System.String imageName, UInt64 imageId) [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
    upload_2017-7-6_22-15-9.png
     
  8. Some more errors, prob all cascading from the on server int issue

    Code:
    22:32:20) | Failed to call hook 'GetImage' on plugin 'ImageLibrary v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    (22:32:20) | 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 (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
    (22:32:20) | Failed to call hook 'cmdChatKit' on plugin 'Kits v3.2.8' (NullReferenceException: Object reference not set to an instance of an object)
    (22:32:20) | at Oxide.Plugins.Kits+UI.LoadImage (Oxide.Game.Rust.Cui.CuiElementContainer& container, System.String panel, System.String img, System.String aMin, System.String aMax) [0x00000] in <filename unknown>:0 
     
  9. Delete the content of your ImageLibrary data file, fixed it for me
     
  10. Still get this quite often although everything seems to work fine

    Code:
    (19:51:41) | [Oxide] 19:51 [Error] Web request callback raised an exception (NullReferenceException: Object reference not set to an instance of an object)
    (19:51:41) | [Oxide] 19:51 [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. Any idea what this is?

    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 
     
  12. 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 <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
     
  13. Any word on how to fix this or if it matters?

    [ImageLibrary] Found 705 item skins. Gathering image URLs
    Exception: ISteamUGC _ptr is null!
     
  14. Unable for me to add image on my IG map with a marker.

    First :
    [ImageLibrary] Found 705 item skins. Gathering image URLs
    Exception: ISteamUGC _ptr is null!

    Second:
    No image found

    i don't understand how to work this plugin, someone can explain me ?
     
  15. Why are the console commands not working for me? Is loaded in my plugins folder, all other files generated in data and config, but console commands are NOT working?!? What am i doing wrong?!? Im pulling my hair out over this and serverrewards, only plugins i cant figure out!
     
  16. this started today
    Code:
    Web request callback raised an exception (NullReferenceException: Object reference not set to an instance of an object)
    (09:27:07) | 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
     
  17. Can you veirfy oxide version and plugin version ? Maybe it's your problem ?
     
  18. Same shit :(
     
  19. Absolut updated ImageLibrary with a new update entry:

    2.0.4

     
  20. Hi @Absolut

    How to add marker with LustyMap and appear on GUI ?

    I add an image to /data/LustyMap/icons and doesn't appear, no image found

    Thanks for ur help :)