RCON.exe on Linux
#1

Hello. I am running SAMP 0.3R7 Server on Debian GNU/Linux.
I need to show stats on our website.
To get players and other, I use rcon, but it don't works:
<from server>
Код:
[neko@saransk-gta ~]$ wine rcon.exe localhost 7777 <password>

 SA:MP Command Line Remote Console Client
 ----------------------------------------
 © Copyright 2005-2006 SA:MP Team, v1.0

Remote Console: 127.0.0.1:7777...

RCON admin connected to server.
players
cmdlist
/rcon players 
/players
^C
[neko@saransk-gta ~]$
and from local computer:
Код:
[neko@gdetotut GTA San Andreas]$ wine rcon.exe 82.146.<...> 7777 <password>

 SA:MP Command Line Remote Console Client
 ----------------------------------------
 © Copyright 2005-2006 SA:MP Team, v1.0

Remote Console: 82.146.41.108:7777...

RCON admin connected to server.
players
/players
/rcon players
^C[neko@gdetotut GTA San Andreas]$
(sorry for my english )
Reply
#2

no need for this now.
used samp php api ^_^
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)