Posts: 1
	Threads: 1
	Joined: Jul 2011
	
Reputation: 
0
	 
	
	
		Hi
I tried some of the libraries, but none worked for me.
I need to input server's iport, and get players steam id that are playing in it.
Help?
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 298
	Threads: 0
	Joined: Jun 2011
	
Reputation: 
6
	 
	
	
		Just use the rcon status command and it will return all the information you should want.
	
	
	
Game Servers -- CentralFrag.com -- Use promocode "frag" for 15% off every month!
 
	
		
	
 
 
	
	
	
		
	Posts: 92
	Threads: 1
	Joined: Jun 2011
	
Reputation: 
1
	 
	
	
		Well if you done have rcon access, you're screwed.
Only solution would be to write a sourcemod plugin and upload it on the server. But it seems that you don't have any access to the server at all?
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 298
	Threads: 0
	Joined: Jun 2011
	
Reputation: 
6
	 
	
	
		You will not be able to use these RCON commands then if you do not have access to the rcon_password. 
	
	
	
Game Servers -- CentralFrag.com -- Use promocode "frag" for 15% off every month!
 
	
		
	
 
 
	
	
	
		
	Posts: 92
	Threads: 1
	Joined: Jun 2011
	
Reputation: 
1
	 
	
	
		Well with rcon-socketconnection, but otherwise no.
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 882
	Threads: 43
	Joined: Dec 2010
	
Reputation: 
13
	 
	
	
		You write a PHP script and make it send the rcon command status to the server and then you parse the output of the server and get the steam-id's.,
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 882
	Threads: 43
	Joined: Dec 2010
	
Reputation: 
13
	 
	
	
		Download an rcon-php library. I don't know how, I'm using my own script to parse logfiles for Steam IDs
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 92
	Threads: 1
	Joined: Jun 2011
	
Reputation: 
1
	 
	
	
		Well no.
You obviously didn't read the article because it mentions a lot of examples at the end.
	
	
	
	
		
	
 
 
	
	
	
		
	Posts: 882
	Threads: 43
	Joined: Dec 2010
	
Reputation: 
13
	 
	
	
		Well obviously then it isn't what he's after. He wants to send a command to the port 27015, not an RCON command. The link you sent him explains rcon not anything else.