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 updated Radtown Animals with a new update entry:

    0.2.11

     
  2. Just installed this version and I'm getting:
    Code:
    > oxide.reload RadtownAnimals
    [Oxide] 00:58 [Info] Unloaded plugin RadtownAnimals v0.2.11 by k1lly0u
    [Oxide] 00:58 [Info] Loaded plugin RadtownAnimals v0.2.11 by k1lly0u
    [Oxide] 00:58 [Error] Failed to call hook 'OnServerInitialized' on plugin 'RadtownAnimals v0.2.11' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 00:58 [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
    [Oxide] 00:58 [Warning] Calling 'OnServerInitialized' on 'RadtownAnimals v0.2.11' took 361ms
     
    Last edited by a moderator: Nov 4, 2016
  3. Most likely a error with your config. Post it here
     
  4. {
    "Options - Animals - Maximum Amount (per monument)": 10,
    "Options - Animals - Maximum Amount (total)": 90,
    "Options - Animals - Maximum distance from monument": 100,
    "Options - Animals - Spawn Bears": true,
    "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
    }
     
  5. Thats the old config from 2 updates ago. The new one looks like this:
    Code:
    {
      "a_Options": {
        "RespawnTimer": 1,
        "SpawnSpread": 100.0,
        "TotalMaximumAmount": 40
      },
      "Airfield": {
        "AnimalCounts": {
          "Bears": 6,
          "Boars": 0,
          "Chickens": 0,
          "Horses": 0,
          "Stags": 0,
          "Wolfs": 0
        },
        "Enabled": true
      },
      "Lighthouses": {
        "AnimalCounts": {
          "Bears": 0,
          "Boars": 0,
          "Chickens": 0,
          "Horses": 0,
          "Stags": 0,
          "Wolfs": 0
        },
        "Enabled": false
      },
      "MilitaryTunnels": {
        "AnimalCounts": {
          "Bears": 0,
          "Boars": 0,
          "Chickens": 0,
          "Horses": 0,
          "Stags": 0,
          "Wolfs": 0
        },
        "Enabled": false
      },
      "Powerplant": {
        "AnimalCounts": {
          "Bears": 0,
          "Boars": 0,
          "Chickens": 0,
          "Horses": 0,
          "Stags": 0,
          "Wolfs": 0
        },
        "Enabled": false
      },
      "Radtowns": {
        "AnimalCounts": {
          "Bears": 0,
          "Boars": 0,
          "Chickens": 0,
          "Horses": 0,
          "Stags": 0,
          "Wolfs": 0
        },
        "Enabled": false
      },
      "Satellite": {
        "AnimalCounts": {
          "Bears": 0,
          "Boars": 0,
          "Chickens": 0,
          "Horses": 0,
          "Stags": 0,
          "Wolfs": 0
        },
        "Enabled": false
      },
      "SphereTank": {
        "AnimalCounts": {
          "Bears": 0,
          "Boars": 0,
          "Chickens": 0,
          "Horses": 0,
          "Stags": 0,
          "Wolfs": 0
        },
        "Enabled": false
      },
      "Trainyard": {
        "AnimalCounts": {
          "Bears": 0,
          "Boars": 0,
          "Chickens": 0,
          "Horses": 0,
          "Stags": 0,
          "Wolfs": 0
        },
        "Enabled": false
      },
      "Warehouses": {
        "AnimalCounts": {
          "Bears": 0,
          "Boars": 0,
          "Chickens": 0,
          "Horses": 0,
          "Stags": 0,
          "Wolfs": 0
        },
        "Enabled": false
      },
      "WaterTreatmentPlant": {
        "AnimalCounts": {
          "Bears": 0,
          "Boars": 0,
          "Chickens": 0,
          "Horses": 0,
          "Stags": 0,
          "Wolfs": 0
        },
        "Enabled": false
      }
    }
    Unload the plugin, delete the config, and reload the plugin. If it doesn't generate the new one you will have to contact your host and ask them to resolve the issue
     
  6. Worked awesome thank you!
     
  7. Ill make a version that will log everything the plugin does to a file. You can then send me that file and I will be able to see what is and isn't working for you.
     
  8. with new version i get a new error :)
    System.Collections.Generic.Dictionary`2[SpawnPopulation,System.Int32].ContainsKey (.SpawnPopulation key) SpawnHandler.RemoveInstance (.Spawnable spawnable) Spawnable.Remove () Spawnable.OnDisable () UnityEngine.GameObject:SetActive(Boolean) Oxide.Plugins.RAController:FixedUpdate()
     
  9. Eat

    Eat

    bugs)
    11111111111111111.jpg


    Code:
    {
      "a_Options": {
        "RespawnTimer": 1,
        "SpawnSpread": 100.0,
        "TotalMaximumAmount": 50
      },
      "Airfield": {
        "AnimalCounts": {
          "Bears": 5,
          "Boars": 0,
          "Chickens": 0,
          "Horses": 0,
          "Stags": 0,
          "Wolfs": 0
        },
        "Enabled": true
      },
      "Lighthouses": {
        "AnimalCounts": {
          "Bears": 5,
          "Boars": 0,
          "Chickens": 0,
          "Horses": 0,
          "Stags": 0,
          "Wolfs": 0
        },
        "Enabled": true
      },
      "MilitaryTunnels": {
        "AnimalCounts": {
          "Bears": 5,
     
  10. Eat

    Eat

    when you start the server
    11111111111111111.jpg
     
  11. assets/bundled/prefabs/autospawn/animals/chicken.prefab (Spawnable) Population is null, entity spawned from outside the spawn handler?

    I get around 50 of those errors, what am i doing wrong?
     
  12. I get the same on server restart
    but seems to work
     
  13. I got those too... but curious.. are these errors from the default rust animal spawn routines because I have radtownanimals installed?? OR is this from the radtownanimals mod???
     
  14. Anyone resolved this yet?
     
  15. No idea, Oxide won't run on start now since latest rust update.
     
  16. plugin dont work maybe due to the latest update ????
     
  17. k1lly0u plugin is alittle bugged after this update. Only some animals spawn
     
  18. i dont get any animals spawning at all lol
     
  19. Code:
    (06:44:28) | [Oxide] 06:44 [Info] Unloaded plugin RadtownAnimals v0.2.11 by k1lly0u
    (06:44:28) | [Oxide] 06:44 [Info] Loaded plugin RadtownAnimals v0.2.11 by k1lly0u
    (06:44:28) | [Oxide] 06:44 [Error] [RadtownAnimals] <color=#939393>The animal spawn limit has been hit.</color>
    (06:44:29) | [Oxide] 06:44 [Error] [RadtownAnimals] <color=#939393>The animal spawn limit has been hit.</color>
    (06:44:29) | [Oxide] 06:44 [Error] [RadtownAnimals] <color=#939393>The animal spawn limit has been hit.</color>
    (06:44:29) | [Oxide] 06:44 [Warning] Calling 'OnServerInitialized' on 'RadtownAnimals v0.2.11' took 331ms
    (06:46:38) | [Oxide] 06:46 [Error] Failed to call hook 'ccmdKillAnimals' on plugin 'RadtownAnimals v0.2.11' (NullReferenceException: )
    (06:46:38) | [Oxide] 06:46 [Debug] at (wrapper managed-to-native) UnityEngine.Component:GetComponentFastPath (System.Type,intptr)
    at UnityEngine.Component.GetComponent[RAController] () [0x00000] in <filename unknown>:0
    at Oxide.Plugins.RadtownAnimals.ccmdKillAnimals (.Arg arg) [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
     
    Last edited by a moderator: Nov 4, 2016
  20. Please Fix, Good Plugin!!!