Closed GoogleCodeExporter closed 8 years ago
Indeed this happens to me to quite annoying
Original comment by StaffMem...@googlemail.com
on 28 May 2009 at 12:53
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:
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
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
Should be fixed by r32
Original comment by carl%sup...@gtempaccount.com
on 14 Jan 2011 at 6:03
Original issue reported on code.google.com by
mattymac...@gmail.com
on 30 Apr 2009 at 6:52