[Abandoned] MinecartMania Reborn
Minecart Mania 2.0 is a total minecart overhaul for fun and profit.
With MCM you can:
- Jump and ramp minecarts through the air
- Travel at ludicrous speeds (no derailing!)
- Set destinations for each cart and route them automatically through intersections.
- Route minecarts based on their type, contents or direction.
- Use block or signs to change speed, physics, and other properties on the fly.
- Use minecarts to farm wheat, lumber and other crops, harvest them and place them in chests
- Use advanced sensors to trigger redstone circuits based on the type, contents and direction of minecarts.
Note: 7/23/2013 by jrbudda
MinecarftMania has been almost totally re-written Please read Whats new in v2 for the current list of changes from the original.
Documentation
- Minecart Physics
- Control Blocks and Signs
- Intersections and Stations
- Chests and Items
- Farming (Automations)
- Sensors
- Commands
- Configuration
- Permissions
If you find bugs or have problems, please open a Ticket on the Tickets page.
You can also usually find the author in IRC on esper.net in #minecartmania
When I have time, I can check your codebase and see whether the fix is there.
@Etsija
If it is fixed great, I base my code on his latest one ;)
I do not think it can be reproduced, as Afforess fixed this a LOOOOOOONG time ago in his code (which I believe is also part of mze's code).
@IdealHosting
I never experienced that, if you can tell me a bit more about how to reproduce this please file a ticket and I will try to find and fix this! :)
Thanks!
@mze9412 Well, there was a problem where when you had REALLY long railroads with lots of boosters (and yes, you need them :P) the momentum would turn infinity and the minecart would spazz out (go out of the rails randomly etc.) Not even stopping and releasing the minecart was able to reset the momentum :(
@IdealHosting
What exactly do you mean? I never encountered such a problem?!
Does it fix the problem where momentum goes into infinity?
Yes that might actually be true. Didn't think of that, since we run our own, almost-working version of MM on our server...("almost" being the exact reason why I'm looking forward to your version :)).
@Etsija
I did not change any code except wood farming, that is what makes it so interesting to me ;) But yeah, I will gladly help with checking out what is going wrong! But I really need more information :)
I think he tried the old server with the old minecart mania, because the new one would not work with it, right?
I guess Neoravencroft's point of trying the server also with the old MM and not seeing the CPU spiking kind of proves the point that it is MM Reborn which is responsible of the high CPU load and not "Bukkit performance issues"...
@MichiyoRavencroft
And Quadcore does not help. Bukkit and Minecraft basically only really use one core so the maximum speed of the complete system is much more important then the number of cores. A dual core with the same frequency is not really slower than a quadcore with bukkit... ;)
@MichiyoRavencroft
Could you check how many minecarts are running and what are your range settings? This is interesting but isn't bukkit investigating some performance issues?
Heya, I've tried a few times to use this and every time I load up just core it spikes to 50+% CPU usage, I even deleted my plugins, and loaded just MMR and it still spiked, with the console being spammed with [WARNING] Can't keep up! I'm running the original MM on my 1.1 server and it doesn't use anywhere near as much CPU.
Edit: This is a quad core Phenom, with 8 GB RAM, Bukkit set to 3gb.
@mze9412: I just PM'd you all directionality fixes I've found from the plugins we use (we do not use autocart or automations). I hope this helps you.
Yes, please make it an option if anything, going back to the old directions would absolutely ruin my server.
@Etsija
What I would like to do is make a configuration option to enable/disable the old directions. My server relies on the old ones ;) If you could give me some pointers what I would have to change for the new directions I can inlcude such a switching option!
Thanks!
Maintaining MinecartMania is great news! I wish you luck in your work, and kudos to you!
- - -
Regarding directionality: I fixed a lot of directionality related problems for Core, SignCommands, ChestControl, AdminCommands and Stations sub-plugins a while ago. Could you take a look and see about my fixes in GitHub? With those, we were able to fix the directionality issues for those plugins. I really really do not want to revert back to the old outdated directionality, since we have already updated all the signs on our server's metro system to use the new directionality. That's why I'd rather see them fixed, before I can take your plugin into use. :)
https://github.com/Etsija
And, if you want to, I can gather together all tasks I did regarding the directionality and send the links to you - or even do a pull request, if that's what you need. I want to do everything possible to make it easier for you to fix the directionality issues! Maybe you will at least get an idea of where to fix when you look at my (quick and dirty) code at GitHub.
@SnyTe
For me it works. I just checked on my server running exactly this version and carts do slow down after a while :) Could you list all installed plugins? Thanks!
Excluding Autocart plugin does not dissable it's ability it seems, carts don't slow down as they normally would.
@mze9412
That sounds wonderfull :) Thanks for the great work!