ExplodingBarrels

Barrels containing certain items can explode

Total Downloads: 1,381 - First Release: May 11, 2016 - Last Update: Feb 4, 2017

5/5, 7 likes
  1. ignignokt84 submitted a new resource:

    ExplodingBarrels - Barrels containing rockets can explode

    Read more about this resource...
     
  2. why only rockets? c4, explosive ammo, etc can be also included in the list? even explosives can be in it )
     
  3. Initially it was just rockets because that made the most sense - but I can add an option for explosives and explosive ammo.

    Edit:

    I will need to confirm first that C4, explosives, explosive ammo, and landmines can actually spawn in barrels as non-blueprints.
     
    Last edited by a moderator: May 11, 2016
  4. haha Very nice, some people going to get an unpleasant surprise. :D
     
  5. ignignokt84 updated ExplodingBarrels with a new update entry:

    0.1.1

     
  6. (19:25:15) | [Oxide] 19:25 [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'ExplodingBarrels v0.1.1' (NullReferenceException: Object reference not set to an instance of an object)

    (19:25:15) | [Oxide] 19:25 [Debug] at Oxide.Plugins.ExplodingBarrels.OnEntityTakeDamage (.BaseCombatEntity entity, .HitInfo info) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.ExplodingBarrels.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0
     
  7. Can you provide some context for this error stack?
     
  8. ignignokt84 updated ExplodingBarrels with a new update entry:

    0.2.0

     
  9. ignignokt84 updated ExplodingBarrels with a new update entry:

    0.2.1

     
  10. ignignokt84 updated ExplodingBarrels with a new update entry:

    0.2.2

     
  11. does not work. teleport at the specified coordinates and find myself in a void below the map, and there's nothing there. and on the map at this point too, there is nothing. I walked all the points just below the map and everything is empty.
     
  12. Are you looking for the barrels below the terrain?
     
  13. Yes, because that's where the coordinates point. and I look over the terrain. just nothing.
     
  14. Do you have plugins that customize barrel loot, or spawns? And I assume it's a procedurally generated map?

    I've never seen this behavior before, and I've tested quite a few barrels...
     
  15. no
    yes
     
  16. Can you please provide me with a list of your plugins?
     
  17. AdminSpawn
    AutoGrades
    BoxLooters
    BuildingGrades
    CoptorTracker
    CorpseDuration
    CraftingController
    DayVote
    DeathNotes
    DemolishRefund
    EnhancedHammer
    EntityOwner
    FireArrows
    Fishing
    FreezeArrows
    HammerTime
    HitIcon
    InventoryCleaner
    ItemSkinRandomizer
    Logger
    LustyMap
    LustyPort
    MasterKey
    Notifier
    RepairTool
    RestoreUponDeath
    SignArtist
    Spectate
    StartProtection
    Vanish
    vipname
    WellFed
    ZLevelsRemastered
    ZoneDomes
    ZoneManager
     
  18. Thanks, I will look into this; a quick scan of your plugins doesn't reveal any which obviously would impact ExplosiveBarrels.
     
  19. Code:
    ExplodingBarrels - Failed to compile: ExplodingBarrels.cs(249,41): error CS1061: Type `BaseNetworkable' does not contain a definition for `LookupShortPrefabName' and no extension method `LookupShortPrefabName' of type `BaseNetworkable' could be found. Are you missing an assembly reference?
     
  20. ignignokt84 updated ExplodingBarrels with a new update entry:

    0.2.3