DeathStarPC | 2010-03-04 23:30
Hosting a Server - The Basics
20
points ]
 (3 votes)

As we all know, Sauerbraten enables users to host servers. This is a quick forum post to teach you the basics of hosting one.

INSTALLATION

Sauerbraten comes complete with the bat (windows), and launcher (mac), you won't have to download anything if you want a server.

SETUP

Windows:
First off, you'll need to forward 2 ports to you hosting computers IP address, normally you can type your IP address into your web browser, this should bring you to router setup, once there find "Port Forwarding" then forward two ports: "28785" and "28786". The ports should be forwarded using TCP & UPD.

Once Sauerbraten is installed, right click it and select "show file location". You should see a file labeled "server-init", open it. Your whole server is configured here, you'll need to read the directions included in the file to finish the configuration. Once your done with configuration find the file labeled "server" its a bat file. Open that. If the Command Prompt window says "Master Server Registration failed: failed pinging server" then you've done something wrong, the server will be up but it won't be visible to anyone else that is not connected to your router. If it says "Master server registration succeeded" then your good! Keep that window open because the server will go down without it.

Mac OSX:

You'll need to forward 2 ports to you hosting computers IP address, normally you can type your IP address into your web browser, this should bring you to router setup, once there find "Port Forwarding" then forward two ports: "28785" and "28786". The ports should be forwarded using TCP & UPD.

Now, download the attached "server-init.cfg" file, unzip it and copy it to your desktop. Open sauerbraten, the "Sauerbraten Launcher" window should come up, in the launcher on the main tab you'll notice text that says "User Game Files" and right next to it there's a "Show..." button, click it. Now that your in this file you can put server-init.cfg there. Open server.init.cfg and follow the instructions included in the file to complete your servers configuration. Now your ready to start your server! Open sauerbraten again and click on "Server" from the launcher window, leave the fields that say "Description" and password and the rest blank. Click "Start". If the mini-terminal says "Master Server Registration failed: failed pinging server" then you've done something wrong, the problem usually has to do with port forwarding, the server will be up but it won't be visible to anyone else that is not connected to your router. If it says "Master server registration succeeded" then your good! Keep that window open because the server will go down without it.

Feel free to post any comments with questions, ill be happy to answer them.

Featured Comments:

Sub Zero | 2010-06-30 23:23
a few things i learned, i would run my server.bat with commands in them because the commands work just the same either in the server-init or in the server.bat (commands are: -d1 -c18 -g2 -p*** -n"namehere") (to explain to people who might read this what these commands do: -d1 (dedicating a server with var 1 for ingame server hosting) (-c amount of clients allowed at var 18) (-g2 amount of bots allowed ingame if not admin of server at var 2 bots) (-p password for admins) (-n for servers name)

Windecker | 2010-06-30 15:24
Just incase: If your one windows and you don't know your local IP, you can find it by opening the command prompt and typing ipconfig and hitting enter.
You should see something like this:

Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : ***.***.***

IP Address. . . . . . . . . . . . : 192.168.1.100

Subnet Mask . . . . . . . . . . . : ***.***.***.***

Default Gateway . . . . . . . . . : ***.***.***.***


The local IP is the one labeled IP address.

skiing_penguins | 2010-06-30 13:35
for the ip forwarding part, put the local ip of the machine the server is on. for me it would be "192.168.1.100" NOT YOUR EXTERNAL IP.

20
points
 (3 votes)
AttachmentSize
server-init.cfg_.zip1.11 KB
User login
Users on Quadropolis
1 guest & no users online
LandRiders7th
Created 2017-05-06 00:42
3 weeks 6 hours ago
Created 2017-04-24 15:32
4 weeks 4 days ago
Created 2017-04-24 15:13
4 weeks 4 days ago
Created 2017-04-15 03:38
6 weeks 3 hours ago
30
points ]
 (9 votes)
Created 2011-06-16 13:56
5 years 49 weeks ago
10
points ]
 (1 vote)
Created 2017-02-02 00:22
16 weeks 2 days ago
74
points ]
 (9 votes)
Created 2012-07-01 13:12
4 years 47 weeks ago
Flitzpiepe
Created 2017-01-28 22:59
16 weeks 6 days ago
214
points ]
 (22 votes)
Created 2012-10-20 09:56
4 years 31 weeks ago
AtlasSteal
31
points ]
 (4 votes)
Created 2016-12-27 04:35
21 weeks 4 days ago
theradical
Created 2016-12-26 16:25
21 weeks 4 days ago
theradical
11
points ]
 (2 votes)
Created 2016-12-20 14:15
22 weeks 3 days ago
20
points ]
 (3 votes)
Created 2010-03-04 23:30
7 years 12 weeks ago
KATZ_2142
13
points ]
 (2 votes)
Created 2016-09-06 23:34
37 weeks 3 days ago
50
points ]
 (5 votes)
Created 2010-02-18 22:58
7 years 14 weeks ago
DeathStarPC
Created 2016-10-09 12:48
32 weeks 5 days ago
Created 2016-05-10 23:14
1 year 2 weeks ago
Created 2016-07-28 12:06
43 weeks 1 day ago
7
points ]
 (1 vote)
Created 2016-08-19 06:04
40 weeks 1 day ago
92
points ]
 (10 votes)
Created 2010-06-23 21:33
6 years 48 weeks ago
Who's new
  • Flitzpiepe
  • M16
  • theradical
  • torben
  • KATZ_2142