Client ID
by Rudolf Kajan · in Technical Issues · 12/21/2006 (5:24 am) · 1 replies
I am learning TGE 1.5 - I am making simple game based on tutorial.base - I am making player's quest log - when player presses 'q' key quest log shows up but before the gui is visible client sends request to server to send list of unfinished quests.
...
commandToServer(\'send\',"unf_quests");
...
Qustion : how does the server know which client requested data ? how do i make client identification ?
...
commandToServer(\'send\',"unf_quests");
...
Qustion : how does the server know which client requested data ? how do i make client identification ?
About the author
Torque 3D Owner Martin "Founder" Hoover
So in your server function the first argument is always the clientID.
function serverCmdsend(%client, %blah)