CustomLootSpawns

Create additional custom spawn points for loot boxes of your choosing

Total Downloads: 10,303 - First Release: Jan 21, 2016 - Last Update: Jul 6, 2018

5/5, 23 likes
  1. Getting a flurry of errors whenever the server restarts or shuts down. Not sure if these are normal or something I should be worried about? ...

    [06/30/2016 07:39:09] Trying to destroy a valid entity instead of killing it: assets/prefabs/tools/planner/planner.prefab

    Roughly 50 errors (presumably for all the boxes we've placed) like this one all with the "Trying to destroy a valid entity instead of killing it". Not sure what we've done wrong, but any help would be greatly appreciated.

    Thanks :)
     
    Last edited by a moderator: Jun 30, 2016
  2. Having problem with creating custom loot boxes

    I type /cls create Test 21

    And then my inventory is open for 0.5 sec and then it closes again and just gives me the message that "You didnt place any items in the box"

    edit: and can you add the small wooden boxes as well and maybe stashes?
     
    Last edited by a moderator: Jul 1, 2016
  3. This is usually related to being to near a previous attempt or an actual box.

    Try moving FAR away and doing the command.

    I havent made a customlootspawn in awhile but I recall that being the case.
     
  4. Sadly I've tried this, even removing everything and restarting server and still having the same problem.
     
  5. Update. Even tried starting a new server and still having the same problem, same with removing the plugin and then adding it again.
    I'm no expert on loggs but from what I can see there is no error messages or anything.. Totally lost here...
     
  6. Its a bug I never got around to solving that come about a month or 2 after making this. Usually when it happens your just move around a bit and try again. It has never not worked at all for me, even now. Anyway it's on the old to-do list. Out of curiosity what type of box are you trying to set? have you tried others?
     
  7. I've tried all the boxes and none of them work and I've also tried to move to the other side of the map and tested it again but still no success.
     
  8. fixe please
     
  9. XP game update broke this
     
  10. (16:42:24) | [Oxide] 16:37 [Error] Failed to call hook 'Unload' on plugin 'CustomLootSpawns v0.1.83' (NullReferenceException: Object reference not set to an instance of an object)

    (16:42:24) | [Oxide] 16:37 [Debug] at LootContainer.OnKilled (.HitInfo info) [0x00000] in <filename unknown>:0

    at BaseCombatEntity.DieInstantly () [0x00000] in <filename unknown>:0

    at Oxide.Plugins.CustomLootSpawns.KillBox (.BaseEntity entity) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.CustomLootSpawns.ClearData (Boolean refresh) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.CustomLootSpawns.Unload () [0x00000] in <filename unknown>:0

    at Oxide.Plugins.CustomLootSpawns.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

    (16:42:24) | [Oxide] 16:37 [Info] Unloaded plugin CustomLootSpawns v0.1.83 by k1lly0u

    (16:42:24) | [Oxide] 16:37 [Info] Loaded plugin CustomLootSpawns v0.1.83 by k1lly0u
     
  11. Did you delete your previous data file when you wiped your server?
     
  12. [Oxide] 11:47 [Error] Failed to run a 900.00 timer in 'CustomLootSpawns v0.1.83' (NullReferenceException: Object reference not set to an instance of an object)

    [Oxide] 11:50 [Error] Failed to call hook 'Unload' on plugin 'CustomLootSpawns v0.1.83' (NullReferenceException: Object reference not set to an
    instance of an object)

    if i place a box or reload the plugin the box spawns , but if i loot something out of this box and let it stand it gets unloaded , but dont respawns
    so i must reload plugin every 10 min to get it work ^^
     
  13. i will try thnks
     
  14. running on Oxide 2.0.2137
     
  15. Oxide] 17:30 [Error] Failed to run a 2700.00 timer in 'CustomLootSpawns v0.1.83' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 17:30 [Debug] at LootContainer.OnKilled (.HitInfo info) [0x00000] in <filename unknown>:0
    at BaseCombatEntity.DieInstantly () [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CustomLootSpawns.KillBox (.BaseEntity entity) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CustomLootSpawns.RefreshBoxes () [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CustomLootSpawns.<RefreshBoxes>m__0 () [0x00000] in <filename unknown>:0
    at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00000] in <filename unknown>:0
     
  16. My loot will not re spawn. i reset plugin an it spawns. an when its looted it will not re spawn. i an using the latest updates.
    am i doing something wrong. thank you
    I'm not getting any errors from console
     
  17. k1lly0u updated CustomLootSpawns with a new update entry:

    0.2.0

     
  18. can i spawn a xmas.present ?