When a server posts to the master server
- Http: Request, POST /postServer.php
Command: POST
- URI: /postServer.php
Location: /postServer.php
ProtocolVersion: HTTP/1.0
Host: master2.blockland.us
+ ContentType: application/x-www-form-urlencoded
ContentLength: 159
HeaderEnd: CRLF
- payload: HttpContentType = application/x-www-form-urlencoded
ServerName: testing
Port: 28100
Players: 1
MaxPlayers: 20
Map: Custom
Mod:
Passworded: 0
Dedicated: 0
BrickCount: 0
DemoPlayers: 0
blid: 42358
csg: 1800
ver: 21 (any other version, and the master server blocks it out.)
build: 1931 (including this too)
payload: HttpContentType = application/x-www-form-urlencoded
This is when you ping the master server for a list, it just poorly parses a raw text file. (Maybe make the new master server json encoded? :)
- Http: Request, GET /index.php
Command: GET
- URI: /index.php
Location: /index.php
ProtocolVersion: HTTP/1.0
Host: master2.blockland.us
HeaderEnd: CRLF
So for the client, just perhaps have a button to post to new master server using the same method, just a different url?