1

Topic: [HELP] Are there any commands to connect a serverviewer to the RCON?

Hey!

To create a serverviewer with php you just need the following commands:

$socket = fsockopen('udp://' . '78.47.226.42', 8303);
$packet = chr(255).chr(255).chr(255).chr(255).chr(255).chr(255).chr(255).chr(255).chr(255).chr(255). 'gief';
fwrite($socket, $packet);
fread($socket, 14);

Now im wondering if there are more commands like 'gief' especially to connect to the rcon console.

Mfg,
Stealth

2

Re: [HELP] Are there any commands to connect a serverviewer to the RCON?

StealthXy wrote:

Hey!

To create a serverviewer with php you just need the following commands:

$socket = fsockopen('udp://' . '78.47.226.42', 8303);
$packet = chr(255).chr(255).chr(255).chr(255).chr(255).chr(255).chr(255).chr(255).chr(255).chr(255). 'gief';
fwrite($socket, $packet);
fread($socket, 14);

Now im wondering if there are more commands like 'gief' especially to connect to the rcon console.

Mfg,
Stealth

There is no way to connect to the rcon outside of the game.
There will be a rcon with telnet on localhost or something in the future....

3

Re: [HELP] Are there any commands to connect a serverviewer to the RCON?

Yes...
http://www.teeworlds.com/forum/viewtopic.php?id=3927