PlayerList[playerCount]?
by Ronald J Nelson · in Torque Game Engine · 03/15/2008 (9:49 pm) · 3 replies
I found this in serverQuery.cc/cpp and it is only referenced in a comment. Whatever happened to it and has anyone done anything put it back in?
#2
If you are interested in a playing list functionality, I believe starter.fps matains a client player list that you can view by hitting P or L I think it was.
I don't have a copy in front of me right now, but once you figure out whichever key it is to view the player list you should be able to look in client/scripts/default.bind.cs to see what function its calling to view it, and trace back through the code to see how they did it from there.
Torque has built-in list objects that you can create or access from script called SimSets. That may be another lead to look into.
03/15/2008 (10:58 pm)
There is a lot of old stuff floating around in the engine source. In some cases it may be of use, other times you might want to remove it.If you are interested in a playing list functionality, I believe starter.fps matains a client player list that you can view by hitting P or L I think it was.
I don't have a copy in front of me right now, but once you figure out whichever key it is to view the player list you should be able to look in client/scripts/default.bind.cs to see what function its calling to view it, and trace back through the code to see how they did it from there.
Torque has built-in list objects that you can create or access from script called SimSets. That may be another lead to look into.
#3
03/15/2008 (11:01 pm)
No I was just working on a Steam like server system that actually allows you to get the server's information without actually having to join. Got most of it done already and I am fairly positive I can do this as well. I just wanted to see if anyone new what was up with these leftovers.
Torque Owner Ronald J Nelson
Code Hammer Games
Server::GuidList[playerCount]
The stuff is updated but never even used. It is updated in clientConnection.cs using the
addToServerGuidList
and
removeFromServerGuidList
functions found towards the bottom of server.cs
It seems as if there was once a player GUID and Player LIsting capability from serverInfo requests that parts of the code have just been removed.