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. However, if you want a fancy server, you'll need to use a server mod. The list below are just some of the mods:

QServ: https://github.com/deathstar/QServCollect
SpaghettiMod: https://github.com/pisto/spaghettimod
Remod: https://github.com/vasyahuyasa/remod-sauerbraten
Zeromod: https://github.com/andrius4669/zeromod-sauerbraten
SuckerServ: github.com/SuckerServ/suckerserv
Hopmod: code.google.com/p/hopmod

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
3 guests & 1 user online
Ao1 Pointblank
81
points ]
 (9 votes)
Created 2018-03-22 02:14
16 weeks 4 days ago
43
points ]
 (5 votes)
Created 2018-07-12 17:59
4 days 4 hours ago
16
points ]
 (2 votes)
Created 2018-07-15 07:17
1 day 14 hours ago
Sauce
28
points ]
 (3 votes)
Created 2018-07-10 17:07
6 days 4 hours ago
Ao1 Pointblank
65
points ]
 (7 votes)
Created 2018-06-05 23:45
5 weeks 5 days ago
62
points ]
 (7 votes)
Created 2018-05-04 17:27
10 weeks 3 days ago
DeathStarPC
10
points ]
 (1 vote)
Created 2018-06-10 06:37
5 weeks 1 day ago
51
points ]
 (6 votes)
Created 2018-04-25 02:24
11 weeks 5 days ago
7YearBitch
39
points ]
 (5 votes)
Created 2018-03-30 18:06
15 weeks 3 days ago
15
points ]
 (2 votes)
Created 2018-03-25 15:52
16 weeks 1 day ago
nopnotme
12
points ]
 (2 votes)
Created 2017-09-29 21:52
41 weeks 3 days ago
7YearBitch
22
points ]
 (3 votes)
Created 2018-03-30 17:47
15 weeks 3 days ago
7YearBitch
28
points ]
 (4 votes)
Created 2018-02-28 00:20
19 weeks 5 days ago
7
points ]
 (1 vote)
Created 2018-04-20 14:42
12 weeks 3 days ago
15
points ]
 (2 votes)
Created 2018-03-02 09:43
19 weeks 3 days ago
sevnnseven
15
points ]
 (2 votes)
Created 2018-03-02 09:41
19 weeks 3 days ago
42
points ]
 (5 votes)
Created 2015-06-11 00:04
3 years 5 weeks ago
sevnnseven
25
points ]
 (3 votes)
Created 2018-03-01 19:26
19 weeks 4 days ago
25
points ]
 (3 votes)
Created 2018-02-13 11:00
21 weeks 6 days ago
32
points ]
 (4 votes)
Created 2012-08-30 04:30
5 years 45 weeks ago
Who's new
  • DON
  • sevnnseven
  • 7YearBitch
  • Mustangflier
  • Ao1 Pointblank