minecart loading

Discussion in 'Bukkit Help' started by lizentrail, Feb 25, 2011.

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

    lizentrail

    Hey all, so the problem basically is that in my server I have built and awesome automatic railroad. with three stations. They are quite close, but not as close to load eachother from distance. As long as me and my friends stand in either one of the stations, all the boosters, redstone and the general minecart is running around and around and around in a loop. When we disconnect and then log in again, or just go away too far, the minecart's stop. All the boosters and everything. I know that most probably there have been posts like this and I know that it is becouse of not able to load chunks so fast etc. in multiplayer ( couse it is working perfectly in single-player) but maby someone knows and option how to keep the carts running even with no players around. Maby place and NPC with some kind of a plugin, and the npc will act as a player for the minecart so it keeps the place loaded all the time, maby some other way. Any ideas?

    About the build um running, I am not sure which one excatly, but it is the first one which appeared to work with Minecraft 1.3. Also I am running plugins: LWC and Flashlight and SimpleHome ... But I guess that does not play any big factor in this all.

    So any ideas?
     
  2. Offline

    GoTIcED

    Thats odd, I think its just the game in multiplayer does this since its running to show only a certain area that people have loaded or looking at so when you walk away from the mine cart area it will stop it since noone is looking at the server stops that area from view and stopping the carts. Just my guess lol
     
  3. Offline

    lizentrail

    well I know the couse, I mentioned it in the post... but I was thinking maby someone has any ideas how to avoid this and kind of make the minecarts move even without players around.
     
  4. Offline

    jwideman

    What you have to understand is that everything that occurs in Minecraft is player-driven. Only the 81 chunks around a player are active. As far as Minecraft is concerned, anything that is more than 5 chunks from any player does not exist.
     
  5. Offline

    lizentrail

    yes... but the discovered places, are still kind of explored and saved on the server database. So somewhere the minecart station is still saved and exists, and by somewhere I mean somekind of file, code, something I dont really know. So maby there is a possibillity to somehow make the saved place active with an NPC or some kind of other plugins, or some kind of thing that does not ''unload'' the place when you go away.
     
  6. Offline

    GoTIcED

    Yeah when there discovered its remembered, its not "running". All the server will do is remember that there is a mine cart there and not thats its moving.
     
  7. Offline

    jwideman

    It doesn't even remember that. The server says "What's in that chunk way over there? I forget. Who cares anyway, the player is over here now." Later when the player wanders back that way, the server says "What's in that chunk? I know I wrote it down somewhere. Ah, here it is - a minecart."
    However, just like the redstone circuits plugin, you can preserve the state when the chunk unloads and restore it when it's reloaded. But it will be exactly where you left it.
     
  8. Offline

    lizentrail

    ehhh... I guess this is not going anywhere...

    hmmm... but how excatly does it work in single player? that all the automated things etc. work, even if you are far away. Maby you can implement something like that in multiplayer?

    maby someone could make a plugin which by command saves certain areas and keeps them running even without the players around?

    Do you think that would be possible?
     
  9. Offline

    GoTIcED

    Yeah problem is that the worlds act differently in single and multiplayer :p. Its easier for singleplayer to remember one person running around then ten.
     
  10. Offline

    lizentrail

    hmmm... I guess i will make a plugin request for some kind of this world terittory saver or something... see if that is actually possible. It would be great if it would be possible. I have seen alot of people being upset becouse their automatic railroads and other these kind of systems dont work becouse of this problem...
     
Thread Status:
Not open for further replies.

Share This Page