Skip to content
This repository has been archived by the owner on Jul 22, 2019. It is now read-only.

AnotherFoxGuy/rorserver-legacy-svn-trunk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is "Rigs of Rods Server" (Relay mode)
Copyright 2007 Pierre-Michel Ricordel and Thomas Fischer
Contact: pricorde@rigsofrods.com
"Rigs of Rods Server" is distributed under the terms of the GNU General Public License.

"Rigs of Rods Server" is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 3 of the License.

DESCRIPTION

The Rigs of Rods Server is a game server for Rigs of Rods (http://www.rigsofrods.com/).
It is compabible with RoR clients version 0.33d, and any future client using the RORNET protocol version 2.0

INSTALLATION

please look at http://wiki.rigsofrods.com/pages/Compiling_Server

USE

to start a server:
rorserver (-ip <public IP>) (-port <port>) (-name <server name>) (-terrain <terrain name>) (-maxclients <max number of clients>) (-debug) (-lan) (-inet)

Options are:
-lan
	Force LAN mode: will not try to connect to the central repository to register the server.
-inet
	Force Internet mode. Will fail if it can not register with the central repository.
-ip <public IP>
	The IP address to which the server can be joined. Optional in inet mode. Mandatory in lan mode.
-port <port>
	The port number used by the server. Any port is possible, traditionnally it is 12000 and upward.
	Example: -port 12000
-name <server name>
	The advertised name of the server. No spaces allowed.
	Example: -name Bobs_place
-terrain <terrain name>
	The terrain served by this server. Must be a valid RoR terrain name, without the .terrn extension.
	Example: -terrain nhelens
-maxclients <max number of clients>
	The maximum number of clients handled by this server. Values below 16 are preferable. See the bandwidth note below.
-debug
	Verbose output

Notes:
By default, if neither -lan nor -inet is used, the server will try to register to the repository and fail back to LAN mode in case it can not.

Bandwidth used by the server:
The RoR server uses large amounts of bandwidth. The general formula to compute bandwidth is :
-DOWNLOAD: maxclients*64kbit/s
-UPLOAD  : maxclients*(maxclients-1)*64kbit/s
That translates into:
-4 clients: 256kbit/s download, 768kbit/s upload <= will nearly saturate most ADSL links
-8 clients: 512kbit/s download, 3.5Mbit/s upload
-16 clients:  1Mbit/s download,  15Mbit/s upload
-32 clients:  2Mbit/s download,  64Mbit/s upload <= will nearly saturate a 100Mbit/s LAN!
	
BUGS
The server now is relatively stable. But it can crash or stop accepting new clients after very long periods of high business.
A security issue detected by Luigi Auriemma has been solved.