• Log in or sign up for an account here: https://www.sythe.org/login

[COVEY] Updating Client

[COVEY] Updating Client
[COVEY] Updating Client
I'm not sure if it's possible in VB6, but an easy way to update the GUI could be to place all program information in a .xml file (contols, where they are, what they do etc) or other format, initialize and create everything at startup and use a script parser to tell which button what to do. Then to update the GUI, rather than updating the core files unless you need to, you could just download the .xml file.

Same goes for anything else really. Create a separate file with the info, then just make your own code to parse it.

Sorry if I sound like I have no clue, I'm way too tired.
 
[COVEY] Updating Client
Here is an example of how to make a basic updater it uses an additional exe to do the actual updating.

http://naruto-uk.co.uk/vb/Updater.zip

Ohhh k im starting to get it now.. So it when i open the client is checks its version against what number it says in the .txt named version. And if it needs updateing, the client closes itself and opens the other .exe called updater and the updater uses the inet to go on the website that has the new version and downloads the new stuff?
 
[COVEY] Updating Client
1) You open your client.
2) Before doing anything make it load a txt file on your website with a version number in it and have it check the version variable in your client.
3) If it is out of date it will open up the updater tool and close down the client meaning it can now be edited.
4) The updater will download the latest client if possible otherwise it will show the error.
5) After it has updated it will show a button which when clicked will run the updated client executable and close the updater program.
6) Your program has been updated and should run normally.
 
[COVEY] Updating Client
1) You open your client.
2) Before doing anything make it load a txt file on your website with a version number in it and have it check the version variable in your client.
3) If it is out of date it will open up the updater tool and close down the client meaning it can now be edited.
4) The updater will download the latest client if possible otherwise it will show the error.
5) After it has updated it will show a button which when clicked will run the updated client executable and close the updater program.
6) Your program has been updated and should run normally.
This works quite effectively except it leaves no way to update the updater besides having the user download a new one manually as you probably wouldn't want to make an updater to an updater. :P
 
[COVEY] Updating Client
Why would i want to update an updater unless the only way for people to get the update is by me updating the updater to have more stuff in it which people can download?
 
[COVEY] Updating Client
All I do in my Client is check a .txt file that's on the net, if it's < than the version you're using then you must download, you can't use an old version.

If you're using a => equal or higher (BETA?) then display an open button or automatically open the Client.
 
[COVEY] Updating Client
Why would i want to update an updater unless the only way for people to get the update is by me updating the updater to have more stuff in it which people can download?
That's just like saying "Why update Windows? It works properly!". Use your brain before you post questions.

Lets see, faulty updates, unstable program, corrupt downloads etc.

To update the updater, just use the client program itself to download and install updater updates.
 
[COVEY] Updating Client
Wait so like lets say i make a moonfruit site soo lets say my site will be named

Dgameman1.moonfruit.com

And on that site i make a txt document and if it ""if it's < than the version you're using then you must download, you can't use an old version.

If you're using a => equal or higher (BETA?) then display an open button or automatically open the Client.""

Now the question is how do i make a .txt on a site?
 
[COVEY] Updating Client
1) create the text file.
2) upload it via FTP or otherwise.

Stupidest question yet, serious props to you.
 
Runescape Gamblingrunescape gambling
Back
Top