The International Simutrans Forum

Development => Extension Requests => Topic started by: Ashley on February 06, 2011, 01:32:50 PM

Title: Network - When rejoining server, client remembers last position on map
Post by: Ashley on February 06, 2011, 01:32:50 PM
We now have the network mode remembering the player we were last (which is really useful). Would it be possible for it to also remember the last location on the map? Currently every time you rejoin (e.g. after a desync) it reverts your position to somewhere else on the map. It'd be really useful if it could remember where you were.
Title: Re: Network - When rejoining server, client remembers last position on map
Post by: jamespetts on February 19, 2012, 01:01:17 AM
I see that this hasn't been posted in a long time, but I missed this topic first time around: it would be helpful if this feature could be reconsidered, if the developers are not too busy on other things.
Title: Re: Network - When rejoining server, client remembers last position on map
Post by: Ashley on February 19, 2012, 10:15:42 AM
I think this was implemented wasn't it?
Title: Re: Network - When rejoining server, client remembers last position on map
Post by: jamespetts on February 19, 2012, 11:38:24 AM
Hmm, I don't think so...?
Title: Re: Network - When rejoining server, client remembers last position on map
Post by: Ashley on February 19, 2012, 04:23:02 PM
Well probably not too hard to do, just make the game remember the last coordinates of the viewport for each server, and then move to that point when you join the server. I don't know where the best place would be to do that.
Title: Re: Network - When rejoining server, client remembers last position on map
Post by: prissi on February 22, 2012, 07:56:31 PM
That the map download from the server is at the position at the server has the reason, that anyone can see some labels with the server rule immediately. And a server could not guess, if a client is rejoining or not.
Title: Re: Network - When rejoining server, client remembers last position on map
Post by: Fabio on February 22, 2012, 09:05:17 PM
Every company could have a current position saved, so in the moment you switch to that company, the focus is moved there.