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
2 guests & no users online
Gangler
36
points ]
 (4 votes)
Created 2020-10-22 00:50
3 years 19 weeks ago
Zoocata
10
points ]
 (1 vote)
Created 2024-02-11 21:20
3 weeks 1 day ago
vampirefrog
10
points ]
 (1 vote)
Created 2023-07-23 20:02
32 weeks 1 day ago
36
points ]
 (4 votes)
Created 2020-12-10 12:49
3 years 12 weeks ago
Created 2023-12-12 23:34
11 weeks 6 days ago
Zoocata
Created 2023-11-27 23:00
14 weeks 14 hours ago
20
points ]
 (2 votes)
Created 2023-10-01 15:21
22 weeks 1 day ago
20
points ]
 (2 votes)
Created 2021-05-24 00:01
2 years 40 weeks ago
9
points ]
 (1 vote)
Created 2023-06-13 17:54
37 weeks 6 days ago
Zoocata
27
points ]
 (3 votes)
Created 2023-05-05 20:58
43 weeks 3 days ago
Zoocata
18
points ]
 (2 votes)
Created 2023-03-02 01:40
1 year 4 days ago
Getridou
Created 2023-01-29 23:27
1 year 5 weeks ago
Created 2023-01-19 19:36
1 year 6 weeks ago
Getridou
Created 2023-01-10 17:10
1 year 7 weeks ago
Getridou
Created 2023-01-01 14:30
1 year 9 weeks ago
Getridou
Created 2023-01-01 10:58
1 year 9 weeks ago
Getridou
Created 2023-01-01 10:49
1 year 9 weeks ago
afroninja
17
points ]
 (2 votes)
Created 2023-01-01 06:32
1 year 9 weeks ago
36
points ]
 (7 votes)
Created 2010-04-01 07:57
13 years 48 weeks ago
57
points ]
 (6 votes)
Created 2020-12-04 12:05
3 years 13 weeks ago
Who's new
  • ColdIV
  • Aidan
  • Hunk
  • letic86
  • BATMAN