Server Client
by Robert Stewart · in Torque Game Engine · 10/25/2004 (10:03 am) · 22 replies
I have a problem, on my server i have a script file, i only want to be called from the server, so there should be no need for it on the client. Here is an example, this is the most updated server script "example\fps\server\scripts"
function CheckPhp(%client, %username, %passcrc)
{
echo "12345";
}
This is the outdated file, on the client side "example\fps\server\scripts"
function CheckPhp(%client, %username, %passcrc)
{
echo "54321";
}
When the client calls Checkphp(); I want the client to use the servers script, not its own. as i see it client should only ever need to use "example\fps\client\scripts" and server "example\fps\server\scripts". thanks for any help.
function CheckPhp(%client, %username, %passcrc)
{
echo "12345";
}
This is the outdated file, on the client side "example\fps\server\scripts"
function CheckPhp(%client, %username, %passcrc)
{
echo "54321";
}
When the client calls Checkphp(); I want the client to use the servers script, not its own. as i see it client should only ever need to use "example\fps\client\scripts" and server "example\fps\server\scripts". thanks for any help.
About the author
#22
10/26/2004 (10:52 am)
That is what i though, but its not a problem for me because client.delete dosent get called everyone gets authenticated and there is no need, but i see why you changed it.
Torque Owner Josef Jahn