Gates not disconnecting and leaking #17


  • Defect
  • Accepted
Open
Assigned to _ForgeUser7495956
  • _ForgeUser7495956 created this issue Jan 6, 2013
    Owner

    What is the expected output? What do you see instead?
    Gate should disconnect but doesn't when dhd_clear_stage is set to 3. Also gate leaks on disconnect when set to either 2 or 3.

    What versions are you using?
    Gates: 1.1

    Please provide any additional information below.

    Originally reported by rvoegeli:

    Hi,

    first up: I love your plugin! It's the central attraction on my private server! :)

    Sadly I'm having some difficulties. :(

    As reported before

    dhd_clear_stage: 3
    prevents the gates from properly shutting down and sometimes flooding the gateroom. Maybe it's because the source chunk is already unloaded when you try to clean the chest.

    Unfortunately setting this to 2 just fixes half of the problem. Gates always shutdown now, but not always get cleaned up. Water and redstone torches are left behind, not seldom resulting in the already mentioned flooding. :(

    Doing a /reload fixes the gates (apparently by activating the woosh for a short time), but most of the time crashs my bukkit (unrelated, he does that...).

    A /gates reset command would be a REALLY helpful workaround for those problems.

    Keep up the good work! Duke

  • _ForgeUser7495956 added the tags Defect Accepted Jan 6, 2013
  • _ForgeUser7495956 posted a comment Jan 6, 2013

    I've created a version which should provide more debug information to help with this.

    LINK DEPRECATED


    Edited Jan 21, 2013
  • Forge_User_33257662 posted a comment Jan 6, 2013

    Did some testing and got flooded again. No error! This time reloading didn't help, had to burry the gate in dirt to stop the water.

    I also noticed some issues when the gate is placed between two chunks. Sometimes not the whole gate shows the water effekt and some torches are missing on the same side. Only on the chunk where most of the gate is placed is activated correctly. This are also the gates that show the most problems, bust not exclusive to them.

    Btw it seems your debug version broke the signs, they always show Inactive now and don't get updated.

    EDIT: Seems signs are updated on incoming connections... Should the dubug version output more than just more errors? I get absolutly nothing from it after the loading message. Do I need to activate the debug mode elsewhere?


    Edited Jan 6, 2013
  • _ForgeUser7495956 posted a comment Jan 10, 2013

    I just added some additional error checking into the debug version there should be no need to enable anything extra. Seems there are a few problems with the chunks that i'll have to look into.

  • _ForgeUser7495956 posted a comment Jan 12, 2013

    I've modified made a new file using a different way of clearing the chest. See if that makes a difference. Same link as before.

  • _ForgeUser7495956 posted a comment Jan 16, 2013

    I've made some more modifications to the debug version so it now ensures the chunk is loaded before changing any blocks and then unloads it after. Please could you check if this fixes the problem?

    Thanks,

  • _ForgeUser7495956 posted a comment Jan 21, 2013

    Good news!! I managed to reproduce the problem and believe I have fixed it :)

    If someone could try this link please and confirm on here it would be much appreciated.

    https://www.dropbox.com/s/9l1t6565lrcz3im/Gates.jar

  • _ForgeUser7495956 posted a comment Apr 30, 2013

    Hi All,

    Apologies for the delay on this and also that the link provided below may have crashed some of your servers when unloading causing the maps to save incorrectly.

    I have just uploaded a V1.1.1a to the files. I believe this is identical to the file below but without the nasty unload bug. The leaky gate is still top on my priority list.

    Once again apologies for anyone who experience crashes. I'll try not to let it happen again!


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