Random Deployables

Randomize deployable skins

Total Downloads: 2,924 - First Release: Oct 24, 2016 - Last Update: Apr 6, 2018

5/5, 6 likes
  1. Like the title "Random..." says ;)
     
  2. That would run into legal issues and I have no intention of going that direction.
     
  3. > reload RandomDeployables
    [Oxide] 00:53 [Error] Error while compiling RandomDeployables.cs(70,74): error CS1061: Type `Rust.Workshop.ApprovedSkinInfo' does not contain a definition for `ItemName' and no extension method `ItemName' of type `Rust.Workshop.ApprovedSkinInfo' could be found. Are you missing an assembly reference?

    I got this error when reloading, and when I add the permission to rank Default, it says the permission doesnt exist?

    > grant group Default randomdeployables.able
    Permission 'randomdeployables.able' doesn't exist

    Please check this out, thanks for the continuous support!!
     
  4. oxide.grant group default randomdeployables.able
    If this does not work then you dont have plugin in your oxide/plugins folder
     
  5. You're using an outdated version from the sounds of it.
     
  6. Oh ok, Ill try a newer version then get back to ya
    [DOUBLEPOST=1479668390][/DOUBLEPOST]Well would you look at that, both of those issues were due to that reason, haha.. Thanks again!
     
  7. I have error in console :

    (21:50:26) | [Oxide] 21:50 [Debug] at Oxide.Plugins.RandomDeployables.OnEntityBuilt (.Planner planner, UnityEngine.GameObject gameObject) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.RandomDeployables.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
     
  8. What's your configuration?
     
  9. any fix for the errors bud


    [Oxide] 00:54 [Error] Failed to call hook 'OnEntityBuilt' on plugin 'RandomDeployables v0.1.6' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 00:54 [Debug] at Oxide.Plugins.RandomDeployables.OnEntityBuilt (.Planner planner, UnityEngine.GameObject gameObject) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.RandomDeployables.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
     
  10. This happens when you placed what exactly?
     
  11. im not to sure as im watching the console and its spamming it server has players in it hard to figure it out lol
    [DOUBLEPOST=1480210125][/DOUBLEPOST]think it may be the door

    Ok ignor this i removed all files to do with the old version and it seems to be working now 4 diffrent door types :)
     
    Last edited by a moderator: Nov 27, 2016
  12. This last update screwed with alot of Plugins this time. I get this now when I start server.
    04:31 [Info] Loaded plugin RandomDeployables v0.1.5 by Norn
    04:31 [Error] Failed to initialize plugin 'RandomDeployables v0.1.5' (ArgumentException: An element with the same key already exists in the dictionary.)
    04:31 [Stacktrace] at System.Collections.Generic.Dictionary`2[System.String,System.Int32].Add (System.String key, Int32 value) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.RandomDeployables.InitializeTable () [0x00000] in <filename unknown>:0
    at Oxide.Plugins.RandomDeployables.Loaded () [0x00000] in <filename unknown>:0
    at Oxide.Plugins.RandomDeployables.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.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
    04:31 [Info] Unloaded plugin RandomDeployables v0.1.5 by Norn
    04:31 [Info] No previous version to rollback plugin: RandomDeployable I've taken it out and put it in. What is this info telling you?And this is it's config.
    "Enabled": {
    "ArmouredDoor": true,
    "Boxes": true,
    "SleepingBags": true
    },
    "PrefabID": {
    "ArmouredDoor": "assets/prefabs/building/door.hinged/door.hinged.toptier.prefab",
    "LargeBox": "assets/prefabs/deployable/large wood storage/box.wooden.large.prefab",
    "SleepingBag": "assets/prefabs/deployable/sleeping bag/sleepingbag_leather_deployed.prefab"
    },
    "Settings": {
    "AllDeployables": true,
    "AllowDefaultSkin": true,
    "UseAllSkins": true
     
    Last edited by a moderator: Jan 20, 2017
  13. Getting this after oxides latest update
    Code:
    (04:19:52) | Failed to initialize plugin 'RandomDeployables v0.1.6' (ArgumentException: An element with the same key already exists in the dictionary.)
    
     
  14. Working on fix.
     
  15. After i place box skin did show but dissapears after little time.
     
    Last edited by a moderator: Jan 20, 2017
  16. Sounds like a client issue, fine on my end.
     
  17. Okey. Thats good to know m8. And keep on doing good job :)
     
  18. (19:39:18) | RandomDeployables was compiled successfully in 82ms

    (19:39:18) | Loaded plugin RandomDeployables v0.1.6 by Norn

    (19:39:18) | Failed to initialize plugin 'RandomDeployables v0.1.6' (ArgumentException: An element with the same key already exists in the dictionary.)

    (19:39:18) | Unloaded plugin RandomDeployables v0.1.6 by Norn

    (19:39:18) | No previous version to rollback plugin: RandomDeployables