Item Skin Randomizer

Randomizes item skins on item creation

Total Downloads: 18,545 - First Release: Sep 2, 2015 - Last Update: Apr 6, 2018

5/5, 64 likes
  1. Mughisi updated Item Skin Randomizer with a new update entry:

    1.2


    [DOUBLEPOST=1479731364][/DOUBLEPOST]
    Fixed in the latest version :)
     
  2. Tested just now. Large boxes only produce the old ones, no stone or explosives box. Road sign gear only giving default skin. Didn't test any others.
     
  3. Mughisi updated Item Skin Randomizer with a new update entry:

    1.2.1

     
  4. [11/21/2016 16:23:07] [Oxide] 16:23 [Error] Failed to call hook 'OnItemCraft' on plugin 'ItemSkinRandomizer v1.2.0' (ArgumentNullException: Argument cannot be null.
    [11/21/2016 16:23:07] [Oxide] 16:23 [Debug] at System.Linq.Check.SourceAndSelector (System.Object source, System.Object selector) [0x00000] in <filename unknown>:0
    at System.Linq.Enumerable.Select[Skin,Int32] (IEnumerable`1 source, System.Func`2 selector) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.ItemSkinRandomizer.GetSkins (.ItemDefinition def) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.ItemSkinRandomizer.OnItemCraft (.ItemCraftTask task, .BasePlayer crafter) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.ItemSkinRandomizer.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 name, System.Object[] args) [0x00000] in <filename unknown>:0
     

    Attached Files:

  5. Can you try updating to 1.2.1 and see if that fixes the issue?
     
  6. The error is repeated. Some skins are not created with the craft.
     
  7. Can you tell me with which items this occurs? Saves me from attempting to craft every single item to track down the error
     
  8. Large boxes, Road sign gear only giving default skin.
     
  9. I am unable to reproduce the error you posted. Are you by any chance using Magic Craft?
     
  10. No Magic Craft. Only InstaCraft using the plugin "Crafting Controller for Rust". The error appears when the craft.
     
  11. I have same error with version 1.2.1:
    Code:
    (17:59:03) | [Oxide] 09:58 [Error] Failed to call hook 'OnItemCraft' on plugin 'ItemSkinRandomizer v1.2.1' (ArgumentNullException: Argument cannot be null.
    Parameter name: source)
    (17:59:03) | [Oxide] 09:58 [Debug]   at System.Linq.Check.SourceAndSelector (System.Object source, System.Object selector) [0x00000] in <filename unknown>:0
      at System.Linq.Enumerable.Select[Skin,Int32] (IEnumerable`1 source, System.Func`2 selector) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ItemSkinRandomizer.GetSkins (.ItemDefinition def) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ItemSkinRandomizer.OnItemCraft (.ItemCraftTask task, .BasePlayer crafter) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ItemSkinRandomizer.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 name, System.Object[] args) [0x00000] in <filename unknown>:0
    I also have installed ZLevels Remastered which uses OnItemCraft hook.
    EDIT: This error pops out when i try to craft anything, not only the pickaxe.
    EDIT 2: Problem solved, solution is here.
     
    Last edited by a moderator: Nov 23, 2016
  12. I would like to let only VIPs and ADMIn with Skin randomizer :( how can I do it? the permission was deleted
     
  13. Wulf

    Wulf Community Admin

    There has never been a permission in the released versions of this.
     
  14. I was using randomskin.allowed and was perfect
     
  15. Wulf

    Wulf Community Admin

    Right, but that was never in an official version. @Mughisi may add permissions though, but that's up to him.
     
  16. Schema download failed, retrying


    any idea whats doing this ? :S
    [DOUBLEPOST=1479849788][/DOUBLEPOST]I think it may be coming from Item Skin Randomizer for Rust | Oxide
    [DOUBLEPOST=1479850258][/DOUBLEPOST]
    Code:
     [Error] Web request callback raised an exception (JsonReaderException: Unexpected character encountered while parsing value: E. Path '', line 0, position 0.)
    (21:29:49) | [Oxide] 21:29 [Debug]   at Newtonsoft.Json.JsonTextReader.ParseValue () [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.JsonTextReader.Read () [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.JsonReader.ReadAndMoveToContent () [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonContract contract, Boolean hasConverter) [0x00000] in <filename unknown>:0
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, Boolean checkAdditionalContent) [0x00000] in <filename unknown>:0
    (21:30:05) | Schema download failed, retrying http://s3.amazonaws.com/s3.playrust.com/icons/inventory/rust/schema.json
     
    Last edited by a moderator: Nov 22, 2016
  17. Code:
    [Oxide] 00:17 [Error] Failed to call hook 'OnItemCraft' on plugin 'ItemSkinRandomizer v1.2.1' (ArgumentNullException: Argument cannot be null.
    Parameter name: source)
    [Oxide] 00:17 [Debug]  at System.Linq.Check.SourceAndSelector (System.Object source, System.Object selector) [0x00000] in <filename unknown>:0
      at System.Linq.Enumerable.Select[Skin,Int32] (IEnumerable`1 source, System.Func`2 selector) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ItemSkinRandomizer.GetSkins (.ItemDefinition def) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ItemSkinRandomizer.OnItemCraft (.ItemCraftTask task, .BasePlayer crafter) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ItemSkinRandomizer.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
     
    Last edited by a moderator: Nov 23, 2016
  18. Hello, been struggling to have both MagicCraft and ItemSkinRandomizer plugins work at the same time, but nope. I have a query over on MagicCraft as well, anything else I can do besides unload MagicCraft to use ItemSkinRandomizer?
     
  19. Yes, you can disable the items in MagicCraft, which have skins and use Crafting Controller for them...