Dedicated servers for srb2kart?

starbos

Member
Currently trying to start up a server for friends. At the moment, I have a virtual machine running the game and hosting a server that way, but there are a few issues with this(game will occasionally close for no particular reason, and the server's prone to turning off from time to time). So, I'm wondering if there's any way to set up a dedicated server?
 
To host a dedicated server, you must create a .bat file containing the following line:
srb2kart.exe -dedicated -room 33
If you want to host in the casual room, use -room 28 instead. If a console script file with the name adedserv.cfg exists in your SRB2 folder, it will automatically be loaded and executed upon starting a dedicated server. You can use this to add any addons you want or to change things such as item chances.
 
Thanks!

Regarding 'adedserv.cfg', would I be able to make that myself? And if so, could you give me a rundown on how I'd use it to add addons?
 
adedserv.cgf is essentially a .txt file with a different ending, so you can make it in Notepad or any other text editor. You can make it add files by putting the line:
addfile filename.fileextension
Obviously, replace filename.fileextension with the actual file you want to add. Only put one per line. If I remember correctly, there's a limit of 48 files.
 

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top