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. Online

    Nitnelave

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    CreeperHeal


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

    This post has been edited 46 times. It was last edited by Nitnelave Apr 29, 2012.
  2.  
  3. Offline

    shauwk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    hey theres a bug that when stuff regenerates, it kinda resets people or puts them back in time kind of lag

    also we summoned abunch of ghasts and it didnt regenerate all the fire , only some
  4. Online

    Nitnelave

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yeah, it's the mechanism to prevent suffocation that's a bit off... If you're using block per block replacement, you can disable it in the config. And what do you mean by it didn't regenerate all the fire? Is it the damage done by ghast fireball directly? Or by the subsequent fire? Or regenerating the fire itself, not the damage? Do you have anuthing in the log? I need more information.
  5. Offline

    shauwk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    hmm im not sure but the ghasts put alot of buildings on fire then it only regenerated some, i think it may not regenerate the fire spread, also it doesnt make fire disappear so i went to put out the fire and some blocks regenerated but not all
  6. Offline

    shauwk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i have block per block disabled but when stuff regenerates, everyone on server gets affected and they get sent back in time a bit
  7. Offline

    Alesana

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Same here. Any idea?
  8. Online

    Nitnelave

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Well, if you don't have it set to replace burnt blocks, it won't replace ALL of the Ghast's damage, as they also throw fire... Nothing I can do about that. You have to enable fire replacement if you want to have ghasts living around combustible stuff. And the aim of the plugin is not to put out fire, just to repair the damage.
    Yeah, I know of that bug... Won't be able to fix it tonight, will have to wait till next week-end. Sorry guys! Otherwise you can disable the teleporting thing in the config (teleport-on-suffocate or something like that)
  9. Offline

    dd65306141

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Why does this happen sometimes? Is it supposed to happen?
    2011-07-10 21:46:44 [SEVERE] java.util.ConcurrentModificationException
    2011-07-10 21:46:44 [SEVERE] at java.util.AbstractList$Itr.checkForComodification(Unknown Source)
    2011-07-10 21:46:44 [SEVERE] at java.util.AbstractList$Itr.remove(Unknown Source)
    2011-07-10 21:46:44 [SEVERE] at com.nitnelave.CreeperHeal.CreeperHeal.replace_one_block(CreeperHeal.java:469)
    2011-07-10 21:46:44 [SEVERE] at com.nitnelave.CreeperHeal.CreeperHeal.check_replace(CreeperHeal.java:452)
    2011-07-10 21:46:44 [SEVERE] at com.nitnelave.CreeperHeal.CreeperHeal$1.run(CreeperHeal.java:119)
    2011-07-10 21:46:44 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    2011-07-10 21:46:44 [SEVERE] at java.lang.Thread.run(Unknown Source)
  10. Online

    Nitnelave

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yeah it does happen sometimes... I don't really know why. It should be mostly when using the forceheal command with a block per block setting (trying to modify the list of blocks from both method) or when there's just too many explosions at once (many creepers, or a whole bunch of tnt), or too many blocks to replace. If I have time, I'll try to find a solution next weekend.
  11. Offline

    guyasyou

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Bigbrother does not work with creeperheal
  12. Online

    Nitnelave

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Wow... I think there's too many details... I can't even see the problem with so many details! Could you be a little less accurate?
  13. Offline

    melis256

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    hmm... The block-per-block is set to false on mine but it still acts as if it was set to true. And there is no 60 sec pause before it begins repair, no it begins immediately after the explosion :confused:
  14. Online

    Nitnelave

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Did you /reload ?
    Also, for block per block, it starts right away, the delay is only for all at once.
  15. Offline

    melis256

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    um, does restarting the server count as reloading?

    lol, well that's odd.
  16. Online

    Nitnelave

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    yeah, it does. How is that odd? well, for next version, I can do the delay, but that won't be till next weekend.
  17. Offline

    melis256

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    ok, I got it to work... however, it would be nice if everyone didn't get turned around (facing west) when getting teleported, and you get teleported even if you doesn't stand in the creeper hole/part which is getting replaced.
  18. Online

    Nitnelave

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yeah, I know about that problem, I'll get it fixed as soon as I can, that means not before this weekend. In the mean time (and you would know if you had read a few posts above), you can temporarily disable teleport-on-suffocate, and no one will be teleported.
  19. Online

    Nitnelave

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @diegokilla If you want to do the video you talked about, it would be great. Or you can wait till I fix the bug with players facing the wrong way. As you whish! Thank you!

    EDIT: I think I've found a fix! Will update this weekend
  20. Offline

    shauwk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    09:30:43 [SEVERE] java.lang.IndexOutOfBoundsException: Index: 10, Size: 4
    09:30:43 [SEVERE] at java.util.ArrayList.RangeCheck(ArrayList.java:547)
    09:30:43 [SEVERE] at java.util.ArrayList.get(ArrayList.java:322)
    09:30:43 [SEVERE] at net.minecraft.server.World.a(World.java:1635)
    09:30:43 [SEVERE] at net.minecraft.server.World.a(World.java:1605)
    09:30:43 [SEVERE] at net.minecraft.server.Chunk.g(Chunk.java:221)
    09:30:43 [SEVERE] at net.minecraft.server.Chunk.a(Chunk.java:252)
    09:30:43 [SEVERE] at net.minecraft.server.World.setRawTypeIdAndData(World.java:289)
    09:30:43 [SEVERE] at org.bukkit.craftbukkit.block.CraftBlock.setTypeIdAndData(CraftBlock.java:142)
    09:30:43 [SEVERE] at com.nitnelave.CreeperHeal.CreeperHeal.block_replace(CreeperHeal.java:589)
    09:30:43 [SEVERE] at com.nitnelave.CreeperHeal.CreeperHeal.block_state_replace(CreeperHeal.java:562)
    09:30:43 [SEVERE] at com.nitnelave.CreeperHeal.CreeperHeal.replace_blocks(CreeperHeal.java:467)
    09:30:43 [SEVERE] at com.nitnelave.CreeperHeal.CreeperHeal.check_replace(CreeperHeal.java:403)
    09:30:43 [SEVERE] at com.nitnelave.CreeperHeal.CreeperHeal$1.run(CreeperHeal.java:119)
    09:30:43 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    09:30:43 [SEVERE] at java.lang.Thread.run(Thread.java:680)
  21. Online

    Nitnelave

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Maybe you didn't get my hint? I was actually asking for more details, as "what is not working?" (what should you see and what do you ACTUALLY see), is there any message on the log, and if possible steps to reproduce the bug? That is, if you want help. If you don't, I'm not going to insist...
  22. Online

    Nitnelave

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hmmm.. I've had this error once or twice, but I REALLY don't see what I can do about it... There should be no case where this error is thrown, and yet... I'll encase this in a try/catch block, so it doesn't get displayed anymore, and maybe find a fix ?? Did you notice if a block didn't get replaced, or did you just notice that on the log, after a few hours of it running?:p
  23. Offline

    shauwk

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    hm i just saw it on console, ive never gotten errors b4 tho
  24. Online

    Nitnelave

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    fixed the teleport bug. Version 2.0.2 is out! (small update ^^)

    Next I'll work on those little bugs, at least to make them not display
  25. Offline

    SulimirCular

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Both links down??
    :(
  26. Online

    Nitnelave

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Oh, and v2.0.3 is out, fixing the TNT that was triggered that didn't get replaced (only those triggered by the explosion). Perfect for auto-resetting traps, now! Just a thing : the TNT will respawn where it exploded, not where it was triggered. I'll work on that. In the mean time, if you set a bunch of tnt to explode with replace-tnt to true, you will get the TNT scattered in the nature. Also added an alias for /ch forceHeal : a simple /ch heal will suffice now.
  27. Online

    Nitnelave

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Erm... no?
  28. Offline

    redcrew

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    finally the plugin I've looked for[tnt][creeper]
  29. Offline

    water

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    nice work :D

    but I want to know how to make it ...

    I used [onEntityExplode] then I don't know how to save the blocks been broken by Explode...

    I use event.blockList.(then what can I do here..?)

    could you help me :(?

    I'm not very good at Engilsh sor..
    and not good at bukkit and JAVA..
  30. Offline

    Asterdom

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Wow what a plugin! This should be implemented automatically into the main game!

    Anyways i hope you continue to support it as its one of the better (but more complex) ideas.

    Im loving it thus far, havnt had any major issues, thanks again!
  31. Online

    Nitnelave

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Well, you can always look at the source, it's free for all, and there's a link at the top. Otherwise, if you want to do it yourself from the basics, you should consider using a Hashmap with some key specific to the explosion (I use the time, as I check for it later, but you could use the location), and as the value the block list, except that you'll want to capture the blockstates instead (block.getState()). If you have any more question, please PM me, as it isn't really fit for a forum topic (unless a specific one, you could also do that). Oh, and if you're French, I am too.
  32. Online

    Nitnelave

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    New Update! v2.1!
    Should address all issues so far. Added teleportation out of blocks for block per block replacement too.
    WARNING! Now the interval setting also affects block per block replacement, so if you want to keep it as it is, type in-game /ch interval 0

    @Senladar I'm working with the dev of MobArena to see if a better solution is possible. Don't spawn items ONLY inside the arenas.

Share This Page