dmriley / left4deadrcon

Automatically exported from code.google.com/p/left4deadrcon
0 stars 0 forks source link

Update #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The l4dcommander page successfully connects to the server - but doesn't 
display any content in either tab.

The AJAX loading icon is just displayed indefinitely.

Is this a result of the big patch released recently?

If so, will the remote commander be updated to work with this patch?

Original issue reported on code.google.com by mattymac...@gmail.com on 30 Apr 2009 at 6:52

GoogleCodeExporter commented 8 years ago
Indeed this happens to me to quite annoying

Original comment by StaffMem...@googlemail.com on 28 May 2009 at 12:53

GoogleCodeExporter commented 8 years ago
I'm just hacking this to work with my Counter Strike Source server. My game 
servers
are running PHP 4 (centOS) so it was failing due to the json_encode functions 
(only
in PHP 5). 

There's a handy json class over at http://abeautifulsite.net/notebook/71. I've 
also
attached it.

Simply upload the 'JSON.php' file to the includes directory and add it as an 
include
in the 'config.php' file.

Thanks again for the code - it's very slick and tidy.

Original comment by netstep...@googlemail.com on 8 Jun 2009 at 1:23

Attachments:

GoogleCodeExporter commented 8 years ago
I have php5 and this affects me on r28
php.x86_64 / 5.2.6-jason.1

Original comment by meng...@gmail.com on 30 Jun 2009 at 7:20

GoogleCodeExporter commented 8 years ago
It looks like the new server versions have different output for the status 
command. 
I needed to update rcon.class.php to look for the 'map' and 'players' data from 
the
next line.  Here's the updated code:

$result['map'] = trim(substr($line[4], strpos($line[4], ":") + 1));
$result['players'] = trim(substr($line[5], strpos($line[5], ":") + 1));

Original comment by stephen....@gmail.com on 28 Sep 2009 at 2:02

GoogleCodeExporter commented 8 years ago
Should be fixed by r32

Original comment by carl%sup...@gtempaccount.com on 14 Jan 2011 at 6:03