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. I've used Crafting Controller, but it doesn't do batch crafting, which my players love. Any further help getting ItemSkinRandmizer to work with MagicCraft? Norn said that MagicCraft hasn't used random skins for while now.
     
  2. Anyone else finding that certain skins are not being crafted despite them working a couple of weeks ago?
    Is there a specific reason behind this?
     
  3. Someone could please add a permission? :(
     
  4. Code:
    (18:44:37) | [Oxide] 14:44 [Error] Failed to call hook 'OnItemCraft' on plugin 'ItemSkinRandomizer v1.2.1' (ArgumentNullException: Argument cannot be null.
    Parameter name: source)
     
  5. For some reason our players don't get?
    Some off our players got the new skins
    and want to use them.

    Kind regards
     
    Last edited by a moderator: Nov 30, 2016
  6. I love your plugin and like to ask you if it would be possible for you to create random skins not just when crafted but also when looted in boxes/crates. :D
     
  7. @Wulf Hi, just wondering, why did you take down the attached permission files? Anyway, is there a guide regarding plugins and permissions interactions so I can write those myself? Thanks.
     
  8. Wulf

    Wulf Community Admin

    Third-party versions in the plugin's thread throw off official versions and aren't reviewed, so we do not allow them generally. Permissions are pretty easy to add though, but that's up to author if they'd like to add them.
     
  9. Got it, thanks for the quick reply. Guess I'll make my way into it. Again, thanks.
     
  10. You need mostly a Loot-changing plugin to realize this
     
  11. Wulf

    Wulf Community Admin

    Add just after the first { on a new line in OnServerInitialized():
    Code:
    permission.RegisterPermission("itemskinrandomizer.use");
    Add just after the the first { on a new line in OnItemCraft:
    Code:
    if (!permission.UserHasPermission(crafter.UserIDString, "itemskinrandomizer.use")) return;
     
  12. Gave me this:
    Code:
     Error while compiling ItemSkinRandomizer.cs(23,15): error CS1501: No overload for method `RegisterPermission' takes `1' arguments
    I was messing around with other plugins and noticed the "this" argument. Tried adding it but:
    Code:
    Error while compiling 
     
  13. I keep getting "Skin 10120 wasn't downloaded" is the plugin broken atm ? or what is it from ?
     
  14. Wulf

    Wulf Community Admin

    That's Rust telling you that skin 10120 wasn't downloaded.
     
  15. Thats game client forced output, and nothing what the plugin can direct stop...It means, the assigned skin to that item can't be downloaded for any reason...
     
  16. Hi guys I managed to put the permission copy the following so that it works ah the permission is: itemskinrandomizer.use
     
    Last edited by a moderator: Dec 3, 2016
  17. Code:
    76561198312419584/Eugene disconnecting: NullReferenceException: Object reference not set to an instance of an object
    Rust.Workshop.Game.WorkshopInventoryCraftingControls+<>c.<OnChanged>b__22_0 (Rust.Workshop.Game.WorkshopInventoryItem x)
    System.Linq.Enumerable+<CreateGroupByIterator>c__Iterator5`2[Rust.Workshop.Game.WorkshopInventoryItem,Facepunch.Steamworks.Inventory+Definition].MoveNext ()
    System.Linq.Enumerable.Count[IGrouping`2] (IEnumerable`1 source)
    Rust.Workshop.Game.WorkshopInventoryCraftingControls.OnChanged (Rust.Workshop.Game.WorkshopInventoryItem[] items)
    Rust.Workshop.Game.WorkshopInventoryCraftingControls.Update ()Version: 17750
    This error may be due to this plugin?
     
  18. rust update, bug repot?
    Code:
    [12/09/2016 04:57:23] [Oxide] 04:57 [Debug]   at Oxide.Plugins.ItemSkinRandomizer.<OnServerInitialized>m__0 (Int32 code, System.String response) [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>m__1 () [0x00000] in <filename unknown>:0 
     
  19. Wulf

    Wulf Community Admin

    Please post the full error.