Radtown Animals

Spawns animals and npcs at designated monuments

Total Downloads: 6,879 - First Release: Dec 25, 2015 - Last Update: Dec 29, 2017

5/5, 18 likes
  1. k1lly0u will you be updating this plugin? Miliyary tunnel missing animals
     
  2. Since that last game update i am getting this error, plugin "seems" to be working ok as there are plenty of animals in radtowns,
    Should i worry about it, this error message is continuos in console , should i reduce animals ? (although it has been running with these numbers for over a month)
    {
    "Options - Animals - Maximum Amount (per monument)": 10,
    "Options - Animals - Maximum Amount (total)": 200,
    "Options - Animals - Maximum distance from monument": 150,
    "Options - Animals - Spawn Bears": false,
    "Options - Animals - Spawn Boars": false,
    "Options - Animals - Spawn Chickens": false,
    "Options - Animals - Spawn Horses": false,
    "Options - Animals - Spawn Stags": false,
    "Options - Animals - Spawn Wolfs": true,
    "Options - Spawnpoints - Spread": 20.0,
    "Options - Spawns - Airfield": true,
    "Options - Spawns - Lighthouses": true,
    "Options - Spawns - Powerplant": true,
    "Options - Spawns - Rad-towns": true,
    "Options - Spawns - Satellite": true,
    "Options - Spawns - Sphere Tank": true,
    "Options - Spawns - Trainyard": true,
    "Options - Spawns - Warehouses": true,
    "Options - Spawns - Water Treatment Plant": true,
    "Options - Timers - Distance check timer (minutes)": 5.0,
    "Options - Timers - Respawn (minutes)": 8.0
    }

    ArgumentNullException: Argument cannot be null. Parameter name: key
    System.Collections.Generic.Dictionary`2[SpawnPopulation,System.Int32].ContainsKey (.SpawnPopulation key) SpawnHandler.RemoveInstance (.Spawnable spawnable) Spawnable.Remove () Spawnable.OnDisable () UnityEngine.Object:Destroy(Object, Single) GameManager:Destroy(GameObject, Single) BaseNetworkable:EntityDestroy() BaseNetworkable:Kill(DestroyMode) BaseNetworkable:KillMessage() Oxide.Plugins.RadtownAnimals:killRespawn(BaseEntity, GameObject) Oxide.Plugins.RadtownAnimals:checkDistance(BaseEntity, GameObject) Oxide.Plugins.<checkDistance>c__AnonStorey4:<>m__0() Oxide.Core.Libraries.TimerInstance:FireCallback() Oxide.Core.Libraries.TimerInstance:Invoke(Single) Oxide.Core.Libraries.Timer:Update(Single) Oxide.Core.OxideMod:OnFrame(Single) Oxide.Ext.Unity.UnityScript:Update()
    ArgumentNullException: Argument cannot be null. Parameter name: key
    System.Collections.Generic.Dictionary`2[SpawnPopulation,System.Int32].ContainsKey (.SpawnPopulation key) SpawnHandler.AddInstance (.Spawnable spawnable) Spawnable.Add () Spawnable.OnEnable () UnityEngine.GameObject:SetActive(Boolean) GameManager:CreatePrefab(String, Vector3, Quaternion, Boolean) GameManager:CreateEntity(String, Vector3, Quaternion, Boolean) Oxide.Plugins.RadtownAnimals:spawnAnimal(GameObject, String) Oxide.Plugins.RadtownAnimals:killRespawn(BaseEntity, GameObject) Oxide.Plugins.RadtownAnimals:checkDistance(BaseEntity, GameObject) Oxide.Plugins.<checkDistance>c__AnonStorey4:<>m__0() Oxide.Core.Libraries.TimerInstance:FireCallback() Oxide.Core.Libraries.TimerInstance:Invoke(Single)

    Just tried console command to remove animals to see if that would fix overload on rust i/o console which only shows above error message scrolling down the screen and got this result
    ra_killall
    ArgumentNullException: Argument cannot be null.
    Parameter name: keyArgumentNullException: Argument cannot be null.
    Parameter name: keyArgumentNullException: Argument cannot be null.
    Parameter name: keyArgumentNullException: Argument cannot be null.
    Parameter name: keyArgumentNullException: Argument cannot be null.
    Parameter name: keyArgumentNullException: Argument cannot be null.
    Parameter name: keyArgumentNullException: Argument cannot be null.
    Parameter name: keyArgumentNullException: Argument cannot be null.
    Parameter name: keyArgumentNullException: Argument cannot be null.
    Parameter name: keyArgumentNullException: Argument cannot be null.
    Parameter name: key
     
    Last edited by a moderator: Jul 10, 2016
  3. There is a build plugin that allows you to spawn animals
     

  4. I'm getting the same errors since I restarted my server 10 minutes ago.
    Anybody else has this problem? We're running rust on a miltiplay server,
    they keep their own database of plugins, can that be the problem?
     
  5. i am on a multiplay/clanforge server and it seems that the plugins dont load into the cfg/data folders the same as they do with other servers and we dont have ftp access so
    cant alter anything except for created config file the plugin seems to be working as all the animals are where i want them to be, its just the error message,
     
    Last edited by a moderator: Jul 11, 2016
  6. I'm working trough a support ticket right now to see iff this is caused by multiplay or by plugin itself. I will let you know what will be the outcome.
    Pretty annoying that its messing up the console

    EDIT:
    Hello Dennis,
    I'm afraid these errors are things you need to be reporting to the developers, as unfortunately we can't fix the C# plugins.
     
    Last edited by a moderator: Jul 11, 2016
  7. Yeah i get the same error like pookins does on my server
     
  8. Rewrite will be out tonight

    Last I heard it was a Rust error, I've seen it happen to stuff spawned by the server also
     
    Last edited by a moderator: Jul 12, 2016
  9. k1lly0u updated Radtown Animals with a new update entry:

    0.2.0

     
  10. k1lly0u updated Radtown Animals with a new update entry:

    0.2.0

     
  11. great plugin, working good now, thanks again

    #never had anything in lang folder for this plugin , only deathnotes has file in there
     
  12. sorry to say that i am now getting no errors but no animals either ::(
    will try to reload again
     
  13. Post your config
     
  14. hi I have a request he added bys file settings do not know if it was reasonable to give animals on locations
     
  15. Code:
    [Oxide] 20:51 [Error] Failed to call hook 'OnServerInitialized' on plugin 'RadtownAnimals v0.2.0' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 20:51 [Debug] at Oxide.Plugins.RadtownAnimals.InitializeAnimalSpawns () [0x00000] in :0
    at Oxide.Plugins.RadtownAnimals.OnServerInitialized () [0x00000] in :0
    at Oxide.Plugins.RadtownAnimals.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in :0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in :0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in :0
    at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in :0 
    Code:
    {
      "Options - Animals - Maximum Amount (per monument)": 10,
      "Options - Animals - Maximum Amount (total)": 60,
      "Options - Animals - Maximum distance from monument": 20,
      "Options - Animals - Spawn Bears": false,
      "Options - Animals - Spawn Boars": true,
      "Options - Animals - Spawn Chickens": false,
      "Options - Animals - Spawn Horses": true,
      "Options - Animals - Spawn Stags": true,
      "Options - Animals - Spawn Wolfs": true,
      "Options - Spawnpoints - Spread": 20.0,
      "Options - Spawns - Airfield": true,
      "Options - Spawns - Lighthouses": true,
      "Options - Spawns - Powerplant": true,
      "Options - Spawns - Rad-towns": true,
      "Options - Spawns - Satellite": true,
      "Options - Spawns - Sphere Tank": true,
      "Options - Spawns - Trainyard": true,
      "Options - Spawns - Warehouses": true,
      "Options - Spawns - Water Treatment Plant": true,
      "Options - Timers - Distance check timer (minutes)": 3.5,
      "Options - Timers - Respawn (minutes)": 5.5
    }
    No animal after 5 10min reload
     
  16. ?
    thats the old config
     
  17. Plugin doesn't work after today's update!
    Code:
    [07/15/2016 00:10:23] [Oxide] 00:10 [Error] RadtownAnimals plugin failed to compile!
    [07/15/2016 00:10:23] [Oxide] 00:10 [Error] RadtownAnimals.cs(343,30): error CS0122: `NPCSteering.Move(UnityEngine.Vector3, UnityEngine.Vector3, NPCSpeed)' is inaccessible due to its protection level
     
  18. waiting for updating
     
  19. Fixed for the July 14th update
     

    Attached Files:

  20. Code:
    (22:26:07) | [Oxide] 22:26 [Error] Failed to call hook 'OnServerInitialized' on plugin 'RadtownAnimals v0.2.0' (NullReferenceException: Object reference not set to an instance of an object)
    (22:26:07) | [Oxide] 22:26 [Debug]   at Oxide.Plugins.RadtownAnimals.InitializeAnimalSpawns () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.RadtownAnimals.OnServerInitialized () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.RadtownAnimals.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