Game Development Community

Player list from a server query

by Ron Nelson · in Torque Game Engine · 03/11/2008 (2:36 pm) · 0 replies

I am in the final stages of making a gui system much like what Steam uses. I know that when you get the Host list it is based off of a ServerQuery. You get several bits of information like the mission name, type and a lot more.

In ServerQuery.cc/cpp you find a long list of information that you should be able to access to include the following:

// playerCount Buddy list search
// playerList[playerCount]

Now I know the playerCount is used but there is no further mention of the playerList in the code. I wanted to be able to get the list of players from a server without actually having to join it. This looks like there was a started effort to do this but thats where it ended.

Has anyone gotten further with this and would be willing to share?