[URGENT BUG] Survival LWC Error

Discussion in 'Report Bugs' started by Deletethispls, Aug 31, 2014.

Thread Status:
Not open for further replies.
  1. Deletethispls

    Deletethispls Delete me pls Donator

    Messages:
    601
    Likes Received:
    228
    Minecraft:
    EdwardGFleming
    @ItsJerry @ItsHarry
    Your username: NSE466
    In which minigame/server does the bug occur: Survival
    Detailed description of bug: LWC has an error and told me to tell an admin ASAP
    2014-08-31_15.37.04.png
     
    PyromancerMagic likes this.
  2. PresidentBacon

    PresidentBacon Barry B. Benson

    Messages:
    624
    Likes Received:
    1,410
    LWC is throwing errors, but that doesn't really provide much.

    Is LWC still functioning properly, as in are your protections still protected from others? Can you protect things?
     
  3. Deletethispls

    Deletethispls Delete me pls Donator

    Messages:
    601
    Likes Received:
    228
    Minecraft:
    EdwardGFleming
    It does not protect signs but I'm not sure about chests
     
  4. PyromancerMagic

    PyromancerMagic Donator

    Messages:
    2,064
    Likes Received:
    2,214
    You can't use /lock whatsoever. Items are still protected, and using /lock on an already protected item will still give you the "This ____ is already registered". It will not allow you to create new protections through /lock, or normal placing.
     
    Deletethispls likes this.
  5. PresidentBacon

    PresidentBacon Barry B. Benson

    Messages:
    624
    Likes Received:
    1,410
    So is the error in the OP the error you get when you try to /lock something?
     
  6. PyromancerMagic

    PyromancerMagic Donator

    Messages:
    2,064
    Likes Received:
    2,214
    Eeyup. Same when you place something, such as a chest or sign, and it tries to create a new protection.
     
  7. PresidentBacon

    PresidentBacon Barry B. Benson

    Messages:
    624
    Likes Received:
    1,410
    Okay well I assume something is preventing it from connecting to the database all the protections are stored on. If they used a flat file, there would be no problem in the server being able to read/write to it as it's stored locally. I assume they're storing the LWC protections on an external MySQL database then.

    My best guess is that it's loading protections the server has cached in memory, but if you were to interact with a protection that hasn't been loaded since the error started occurring, LWC wouldn't be able to load the protection. If whatever is preventing it from reaching the database (assuming I was right with what I have said already) still persists by the next restart, it may not load any protections at all.

    Edit: So I checked the one chest I had locked in Survival and it was protected. So either someone loaded it and the protection recently (again if I'm right with how the protections are loaded) or LWC is able to read the database but not write to it.

    Or of course I could be totally wrong \o/
     
    Last edited: Aug 31, 2014
    PyromancerMagic likes this.
  8. ItsWilly

    ItsWilly Ex Co-Owner Donator

    Messages:
    2,281
    Likes Received:
    18,359
    Minecraft:
    MrDeathWilliam
    Will be fixed in the next server restart.
    Thank you for reporting.
     
Thread Status:
Not open for further replies.