Elvas Tower: Multi-player : Software for the server? - Elvas Tower

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Multi-player : Software for the server? Where to find the server software? (that is "not part of OR") Rate Topic: -----

#1 User is offline   CM63 

  • Apprentice
  • Group: Status: Switchman
  • Posts: 17
  • Joined: 22-April 14
  • Gender:Male
  • Location:Off coast the Limagne Break
  • Simulator:Open Rails
  • Country:

Posted 05 September 2019 - 11:44 PM

Hi,

I would like to fire my own OR server on a "computer as a service" and I can't find the server code to launch for that. The OR documentation only says for that : "the server code is not part of OR", but no more. Where can I find this code? Is it a general purpose game server code, and if so, what is its name?

More information about my question:

For a multi-player session you have to way for doing that:
1 - run Open Rails as a server mode on your computer : your computer will be the server and you will be the dispatcher,
2 - run Open Rails as a client, giving the IP address and a port by choosing one among those proposed by Tsimserver.com.
I would like to perform a third one: run a server on a computer as a service, and afterwards, run OR as client on my PC, giving the IP and port of that computer as a service (or better : a public URL).

Thank you for your help.

#2 User is online   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 6,986
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 12 September 2019 - 12:25 AM

As you also say, Open Rails is able to run as a network server and multiplayer server in multiplayer mode; therefore the network and multiplayer server software is included in it, and it provides a full functionality.
What is not included is the server code used in the public server tsimserver.com, which however performs quite analogously. That code has been separately developed by Jijun Tang (nick JTang in this forum), which also kindly puts at disposal this public server to the OR community.

#3 User is offline   CM63 

  • Apprentice
  • Group: Status: Switchman
  • Posts: 17
  • Joined: 22-April 14
  • Gender:Male
  • Location:Off coast the Limagne Break
  • Simulator:Open Rails
  • Country:

Posted 12 September 2019 - 12:42 AM

Hi Carlo,

Thank you for the answer. So shall I ask to JTang or is the repository public and known?

#4 User is online   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 6,986
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 12 September 2019 - 02:20 AM

The repository of Open Rails is public, see here https://github.com/openrails/openrails . As far as I know the source repository of the tsimserver software is not public; you might ask JTang about it.

#5 User is offline   Haran Banjo 

  • Hostler
  • Group: Status: Active Member
  • Posts: 55
  • Joined: 12-November 19
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 12 November 2019 - 06:55 PM

I would like to point out that the servers site http://www.tsimserve...ServerInfo.html have not been running since last night

#6 User is offline   14102815 

  • Apprentice
  • Pip
  • Group: Status: Fired
  • Posts: 3
  • Joined: 19-March 20
  • Gender:Male
  • Simulator:OpenRails
  • Country:

Posted 21 March 2020 - 06:49 PM

View PostCsantucci, on 12 September 2019 - 12:25 AM, said:

As you also say, Open Rails is able to run as a network server and multiplayer server in multiplayer mode; therefore the network and multiplayer server software is included in it, and it provides a full functionality.
What is not included is the server code used in the public server tsimserver.com, which however performs quite analogously. That code has been separately developed by Jijun Tang (nick JTang in this forum), which also kindly puts at disposal this public server to the OR community.

Hello, openrails built-in server source code in which directory in which file

#7 User is offline   cjakeman 

  • Vice President
  • PipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 2,857
  • Joined: 03-May 11
  • Gender:Male
  • Location:Peterborough, UK
  • Simulator:Open Rails
  • Country:

Posted 29 March 2020 - 12:36 AM

View Post14102815, on 21 March 2020 - 06:49 PM, said:

Hello, openrails built-in server source code in which directory in which file


They are in the parts marked "MultiPlayer".

Orts.Simulation.MultiPlayer/*.cs
and
RunActivity.Viewer3D.MultiPlayerViewer.cs

Multi-player was something of a hack - very effective but not something that was tidily packaged and easily detached. Despite James' best efforts, there are references to multi-player still scattered throughout the code.

#8 User is offline   14102815 

  • Apprentice
  • Pip
  • Group: Status: Fired
  • Posts: 3
  • Joined: 19-March 20
  • Gender:Male
  • Simulator:OpenRails
  • Country:

Posted 29 March 2020 - 05:49 PM

View Postcjakeman, on 29 March 2020 - 12:36 AM, said:

They are in the parts marked "MultiPlayer".

Orts.Simulation.MultiPlayer/*.cs
and
RunActivity.Viewer3D.MultiPlayerViewer.cs

Multi-player was something of a hack - very effective but not something that was tidily packaged and easily detached. Despite James' best efforts, there are references to multi-player still scattered throughout the code.

Thanks, but I find I can't find the file *.cs

#9 User is offline   MMax 

  • Apprentice
  • Group: Status: Dispatcher
  • Posts: 35
  • Joined: 04-December 19
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 29 March 2020 - 10:32 PM

View Post14102815, on 29 March 2020 - 05:49 PM, said:

Thanks, but I find I can't find the file *.cs

* is a wildcard, meaning *.cs means ALL files in this folder.
Greetings

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users