ImageLibrary

Moved

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

5/5, 36 likes
  1. Wulf

    Wulf Community Admin

  2. Thanks Wulf!
     
  3. Hi at start server we have:

    Failed to call hook 'GetImage' on plugin 'ImageLibrary v1.8.0' (NullReferenceException: Object reference not set to an instance of an object)
    Br
     
  4. Ya that happens because a plugin is trying to get images before ImageLibrary is ready. Hard to figure out which plugin is calling it but basically you want ImageLibrary to load first if able.
     
  5. mmm sure ImageLibrary is a dependency of plugins, Thank have you anyway to select how we can manage the change of load plugins order ? I must say too I have another issue similar conflict with Skinrandom and huntRPG theses must have an order to load too. :/

    EDIT: ok I look at a new function is to show oxide.plugins that return like you talk order of load and it seem is managed by oxide itself and i see my issues orders for what we say as follow:

    20 "GUISkipNight" (1.0.3) by Tyran (0.04s) <- ImageLibrary dependency
    21 "Gathering Manager" (2.2.4) by Mughisi (0.00s)
    22 "Give" (2.1.6) by Reneb (0.00s)
    23 "Godmode" (4.1.0) by Wulf/lukespragg (0.00s)
    24 "HeliControl" (1.1.7) by Shady (1.75s)
    25 "Hunt RPG" (1.5.13) by PedraozauM / SW / Nogrod (3.35s) <- I talk about this one howw it must be loaded after Skinrandom but it load before like this order
    26 "ImageLibrary" (1.8.0) by Absolut (0.03s) <- Yes you right it's loaded after the dependency
    27 "InfoPanel" (0.9.5) by Ghosst / Nogrod (0.43s)
    28 "Ingame Clock GUI" (0.0.5) by deer_SWAG (2.27s)
    29 "Inventory Viewer" (2.0.3) by Mughisi (0.01s)
    30 "Item Skin Randomizer" (1.3.1) by Mughisi (0.00s) <- Should load after HunRpg :/

    Manually load em give a change of oder and seem load at start server by alphabetical character like:

    53 "Where's My Corpse" (0.6.0) by Fuji/LeoCurtss (0.00s)
    54 "ZLevelsRemastered" (2.5.5) by Fujikura/Visagalis (1.21s)
    55 "ZoneManager" (2.4.12) by Reneb / Nogrod (0.40s)
    56 "Cornucopia" (1.1.7) by Deicide666ra (1.17s) <- manual load
    57 "PvXSelector" (0.9.6) by Alphawar (0.16s) <- manual load
    58 "Portgun" (2.0.1) by Reneb (0.00s) <- manual load
    59 rankme - Failed to compile: rankme.cs(1163,1): error CS1027: Expected `#endif' directive <- manual fail ^^

    If wulf come here to have a way to manage plugins order at starting server please would be nice
    Br
     
    Last edited by a moderator: Apr 15, 2017
  6. Wulf

    Wulf Community Admin

    Plugins are loaded A-Z.
     
  7. Yes have you a method who we can manage the number at start for to avoid start conflict?
     
  8. Wulf

    Wulf Community Admin

    What number? The plugins are loaded alphabetically.
     
  9. ^^ yes i'm sorry I not explain fine I mean when you do oxide.plugins commands it show what number the plugin is reloaded like I already post where as example 25 "Hunt RPG" would be load after 30 "Item Skin Randomizer" at start server for run fine the "Item Skin Randomizer" you know but like your answer I understand there no way to load by number somewhere or attrib a number to a specific plugins for manage how they load Thank
     
  10. Error..?

    Code:
    06:10 [Error] Failed to call hook 'GetImage' on plugin 'ImageLibrary v1.8.0' (NullReferenceException: Object reference not set to an instance of an object)
    06:10 [Stacktrace]   at Oxide.Plugins.ImageLibrary.GetImage (System.String shortname, UInt64 skin) [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 
     
  11. its not many plugins now, what really works right:(
     
  12. Can u update this plugin? For no errors in GetImage?
     
  13. Are white washed images still an issue with the base CUI?
     
  14. I am getting Image loading fail! Error: <url> malformed... and I am missing a lot of skinned items
     
  15. Hi all, just wanted to check, should the file size for file oxide\data\ImageLibrary_Data.json be 7,527,435 bytes?
     
    Last edited by a moderator: Apr 28, 2017
  16. The server MEM is going through the roof, so I'm trying to establish whether this could be a possible cause. I would imagine, probably not (?), unless I'm using ton's of images in the ServerRewards GUI