Resource icon

[Reusable] srb2srv - SRB2 Server CLI

This thread contains content that may be reused, modified, or ported by anyone.

Bijman

Ye ol' bugger
Bijman submitted a new resource:

srb2srv - SRB2 Server CLI - Tools needed to start your own server or to connect to servers in SRB2 & SRB2Kart

Description:

This shellscript has number of uses related to SRB2/SRB2Kart server.
Mainly, the script obtains information about IP, number of players, gametype, etc. from https://old.mb.srb2.org/masterserver.php and https://srb2kart.aqua.fyi/browser/index.html, which allows user to connect directly to selected server from SRB2/SRB2Kart Master Server list...

Read more about this resource...
 

Lach

he/him
Moderator
Sonic Team Junior
Kart Krew™️
Judge
Once again, got this working on Mac as well—I was unable to test having it open the game since it doesn't seem to like having spaces in the directory names, but it does list servers as advertised and I feel safe assuming the rest works since srb2dl was well done too!

Welcome to releases!
 

Sirexer

The ultimate SIGSEGV
I could not figure it out, but it gives me the error 'bash: sudo: command not found'
1620471094611.png
 

Bijman

Ye ol' bugger
I could not figure it out, but it gives me the error 'bash: sudo: command not found'
Error means there is missing sudo command, that needs to be installed, but installing script with "sudo make install" doesn't seem to work well on Windows, so I propose alternative way to install script:
1. Open Git Bash,
2. Create directory "bin" with command: mkdir ~/bin,
3. Copy script to ~/bin: cp /path/to/srb2srv ~/bin,
4. Enter: nano ~/.bash_profile,
5. Write new path to executables with environment variable PATH like export PATH="~/bin:$PATH" in ~/.bash_profile,
6. Check if you set properly other environment variables from "Configuration" section in srb2srv page,
7. Enter: source ~/.bash_profile or restart Git Bash.
 
Last edited:

Bijman

Ye ol' bugger
Bijman updated srb2srv - SRB2 Server CLI with a new update entry:

Update 2021-09-27

New update gives some significant changes to the script:
  1. Replacing SRB2 Master Server Browser URL to ms.srb2.org .
  2. Replacing code to be compatible with ms.srb2.org, which greatly improves speed of web scraping from Master Server, and as an end result, faster displaying list of server.
  3. Removing dependency for Puppeteer and Node.
  4. Fixing issue with displaying some colors in server names.
  5. Adding support for...

Read the rest of this update entry...
 

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

Top