Cornucopia

The horn of plenty! Spawn extra crates, barrels, nodes, animals, etc. randomly on the map

Total Downloads: 6,716 - First Release: Jul 28, 2015 - Last Update: Jun 1, 2017

5/5, 26 likes
  1. here we are....
     
  2. Thx alot!!!!!!
     
  3. Is this working copy?
     
  4. it does compile. I did'nt check more issues...
     
  5. Just tried it on my server, done the /cdump command and all animal figures appear to be correct. I flew around some and the spawn rates are up. So far it works great, thank you very much for fixing this Fujikura!
     
  6. Thx..but i suppose, the plugins specific functionality is not really my reward ;)
     
  7. When I run the console command "cornu.spawn" I get alot of errors like this:

    Code:
    ArgumentNullException: Argument cannot be null.
    Parameter name: key
      at System.Collections.Generic.Dictionary`2[SpawnPopulation,System.Int32].ContainsKey (.SpawnPopulation key) [0x00000] in <filename unknown>:0
      at SpawnHandler.AddInstance (.Spawnable spawnable) [0x00000] in <filename unknown>:0
      at Spawnable.Add () [0x00000] in <filename unknown>:0
      at Spawnable.OnEnable () [0x00000] in <filename unknown>:0
    UnityEngine.GameObject:SetActive(Boolean)
    GameManager:CreatePrefab(String, Vector3, Quaternion, Boolean)
    GameManager:CreateEntity(String, Vector3, Quaternion, Boolean)
    Oxide.Plugins.Cornucopia:ReplaceCollectibleWithSomething(String, List`1)
    Oxide.Plugins.Cornucopia:BatchSpawn(Int32, Int32, String, List`1, Boolean&)
    Oxide.Plugins.Cornucopia:SubCycle(IEnumerable`1, IEnumerable`1, List`1, Boolean&)
    Oxide.Plugins.Cornucopia:MainSpawnCycle()
    Oxide.Plugins.Cornucopia:SpawnCommand(Arg)
    Oxide.Plugins.Cornucopia:DirectCallHook(String, Object&, Object[])
    Oxide.Plugins.CSharpPlugin:InvokeMethod(HookMethod, Object[])
    Oxide.Core.Plugins.CSPlugin:OnCallHook(String, Object[])
    Oxide.Core.Plugins.Plugin:CallHook(String, Object[])
    Oxide.Game.Rust.Libraries.<AddConsoleCommand>c__AnonStorey1:<>m__0(Arg)
    Oxide.Game.Rust.Libraries.ConsoleCommand:HandleCommand(Arg)
    Run:Internal(Arg, Boolean)
    SystemRealm:Normal(RunOptions, String, Object[])
    SystemRealm:Normal(String, Object[])
    Facepunch.RConClient:HandleMessage(Int32, String)
    Facepunch.RConClient:Update()
    Facepunch.RConListener:UpdateClients()
    Facepunch.RConListener:Cycle()
    Facepunch.RCon:Update()
    ServerMgr:DoTick()
    (Filename:  Line: -1)
    I believe it has to do with the animal spawns.
     

    Attached Files:

  8. It it caused by the change of calling the PrefabNames now..it seems...code from Cornucopia is not dynamic enough to catch this new name paramter on some cases, i suggest...
     
  9. any chance of a fix to stop the spam? please

    [Oxide] 10:31 [Info] [Cornucopia] Destroying 82X stone-ore!
    [Oxide] 10:31 [Info] [Cornucopia] Destroying 90X metal-ore!
    [Oxide] 10:31 [Info] [Cornucopia] Destroying 68X sulfur-ore!
    [Oxide] 10:31 [Info] [Cornucopia] Spawning 1X assets/bundled/prefabs/radtown/loot_trash.prefab!
    [Oxide] 10:31 [Info] [Cornucopia] Spawning 1X assets/bundled/prefabs/autospawn/resource/loot/trash-pile-1.prefab!
    ArgumentNullException: Argument cannot be null.
    Parameter name: key
    ArgumentNullException: Argument cannot be null.
    Parameter name: key
    ArgumentNullException: Argument cannot be null.
    Parameter name: key
    ArgumentNullException: Argument cannot be null.
    Parameter name: key
    ArgumentNullException: Argument cannot be null.
    Parameter name: key
    ArgumentNullException: Argument cannot be null.
    Parameter name: key
     
  10. i just tried reloading and i get this:

    > oxide.reload Cornucopia
    [Oxide] 00:08 [Error] Cornucopia plugin failed to compile!
    [Oxide] 00:08 [Error] Cornucopia.cs(466,55): error CS1061: Type `LootContainer' does not contain a definition for `LookupShortPrefabName' and no extension method `LookupShortPrefabName' of type `LootContainer' could be found. Are you missing an assembly reference?

    how to fix would be great
     
  11. up this page is a working copy :)
     
  12. got it working thank you :}
     
  13. any idea on a when update may happen for this plugin Cheers
     
  14. If some is interested in a better working replacement/alternative for this plugin, write me a pm and think before about what its worth for you.
    Regards, Fuji
    Screenshot_11.png
     
  15. Do you have a working copy with no spam?
     
  16. Not a simple copy. The Cornucopia code is total bugged.
    I did merge the solution with the output(dump) style from Cornucopia.
     
  17. Plugin was working fine until today, made no changes and keeps randomly coming up saying:

    ArgumentNullException: Argument cannot be null.
    Parameter Name: key

    When I enter cornu.spawn or cornu.purge it lists the above error about 50 times but it occasionally comes up randomly but only 1 line.
     
  18. [Oxide] 18:07 [Error] Cornucopia plugin failed to compile!
    [Oxide] 18:07 [Error] Cornucopia.cs(466,55): error CS1061: Type `LootContainer' does not contain a definition for `LookupShortPrefabName' and no extension method `LookupShortPrefabName' of type `LootContainer' could be found. Are you missing an assembly reference?


    Plz help
     
  19. Hello how much to buy a non spam copy?
     
  20. i do not sell the same thing, only a plugin, which do its job, how its correct to be managed...

    write me a pm mand make me an offer ;)
    and maybe look my profilestats and some plugins, to proof yourself before, i'm not telling and not willing to sell you crap ;)