02.06.2012, 02:46
i edited my post above
but youll need to write your own protocol as far as i can tell
you send from php to server a command "GetPlayers"
on server use the callback onSocketReceiveData
and compare the data received if it == "GetPlayers" then send a packet containing the number of players
if you look up socket handshake i think youll find what i mean .
good luck! and you just made me open my C# to investigate this! thx.
also look at the Tools & Scripts links in the socket plugin thread,
they may be of help esp the Remote Admin GUI
its in vb.net but should shed some light on this for ya.
but youll need to write your own protocol as far as i can tell
you send from php to server a command "GetPlayers"
on server use the callback onSocketReceiveData
and compare the data received if it == "GetPlayers" then send a packet containing the number of players
if you look up socket handshake i think youll find what i mean .
good luck! and you just made me open my C# to investigate this! thx.
also look at the Tools & Scripts links in the socket plugin thread,
they may be of help esp the Remote Admin GUI
its in vb.net but should shed some light on this for ya.