Game Development Community

Information not available client-side

by Ian Omroth Hardingham · in Torque Game Engine · 04/04/2002 (1:57 pm) · 4 replies

Can anyone tell me what data is _not_ available for the client?

For instance, can I get all the %client object pointers client-side?

#1
04/07/2002 (9:50 pm)
Don't know how to make a general answer to your first question, but the specific answer to your second question is "nope". Client objects are really GameConnection objects, and one client does not have connections to the other clients, only to the server.
#2
04/07/2002 (10:47 pm)
Heh, I wish I could supply some info but your question is a bit difficult to understand.

Can you try to explain the exact thing you're trying to do, and what exactly you want to get from each client?
#3
04/08/2002 (2:11 am)
What I need is the list of client transforms.
Server side I would get this by:

%count = ClientGroup.getCount();
for ( %ci = 0; %ci < %count; %ci++ )
{
%client = ClientGroup.getObject( %ci );
%client_transforms[%i] = %client.player.getTransform()
}

But I would ideally like to make this particular script clientside.
#4
04/08/2002 (5:05 am)
This kind of functionality would enable clients connecting to your game server to cheat with 'always hit' mods.

You should not expose this kind of functionality client-side.

What do you need this information for?