has anyone setup a way to POST ip, port and gametype information from a form to the tribesserverstat code to allow it to show the status of a server that the user enters?
Soil
Printable View
has anyone setup a way to POST ip, port and gametype information from a form to the tribesserverstat code to allow it to show the status of a server that the user enters?
Soil
No, but I can't imagine that'd be too difficult. If I were doing it, I'd setup a form that builds the command-line arguments to tss when submitted, since you can make tss do basically everything in the URL.
doh! yeah all I had to do was look at the instruciton page... thanks... this works:
SoilCode:<table border=1>
<form method="POST" action="cgi-bin/tss.pl">
<input type="hidden" name="version" value="Tribes2">
<input type="hidden" name="refresh" value="60">
<tr><td>SERVER:PORT</td><td><INPUT TYPE=TEXT NAME="server"</td></tr>
<tr><td align=center colspan=2><INPUT TYPE=SUBMIT NAME="SUBMIT" VALUE="Submit"></td></tr>
</form>
</table>