Re: Networking Simutrans discussion Reply #35 – May 17, 2010, 06:19:59 pm @James: due to rl restrictions no 'official' network testing is in progress. That will have to wait after the next release. Quote Selected
Re: Networking Simutrans discussion Reply #36 – May 17, 2010, 06:30:35 pm Any server needs version 102.3 for savegame (or up) for client too! Quote Selected
Re: Networking Simutrans discussion Reply #37 – May 17, 2010, 06:44:23 pm As will be appreciated, running a local server and connecting to it on a local machine is not as rigorous a test as connecting to a server that is actually accross a network ;-) Nobody is running a test server somewhere...?Has much testing actually across a network taken place?Edit: Have only just seen Dwachs and Prissi's messages. So, the position is that network testing will recommence after the next stable release? Quote Selected
Re: Networking Simutrans discussion Reply #38 – May 17, 2010, 10:03:57 pm Problems are desync. Running over the network has been done and is working fine. The longer a line is, the longer delay setting is needed to execute stuff, which needs to be p****ed to the server. But that is all. Quote Selected
Re: Networking Simutrans discussion Reply #39 – May 17, 2010, 11:32:42 pm How bad are these synchronisation problems? Quote Selected
Re: Networking Simutrans discussion Reply #40 – May 18, 2010, 07:05:19 am Desynchronisation is as bad as losing the network connection at all. That is, the client has to connect to server again. Quote Selected
Re: Networking Simutrans discussion Reply #41 – May 18, 2010, 09:12:59 pm And how often does this desynchronisation occur at present? Are you optimistic that the issue will be resolved in due course to make the game playable over a network? Quote Selected
Re: Networking Simutrans discussion Reply #42 – May 18, 2010, 09:17:59 pm Desynchronisation means the core engines came out of sync. This happens when for instance the vehicles arriving at a crossroads in different order. It is checked every x frames (currently I think x=250) and if occured, it will kick the client out. Thus this needs to be addressed. However, core functionality needs to be present even before that. This is 95% done, with some stuff still pending for the player, pak detection and forestconf/cityconf decriptions. Quote Selected
Re: Networking Simutrans discussion Reply #43 – May 18, 2010, 09:26:29 pm Ahh, I see. I shall look forward to seeing how this progresses - excellent work so far :-) Quote Selected
Re: Networking Simutrans discussion Reply #44 – May 31, 2010, 05:08:43 pm Sorry, not quite sure what's going on person entering chat here-Is it usable over a Local Network?, i.e can both myself and someone else both build simultaneously on the same map from two different computers connected to a network?Thanks,H./ Quote Selected
Re: Networking Simutrans discussion Reply #45 – May 31, 2010, 05:33:16 pm Actually, over local network it should be easier than over internet... Quote Selected
Re: Networking Simutrans discussion Reply #46 – May 31, 2010, 07:07:06 pm prissi: Perhaps if the networking latency gets to the point where it now kicks out the client, instead the server slows down the game speed until an acceptable level and if the latency gets larger then finally kicks the client. Just a suggestion. Quote Selected
Re: Networking Simutrans discussion Reply #47 – May 31, 2010, 08:32:23 pm The clients speed is irrelevant. Longer latency just means you have to wait longer for clicks. Only if you latency is changing like crazy, desyncs may happen; but this may be treu for any netowrking game which needs synchronisation between all clients. Quote Selected
Re: Networking Simutrans discussion Reply #48 – June 01, 2010, 05:13:07 am In my (small) experience, desynchronisation occurs if the server does not run continuously. Ie, if the cpu time of simutrans on the server varies heavily. Then at some point, the client runs ahead of the server. Then if the server sents a command to be executed at a certain step, this step may be already computed on the client -> client get kicked out. This cannot be foreseen by the client etc. Quote Selected
Re: Networking Simutrans discussion Reply #49 – June 01, 2010, 09:45:45 am Dwachs,in which case it may be sensible to ensure that the server is a fast machine and/or Simutrans is set to have a high processor priority on the server... Quote Selected
Re: Networking Simutrans discussion Reply #50 – June 01, 2010, 10:00:25 am Sorry- still confused here - what's the status of Simutrans over Local Networks? Quote Selected
Re: Networking Simutrans discussion Reply #51 – June 01, 2010, 10:23:15 am Sorry to say that, but you need to compile your own version first (the compiled nightlies do not work over network, but the source code is there). Or wait until a new version is released. Or more technically: if the savegame version is increased (which means not more than that savegames from such nightlies cannot be loaded from the previous stable releases anymore).The basic infrastructure for networking is in the source code, but there are stills things needed to be sorted out. Quote Selected
Re: Networking Simutrans discussion Reply #52 – August 19, 2010, 08:09:17 am Good news: you can test networkmode in recent nightlies. You do not have to compile yourself anymore, as the network version will use the increased savegame version automatically. Quote Selected
Re: Networking Simutrans discussion Reply #53 – August 22, 2010, 08:25:58 pm The next nightly (r3696) should have a relatively stable network modus. One of the unsolved problems is the clients sometimes very badly lagging behind. But there have been no crashes in 1h playing with haiku, windows serevr and windos client, and only one synchronisation was lost. Quote Selected
Re: Networking Simutrans discussion Reply #54 – August 22, 2010, 08:31:23 pm Glad to see progress with this! Multiplayer Simutrans should be very fun. Quote Selected
Re: Networking Simutrans discussion Reply #55 – August 28, 2010, 03:13:01 pm So i am a dummy. You are always writing from Commandline and client but i have no idea how i could make it working. Could someone write how he is doing it that he can play with himself on the same computer cause i didn't get it. sorry for being silly.Xelofino Quote Selected
Re: Networking Simutrans discussion Reply #56 – August 28, 2010, 05:25:34 pm Take a look at this tutorial How to test Simutrans network mode Quote Selected
Re: Networking Simutrans discussion Reply #57 – August 29, 2010, 07:26:43 am Thank you very much!!!!!!I searched in the international Blog and in the Forums but i didnt find it. Quote Selected