Comments (5)
Indeed this happens to me to quite annoying
Original comment by [email protected]
on 28 May 2009 at 12:53
from left4deadrcon.
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 [email protected]
on 8 Jun 2009 at 1:23
Attachments:
from left4deadrcon.
I have php5 and this affects me on r28
php.x86_64 / 5.2.6-jason.1
Original comment by [email protected]
on 30 Jun 2009 at 7:20
from left4deadrcon.
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 [email protected]
on 28 Sep 2009 at 2:02
from left4deadrcon.
Should be fixed by r32
Original comment by carl%[email protected]
on 14 Jan 2011 at 6:03
- Changed state: Fixed
from left4deadrcon.
Related Issues (10)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from left4deadrcon.