Inactive [MECH] TrainCarts v1.71.2 - Link minecarts of different types together to form trains [2222]

Discussion in 'Inactive/Unsupported Plugins' started by bergerkiller, Aug 3, 2011.

  1. Offline

    bergerkiller

    [​IMG]

    After a request from Marius A. Winsjansen I started to work on linked Minecarts. On the first day I already managed to make multiple carts move with the same speed, but a long list of bugs was to be expected. After fixing lots of bugs, adding lots of (complicated) Minecart handling functions and after hours of testing on my local server, this plugin is finally ready for a stable release! :D

    Also, special thanks go to @Shamebot for helping me out several times. :)

    Description:
    For a lot of information about TrainCarts see the WIKI page!

    Configuration and permissions

    All configuration nodes can be found in config.yml and contains a description with it. Permissions can be found in PermissionDefaults.yml, combined with a description.

    Media:

    Early development video (Photobucket)

    Video displaying version 0.6 of this plugin (YouTube)

    Video displaying version 1.0 of this plugin (YouTube)

    Video displaying version 1.1 of this plugin (YouTube)

    Video displaying version 1.2 of this plugin (holy...)


    A tutorial video in German explaining various sign-circuitry of TrainCarts


    PhotoBucket Sign system tutorial videos (also linked in the WIKI pages)
    Train spawner / Stations / Stations2 / Arrival signs / Train teleportation / Track switcher based on tags / Destinations / Blocker
    Video of how the switcher, station and destination signs work together

    Side information:

    It works best on straight lines with not too much elevation changes followed up by sharp corners. As long the cart gap can be adjusted, everything goes fine. It had some collision issues in the past, but I fixed all of that by manipulating the actual Minecraft server native code. I added links in the source where this was appropriate. Sharp 'U'-turns cause individual carts to lose perceptive of their direction. Keep at least one piece of track in between corner sections! Trains are stored on-disk when reloading and stopping the server, so expect trains to be there when you return.

    Important when updating: do one reload to save all trains, then replace traincarts.jar, and then do another reload. This next reload will probably cause a noClassDefFound exception (since the old jar got replaced), this is why a pre-reload is required. Replacing the jar without reloading is a very bad idea: it will cause a lot of runtime exceptions. Best is of course to stop the server and start again, but this is not always possible.

    This plugin is made compatible with Minecart Mania. If you notice a certain feature of Minecart Mania is not compatible with TrainCarts, notify me and I'll fix it. :)


    Known bugs:
    - None.

    TODO:
    - Train-sign message handling using SignLink (low priority)
    - Minecart use permissions (for individual carts?) such as Storage Minecarts

    Commenting

    If you encountered a bug, post exactly what you had done and in what order. Even a slight wobble can help fixing bugs. When posting (long) errors I recommend you to post everything, don't cut it off. I work with native methods, so in my case these lines are important. For comments on the media content see YouTube, it also contains a description with the music name when music is used.

    Bug reporting (extend)

    1. Post the Craftbukkit version you are using (the first info message in the console)
    2. Post the log from where the first plugin gets enabled to the 'done'.
    3. Post possible errors in this log too (don't cut them short)
    4. No error? Still post the log. Also explain how I can reproduce it, you can use screenshots
    5. Before reporting, remove ALL plugins other than TrainCarts and try again. If it works then, find out what plugin is interfering and post that here. I can add support.
    6. ALWAYS use the latest recommended Craftbukkit build with this, or my methods may just fail because of renamed functions.

    Important links:

    Request thread
    TrainCarts on BukkitDev for download and more
    TrainCarts source and more on GitHub
    TrainCartsBlocks add-on source and more on GitHub
    SignLink Bukkit page (required to use Arrival signs)
    MyWorlds Bukkit page (required to use Portal train teleportation)

    notice: try to keep SignLink/MyWorlds up-to-date to prevent compatibility issues.

    Installation for those that don't know how

    1. Download and install the latest craftbukkit version
    2. Download the latest TrainCarts version
    3. ^ Save the archive (zip file) to your computer
    4. ^ Open the archive you just downloaded
    5. In the folder your server sits in, create the plugins folder if it doesn't exist
    6. Open the plugins folder
    7. Move the TrainCarts.jar file found in the archive into the plugins folder
    8. Run your craftbukkit server and look in the console/log for possible errors, and/or if the plugin is enabled.

    Changelog

    Show your appreciation for my plugins by donating
    [​IMG]
     
  2. Offline

    MechanID

    @bergerkiller - no, as you can see my server log - there is no other plugins, also i reproduce this bug on my local computer, i downloaded latest bukkit(1559) and traincarts 1.51, if train i out spawn location it dupes.
    more info about -
    server:
    gentoo 64bit
    java version "1.7.0_147-icedtea"
    OpenJDK Runtime Environment (IcedTea7 2.0) (Gentoo build 1.7.0_147-icedtea-b147)
    OpenJDK 64-Bit Server VM (build 21.0-b17, mixed mode)

    local computer:
    windows7 64bit
    C:\Users\MechanID>java -version
    java version "1.6.0_26"
    Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
    Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
     
  3. Offline

    ledhead900

    @bergerkiller
    I had to remove this, while the trains were fixed and did not stop anymore, Instead now they caused stack overflows and duped to buggery for no reason after server had been online for about 2 hrs or more it can and will happen overnight.

    CB 1550 and 1559 tested!
    PHP:
    Full Server Console Report

    174 recipes
    27 achievements
    2011
    -12-06 21:03:41 [INFOStarting minecraft server version 1.0.1
    2011
    -12-06 21:03:41 [INFOLoading properties
    2011
    -12-06 21:03:41 [INFOStarting Minecraft server on *:7767
    2011
    -12-06 21:03:41 [INFOThis server is running Craftbukkit version git-Bukkit-1.8.1-R4-77-ge86a355-b1550jnks (MC1.0.1) (Implementing API version 1.0.0-R1-SNAPSHOT)
    2011-12-06 21:03:41 [INFOMCBansSet Core API Key and Language
    2011
    -12-06 21:03:41 [INFO] [PermissionsExsql backend registered!
    2011-12-06 21:03:41 [INFO] [PermissionsExfile backend registered!
    2011-12-06 21:03:41 [INFO] [PermissionsExPermissionEx plugin initialized.
    2011-12-06 21:03:42 [INFO] [PermissionsExp2compat backend registered!
    2011-12-06 21:03:42 [INFO] [PermissionsCompatCompatibility Layer Initalized!
    2011-12-06 21:03:42 [INFO] [PermissionsExInitializing file backend
    2011
    -12-06 21:03:42 [INFO] [RegisterPreferred method [nullnot foundusing first found.
    2011-12-06 21:03:42 [INFO] [RegisterPayment method found (iConomy version6)
    2011-12-06 21:03:42 [INFO] [Registerversion 1.5 is enabled.
    2011-12-06 21:03:42 [INFO] [SpoutSpout 605 has been initialized
    2011
    -12-06 21:03:42 [INFOPreparing level "Earth"
    2011-12-06 21:03:42 [INFO] Default game type0
    2011
    -12-06 21:03:43 [INFOPreparing start region for level 0 (Seed: -5774760318650830494)
    2011-12-06 21:03:43 [INFOPreparing start region for level 1 (Seed: -2413113458816892225)
    2011-12-06 21:03:44 [INFOPreparing spawn area77%
    2011-12-06 21:03:44 [INFO] [boosCoolDownversion 1.5.0 by [Boosikis enabled!
    2011-12-06 21:03:44 [INFO] [boosCoolDownPermission system found
    2011
    -12-06 21:03:44 [INFOBorderGuard version 4.2 is enabled!
    2011-12-06 21:03:44 [INFO] ----------------------------------
    2011-12-06 21:03:44 [INFO] | Buycraft version 3.0 enabled! |
    2011-12-06 21:03:44 [INFO] ----------------------------------
    2011-12-06 21:03:44 [INFOCommandBook 1.6-customized enabled.
    2011-12-06 21:03:44 [WARNINGCommandBook0 Warps(sloaded
    2011
    -12-06 21:03:44 [WARNINGCommandBook2 Homes(sloaded
    2011
    -12-06 21:03:44 [INFOCommandBookMaximum wrapper compatibility is enabledSome features have been disabled to be compatible with poorly written server wrappers.
    2011-12-06 21:03:44 [INFOCommandBook0 banned name(sloaded.
    2011-12-06 21:03:44 [INFOCommandBook1 kit(sloaded.
    2011-12-06 21:03:44 [INFOCommandBookUsing the Bukkit Permissions API.
    2011-12-06 21:03:44 [INFO] [EasyFlightversion [0.5is Enabled.
    2011-12-06 21:03:44 [INFO] [ FalseBook Block 3100 Books loaded!
    2011-12-06 21:03:44 [INFO] [ FalseBook Block 2 Cauldrons successfully loaded.
    2011-12-06 21:03:44 [INFO] [ FalseBook Block FalseBookBlock v0.90alpha by GeMo enabled
    2011
    -12-06 21:03:44 [INFO] [ FalseBook Core using PermissionsEx for Permissions!
    2011-12-06 21:03:44 [INFO] [ FalseBook Core FalseBookCore v0.90alpha by GeMo enabled!
    2011-12-06 21:03:44 [INFO] [ FalseBook Extra FalseBookExtra v0.90alpha by GeMo enabled
    2011
    -12-06 21:03:44 [INFO] [ FalseBook IC FalseBookIC v0.90alpha by GeMo enabled
    2011
    -12-06 21:03:44 [INFO] [HELP0 extra help entries loaded
    2011
    -12-06 21:03:44 [INFO] [HELPPermissions enabled usingPermissions v2.7.7
    2011
    -12-06 21:03:44 [INFO] [HELP0.3.2 enabled
    2011
    -12-06 21:03:45 [INFO] [iConomy CeltyEnabled (185 ms)
    2011-12-06 21:03:45 [INFO] [LazyRoad] : Version 0.6 is enabled!
    2011-12-06 21:03:45 [INFO] [LocketteVersion 1.4.8 beta is being enabledYay! (Core version 1.3)
    2011-12-06 21:03:45 [INFO] [LocketteDetected craftbukkit build [1550ok.
    2011-12-06 21:03:45 [INFO] [LocketteUsing ops file for admin permissions.
    2011-12-06 21:03:45 [INFO] [LocketteReady to protect your containers.
    2011-12-06 21:03:45 [INFO] [Lumberjackversion 1.8.1v6 enabled!
    2011-12-06 21:03:45 [INFOMCBansUsing Core API Key (60aead406440df8c64bcf6dc0ce93b9574288908)
    2011-12-06 21:03:45 [INFOMCBansLoading language fileen-us
    2011
    -12-06 21:03:45 [INFOMCBansLog file disabled!
    2011-12-06 21:03:45 [INFOMCBansPermissions plugin found!
    2011-12-06 21:03:45 [INFOMCBansFetching backup.
    2011-12-06 21:03:45 [INFOMCBansStarting MCBans online check.
    2011-12-06 21:03:45 [INFOMCBansConnection throttling operating normally!
    2011-12-06 21:03:45 [INFOMCBansTask ID9
    2011
    -12-06 21:03:45 [INFOMCBansThrottle Connect Limit0
    2011
    -12-06 21:03:45 [INFOMCBansStarted normally.
    2011-12-06 21:03:45 [INFO] [MinecraftViewerv1.0d Plugin Enabled.
    2011-12-06 21:03:45 [INFO] [Mob DropsVersion 1.1 running!
    2011-12-06 21:03:45 [INFO] [MinecraftViewerQuery running on 0.0.0.0:7767
    2011
    -12-06 21:03:45 [INFO] [MyWorldsUsing build-in 'Bukkit SuperPerms' as permissions plugin!
    2011-12-06 21:03:45 [INFO] [MyWorldsLoading or creating world'space' using seed 0 and chunk generator'BananaSpace:planets'
    2011-12-06 21:03:45 [INFOPreparing start region for level 2 (Seed3248337431591517621)
    2011-12-06 21:03:45 [INFO] [MyWorldsLoading or creating world'Nether' using seed 0
    2011
    -12-06 21:03:45 [INFOPreparing start region for level 3 (Seed4761044844929050382)
    2011-12-06 21:03:46 [INFO] [MyWorldsSuccessfully bound variable to region file cache.
    2011-12-06 21:03:46 [INFO] [MyWorldsFile references to unloaded worlds will be cleared!
    2011-12-06 21:03:46 [INFO] [MyWorldsversion 1.31 is enabled!
    2011-12-06 21:03:46 [INFO] [NoCheatActivating emergency bugfix for broken player death handling of minecraft.
    2011-12-06 21:03:46 [INFO] [NoCheatversion [2.20bis enabled.
    2011-12-06 21:03:46 [INFO] [PermissionsExSuperperms support enabled.
    2011-12-06 21:03:46 [INFO] [PermissionsExv1.16 enabled
    2011
    -12-06 21:03:46 [INFOCommandBookPermissionsEx detectedUsing PermissionsEx for permissions.
    2011-12-06 21:03:46 [INFO] [LocketteEnabled link to plugin PermissionsEx for Groups/Permissionsversion 1.16
    2011
    -12-06 21:03:46 [INFO] [LocketteOps file overriddenusing linked plugin for admin permissions.
    2011-12-06 21:03:46 [INFOPickBoat version 0.3.6 is enabled!
    2011-12-06 21:03:46 [INFOSafeFire 1.3 Enabled.
    2011-12-06 21:03:46 [INFO] [SafeFirePermission system detected.
    2011-12-06 21:03:46 [INFOScheduledAnnouncer v1.7.0 is enabled!
    2011-12-06 21:03:46 [INFO] [MyWorldsUsing build-in 'Bukkit SuperPerms' as permissions plugin!
    2011-12-06 21:03:46 [INFO] [SignLinkversion 1.13 is enabled!
    2011-12-06 21:03:46 [INFOStream Remover version 1.02 is enabled!
    2011-12-06 21:03:46 [INFO] [VSPPistons are now very sticky.
    2011-12-06 21:03:46 [INFOWeatherReducer v210 is now enabled!
    2011-12-06 21:03:46 [INFO] [WebAuctionWebAuction is initializing
    2011
    -12-06 21:03:46 [INFO] [WebAuctionMySQL Initializing
    2011
    -12-06 21:03:46 [INFO] [WebAuctionMySQL connection successful
    2011
    -12-06 21:03:46 [INFO] [WebAuctionCurrent Auction id 89
    2011
    -12-06 21:03:46 [INFO] [WebAuctionPayment method found (iConomy version6)
    2011-12-06 21:03:46 [INFOWorldEdit 4.7 enabled.
    2011-12-06 21:03:46 [INFOWorldEditPermissionsEx detectedUsing PermissionsEx for permissions.
    2011-12-06 21:03:46 [INFO] [ChatManagerChatManager enabled!
    2011-12-06 21:03:46 [INFO] [PermissionsCompatCompatibility layer enabled.
    2011-12-06 21:03:46 [INFOCommandBookPermissionsEx detectedUsing PermissionsEx for permissions.
    2011-12-06 21:03:46 [INFO] [LocketteIgnoring fake Permissions plugin version 2.7.7
    2011
    -12-06 21:03:46 [INFOWorldEditPermissionsEx detectedUsing PermissionsEx for permissions.
    2011-12-06 21:03:46 [INFO] [BananaSpaceThe plugin will now start sending usage statsYou can disable this in plugins/stats!
    2011-12-06 21:03:46 [INFOBananaSpace is keeping usage statsTo opt-out for whatever bizarre reasoncheck plugins/stats.
    2011-12-06 21:03:46 [INFO] [BananaSpaceEnabled version 1.4_2
    2011
    -12-06 21:03:46 [INFO] [Dynmap-Factionsinitializing
    2011
    -12-06 21:03:46 [INFO] [dynmapUsing Permissions 2.7.7 for access control
    2011
    -12-06 21:03:47 [INFO] [dynmapLoaded 12 shaders.
    2011-12-06 21:03:47 [INFO] [dynmapLoaded 82 perspectives.
    2011-12-06 21:03:47 [INFO] [dynmapLoaded 7 lightings.
    2011-12-06 21:03:47 [INFO] [dynmapWorld 'Earth' disabled
    2011
    -12-06 21:03:47 [INFO] [dynmapWorld 'Earth_the_end' disabled
    2011
    -12-06 21:03:47 [INFO] [dynmapLoaded 1 maps of world 'space'.
    2011-12-06 21:03:47 [INFO] [dynmapLoaded 1 maps of world 'Nether'.
    2011-12-06 21:03:47 [INFO] [dynmapDynmap WebServer started on null:7799
    2011
    -12-06 21:03:47 [INFO] [dynmapversion 0.25.1-624 is enabled
    2011
    -12-06 21:03:47 [INFO] [Factions v1.6.1] === ENABLE START ===
    2011-12-06 21:03:47 [INFO] [Factions v1.6.1Will use this plugin for permissionsPermissionsEx v1.16
    2011
    -12-06 21:03:48 [INFO] [Factions v1.6.1Loading board from disk
    2011
    -12-06 21:03:48 [INFO] [Factions v1.6.1Found and will use features of Spout v605
    2011
    -12-06 21:03:48 [INFO] [Factions v1.6.1Economy integration through Register plugin successful.
    2011-12-06 21:03:48 [INFO] [Factions v1.6.1] === ENABLE DONE (Took 230ms) ===
    2011-12-06 21:03:48 [INFO] [Dynmap-Factionsversion 0.10 is activated
    2011
    -12-06 21:03:48 [INFO] [NoLaggAuto-save field bound to 'u'!
    2011-12-06 21:03:48 [INFO] [NoLaggNoLagg version 1.52.2 is enabled!
    2011-12-06 21:03:48 [INFO] [LocketteEnabled link to plugin Register for Economyversion 1.5
    2011
    -12-06 21:03:48 [INFO] [TrainCartsSignLink detectedsupport for arrival signs added!
    2011-12-06 21:03:48 [INFO] [TrainCartsMyWorlds detectedsupport for portal sign train teleportation added!
    2011-12-06 21:03:48 [INFO] [TrainCarts1 Train has been loaded in 1 world. (2 Minecarts)
    2011-12-06 21:03:48 [INFO] [TrainCartsversion 1.51 is enabled!
    2011-12-06 21:03:48 [INFOServer permissions file permissions.yml is empty, ignoring it
    2011
    -12-06 21:03:48 [INFODone (0.553s)! For helptype "help" or "?"
    2011-12-06 21:03:48 [INFOStarting GS4 status listener
    2011
    -12-06 21:03:48 [INFOQuery running on 0.0.0.0:7768
    2011
    -12-06 21:03:48 [INFO] [ FalseBook Block 0 Areas loaded.
    2011-12-06 21:03:48 [INFO] [ FalseBook Block 0 Bridges successfully loaded.
    2011-12-06 21:03:48 [INFO] [ FalseBook Block 4 Doors successfully loaded.
    2011-12-06 21:03:48 [INFO] [ FalseBook Block protected gateblocks successfully loaded.
    2011-12-06 21:03:51 [INFO] [ FalseBook IC Loaded selftriggered ICs8 done
    2011
    -12-06 21:03:51 [INFO] [ FalseBook IC Failed selftriggered ICs0 failed
    2011
    -12-06 21:03:54 [INFOUnknown commandType "help" for help.
    2011-12-06 21:03:58 [INFOMCBansEatmygouch has connected!
    2011-12-06 21:03:58 [INFOEatmygouch [/101.161.238.27:49633logged in with entity id 322 at ([space258.949664981422258.0258.76721203237463)
    2011-12-06 21:03:58 [INFO] [PermissionsExPermissions handler for Eatmygouch successfuly injected
    2011
    -12-06 21:03:58 [INFO] [WebAuctionPlayer foundcanBuy1 canSell1 isAdmin0
    2011
    -12-06 21:04:01 [INFOFailed to unload the world (main world or online players?)
    2011-12-06 21:04:06 [INFOUnknown commandType "help" for help.
    2011-12-06 21:04:11 [INFOCan't repair a loaded world!
    2011-12-06 21:04:16 [INFO] World '
    Nether' has been unloaded!
    2011-12-06 21:04:19 [INFO] Invalid arguments for this command!
    2011-12-06 21:04:19 [INFO] /world repair [worldname] ([Seed]) - Repairs the world
    2011-12-06 21:04:22 [INFO] [MyWorlds] Region folder not found, no regions edited.
    2011-12-06 21:04:22 [INFO] World: '
    Nether' has been repaired!
    2011-12-06 21:04:29 [INFO] Loading world: '
    Nether'...
    2011-12-06 21:04:29 [INFO] [MyWorlds] Loading or creating world: '
    Nether' using seed 0
    2011-12-06 21:04:29 [INFO] Preparing start region for level 3 (Seed: 4761044844929050382)
    2011-12-06 21:04:29 [INFO] [dynmap] Loaded 1 maps of world '
    Nether'.
    2011-12-06 21:04:29 [INFO] World loaded!
    2011-12-06 21:04:50 [INFO] /178.79.164.111:41205 lost connection
    2011-12-06 21:05:14 [INFO] /50.23.30.168:48070 lost connection
    2011-12-06 21:05:28 [INFO] /173.255.235.251:36406 lost connection
    2011-12-06 21:06:08 [INFO] Connected players: Eatmygouch
    2011-12-06 21:06:30 [INFO] /67.210.166.138:42195 lost connection
    2011-12-06 21:07:54 [INFO] Eatmygouch lost connection: disconnect.quitting
    2011-12-06 21:07:54 [INFO] Connection reset
    2011-12-06 21:07:54 [INFO] MCBans: Eatmygouch has disconnected!
    2011-12-06 21:08:25 [INFO] MCBans: Atlas138 has connected!
    2011-12-06 21:08:25 [INFO] Atlas138 [/120.145.29.76:52162] logged in with entity id 25421 at ([Earth] 164.61199718374743, 90.0, 225.47031111700122)
    2011-12-06 21:08:25 [INFO] [PermissionsEx] Permissions handler for Atlas138 successfuly injected
    2011-12-06 21:08:25 [INFO] [WebAuction] Player found, canBuy: 1 canSell: 1 isAdmin: 0
    2011-12-06 21:08:25 [WARNING] GenericLabel belonging to Factions does not have a default size!
    2011-12-06 21:08:25 [WARNING] GenericLabel belonging to Factions does not have a default size!
    2011-12-06 21:08:25 [WARNING] GenericLabel belonging to Factions does not have a default size!
    2011-12-06 21:08:25 [INFO] Reading data
    2011-12-06 21:08:25 [INFO] [Spout] Successfully authenticated Atlas138'
    s Spoutcraft clientRunning client version871
    2011
    -12-06 21:08:32 [INFOledhead900 [/10.0.0.10:64622logged in with entity id 26028 at ([space179.6875119.047.375)
    2011-12-06 21:08:32 [INFO] [WebAuctionPlayer foundcanBuy1 canSell1 isAdmin1
    2011
    -12-06 21:08:39 [INFO] <[Admin]ledhead900more errors
    2011
    -12-06 21:08:41 [INFO] <[Admin]ledhead900zz
    2011
    -12-06 21:08:46 [INFO] <Federation [Trusted]Atlas138> :/
    2011-12-06 21:09:02 [INFO] <[Admin]ledhead900I downgraded back to 1550 bukkit
    2011
    -12-06 21:09:26 [INFO] <[Admin]ledhead900things worked on that
    2011
    -12-06 21:09:31 [INFO] <[Admin]ledhead900factions worked better I think
    2011
    -12-06 21:09:42 [INFO] <[Admin]ledhead900wty fuck is it day time here lol
    2011
    -12-06 21:09:46 [INFO] /50.23.30.168:50823 lost connection
    2011
    -12-06 21:09:48 [INFO] <[Admin]ledhead900hang on
    2011
    -12-06 21:09:49 [INFO] /178.79.164.111:42571 lost connection
    2011
    -12-06 21:09:59 [INFOledhead900 set the time of 'space' to 22:00 (10:00 pm).
    2011-12-06 21:10:24 [INFO] /173.255.235.251:52831 lost connection
    2011
    -12-06 21:10:38 [INFO] <Federation [Trusted]Atlas138I typed /home... I ended up at the beginning world again
    2011
    -12-06 21:10:52 [INFO] <[Admin]ledhead900coz ur home is there
    2011
    -12-06 21:10:56 [INFO] <[Admin]ledhead900form last time
    2011
    -12-06 21:11:01 [INFO] <[Admin]ledhead900sethome in space
    2011
    -12-06 21:11:01 [INFO] <Federation [Trusted]Atlas138damn
    2011
    -12-06 21:11:30 [INFO] /67.210.166.138:40330 lost connection
    2011
    -12-06 21:14:49 [INFO] /178.79.164.111:48803 lost connection
    2011
    -12-06 21:15:24 [INFO] /50.23.30.168:54390 lost connection
    2011
    -12-06 21:15:45 [INFO] /173.255.235.251:38218 lost connection
    2011
    -12-06 21:16:22 [INFO] /67.210.166.138:40771 lost connection
    2011
    -12-06 21:17:58 [WARNINGCan't keep up! Did the system time change, or is the server overloaded?
    2011-12-06 21:18:02 [WARNING] Can'
    t keep upDid the system time change, or is the server overloaded?
    2011-12-06 21:18:21 [INFOConnected playersledhead900Atlas138
    2011
    -12-06 21:18:53 [INFOConnected playersledhead900Atlas138
    2011
    -12-06 21:19:01 [WARNINGCan't keep up! Did the system time change, or is the server overloaded?
    2011-12-06 21:19:36 [INFO] <[Admin]ledhead900> why hel is cpu gone high usage again
    2011-12-06 21:19:50 [INFO] /50.23.30.168:57665 lost connection
    2011-12-06 21:19:50 [INFO] /178.79.164.111:39905 lost connection
    2011-12-06 21:19:51 [WARNING] Can'
    t keep upDid the system time change, or is the server overloaded?
    2011-12-06 21:19:52 [INFO] <Federation [Trusted]Atlas138no idea
    2011
    -12-06 21:19:54 [WARNINGCan't keep up! Did the system time change, or is the server overloaded?
    2011-12-06 21:19:57 [WARNING] Can'
    t keep upDid the system time change, or is the server overloaded?
    2011-12-06 21:20:00 [WARNINGCan't keep up! Did the system time change, or is the server overloaded?
    2011-12-06 21:20:03 [WARNING] Can'
    t keep upDid the system time change, or is the server overloaded?
    2011-12-06 21:20:05 [WARNINGCan't keep up! Did the system time change, or is the server overloaded?
    2011-12-06 21:20:08 [WARNING] Can'
    t keep upDid the system time change, or is the server overloaded?
    2011-12-06 21:20:12 [WARNINGCan't keep up! Did the system time change, or is the server overloaded?
    2011-12-06 21:20:14 [WARNING] Can'
    t keep upDid the system time change, or is the server overloaded?
    2011-12-06 21:20:17 [WARNINGCan't keep up! Did the system time change, or is the server overloaded?
    2011-12-06 21:20:20 [WARNING] Can'
    t keep upDid the system time change, or is the server overloaded?
    2011-12-06 21:20:22 [INFO] <[Admin]ledhead900I know why
    2011
    -12-06 21:20:23 [INFO] <[Admin]ledhead900lo
    2011
    -12-06 21:20:28 [INFO] <[Admin]ledhead900train bug
    2011
    -12-06 21:20:28 [INFO] /173.255.235.251:54107 lost connection
    2011
    -12-06 21:20:30 [INFO] <[Admin]ledhead900is back
    2011
    -12-06 21:20:32 [INFO] <[Admin]ledhead900in this version
    2011
    -12-06 21:20:35 [INFO] <[Admin]ledhead900it duped trains
    2011
    -12-06 21:20:37 [INFO] <[Admin]ledhead900to bugger
    2011
    -12-06 21:20:44 [INFO] <Federation [Trusted]Atlas138lol
    2011
    -12-06 21:20:45 [INFO] <[Admin]ledhead900seems while trains are on the mapt
    2011
    -12-06 21:20:47 [INFO] <[Admin]ledhead900it dupes
    2011
    -12-06 21:20:51 [INFO] <[Admin]ledhead900I better remove plugin for now
    2011
    -12-06 21:20:54 [INFO] <[Admin]ledhead900just in case
    2011-12-06 21:20:56 [INFO] <[Admin]ledhead900ppl place carts
    2011
    -12-06 21:21:08 [INFO] <[Admin]ledhead900I will send a full report log
    2011
    -12-06 21:21:25 [INFO] <[Admin]ledhead900let me just do that
    2011
    -12-06 21:21:26 [INFOMC Server GUIStopping backup first to avoid world corruption.
    2011-12-06 21:21:26 [INFOCONSOLEStopping the server..
    2011-12-06 21:21:26 [INFOStopping server
    2011
    -12-06 21:21:26 [INFO] [boosCoolDownversion 1.5.0 disabled!
    2011-12-06 21:21:26 [INFO] ----------------------------------
    2011-12-06 21:21:26 [INFO] | Buycraft version 3.0 disabled! |
    2011-12-06 21:21:26 [INFO] ----------------------------------
    2011-12-06 21:21:26 [INFO] [EasyFlightversion [0.5is Disabled.
    2011-12-06 21:21:26 [INFOFalseBookBlock v0.90alpha by GeMo disabled
    2011
    -12-06 21:21:26 [INFO] [ FalseBook Core FalseBookCore v0.90alpha by GeMo disabled!
    2011-12-06 21:21:26 [INFOFalseBookExtra v0.90alpha by GeMo disabled
    2011
    -12-06 21:21:26 [INFOFalseBookIC v0.90alpha by GeMo disabled
    2011
    -12-06 21:21:26 [INFO] [HELPdisabled
    2011
    -12-06 21:21:26 [INFO] [iConomyClosing general data...
    2011-12-06 21:21:26 [INFO] [iConomyDisabled. (0 ms)
    2011-12-06 21:21:26 [INFO] [RegisterPayment method was disabledNo longer accepting payments.
    2011-12-06 21:21:26 [INFO] [WebAuctionPayment method was disabledNo longer accepting payments.
    2011-12-06 21:21:26 [INFO] [LazyRoad] : Plugin disabled
    2011
    -12-06 21:21:26 [INFOLockette is being disabled... ;.;
    2011-12-06 21:21:26 [INFO] [LocketteClosing all automatic doors.
    2011-12-06 21:21:26 [INFO] [Lumberjackdisabled
    2011
    -12-06 21:21:26 [INFOMCBansDisabled
    2011
    -12-06 21:21:26 [INFO] [MinecraftViewerv1.0d Plugin Disabled.
    2011-12-06 21:21:26 [INFO] [Mob DropsStopped!
    2011-12-06 21:21:26 [INFOMy Worlds disabled!
    2011-12-06 21:21:26 [INFO] [NoCheatversion [2.20bis disabled.
    2011-12-06 21:21:26 [INFO] [PermissionsExv1.16 disabled successfully.
    2011-12-06 21:21:26 [INFOCommandBookUsing the Bukkit Permissions API.
    2011-12-06 21:21:26 [INFO] [LocketteDisabled link to plugin PermissionsExversion 1.16
    2011
    -12-06 21:21:26 [INFOWorldEditUsing the Bukkit Permissions API.
    2011-12-06 21:21:26 [INFODisabling PickBoat
    2011
    -12-06 21:21:26 [INFOReservedList v1.0 is now disabled!
    2011-12-06 21:21:26 [INFOSafeFire 1.3 Disabled.
    2011-12-06 21:21:26 [INFOScheduledAnnouncer v1.7.0 is disabled!
    2011-12-06 21:21:26 [INFO] [SignLinkis disabled!
    2011-12-06 21:21:26 [INFOSpout 605 has been disabled
    2011
    -12-06 21:21:26 [INFOStream Remover disabled!
    2011-12-06 21:21:26 [INFO] [VSPPistons are no longer very sticky.
    2011-12-06 21:21:26 [INFOWeatherReducer v210 is now disabled!
    2011-12-06 21:21:26 [INFO] [ChatManagerChatManager disabled!
    2011-12-06 21:21:26 [INFOCommandBookUsing the Bukkit Permissions API.
    2011-12-06 21:21:26 [INFOWorldEditUsing the Bukkit Permissions API.
    2011-12-06 21:21:26 [INFO] [BananaSpaceDisabled version 1.4_2
    2011
    -12-06 21:21:26 [INFO] [dynmapUnloaded 10 components.
    2011-12-06 21:21:26 [INFO] [dynmapStopping map renderer...
    2011-12-06 21:21:27 [INFO] [dynmapShutting down webserver...
    2011-12-06 21:21:27 [INFO] [dynmapWebserver shut down.
    2011-12-06 21:21:27 [INFO] [Factions v1.6.1Disabled
    2011
    -12-06 21:21:27 [INFO] [NoLaggNoLagg disabled!
    2011-12-06 21:21:27 [INFO] [LocketteDisabled link to plugin Registerversion 1.5
    As you can see right after I do a nolagg clear all on the effected worlds no more "Can't Keep Up", not only that but on server start it clearly thinks only 1 train with carts were loaded it was during play and NO one was the effect world at all it duped them and cpu skyrocketed.


    Image of Justice
    [​IMG]
     
  4. Offline

    bergerkiller

    Ooow sigh..sorry guys. Just noticed I had 1.52 pushed to github but totally forgot the upload the new TrainCarts.jar. The one before that update indeed had that issue, I thought I already uploaded the version that fixed this...

    I'll upload 1.52 once I'm at home, if someone can pull TrainCarts and compile a 1.52 version from GitHub, that's fine too.
     
  5. Offline

    maxi1134

    Hey , can u try to add the glide option ? And the jump mod ? Coz ur plugins is imcompatible whit Minecart speed + and Minecart Jump
     
  6. Also @ledhead900 and @MechanID :
    Here's 1.52.
     
  7. Offline

    Serejai

    Having two major problems with 1.52 on CB #1550

    a) Stations seem to only work sometimes. Quite often they will catch a train and then just lock it there. The train doesn't depart when it should and you can't push it. You have to destroy the train entirely.

    b) Speed going up inclines is still iffy. It's hugely improved over the last version I was using but stations don't seem to cause the right acceleration. If I put a strip of powered redstone down and set slowdown to false my trains can handle any hill I throw at them. However, if they are launched from a station instead of powered redstone they can't make it up hills and gradually lose their speed still.
     
  8. Offline

    bergerkiller

    @Serejai b is quite obvious: Stations launch trains up to the max speed, powered rails infinitely multiply with 1.5 the speed every tick. However, I can prevent trains from slowing down then they reach inclines (simply neglect vertical gravity)

    a.) Make sure you either remove power from one side of the sign or supply a continue/reverse etc on the sign. This is needed to make it come out of this location. I'll add some unlocking mechanics when the sign loses power.
     
  9. Offline

    Serejai

    Sounds good on both accounts! Great job getting this and SignLink up for 1.0... both work great so far.

    Ran into one other problem.

    I had a five cart train running for a while and it seems to have broken at some point in the last hour. I didn't see it for a while so I went to check a station and saw one cart + a three cart train sitting idle. The fifth cart is nowhere to be found.

    There are no monsters/mobs and no other players, so nothing that would cause the trains to stop on the tracks. They're also set to keep chunks loaded. Any idea what may have caused them to not only stop, but break apart as well?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 14, 2016
  10. Offline

    bergerkiller

    @Serejai it is highly possible that the '5th' cart was the middle one, who got launched by the station. If this went wrong one way or the other, and it gets launched away into the middle of nowhere, then it delinks and leaves the two helpless surrounding pieces alive. I'll check the station for a bit.
     
  11. Offline

    MechanID

    @bergerkiller
    maybe i want too much, but i still cant launch 22 minecarts train from station =(
    i am using cm1559, traincarts 1.53
     
  12. Offline

    bergerkiller

    @MechanID First try to make a reasonably sized station, not sure how long you made it though. What goes wrong then?

    EDIT

    Oooow I see...the launching mechanics are kiinda failing. Since forces are shared, all minecarts add up to the 'slow down' speed. This causes the launcher to simply be 'to weak'. Not sure what I can do about it, but might be able to turn the target system into some sort of staged train force system. It's probably going to be a bit hard though...
     
  13. Offline

    Serejai

    Good call on the station thing, but I think it may be an issue with Slowdown. I was just running a train and it was going good for about ten minutes, then at random the Slowdown = false seemed to wear off and the train suddenly slowed to a stop. This wasn't on an incline or anything. Just completely random (nothing on the track, etc).

    EDIT: Also, I extend an invitation for you to hop on my dev server and check things out if that helps any (though it seems to be random and could take anywhere from ten minutes to an hour before the problem occurs).
     
  14. Offline

    bergerkiller

    @Serejai I'll let a train go into circles for a few minutes, if anything weird happens I will notice it.

    EDIT

    That's strange...it stopped and lost a cart? Weeeiiird...
     
  15. Offline

    Serejai

    Yeah. I've been testing it for hours yesterday and I couldn't come up with a logical explanation for it other than it being related to the Slowdown setting. I say this because I ran a train before that feature was added for about three weeks 24/7 with zero issues. However, it could also just be something with the 1.0 version I suppose... really no idea.

    I ran two trains yesterday. One stopped and exploded after about ten minutes, the other went for a good 3-4 hours before I manually stopped it. There was no difference between the two trains at all.
     
  16. Offline

    LilJasper

    Will this mod be available for single player anytime soon?
     
  17. Offline

    bergerkiller

    @LilJasper afraid not, I strongly depend on Bukkit methods, making all of that client-sided will prove very hard. (I need all sorts of events for example) But, if someone wants to try to do it, feel free to do so. The source code is on GitHub, but it's pretty huge.
     
  18. Offline

    MicroDark

    I have a problem since the update for 1.0, the minecarts are very slow. The powereds rails doesn't boost correctly when TrainCarts is active.
     
  19. Offline

    bergerkiller

    @MicroDark What maximum speed do you use for your minecarts? Is it > 0.40? Because at those speeds it fires the physics updates twice in a tick using all sorts of factors.

    EDIT

    Mhh yeah I did notice a the train stopping after just a few laps...that can't be right. Since what version did you have this, since the very first time it got uploaded? (1.0?)
     
  20. Offline

    MicroDark

    I have a clean install of TrainCarts 1.53
     
  21. Offline

    bergerkiller

    @MicroDark what if you use a maximum speed of 0.3, does it slow down just a quickly then or not? Somewhere energy is leaking, not sure where...
     
  22. Offline

    MicroDark

    I don't have the max speed in config.yml.
    I have that in the old config.yml, but not in the new one.

    I deactivate the plugin for the moment, waiting for a solution.
    The problem appear with the new "light" config file.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 14, 2016
  23. Offline

    Jackal

    Question: Does this mod conflict with "Railcraft" [Bukkit ported]?
     
  24. Offline

    bergerkiller

    @Jackal Looked at the features, and I don't think it will conflict. This, because other plugins will still see the minecart as a minecart regardless of what happens internally. Best is to test for yourself, but it is possible that launching features will fail for trains with more than one cart. (it's unpredictable)
     
  25. Offline

    dockter

    Thought I would share this crash from 1.53.

    2011-12-09 18:55:11 [SEVERE] Error occurred while enabling Train Carts v1.53 (Is it up to date?): null
    java.util.ConcurrentModificationException
    at java.util.ArrayList$Itr.checkForComodification(Unknown Source)
    at java.util.ArrayList$Itr.remove(Unknown Source)
    at com.bergerkiller.bukkit.tc.GroupManager.refresh(GroupManager.java:327)
    at com.bergerkiller.bukkit.tc.GroupManager.refresh(GroupManager.java:291)
    at com.bergerkiller.bukkit.tc.TrainCarts.onEnable(TrainCarts.java:147)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:968)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169)
    at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)

    I delete the train data files, they apparently were corrupt or something, that resolved the above issue.
     
  26. Offline

    Baba43

    My trains stop when my train should ride up a hill.
    Can I fix that without other plugins?
     
  27. Offline

    bergerkiller

    @dockter My guess is that there were too many groups stored, not sure why that results in a concurrency exception though.

    Ok updated it, same version as I thought I already uploaded it...
    Will soon go to 1.54 anyway, as I have to fix some slowing-down issues...


    @Baba43 I believe I had fixed that issue when adding split-physics, I have seen trains go up hills at 5 blocks/tick...
    Screenshot of the scene?
     
  28. Offline

    MacGyver420

    I had the same slowdown problems, like powered rails aren't functioning at all. On a track where standard minecarts would run fine they wont make it more than 2 boost points without coming to a complete stop. But if i disable slowdown then theyll just coast right through unpowered power rails like they arent there. Was trying to configure things so players could still use standard minecarts on the main rail system while we used trains with powered minecarts elsewhere, but had to pull it out for now.
     
  29. Offline

    dog.big

    still not working under 1.0.0:
    when train arrive to unloaded chunk with train station (which automatic sends trains away from time to time), hte train will no departure until the chunk with station gets loaded.
     
  30. Offline

    randeri221

    when i put a storage cart near a powered cart and put some coal in it the powered cart uses only one coal and keep riding on and on and on and doesnt take any more coal...
    is that a problem/bug/should it be like this?
     
  31. Offline

    robwadd999

    Help!!!mine just says when i try placeing a minecrat it says: [WARNING] Task of 'Train Carts' generated an exception
     

Share This Page