[MECH] EverCart v1.0 - Storage Minecarts Load Chunks [740]

Discussion in 'Inactive/Unsupported Plugins' started by Valrix, Apr 5, 2011.

  1. Offline

    Valrix

    EverCart - The Storage Minecart Chunk Loader:
    Version: v1.0

    EverCart is a plugin thought up by @amd3th that keeps the chunks around Storage Minecarts loaded while it moves to you can transport goods distances that are usually too far away and would cause the cart to stop moving due to it going into a chunk too far from any player.

    Features:
    • Dynamically loads and unloads chunks within a short range as it moves
    PLANNED UPDATES (open)
    • Improved chunk loading and unloading to increase performance
    • Config options to enable logging of chunk loading and unloading
    • Config options to track different kinds of minecarts besides just the Storage Minecart


    Download EverCart

    Source Code: EverCart

    Changelog:
    Version 1.0
    • Release of EverCart
     
    Rytharr likes this.
  2. Offline

    Valrix

    Er, now this is getting a little confusing because I've been told not to do ranges and now to do ranges. For the most part my plugins will always work, but I make it painfully obvious which ones specifically work so people don't think "Oh, he doesn't have that version listed, so it must not work for it" when it really does. It'll be nice to have Fill up so we could just have a list of versions we know it works with so people could filter based on which build it needs to work on.
     
  3. Offline

    Plague

    Well you only have to have the latest recommended build listed in the title. Anything else should be in the post itself.

    The range can be used for some situations if needed. But that usually is not the case, do you want to support old 1.4 minecraft servers or something?

    And how can it not work for versions inside a range is beyond my comprehension as a plugin developer ;)
     
  4. Offline

    Valrix

    Agreed, and yet I still have people ask me if it works on build #XXX more times than I like to remember. I don't want to support older versions at all, but if I don't then people throw a fit and I really can't stand the constant whining even if I bend over backwards for them.
     
  5. Offline

    Plague

    Oh I usually just ignore them, they want something from you not the other way around :)
    But if you want to list the versions, do whatever you want in the post itself, the header is mostly used in plugins.bukkit.org and updater scripts use that output, so try not to clutter it.
     
  6. Offline

    Valrix

    Ah, ok, I'll try to keep them clean then.
     
  7. Offline

    Pjstaab

    Have you worked on chunk loading at all by any chance?
     
  8. Offline

    Valrix

    I will once I get a chance to look over MinecartMania's code that fixes the handling of chunks when they need to be unloaded since the current method causes memory to be leaked in extreme amounts. Once that's fixed and Netstats v5 is done then I can start working on improving how the chunks are managed. I plan on having it check a cart and after a certain amount of time of it not moving, it'll unload all the chunks it's been keeping track of since it technically won't need them. I also need to really work on how chunks are loaded since Notch is further increasing the speed of booster tracks and after the 1.6 update all carts without a player in them will move too fast for EverCart to load up the world in time.
     
  9. Offline

    Pjstaab

    Alright sounds like a plan. EverCart+Nethrar for long range goods moving ftw.
     
  10. Offline

    Valrix

    Yeah, that's the reason I often hear. Hopefully these bug fixes in 1.6 will improve everyone's plugins to work more efficiently, etc. Though I bet some things will be broken in the process by the sounds of it.
     
  11. Offline

    Pjstaab

    Have you done any work on this? 1.7 seems like it's a ways out so no rush.
     
  12. Offline

    Valrix

    No, I didn't get a chance yet and with the recent changes to max speeds and the loss of my test world due to corruption I'll have to build a new track to even do any testing. Sadly I'm even more behind now after the last update, but I do hope to get this fixed up and working. Once classes are out and I'm on Summer break I'll be able to tend to all my plugins, especially this one.
     
  13. Offline

    Pjstaab

    Ouch, i've been out for a few weeks now. No rush.
     
  14. Offline

    Mr_Fj

    Looking forward to any future updates, this is exactly what I was looking for.
    I know how it is with school, hope you get off soon :)

    By the way, will 1.0 work with 1.6.6 at all?
     
  15. Offline

    Valrix

    I think with the speed boosts it breaks EverCart, but I think I'm going to have a future update have the plugin look in nearby chunks for track and work in a complex script to make a loaded path for the cart, that way only chunks that need to be loaded will be queued. I think there were some recent commits to the bukkit repo that mentioned breaking chunk generation/manipulation commands, so when I get a chance (and when the JavaDocs are updated) I'm going to read up and find out a better method to load up chunks.

    This plugin will also have a sister plugin that'll allow admins, mods, whatever to force certain chunks to stay loaded so farms, etc. can stay loaded or whatever other masterpiece you want to stay alive. Lots of work ahead...
     
    Mr_Fj likes this.
  16. Offline

    Pjstaab

  17. Offline

    Black_Fox

    I'm looking forward to this! :)
     
  18. Offline

    alfw

    Any info on update on this and the sister plugin?
     
  19. Offline

    Valrix

    Honestly, this is last on the list to be updated due to others being more important and I still have to work on how this'll work so it won't be a memory hog.
     
  20. Offline

    alfw

    What time will this support 1000?
     
  21. Offline

    Valrix

    I'm not sure. It's really not easy to test this plugin since I have to first make a track that's around 500 blocks long just to start testing it. Then I need to sit and figure how I should exactly manage how chunks are loaded and unloaded. The new idea I have is when a cart is placed on track, the plugin follows the track and loads up all the chunks that have the track running through it. I have a few ideas of how to do this, but I'll need to think it over a bit ensure the plugin runs fast and doesn't take up a lot of memory as it finds all the chunks to load.
     
  22. Offline

    alfw

  23. Offline

    MCTSS

    Nice Work!
     
  24. Offline

    Valrix

    It's still pretty broken, especially after the ability to make minecarts really fast, but I'll work out a working solution when I can.
     
  25. Offline

    MCTSS

    Hey Whats your skype again... i deleted it...... fail lol

    Btw What have i done wrong here?

    import java.util.Scanner;

    class java{
    public static void main (String agrgs[])(
    Scanner java = new Scanner (System.in);
    double fnum, snum, answer;
    System.out.print1n("Enter first num: ");
    fnum = java.nextDouble();
    System.out.print1n("Enter second num: ");
    snum = java.nextDouble();
    answer= fnum + snum;
    System.out.println(answer);
    }
    }
     
  26. Offline

    Raptor2213

    There's a plugin called ChunkLoad that might give you some ideas to help you with that.
     
  27. Offline

    ktccd

    Don't think that would help. I think he knows how to load the chunks, the problem here is to find a fast algorithm for testing nearby chunks for tracks (possibly weeding out those with tracks not connected to the one with the cart) and then loading only those. That's a lot of calculations to do in the dozen ticks the carts stays in a chunk before it moves away due to incredible speed.

    And then imagine a server with 50+ carts running around across the world... That'd break any server.

    IDK if it would be enough to have it permission based and do a simple "load nearest chunks" on every cart moving on to a new chunk. Might be a bit intensive too, seeing the speed of cart movement (however, players loading a lot more at that speed seem to do fine :S).
     
  28. Offline

    Arudinne

    Any word on updating this to 1.0.0?
     
  29. Offline

    harryjamesuk

    I'll get this if you can make it work for all types of minecarts, not just storage ones ;)
     

Share This Page