Difference between revisions of "Server"
(→Requirements) |
Ibrahimsafah (talk | contribs) (→Troubleshooting) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | == | + | =Requirements= |
− | Minimum | + | ==Minimum== |
* 266 Mhz | * 266 Mhz | ||
* 32 MB Ram | * 32 MB Ram | ||
Line 6: | Line 6: | ||
* Operative system: >Windows 98SE or Linux (32-bit) | * Operative system: >Windows 98SE or Linux (32-bit) | ||
− | Recommended | + | ==Recommended== |
* 800 Mhz | * 800 Mhz | ||
* 256 MB Ram | * 256 MB Ram | ||
Line 12: | Line 12: | ||
* Operative system: >Windows xp or Linux (32-bit) | * Operative system: >Windows xp or Linux (32-bit) | ||
− | + | ||
+ | =Getting the server= | ||
Servers for Soldat come in two types: dedicated and non-dedicated. This page focus on dedicated servers. The latest dedicated server can be downloaded from [http://soldat.pl soldat.pl], zipped. This zip has all necessary files to run the server in Linux or Windows. To unzip you can use 'unzip <filename>' in Linux or [http://www.7-zip.org/ 7-zip] in Windows. The executables for each OS are soldatserver and soldatserver.exe respectively. | Servers for Soldat come in two types: dedicated and non-dedicated. This page focus on dedicated servers. The latest dedicated server can be downloaded from [http://soldat.pl soldat.pl], zipped. This zip has all necessary files to run the server in Linux or Windows. To unzip you can use 'unzip <filename>' in Linux or [http://www.7-zip.org/ 7-zip] in Windows. The executables for each OS are soldatserver and soldatserver.exe respectively. | ||
− | |||
− | |||
− | ==Starting the server | + | =Configuring= |
+ | There are three key files that you must edit & configure before running the server: [[mapslist.txt]], [[soldat.ini]] & [[server.ini]]. | ||
+ | |||
+ | =Starting the server= | ||
To start the server in the background in Linux you can use either [[Command_line_arguments|-d]] or nohup. | To start the server in the background in Linux you can use either [[Command_line_arguments|-d]] or nohup. | ||
Line 36: | Line 38: | ||
chmod u+wx ./scripts/ | chmod u+wx ./scripts/ | ||
− | + | ||
+ | =Troubleshooting= | ||
If your server starts up but no one can join, then read [[Ports|this]] and check your connection with [[Testing|this]]. | If your server starts up but no one can join, then read [[Ports|this]] and check your connection with [[Testing|this]]. | ||
− | + | ||
+ | If you're having trouble getting the game up and running on Ubuntu try the following commands | ||
+ | |||
+ | sudo dpkg --add-architecture i386 | ||
+ | sudo apt-get update | ||
+ | sudo apt-get install libc6:i386 libstdc++6:i386 | ||
+ | |||
+ | =Managing your server= | ||
There are two ways to administrate your server: By adding IPs to the [[remote.txt]] file, or by using the [[Soldat.ini|admin password]] to login to the server using [[Commands|/adminlog]]. If you are [[Commands|adminned by IP]] then you will only be able to perform commands while playing in the server. On the other hand, if you know the admin password you can perform [[raw commands]] or use any of the [[Soldat admin tools]]. | There are two ways to administrate your server: By adding IPs to the [[remote.txt]] file, or by using the [[Soldat.ini|admin password]] to login to the server using [[Commands|/adminlog]]. If you are [[Commands|adminned by IP]] then you will only be able to perform commands while playing in the server. On the other hand, if you know the admin password you can perform [[raw commands]] or use any of the [[Soldat admin tools]]. | ||
− | + | ||
+ | =Bandwidth & Memory Usage= | ||
Both depend on the amount of players (or bots) the server is currently hosting. You can use [[Bandwidth|FliesLikeABrick's bandwidth calculator]] to check on the first one. The average RAM a server uses depends on several factors: maps,logs,scripting,players,etc. An average server uses around 10 MBs of RAM, while a server with a bunch of scripts and big custom maps with logging can use more than 50 MBs. | Both depend on the amount of players (or bots) the server is currently hosting. You can use [[Bandwidth|FliesLikeABrick's bandwidth calculator]] to check on the first one. The average RAM a server uses depends on several factors: maps,logs,scripting,players,etc. An average server uses around 10 MBs of RAM, while a server with a bunch of scripts and big custom maps with logging can use more than 50 MBs. | ||
[[Category:Server]] | [[Category:Server]] |
Latest revision as of 18:59, 10 April 2020
Contents
Requirements
Minimum
- 266 Mhz
- 32 MB Ram
- Fast download & upload internet connection ( >512kbps)
- Operative system: >Windows 98SE or Linux (32-bit)
Recommended
- 800 Mhz
- 256 MB Ram
- Fast download & upload internet connection ( >1Mbps suggested)
- Operative system: >Windows xp or Linux (32-bit)
Getting the server
Servers for Soldat come in two types: dedicated and non-dedicated. This page focus on dedicated servers. The latest dedicated server can be downloaded from soldat.pl, zipped. This zip has all necessary files to run the server in Linux or Windows. To unzip you can use 'unzip <filename>' in Linux or 7-zip in Windows. The executables for each OS are soldatserver and soldatserver.exe respectively.
Configuring
There are three key files that you must edit & configure before running the server: mapslist.txt, soldat.ini & server.ini.
Starting the server
To start the server in the background in Linux you can use either -d or nohup.
Using the line below will detach the server from your current terminal and log all errors to nohup.out while redirecting normal (non-error) output to /dev/null (nowhere)
nohup ./soldatserver > /dev/null &
The line below will do the same, but put errors in errors.txt.
nohup ./soldatserver > /dev/null 2> errors.txt &
This will fully background the server
./soldatserver -d
If you are having problems when starting up the server, make sure you have the right permissions. In windows, run as administrator, in Linux, use chmod.
chmod u+wx ./logs/kills/ chmod u+wx ./BattlEye/ chmod u+wx ./scripts/
Troubleshooting
If your server starts up but no one can join, then read this and check your connection with this.
If you're having trouble getting the game up and running on Ubuntu try the following commands
sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install libc6:i386 libstdc++6:i386
Managing your server
There are two ways to administrate your server: By adding IPs to the remote.txt file, or by using the admin password to login to the server using /adminlog. If you are adminned by IP then you will only be able to perform commands while playing in the server. On the other hand, if you know the admin password you can perform raw commands or use any of the Soldat admin tools.
Bandwidth & Memory Usage
Both depend on the amount of players (or bots) the server is currently hosting. You can use FliesLikeABrick's bandwidth calculator to check on the first one. The average RAM a server uses depends on several factors: maps,logs,scripting,players,etc. An average server uses around 10 MBs of RAM, while a server with a bunch of scripts and big custom maps with logging can use more than 50 MBs.