Safe Creeper Obsidian/Explosion Issue #30


  • Defect
  • Started
Open
Assigned to timvisee
  • _ForgeUser10655411 created this issue Mar 13, 2013

    What steps will reproduce the problem?
    1. Safe Creeper interferes with obsidian destroyer plugin
    2. With safe creeper installed obsidian will never break from creeper explosions (I have destroy world enabled)

    What version of the product are you using?
    1.3.6.9

    Do you have an error log of what happened?
    no

    Please provide any additional information below.
    Without safe creeper installed obsidian will break using obsidian destroyer plugin, with safe creeper installed it overrides obsidian destroyer and obsidian will never break.

  • _ForgeUser10655411 added the tags New Defect Mar 13, 2013
  • drtshock posted a comment Mar 14, 2013

    Can you post which version of OD you are using along with the config please :) I would like to help with this ticket as well.

  • _ForgeUser10655411 posted a comment Mar 14, 2013

    Version: '2.9' autoupdate: true Radius: 3 FluidsProtect: true CheckItemId: 38 EnabledFor: TNT: false Cannons: false Creepers: true Ghasts: false Withers: false Durability: Enabled: true Obsidian: 3 EnchantmentTable: 3 EnderChest: 0 Anvil: 3 ResetEnabled: true ResetAfter: 600000 Blocks: ChanceToDrop: 0.7

  • _ForgeUser10655411 posted a comment Mar 14, 2013

    here's a pastebin of it, easier to read: http://pastebin.com/z2wxtE4r

  • timvisee removed a tag New Mar 18, 2013
  • timvisee added a tag Waiting Mar 18, 2013
  • timvisee posted a comment Mar 18, 2013

    @drtshock: Go

    Hello,

    It's great to see you as Obsidian Destroyer developer taking a look at the issue too.

    About the problem. It might be a problem with Safe Creeper, Safe Creeper fully recreates the explosions, also known as 'Unknown explosions' or 'Custom explosions' and not regular creeper explosions. If there's a feature in the OD plugin to enable these 'other' or 'unknown explosions' from destroying blocks, that might solve the issue.

    Also, I've added you as ticket manager to Safe Creeper, so you can manage this ticket if you'd like to.

    Tim Visée

  • timvisee removed a tag Waiting Mar 18, 2013
  • timvisee added a tag Replied Mar 18, 2013
  • timvisee removed their assignment Mar 18, 2013
  • timvisee assigned issue to drtshock Mar 18, 2013
  • timvisee unassigned issue from drtshock Mar 18, 2013
  • timvisee self-assigned this issue Mar 18, 2013
  • drtshock posted a comment Mar 18, 2013

    @timvisee: Go

    Always happy to help :)

    My plugin looks for the ExplosionPrimeEvent and the EntityExplodeEvent which isn't caused when you do the world.createExplosion method. I believe that is the reason that OD doesn't listen to the explosions here.

  • _ForgeUser10655411 posted a comment Mar 20, 2013

    I'm just curious if this is something that is fixed now or will be fixed soon?

  • timvisee posted a comment Mar 20, 2013

    @goflish: Go

    No, the issue has not been fixed yet. I'm sorry.

  • timvisee posted a comment Mar 20, 2013

    @drtshock: Go

    Hello,

    I know that the issue was caused by this. Although, there is no possible way to make bukkit think the explosion was caused by the Creeper. I'm thinking, maybe a little API feature could be added to OD that allows Safe Creeper to hook into it. Once an explosion occurs Safe Creeper can send a message to OD through an API function with the required information like the blocklist, radius, location, cause and so on. @drtshock What do you think about it? @drtshock If you like the idea but you don't like to create a little API in OD I can add an 'Event' to the Safe Creeper API that will give OD the possibility to hook into Safe Creeper and listen to that event. Then, when any explosion will be created by Safe Creeper that event will be called. Using this way you don't have to create any API functions, but then you do have to hook into Safe Creeper.
    @drtshock If you like any of these above features, please tell me, that would be great :)

    I think this is the only way to solve the issue. Of course a listener could be added for any explosion to OD, but the point is that there will be no way to detect what the cause was of the explosion.

    I can add a similar thing to Safe Creeper too that 'clones' OD but then build-in inside Safe Creeper, that could fix it of course too. But since it's you're plugin and idea I don't like to clone your plugin and idea's.

    Tim Visée

  • timvisee removed a tag Replied Mar 20, 2013
  • timvisee added a tag Started Mar 20, 2013
  • drtshock posted a comment Mar 20, 2013

    @timvisee: Go

    I can implement an API into the plugin that would allow you to do this. It would probably take about a week though considering the 1.5 release has kept me busy with other things. Sounds like a good suggestion and I will look into it.

    In the meanwhile, you should join my irc channel so we can collaborate on this more. Much easier to talk in irc than over a ticket ;)


    Edited Mar 20, 2013
  • timvisee posted a comment Mar 21, 2013

    Hi, I'm currently at school, I'll try to join the channel when I'm back home. Although I see you posted this 12 hours ago you probably live in a different time zone. I live in GMT +1, but I will give it a try anyway. I expect to be back home again in a few hours.

    Tim Visée


To post a comment, please login or register a new account.