PDA

View Full Version : TrueUpdate Client to retrieve TrueUpdate Server


dwenco
12-22-2008, 01:49 PM
I would like to have my TrueUpdate client retrieve the location of the trueupdate server from a local setting, instead of looping through the avaliable trueupdate servers returned from TrueUpdate.GetUpdateServerList().

I see that for
TrueUpdate.GetServerFile (string ServerID, boolean ShowRestartDialog = true, function CallbackFunction = nil )
One needs to supply the ServerID, which, I assume, is set somewhere inside TrueUpdate, when the project is built. I don't want to preset this value.

And TrueUpdate.LoadServerFile seems to be loading from the local directory.

Is there any way I can achieve my purpose? Thanks.

Ulrich
12-24-2008, 10:38 AM
Is there any way I can achieve my purpose? Thanks.

Hello,

I think the suggestion I posted here (http://www.indigorose.com/forums/showpost.php?p=132615&postcount=11) could work in your case as well. I believe that there is no way to avoid the local copy of the *.ts files.

Hope this helps.

Ulrich

jassing
12-24-2008, 11:06 AM
if you don't want ot preset the server values -- how do you intend to get the server values???? you need to have at least 1 thing static...


Perhaps TrueUpdate is not the tool for you... YOu have posted the same basic question a couple of times; the answers will not be different...

I think you have a fundamental misunderstanding of how TrueUpdate works, and it's specific purpose.

dwenco
12-24-2008, 12:20 PM
Thanks Ulrich, yes that solves my problem.

Jassing, I have posted many questions, but actually this is the first time I am posting this particular question, the one I posted on Sunday is actually a different one, although the titles sound the same :)

Cheers.