|
#1
|
||||
|
||||
|
What server was actually used by the client?
Question
I have multiple servers set up in my True Update project file. The problem is that I need to know what server was used by the client to get the server files. I want my server script to then download the patch/install file from the correct server. Answer 1) Go to Client Screens -> Download Server Script -> On Start -> Line 146: Look for this block of code Code:
-- Break out of this loop if we succeeded if(screen_globals.GotServerFiles) then break; end Code:
-- Break out of this loop if we succeeded if(screen_globals.GotServerFiles) then ServerUsed = ServerName; break; end Code:
if ServerUsed == "Server1" then -- Server1 was used g_SourceURL = "http://Server1/patch.exe"; else -- Server2 was used g_SourceURL = "http://Server2/patch.exe"; end |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unable to display Client variable in Server Dialog.Message | acedougk | TrueUpdate 2.0 | 1 | 03-02-2006 09:04 AM |
| Confused over updating client server file | John Fligg | TrueUpdate 2.0 | 3 | 09-14-2005 08:31 PM |
| Client & Server Communication | Elleah | TrueUpdate 2.0 | 11 | 06-02-2005 08:09 PM |
| Upload from client to server | Ninj | TrueUpdate 2.0 | 3 | 02-24-2005 07:20 PM |
| Permissions Required On Web Server For Client Access | David Ferguson | TrueUpdate 1.0 | 5 | 12-19-2003 08:41 PM |
All times are GMT -6. The time now is 11:46 PM.








Linear Mode

