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