• 0

    posted a message on LWC 1.37a :: Lightweight Chest Protection & Management
    Quote from Freman »
    Quote from Hidendra »

    Are there any errors in the console?[/qoute]
    Not that I noticed, I can have another look tonight...

    Does the folder minecraft is in have correct permissions (writable)? i.e. lwc.db

    Yes, lwc.db exists/got created and entries were even created in it.

    Try out 1.35, it includes a few bug fixes that may have addressed your issue.


    1.35 includes a converter for Chest Protect. If you have a suggestion for another plugin to add a converter for, pm me.
    Chest Protect is 100% conversion, only lockedChests.txt is required.

    To use this, you can do 1 of two things: (for both, install LWC as you normally would)
      [*:2n9prbiz]SSH/CMD into the plugins directory. Execute: java -cp LWC.jar CPConverter
      [*:2n9prbiz]In-game as an LWC admin. Execute: /lwc convert chestprotect

    1.35
      [*:2n9prbiz]Chest Protect converter
      [*:2n9prbiz]bug fixes
    Posted in: Alpha - Survival Multiplayer Discussion
  • 0

    posted a message on LWC 1.37a :: Lightweight Chest Protection & Management
    Quote from Freman »
    Don't think it's working right...

    > /lwc create private
    Chest type: PRIVATE
    Left click your chest to complete the locking process
    {left clicks on chest}
    Registered chest lock.
    > /lwc info
    Left click a chest to see information about it
    {left clicks on same chest}
    Chest is unregistered

    I just tried the same commands you did and it seemed to work for me.

    Are there any errors in the console? Does the folder minecraft is in have correct permissions (writable)? i.e. lwc.db
    Posted in: Alpha - Survival Multiplayer Discussion
  • 0

    posted a message on LWC 1.37a :: Lightweight Chest Protection & Management
    Exciting times!

    First and foremost, LWC's source is now freely available and downloads are moved to Github. I think I got git down pat now!

    Secondly, plenty of bugs that were noticeable before are now fixed. The help messages for various LWC commands are now much more helpful and less vague.

    TNT and Creepers now do not blow up chests. Sad creeper may be even more sadder now :SSSS:

    1.34
      [*:2lvu3kiu]Source and downloads moved to Github: https://github.com/Hidendra/LWC/
      [*:2lvu3kiu]Creepers + TNT no longer blow up chests
      [*:2lvu3kiu]Help via commands is now a lot more informative
      [*:2lvu3kiu]Bug fixes. Some include protections not working (COMMAND itself, protections worked 100%) all of the time, are now fixed
      [*:2lvu3kiu]LWC Mods could not open a passworded chest owned by an admin (if they knew the password). Now fixed

    enjoy

    ps, new download link: https://github.com/downloads/Hidendra/LWC/LWC.jar
    Posted in: Alpha - Survival Multiplayer Discussion
  • 0

    posted a message on LWC 1.37a :: Lightweight Chest Protection & Management
    1.33
      [*:1c6zg7pq]Important security fix for permissions when removing chests
    Posted in: Alpha - Survival Multiplayer Discussion
  • 0

    posted a message on So, you REALLY want to be good at PVP?
    Does SMP pvp (not pve) not obey the combat flood? i.e. entities can't take damage for a certain amount of time after being damaged--when they're red. Simplying clicking your right mouse button quickly is much faster than the flood limit
    Posted in: Alpha - Survival Multiplayer Discussion
  • 0

    posted a message on LWC 1.37a :: Lightweight Chest Protection & Management
    Quote from immibis »
    I can't get private chests to work. Paraphrased:

    (i type /lwc modify Khalysto and click on the chest)
    Registered rights for Khalysto: [Player]
    <immibis> Ok, now can you see the cobble?
    <Khalysto> No.


    Edit: apparently it's because they were protected by Cuboid. I don't know if it's possible to make LWC override Cuboid, but if it is, that would be very good.

    You can select only the chest square (right click with shovel, close chest, right click again) and protect to anyone, ie /protect g:default. Now it will work, and LWC will prevent the chest from being destroyed as if it were protected


    Kind of forgot to update this thread! Fear not, LWC is currently at 1.32!

    1.32
      [*:ftefolxp]LWC Mods now cannot view or modify chests that are owned by LWC Admins
      [*:ftefolxp]performance tweaks, code optimization, some removal
      [*:ftefolxp]bug fixes, I can't remember any significant ones at this moment

    1.31
      [*:ftefolxp]Changed Hook priority for BLOCK_CREATED, BLOCK_DESTROYED, COMPLEX_BLOCK_CHANGE and COMPLEX_BLOCK_SEND to Medium
    Posted in: Alpha - Survival Multiplayer Discussion
  • 0

    posted a message on Birds Eye View of World
    http://rapidshare.com/#!download|566l33 ... er.zip|377

    Haven't used it for a few months! Hopefully it works :tongue.gif:
    Posted in: Alpha - Survival Multiplayer Discussion
  • 0

    posted a message on LWC 1.37a :: Lightweight Chest Protection & Management
    Quote from wolfaaron »
    I dont quite understand where the data is stored. Is the data stored on the file named lwc.db?

    Yup. it's not plain text so if you're trying to view it manually you'll need something to view it (on linux, sqlite3 lwc.db)
    Posted in: Alpha - Survival Multiplayer Discussion
  • 0

    posted a message on THE GRIEFER DUO: EPISODE 1
    Hey, you're very original. Very creative
    Posted in: Alpha - Survival Multiplayer Discussion
  • 0

    posted a message on LWC 1.37a :: Lightweight Chest Protection & Management
    Gentlemen, I give to you 1.30

    1.3
      [*:2btzbj7y]Some more sql optimization
      [*:2btzbj7y]Several bug fixes, including clean deletion of chests when a protected chest is removed.
      [*:2btzbj7y]/lwc info has been extended to anyone. To non chest admins, lwc admins + mods, it will only show the owner and type of the chest (private, public, password)
      [*:2btzbj7y]LWC Mods can now view+modify any chest
      [*:2btzbj7y]/lwc persist - enable commands to persist after one action, ie /lwc info or /lwc create
      [*:2btzbj7y]Aliases! These need not be added to player's commands, it will look for the original
        [*:2btzbj7y]/cpublic - /lwc create public
        [*:2btzbj7y]/cpassword <Password> - /lwc create password <Password>
        [*:2btzbj7y]/cprivate - /lwc create private
        [*:2btzbj7y]/cinfo - /lwc info
        [*:2btzbj7y]more to come! These are not yet showed publicly in the help message (type just /lwc as always to see it)
    Posted in: Alpha - Survival Multiplayer Discussion
  • 0

    posted a message on LWC 1.37a :: Lightweight Chest Protection & Management
    Quote from Kane_Hart »
    call me crazy but we did it for like 3 hours.. We could never figure out what the lag was with 20+ online... We got none stop cpu spikes.. Then when we disabled LWC it ran again and has never lagged besides auto save. Then when I enable it again it spikes again.

    I know it might sound odd but it is something wrong maybe a threading conflict?

    The plugin doesn't use any threads at all. It is only "live" when someone uses a command/opens a chest/chest updates are sent. Only one connection is ever created (which is when the plugin is started). I wouldn't call it a connection, though, because it doesn't connect to a service

    The first suspect is the reads are slow and hogging cpu. I made a quick test in the plugin to try. The 2000 or so chests in the database are completely randomly generated.

    [LWC] [v1.3] Chest count: 2097
    [LWC] [v1.3] Beginning random reads, with a 10 ms interval
    [LWC] [v1.3] Printing ACTUAL reads/sec every 5 seconds
    [LWC] [v1.3] READS/SEC: 0 , ELAPSED SECONDS: 0
    [LWC] [v1.3] READS/SEC: 82 , ELAPSED SECONDS: 5
    [LWC] [v1.3] READS/SEC: 90 , ELAPSED SECONDS: 10
    [LWC] [v1.3] READS/SEC: 90 , ELAPSED SECONDS: 15
    [LWC] [v1.3] READS/SEC: 90 , ELAPSED SECONDS: 20
    [LWC] [v1.3] READS/SEC: 90 , ELAPSED SECONDS: 25
    [LWC] [v1.3] READS/SEC: 91 , ELAPSED SECONDS: 30

    Looks normal. CPU was normal, too. About the same as minecraft normally uses. That's ~ 1.1ms per query.

    But of course, that's hypothetically speaking. in your case, you have a much larger server so there's I guess more factors. Each chest update to players in the area (which is more often than not) requires 1-3 queries depending on the chest type per player. That shouldn't be a problem considering how fast queries are.

    But, if people are constantly creating chests all the time and causing the physical database to be updated (freeing a chest, registering a chest, adding a limit/rights, etc), then that COULD be a problem, if it were done constantly to the point it would be noticeable.

    How many chests do you have, anyway? Not that a lot would a problem (it shouldn't, really. sqlite shouldn't have problems with millions of rows), just curious. You can see it when the plugin starts unless you already know
    Posted in: Alpha - Survival Multiplayer Discussion
  • 0

    posted a message on New content mods through SMP.
    Quote from Makray »
    I do know Notch doesn't care for client mods and I don't think anybody uses them in the malicious fashion just to spite him.
    I believe that the desire to add new content is just another expression of love for this game, when it come to modding.

    Is it really so simple though, to just use a SSP mod by modifying the client and the server?
    I didn't really think it'd work that way, because nobody who wrote any mods ever made mention of using in multiplayer.
    Perhaps I should experiment.

    The server is essentially a client in respect to the loaded world. Meaning pretty much a lot of the code will be identical (ignoring obfuscation) in the client and server.
    Posted in: Alpha - Survival Multiplayer Discussion
  • 0

    posted a message on Furnaces are not working
    Don't put them beside a workbench of chest--currently a bug
    Posted in: Alpha - Survival Multiplayer Discussion
  • 0

    posted a message on Query Players Support for Minecraft?
    I had made a php class for interfacing with Flippeh's multiplexer. Dunno if it'd be useful by anyone, but i could release it if so

    You can see it in action here: http://griefcraft.com
    Posted in: Alpha - Survival Multiplayer Discussion
  • To post a comment, please or register a new account.