Inactive [SEC] CreeperHeal v4.13 - Repair Creeper damage, the natural way! [1.2.5]

Discussion in 'Inactive/Unsupported Plugins' started by Nitnelave, Jun 21, 2011.

  1. Offline

    Nitnelave

    CreeperHeal


    The project in now on BukkitDev! Go there to find all the news, downloads, error reporting, and everything else!
     
  2. Offline

    Nitnelave

    What do you mean, you had to edit the config file? what change did you have to do? did not "/ch fire on" work?
     
  3. Offline

    nateD

    Hello,

    It's really a great plugin. I have only one problem. Blocks that are on blacklist should drops normally but they don't drop anything, remains only an empty hole (for creepers, I have TNT-heal disabled, heal is block by block).

    Is there a chance to get drops from blacklisted blocks?

    Everything else works just fine and I really appreciate your work. Thank you

    (CB1000, CreeperHeal 2.2.1)
     
  4. Offline

    Nitnelave

    Oh, I see what you mean. If you set stone in the blacklist, you'd want stone (in this case cobblestone) to drop when destroyed by an explosion? All of the blocks or just a percentage? I could do that, and I'll do as soon as I get back to my code, which will be either tonight or in a couple weeks... Sorry guys, won't be updating for a while after tonight...
     
  5. Offline

    nateD

    Yup, it's exaclty what i mean. It would be really nice with 'percentage chance', but for me, 'just all blocks' will be cool too:)
     
  6. Offline

    soulreaver797

    Just thought I'd mention, for some reason, while messing around with charged creepers, half way through the repair my server crashed, this happened twice. :/
     
  7. Offline

    Nitnelave

    Hmm.. I haven't tested with charged Creepers, now that you mention it. Unfortunately, I can't do it right now, so it'll have to wait a couple weeks. Sorry to make you waiting. Did it output anything in the log? Could you show me your config?
     
  8. Offline

    soulreaver797

    Code:
    Creepers: true    #replaces Creeper damage
    TNT: true    #replaces TNT damage
    replace-ghast-fireballs: true       #replace damage done by ghast fireballs
    replace-magic-explosions: false        #replace damage done by other causes
    interval: 5      #in seconds, how long you have to wait before the damage starts getting repaired
    block-per-block: true        #Replaces one block at a time given the block-interval, or the whole explosion after the interval
    block-interval: 5     #in ticks, 1/20th of a second, rate of replacement for explosions. Also frequency of check for fire block replacement
    replace-burnt-blocks: true       #If true, replaces the blocks burnt after burnt_interval
    burn-interval: 45        #in seconds, how long you have to wait before the blocks burnt are replaced
    replace-natural-only: false    #replace only natural blocks. Can be false, whitelist or blacklist
    natural-blocks-whitelist:     #Blocks that will get replaced if replace-natural-only is set to whitelist
    natural-blocks-blacklist:         #Blocks that will not get replaced if replace-natural-only is set to blacklist
    refresh-frequency: 20      #in seconds, how often it should check for explosions to be replaced, if block-per-block is set to false
    drop-replaced-blocks: true      #gives back a drop when you place a block in an area to be healed
    teleport-on-suffocate: true     #Teleport players out of explosions being healed if they suffocate (not for block_per_block)
    teleport-on-suffocate-block-per-block: true     #Teleport players out of explosions being healed if they suffocate (for block_per_block)
    replace-tnt: false     #whether exploding tnt should be replaced or not
    log-level: 0      #0-3 0:silent, 3:verbose. Recommended:1
    That's my config.

    As for the log. just before the crash, this comes up
    Code:
    2011-07-24 23:41:43 [SEVERE] java.util.ConcurrentModificationException
    2011-07-24 23:41:43 [SEVERE] at java.util.AbstractList$Itr.checkForComodification(Unknown Source)
    2011-07-24 23:41:43 [SEVERE] at java.util.AbstractList$Itr.next(Unknown Source)
    2011-07-24 23:41:43 [SEVERE] at org.bukkit.craftbukkit.entity.CraftEntity.getNearbyEntities(CraftEntity.java:148)
    2011-07-24 23:41:43 [SEVERE] at com.nitnelave.CreeperHeal.CreeperHeal.check_player_one_block(CreeperHeal.java:529)
    2011-07-24 23:41:43 [SEVERE] at com.nitnelave.CreeperHeal.CreeperHeal.replace_one_block(CreeperHeal.java:514)
    2011-07-24 23:41:43 [SEVERE] at com.nitnelave.CreeperHeal.CreeperHeal.check_replace(CreeperHeal.java:495)
    2011-07-24 23:41:43 [SEVERE] at com.nitnelave.CreeperHeal.CreeperHeal$1.run(CreeperHeal.java:139)
    2011-07-24 23:41:43 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    2011-07-24 23:41:43 [SEVERE] at java.lang.Thread.run(Unknown Source)
    2011-07-24 23:41:46 [SEVERE] java.util.ConcurrentModificationException
    2011-07-24 23:41:46 [SEVERE] at java.util.AbstractList$Itr.checkForComodification(Unknown Source)
    2011-07-24 23:41:46 [SEVERE] at java.util.AbstractList$Itr.next(Unknown Source)
    2011-07-24 23:41:46 [SEVERE] at org.bukkit.craftbukkit.entity.CraftEntity.getNearbyEntities(CraftEntity.java:148)
    2011-07-24 23:41:46 [SEVERE] at com.nitnelave.CreeperHeal.CreeperHeal.check_player_one_block(CreeperHeal.java:529)
    2011-07-24 23:41:46 [SEVERE] at com.nitnelave.CreeperHeal.CreeperHeal.replace_one_block(CreeperHeal.java:514)
    2011-07-24 23:41:46 [SEVERE] at com.nitnelave.CreeperHeal.CreeperHeal.check_replace(CreeperHeal.java:495)
    2011-07-24 23:41:46 [SEVERE] at com.nitnelave.CreeperHeal.CreeperHeal$1.run(CreeperHeal.java:139)
    2011-07-24 23:41:46 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    2011-07-24 23:41:46 [SEVERE] at java.lang.Thread.run(Unknown Source)
    2011-07-24 23:41:46 [SEVERE] java.util.ConcurrentModificationException
    2011-07-24 23:41:46 [SEVERE] at java.util.AbstractList$Itr.checkForComodification(Unknown Source)
    2011-07-24 23:41:46 [SEVERE] at java.util.AbstractList$Itr.next(Unknown Source)
    2011-07-24 23:41:46 [SEVERE] at org.bukkit.craftbukkit.entity.CraftEntity.getNearbyEntities(CraftEntity.java:148)
    2011-07-24 23:41:46 [SEVERE] at com.nitnelave.CreeperHeal.CreeperHeal.check_player_one_block(CreeperHeal.java:529)
    2011-07-24 23:41:46 [SEVERE] at com.nitnelave.CreeperHeal.CreeperHeal.replace_one_block(CreeperHeal.java:514)
    2011-07-24 23:41:46 [SEVERE] at com.nitnelave.CreeperHeal.CreeperHeal.check_replace(CreeperHeal.java:495)
    2011-07-24 23:41:46 [SEVERE] at com.nitnelave.CreeperHeal.CreeperHeal$1.run(CreeperHeal.java:139)
    2011-07-24 23:41:46 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    2011-07-24 23:41:46 [SEVERE] at java.lang.Thread.run(Unknown Source)
    2011-07-24 23:41:49 [SEVERE] java.util.ConcurrentModificationException
    2011-07-24 23:41:49 [SEVERE] at java.util.AbstractList$Itr.checkForComodification(Unknown Source)
    2011-07-24 23:41:49 [SEVERE] at java.util.AbstractList$Itr.next(Unknown Source)
    2011-07-24 23:41:49 [SEVERE] at org.bukkit.craftbukkit.entity.CraftEntity.getNearbyEntities(CraftEntity.java:148)
    2011-07-24 23:41:49 [SEVERE] at com.nitnelave.CreeperHeal.CreeperHeal.check_player_one_block(CreeperHeal.java:529)
    2011-07-24 23:41:49 [SEVERE] at com.nitnelave.CreeperHeal.CreeperHeal.replace_one_block(CreeperHeal.java:521)
    2011-07-24 23:41:49 [SEVERE] at com.nitnelave.CreeperHeal.CreeperHeal.check_replace(CreeperHeal.java:495)
    2011-07-24 23:41:49 [SEVERE] at com.nitnelave.CreeperHeal.CreeperHeal$1.run(CreeperHeal.java:139)
    2011-07-24 23:41:49 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    2011-07-24 23:41:49 [SEVERE] at java.lang.Thread.run(Unknown Source)
    This is after spawning a creeper, charging it, and exploding.

    And don't worry yourself, all in your own time.
    It's not a big problem.
     
  9. Offline

    Nitnelave

    Try with the new version.
    Ok, feature added!

    UPDATE v2.3!
     
  10. Offline

    nateD

    I have tested the new feature and it's almost perfect. There is no problem with (for example) grass, dirt etc. Problem appears when any ore is destructed by creepers explosion. After that there is a 'lapis lazuri ore' block insteed of just 'lapis lazuri'. It affects all ores, coal etc. Anyway it's a great improvement and I'm happy even with these blocks.

    Thank you :)
     
  11. Offline

    soulreaver797

    Brilliant, Charged creepers no longer crash my server.
    Also I love the new feature that drops item blocks.
     
  12. Offline

    Nitnelave

    Oh, that would be easy to fix... if I had my code. I put it together in kind of a hassle, and didn't check everything. I did code the part for random amount of lapis or redstone dropping, though! I will not be able to update for about two weeks, as I'm going on holidays. But I'll do it!
     
  13. Offline

    nateD

    There is no rush:) Wish you a good holiday.
     
  14. Offline

    marvinbek

    This is a crap plugin. It corrupted my world! (~15 TNT...)
     
  15. Offline

    Nitnelave

    What do you mean? More details would help. Let me see your config. Did it output anything in the log?
    And by corrupted I assume you mean it didn't replace the blocks, and left a big hole?
     
  16. Offline

    marvinbek

    No, corrupted, as 1 month ago, and as in no one could enter the server with that map. Even opening it with MCEdit and placing something and saving didn't help. I had to delete the world.
     
  17. Offline

    Nitnelave

    That's weird. With which version of minecraft was the map generated? Can you try with a new map? What's your bukkit version? I don't see how this could be because of my plugin...
     
  18. Offline

    marvinbek

    Didn't you see the 1 MONTH AGO? It was like 8xx that was the newest back then...
     
  19. Offline

    Nitnelave

    As I didn't remember that issue, I JUST went through the whole thread, and your first post in here was Yesterday. So no, I didn't see your post from 1 month ago, I would have answered back then. But this doesn't answer my questions, which may help me understand and fix your problem.

    Ok, on next version I'm planning to add multiworld, along another secret feature!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  20. If a Creeper will indeed explode all the blocks replaced, but all the broken blocks will appear.
     
  21. Offline

    Nitnelave

    Hmm... I didn't quite get what you said. What happened, what did you expect to see, and what did you see? Along with any relevant settings.
     
  22. Code:
    Creepers: true    #replaces Creeper damage
    TNT: true    #replaces TNT damage
    replace-ghast-fireballs: true       #replace damage done by ghast fireballs
    replace-magic-explosions: true        #replace damage done by other causes
    interval: 5      #in seconds, how long you have to wait before the damage starts getting repaired
    block-per-block: false        #Replaces one block at a time given the block-interval, or the whole explosion after the interval
    block-interval: 5     #in ticks, 1/20th of a second, rate of replacement for explosions. Also frequency of check for fire block replacement
    replace-burnt-blocks: true       #If true, replaces the blocks burnt after burnt_interval
    burn-interval: 45        #in seconds, how long you have to wait before the blocks burnt are replaced
    replace-natural-only: false    #replace only natural blocks. Can be false, whitelist or blacklist
    natural-blocks-whitelist: 1, 2, 3, 9, 11, 12, 13, 14, 15, 16, 17, 18, 21, 24, 31, 32, 37, 38, 39, 40, 48, 49, 56, 73, 79, 81, 82, 86, 87, 88, 89    #Blocks that will get replaced if replace-natural-only is set to whitelist
    natural-blocks-blacklist: 0        #Blocks that will not get replaced if replace-natural-only is set to blacklist
    refresh-frequency: 20      #in seconds, how often it should check for explosions to be replaced, if block-per-block is set to false
    drop-replaced-blocks: false      #gives back a drop when you place a block in an area to be healed
    teleport-on-suffocate: true     #Teleport players out of explosions being healed if they suffocate (not for block_per_block)
    teleport-on-suffocate-block-per-block: true     #Teleport players out of explosions being healed if they suffocate (for block_per_block)
    replace-tnt: false     #whether exploding tnt should be replaced or not
    log-level: 1      #0-3 0:silent, 3:verbose. Recommended:1
    When a creeper explode than the hole close. And where the hole was there a lot of dirt blocks.
    How can i disable it.
     
  23. Offline

    Nitnelave

    Hmm, weird! Did you update to most recent version? once you've done that, type "/ch tnt on" in-game and a few more options will pop up in the config. But I don't think that's the problem. Any error in the log? could you give me a list of your plugins?
     
  24. no error.
    i have the newst verion.
    and in the older version all right.
    The problem only in the new version
     
  25. Offline

    Nitnelave

    Woops, you're right, I messed up this part of the code. If you don't use any of the new features, you can downgrade to the one-before-last version, found on github (link in the first post). I actually just fixed it (30 seconds after reading your post), but I can't publish a new version right now. Will have to wait till I come back from holidays, in a couple weeks.
     
  26. Offline

    skeletonofchaos

    Is this compatible with EffectiveArrows yet? Just wanted to check to make sure it would be ok.
     
  27. Offline

    Nitnelave

    I'm in contact with the dev, we're trying to make that happen, but it's not done yet. Anyway, it won't be until I come back from holidays, in a couple weeks.
     
  28. Offline

    marvinbek

    I did not make a post 1 month ago. The problem HAPPENED 1 month ago. I only got around to reporting it now.
     
  29. Offline

    Nitnelave

    Oh, ok. So, can you answer those questions please ?
    With which version of minecraft was the map generated? Can you try with a new map? Are you sure it's not a compatibility with another plugins that's causing it? (give me a list of your plugins)
    It actually never did that to me, but who knows? Is it when blowing up a specific type of block? a huge explosion perhaps?
     
  30. Offline

    marvinbek

    No, i can't. It's 1 month ago. I didn't keep all the details, but i believe it's 1.6.6 or 1.7.2.
     
  31. Offline

    Nitnelave

    What, you can't try with a brand new map? and you can't post a list of your plugins if it still crashes your new map?
     

Share This Page