19 - 06 - 2013

Ads by Google

Shout box

Turn off/on Sound Smileys History FAQ Kide Chat
Roadrunner: Gremlins over port number now cleared up.
Roadrunner: How do you connect to KX with port number 4321? I get the message "Enter Port Number" (which I have done already-4321 is being ignored!)
phil_price479: Good Good :)
joel1344: Hi Phil, yep just setting up now :)
phil_price479: Is KX still happening?
Jezalenko: Yep, if anyone's still around
Aaron86: someone up for a game?
Temple Meads: Bristol closing soon, no more connections please
Temple Meads: Bristol OPEN! :D
Temple Meads: Details for Bristol in forum, connections from 22:00
Entimix: interested
Ben86: I'd be interested in Bristol, Tim
Colourlight: No new connections for Cambridge please. Closing soon
Temple Meads: Planning to host Bristol at about 22.00 BST - let me know if you're interested ;)
Colourlight: Panels available in Cambridge Session
Colourlight: Cambridge now open for connections
Colourlight: WOT! Cambridge 1985 again! details in the Forum. My last session until next week, sigh!
phil_price479: KX session now Closed
Colourlight: Cambridge is now closed. Last Cambridge session tomorrow due to my shift patten.
Colourlight: Closing Cambridge shortly no new conections unless viewing.
John: nope
phil_price479: try now
John: getting discon phil
phil_price479: Starting KX session...
Colourlight: Cambridge now opeen for connections
Colourlight: Spotted an error in my Post. I,m just confiming that Session will be open for connections at 21/00 BST
Entimix: Looking forward to it :)
Colourlight: The Cambridge 1985 Saga continues at the later time of 21.00 for the benefit of our Aussie cousins who would like a bit of a lie in.
georgerb: Chain tonight ??
Aaron86: i'm trying it now, little problems with Bristol as it hasn't been refreshed but seems working
Jezalenko: Looking forward to tthe chain Aaron
Aaron86: Coming soon: 1985 Mega-chain madness: Exeter-Bristol-SwinDid-Westbury. Brought to you by ITA
Sam Tugwell: The Shoutbox isn't really for comments like that ArabianNights...
arabianights: i blame illegal immigrants for taking our jobs and affecting our house prices!
arabianights: never mind
arabianights: doesn't seem so

Only registered users can send messages, register or login
Forum
Private Messages

You are not logged in.

Forum Latest
Upcoming Events
London 13th July 2013
13-Jul-2013 12:00 pm
Category:  Meets
Login Form

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Server transfer

Server transfer 20 May 2012 01:30 #1

  • alvinhochun
  • alvinhochun's Avatar
  • OFFLINE
  • Signaller
  • Hi
  • Posts: 186
  • Thank you received: 22
Is it possible that, when one is hosting and he/she has to leave, that he/she can transfer the server to someone else who is playing as a client so that the sim can continue?

Or can SimSig be hosted on a "common server" unattended...
The administrator has disabled public write access.

Re: Server transfer 20 May 2012 09:35 #2

  • wain77
  • wain77's Avatar
  • OFFLINE
  • Trainee signaller
  • Hello!
  • Posts: 66
  • Thank you received: 4
I think the main problem with hosting a game on an unattended server is that the host/server is the only one who can change F3 options, see the train list, change F11 options, edit the timetable etc etc. So if there were any problems, no-one would be able to do anything. You could run a game, then get people to connect using Remote Desktop; then everyone would have access to everything, but would leave the game open to abuse. And there would only be one mouse cursor available!

As far as transferring the game goes, all you need to do is save the game, send the .ssg to a new host and restart the game. Everyone would need to reconnect, but I don't think there's any way of getting round that, unless someone has any other ideas?
My signature is very self-referential.
The administrator has disabled public write access.

Re: Server transfer 20 May 2012 13:46 #3

  • headshot119
  • headshot119's Avatar
  • OFFLINE
  • Local Operations Manager
  • Posts: 954
  • Thank you received: 240
wain77 wrote:
I think the main problem with hosting a game on an unattended server is that the host/server is the only one who can change F3 options, see the train list, change F11 options, edit the timetable etc etc. So if there were any problems, no-one would be able to do anything. You could run a game, then get people to connect using Remote Desktop; then everyone would have access to everything, but would leave the game open to abuse. And there would only be one mouse cursor available!

As far as transferring the game goes, all you need to do is save the game, send the .ssg to a new host and restart the game. Everyone would need to reconnect, but I don't think there's any way of getting round that, unless someone has any other ideas?

Host the game on one machine, and just the "active" host connects in with remote desktop, when another host takes over they swap.
"CHECK - Do you stop at Capenhurst?"
The administrator has disabled public write access.

Re: Server transfer 21 May 2012 07:04 #4

  • alvinhochun
  • alvinhochun's Avatar
  • OFFLINE
  • Signaller
  • Hi
  • Posts: 186
  • Thank you received: 22
Well I have another idea:

As not all of us know setting routers, or sometimes it is impossible to set routers or get an external IP. It would be a good idea to have an online server that the host connects to it by a identifier, then clients also connect to the server by the same identifier to set up a multiplay session.

If this method is adapted, setting up multiplay session and transferring host could be simpler.
untitled.PNG
The administrator has disabled public write access.

Re: Server transfer 21 May 2012 08:27 #5

  • clive
  • clive's Avatar
  • OFFLINE
  • Administrator
  • Posts: 696
  • Thank you received: 188
Who is offering to implement and run this server? Yes, it's a practical proposition, but someone needs to do it. Don't look at me.
The administrator has disabled public write access.

Re: Server transfer 21 May 2012 09:21 #6

  • alvinhochun
  • alvinhochun's Avatar
  • OFFLINE
  • Signaller
  • Hi
  • Posts: 186
  • Thank you received: 22
Isn't simsig.co.uk a server?
The problem is that SimSig core will need to be rewritten, or we need some ways to hack the communicayion protocal.
The administrator has disabled public write access.

Re: Server transfer 21 May 2012 16:28 #7

  • Lardybiker
  • Lardybiker's Avatar
  • OFFLINE
  • Moderator
  • Posts: 497
  • Thank you received: 80
Actually, that's just one of the challenges.....

1) As you rightly point out, the networking code would need to alter drastically so a core code re-write would be needed.
2) Then all the sims would have to be re-built to that latest core code before they are compatible, with the new system.
3) Someone would need to write the server code and be responsible for its maintenance.
4) The server code needs to be hosted on a server, and that server will require maintenance (and, of course, need paying for).

Then there are more technical aspects such as...
1) How do you then deal with LAN games where you don't have access to the internet (such as at a meet)?
2) How do you deal with chaining multiple sims?
3) What happens if the redirection server is down?

Don't get me wrong, its a decent idea. Its actually something I personally have thought about several times (mainly in relation to people who can't attend a meet but want to be able to join whatever game the meet may be hosting). However, its not as simple and straight forward as it seems....(though feel free to prove me wrong!!)
The administrator has disabled public write access.

Re: Server transfer 21 May 2012 16:50 #8

  • Prof Jolly
  • Prof Jolly's Avatar
  • OFFLINE
  • Crossing keeper
  • Posts: 44
  • Thank you received: 16
alvinhochun wrote:
As not all of us know setting routers, or sometimes it is impossible to set routers or get an external IP. It would be a good idea to have an online server that the host connects to it by a identifier, then clients also connect to the server by the same identifier to set up a multiplay session.

Most router these days have uPnP so adding this to the core code could help with people having router setup problems as the port would be automatically opened by the software
The administrator has disabled public write access.

Re: Server transfer 22 May 2012 02:40 #9

  • alvinhochun
  • alvinhochun's Avatar
  • OFFLINE
  • Signaller
  • Hi
  • Posts: 186
  • Thank you received: 22
Actually, having a new approach doesn't mean that we have to abandon the old one... (two connection methods can exist together)

For chaining, it's just the same principle but we use the identifier instead of IP address to connect the slave sim to the main sim.

Of course we need someone to maintain the server code and for the official SimSig team to accept this.

If we think in a simpler way, it's just reversing the direction of connection for the sim host. Instead of TCP Server, it establish a TCP client and connects to the "server". The job of the "server" is to redirect all data from sim clients to the sim server... (like a proxy?)
The administrator has disabled public write access.

Re: Server transfer 22 May 2012 11:06 #10

  • Stephen Fulcher
  • Stephen Fulcher's Avatar
  • OFFLINE
  • Local Operations Manager
  • Posts: 632
  • Thank you received: 117
How often would this likely be used?

The reason for asking this that I suspect not very often, and as such, I personally believe that it would be a disproportionate use of the time of Geoff and Clive making the necessary alterations to the core code, for negligible gain.

The vast majority of times there is a "change of host" it generally occurs before a single train is signalled as a result of the initial intending host having difficulty with Port Forwarding, and one of the intending players offering to step in. I can count one one finger the number of times I have been involved in a multiplayer game where the host has been changed in the middle for non-networking reasons.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.197 seconds