Need a LWC replacement

Discussion in 'Bukkit Discussion' started by TNTUP, Feb 23, 2014.

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

    TNTUP

    Hi, as you know know, @Hiendra doesn't care about its plugin (I guess), no answers in comments, IRC, IRC PM, tickets...

    I don't know if anyone that is skilled to fork it and make a fix about lag issues while placing/breaking protectable containers, I have 26k of 100k of protections, and its on MySql. No its not an issue with MySQL, The plugin Prism does moar log tthings, why LWC lags then? Quite annoying, I hope that Hiendra wont abondon this plugin, so many servers are using it.

    I've checked alternatives of LWC, that doesn't suit my needs or they dont have a converter to X plugin.

    I see alot of unanswered tickets, comments, but the developer isn't responding, though hes "active" on DBO, seeing his last time he logged in.

    Sorry but I had to post this here, to prevent repeating it in IRC channels
     
  2. Offline

    L33m4n123

    What you mean with containers? Chests? Sure your MySQL isn't just simply slow?
     
  3. Offline

    TNTUP

    Every protectable containers (doors, furnaces, trapdoors, chests (and trappedone), buttons, levers etc) and my MySQL is fine, or else my antigrief plugin would suffer because it would be slow. The problem is LWC... I guess some people experience the same issue as me...
     
  4. Offline

    L33m4n123

  5. Offline

    Sir_Mr_Bman

    TNTUP
    Personally, I've never had lag problems with LWC, and I'm admin on several servers that use it.

    Try running an earlier version. It should still work the same way, and even with a little less lag. Only problem is it might be a little buggy with the newest versions. I have not had problems with it however, and I think I'm a few versions out of date (on all the servers)

    Hope I could help!
     
  6. Offline

    TNTUP


    Hm thanks for this one, ill check it out!


    Well probably they're on a stable LWC? The latest LWC 4.4.0 has issues, I have 26k of 100k protections, by default its 10k, I dont think thats related because I increased the cache limit and still lagging. The lag occured on SQLite... I even asked a serveronwer (genAZt and/or frdmn) and its good, im happy but it does still lag.
     
  7. Offline

    Jade

    Moved to a more appropriate section.
     
    TNTUP likes this.
  8. Offline

    McLive

    Code:
    >lwc admin report
    [16:28:23 INFO]:
    [16:28:23 INFO]: LWC Report
    [16:28:23 INFO]:  Version: 4.4.0 (b867)
    [16:28:23 INFO]:  Running time: 10 hours 26 minutes 47 seconds
    [16:28:23 INFO]:  Players: 30/80
    [16:28:23 INFO]:  Item entities: 73/3122
    [16:28:23 INFO]:  Permissions API: VaultPermissions
    [16:28:23 INFO]:  Currency API: VaultCurrency
    [16:28:23 INFO]:
    [16:28:23 INFO]:  ==== Modules ====
    [16:28:23 INFO]:  LWC v4.4.0 (b867-git-MANUAL) (April 23, 2013) -> 46 registered modules
    [16:28:23 INFO]:
    [16:28:23 INFO]:  ==== Database ====
    [16:28:23 INFO]:  Engine: MySQL
    [16:28:23 INFO]:  Protections: 214,850
    [16:28:23 INFO]:  Queries: 14,631 | 0.39 / second
    [16:28:23 INFO]:
    [16:28:23 INFO]:  ==== Cache ====
    [16:28:23 INFO]:  Usage: 21.48%  ( 214848/1000000 )  [ Reads: 499,845,495 <=> 13291.29 r/s ]  [ Writes: 439,713 <=> 11.69 w/s ]
    
    That's fine for me. Had the same issue as you without mysql and another version.
     
  9. Offline

    TNTUP


    Weird then... must be a plugin interfering it... I did cleanup yesterday, directely in the mysql database, deleted creative locks (its a plotme world so why need to lock?) and disabled LWC history too.

    Damn, 214k... you beat me.. I only have 27k, before the cleanup I had 30k, so thats not the amount of protections, but maybe on plugins I use? Probably.


    Oh it was in a wrong section ._. Thanks for moving it in its correct section Jade!
     
  10. Offline

    Alshain01

    FWIW Hidendra cares more about this community than anyone else I know outside of the Bukkit Staff. He's also very busy, so he may not get to your questions right away. You probably don't want to know how much money he has spent keeping mcstats.org alive. So before you criticize you should probably get your facts straight.
     
  11. Offline

    TNTUP


    lol. If he does cares about the community, why he doesn't simply answering tickets or such? Or telling us hes busy (something irl, the mcstats you said ...) but none knows if hes still working on LWC. If he has free time, answering all those comments, questions, tickets... eh boy.. too many.

    Hes the only dev that works on LWC, why he didn't recruit some ticket managers to answer tickets? People that's are using LWC is quite disappointed cause no answer. He should make a FAQ to prevent repeating the same answer.

    Is this straight? I gave my opinions about this, just sucks a developer should be more "friendly", I mean like, responding to comments, tickets... but as you said, hes busy with his things, or like hire a temp developer while hes working on his things (irl and the mcstats).

    Also, his site "griefcraft.com", the update site doesn't work, new LWC installs returns an empty file (required libraries). I guess he did it to comply bukkit rules? Maybe.

    On DBO, I see hes active, but no activity (I can't know what he does while connected!). Last dev release date from Feb 6.

    McLive Have you the LWC history disabled by chance? I disabled it yesterday and emptied the lwc_history table.

    (PS: My english sucks, sorry! Im french :S)
     
  12. Offline

    McLive

    No, I have it enabled.

    Code:
        disableHistory: false
    Is your mysql database on the same host as the minecraft server?
     
  13. Offline

    ProjectInfinity

    I ran a server that had about a million protected blocks stored in a MySQL database. I did not experience any LWC related lag, so you might want to look elsewhere for performance issues.

    Also do you profile your plugins? That would be a huge help in trying to find out what's using up all the processing power.
     
  14. Offline

    BadReuben

    Based on the LWC tickets history, people don't seem to have issues once they try the unapproved dev builds for their 1.7 servers.
     
  15. Offline

    TNTUP


    Ye but im still having issues even with the LWC dev build. Causes probably are caused by other plugins.. so this I didn't fully test, but on a local testing, placing/breaking things fast does make server lag... Though im with an antigriefing plugin that logs lots of data and no lag... why LWC does lag randomly while placing/breaking?

    I've checked with VisualVM and I see that BlockPlaceEvent does make that but im unsure the cause.

    1.7.6 is coming soon, idk the date yet, so LWC will mostly break (or not?) and others plugins that uses name reorganization.
     
  16. Offline

    Syd

    Enable plugin profiling in your bukkit.yml, let the server run a bit (-> create a few lags) and then type in /timings merged
    It will create a file that lists of every eventhandler (+ the handling plugin), how many times it was called and how much time it took to calculate it's stuff.

    It can help you to find the lagging plugin.

    Also LWC will most likely not break with 1.7.6, as 1.7.6 only changes some internal things.
    1.8 will go a step further in removing ItemIDs in favor of ItemNames, but in the end it's up to Bukkit to take the ItemIDs out of the API (what hasn't happend yet).
     
  17. Offline

    TNTUP

    Okay, will try that. I hope that "wont" break but still plugins are based on nicknames, not on UUID, im quite confused (Probs thats why I dont Know java heh)
    People are so much used with ID's and ItemNames too, sucks they remove ids support :/
     
  18. Offline

    Syd

    Ahh, you mean PlayerNames.

    That actually will be a problem in the future, depending on how Bukkit does handle that.
    If we're still able to get the Player's current Name with the same API methods as now, all plugins should work with that change. However, if a player decicdes to change it's name, he should be handled as another player.
    So don't expect big problems before 1.8 ;)

    The big problem is, that the BukkitAPI does lack some important methods to support the UUID system. Especially a method to get a player by it's UUID.

    However, the ItemID->ItemName change was good and very important. While you may have memorized that 1 -> Stone, in the end it's much easier to just say Stone. TabComplete is your friend for such stuff.
    And codewise it was very dirty, for Mojang and also for us plugin devs.
    (Not to forget that it's a huge step towards the PluginAPI)
     
Thread Status:
Not open for further replies.

Share This Page