Jump to content

Recommended Posts

ZZ15_dasSofa
Posted

Dear Devs,

 

i try to get some Player Info`s out of Rcon (Players on Server) with a PHP Script. Saddly, RCon over PHP didnt work at all.

Can we wait for it that Rcon works in future with PHP ?

  • 2 weeks later...
ZZ15_dasSofa
Posted

The Problem came from the php.ini. Webinterface/Rcon Servermanager works now ;D

  • Upvote 1
  • 1 year later...
ZZ15_dasSofa
Posted (edited)

For all the guy`s where write me a pn about rcon client over php :

 

Take a look at the readme.txt in the remote console dir. Here you will find all important informations.

Notice that you must pack / unpack data communiction over fsockopen, otherwise you recieve some cryptical stuff !

how the packets must look like you will find in the readme.txt

If your familiar with php, its not a problem!

Use fsockopen, create a function to pack / unpack the communication packets and done. Its easy!

 

Here in the 3third Party section you will find also a php remote console script if your not able to get your code to work.

 

I personaly just read the ammount of players on the server, cache a bit and display them on a webpage.

 

Maybe you are also disappointed as me, that there is not much informations to recieve from the rcon.

It is not possible to make a "detailed server browser", there is no information on which side a player fly`s.

Edited by A./ZG15_dasSofa
  • Upvote 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...