Getting the online player list, using c++?
#3

using System.IO;
using System;

class Program
{
static void Main()
{
Query.Query sQuery = new Query.Query("89.33.242.97", 7777);

sQuery.Send('c');

int count = sQuery.Recieve();

string[] info = sQuery.Store(count);


for(int i=0; i<count; i++)
Console.WriteLine(info[i] );





}
}



So
c It stands for client list, this sends back to the server the players' name, and then the players' score. Just imagine it as a basic overview of all the players. Throttled to 100, but can theoretically support 65536 different IDs.

Why i don't get nothing here?
If I ask for 'i', i get the information of the server..
Reply


Messages In This Thread
Getting the online player list, using c++? - by paulicaa - 05.08.2013, 07:15
Re: Getting the online player list, using c++? - by -Prodigy- - 05.08.2013, 07:57
Re: Getting the online player list, using c++? - by paulicaa - 05.08.2013, 11:49
Re: Getting the online player list, using c++? - by paulicaa - 09.08.2013, 07:06
Re: Getting the online player list, using c++? - by Lorenc_ - 09.08.2013, 08:00

Forum Jump:


Users browsing this thread: 1 Guest(s)