Skip to content

A HTML5/PHP server browser for SRB2Kart, based on Golden's SRB2-Query

Notifications You must be signed in to change notification settings

raphaelgoulart/srb2kart-web-server-browser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SRB2Kart Web Server Browser

A HTML5/PHP server browser for SRB2Kart, based on Golden's SRB2-Query

Usage

Deploy the files on a webserver with PHP installed, and run index.html.

Be sure that the usage of socket_sendto() is allowed on the server, as some hosts don't allow it.

Files

  • ms.php: Fetches the list of servers off of the master server — basically just a proxy for the master server, to avoid CORS errors;
  • api.php: Given an IP and port (sent as GET parameters), fetches the data for a given SRB2Kart server;
  • index.html: HTML5 app that lists SRB2Kart servers and their data, similar to SRB2's Master Server;
  • srb2query.php: Modified version of SRB2-Query, to add proper support for SRB2Kart 1.3 packets;
  • flag.php: Given an IP, gets the country data via freegeoip — basically a proxy that is used if freegeoip itself gets blocked client-side (by an adblocker, for instance).

About

A HTML5/PHP server browser for SRB2Kart, based on Golden's SRB2-Query

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published