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. I believe I have fixed it. Give this one a shot.
     

    Attached Files:

  2. Code:
    (23:05:53) | [Oxide] 23:06 [Error] Failed to call hook 'OnServerInitialized' on plugin 'RadtownAnimals v0.2.0' (NullReferenceException: Object reference not set to an instance of an object)
    (23:05:53) | [Oxide] 23:06 [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
     
  3. Third times the charm
     

    Attached Files:

  4. 4th time? :p

    Code:
    (23:51:18) | [Oxide] 23:51 [Error] Failed to call hook 'OnServerInitialized' on plugin 'RadtownAnimals v0.2.0' (NullReferenceException: Object reference not set to an instance of an object)
    (23:51:18) | [Oxide] 23:51 [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
     
  5. I don't get it. It's working on the server I'm on.
     
  6. k1lly0u updated Radtown Animals with a new update entry:

    0.2.1

     
  7. Hello so to spawn animals on monuments i need to chang this "Enabled":false ? to "Enabled":true ?
     
  8. Yes and change the counts from 0
     
  9. After updating and loading this plugin I get many of these errors:
    Code:
    ArgumentNullException: Argument cannot be null.
    Parameter name: key
     
  10. Code:
    (10:18:03) | [Oxide] 10:18 [Info] Loaded plugin RadtownAnimals v0.2.1 by k1lly0u
    (10:18:03) | [Oxide] 10:18 [Error] Failed to call hook 'OnServerInitialized' on plugin 'RadtownAnimals v0.2.1' (NullReferenceException: Object reference not set to an instance of an object)
    (10:18:03) | [Oxide] 10:18 [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
    With latest official patch
     
  11. pretty sure its rust related, there are existing threads about it
    post your config
     
  12. Fixed nvm. Had old config loaded, Been updating too many plugins this patch, my head's been spinning lol
     
  13. (17:02:16) | [Oxide] 17:02 [Info] Unloaded plugin RadtownAnimals v0.2.1 by k1lly0u

    (17:02:16) | [Oxide] 17:02 [Info] Loaded plugin RadtownAnimals v0.2.1 by k1lly0u

    (17:02:17) | [Oxide] 17:02 [Error] [RadtownAnimals] <color=#939393>The animal spawn limit has been hit.</color>

    (17:02:17) | [Oxide] 17:02 [Error] [RadtownAnimals] <color=#939393>The animal spawn limit has been hit.</color>

    (17:02:17) | [Oxide] 17:02 [Error] [RadtownAnimals] <color=#939393>The animal spawn limit has been hit.</color>

    (17:02:17) | [Oxide] 17:02 [Error] [RadtownAnimals] <color=#939393>The animal spawn limit has been hit.</color>

    (17:02:17) | [Oxide] 17:02 [Error] [RadtownAnimals] <color=#939393>The animal spawn limit has been hit.</color>

    (17:02:17) | [Oxide] 17:02 [Error] [RadtownAnimals] <color=#939393>The animal spawn limit has been hit.</color>

    (17:02:17) | [Oxide] 17:02 [Error] [RadtownAnimals] <color=#939393>The animal spawn limit has been hit.</color>

    (17:02:17) | [Oxide] 17:02 [Error] [RadtownAnimals] <color=#939393>The animal spawn limit has been hit.</color>

    (17:02:17) | [Oxide] 17:02 [Error] [RadtownAnimals] <color=#939393>The animal spawn limit has been hit.</color>

    (17:02:17) | [Oxide] 17:02 [Error] [RadtownAnimals] <color=#939393>The animal spawn limit has been hit.</color>

    (17:02:17) | [Oxide] 17:02 [Warning] Calling 'OnServerInitialized' on 'RadtownAnimals v0.2.1' took 424ms
     
  14. Set greater value for "TotalMaximumAmount" in config.
     
  15. I'm not sure what I'm doing wrong. I'm not getting any spawns in any of the monuments or radtowns. I've tried setting it to "true" in those areas and to "false", I've tried adjusting the number of spawns for each area (E.G. Bears 08, etc) both at false and true, etc. The thing is.. I've never messed with the config nor had to in the past and we had spawns at the radtowns. Since the last update from this script, I don't get any spawns.
     
  16. Same for me. Had an errors in console, but now there is no errors and no spawn either :(
     
  17. {
    "a_Options": {
    "RespawnTimer": 5,
    "SpawnSpread": 20.0,
    "TotalMaximumAmount": 40
    },
    "Airfield": {
    "AnimalCounts": {
    "Bears": 2,
    "Boars": 0,
    "Chickens": 0,
    "Horses": 0,
    "Stags": 0,
    "Wolfs": 0
    },
    "Enabled": true
    },
    "Lighthouses": {
    "AnimalCounts": {
    "Bears": 2,
    "Boars": 0,
    "Chickens": 0,
    "Horses": 0,
    "Stags": 0,
    "Wolfs": 0
    },
    "Enabled": true
    },
    "MilitaryTunnels": {
    "AnimalCounts": {
    "Bears": 2,
    "Boars": 0,
    "Chickens": 0,
    "Horses": 0,
    "Stags": 0,
    "Wolfs": 0
    },
    "Enabled": true
    },
    "Powerplant": {
    "AnimalCounts": {
    "Bears": 2,
    "Boars": 0,
    "Chickens": 0,
    "Horses": 0,
    "Stags": 0,
    "Wolfs": 0
    },
    "Enabled": true
    },
    "Radtowns": {
    "AnimalCounts": {
    "Bears": 08,
    "Boars": 0,
    "Chickens": 0,
    "Horses": 0,
    "Stags": 0,
    "Wolfs": 08
    },
    "Enabled": true
    },
    "Satellite": {
    "AnimalCounts": {
    "Bears": 2,
    "Boars": 0,
    "Chickens": 0,
    "Horses": 0,
    "Stags": 0,
    "Wolfs": 0
    },
    "Enabled": true
    },
    "SphereTank": {
    "AnimalCounts": {
    "Bears": 2,
    "Boars": 0,
    "Chickens": 0,
    "Horses": 0,
    "Stags": 0,
    "Wolfs": 0
    },
    "Enabled": true
    },
    "Trainyard": {
    "AnimalCounts": {
    "Bears": 2,
    "Boars": 0,
    "Chickens": 0,
    "Horses": 0,
    "Stags": 0,
    "Wolfs": 0
    },
    "Enabled": true
    },
    "Warehouses": {
    "AnimalCounts": {
    "Bears": 2,
    "Boars": 0,
    "Chickens": 0,
    "Horses": 0,
    "Stags": 0,
    "Wolfs": 0
    },
    "Enabled": true
    },
    "WaterTreatmentPlant": {
    "AnimalCounts": {
    "Bears": 2,
    "Boars": 0,
    "Chickens": 0,
    "Horses": 0,
    "Stags": 0,
    "Wolfs": 0
    },
    "Enabled": true
    }
    }
     
  18. See Below
    [DOUBLEPOST=1468901856][/DOUBLEPOST]
     

    Attached Files:

  19. Is anyone able to fix this so it works correctly? We're missing our stable hunting grounds around radtown, lol. :)
     
  20. Yes Please fix.

    Thank You! :)