Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

How to set up the auto-updater (With Pictures)


Drakiac
 Share

Recommended Posts

Do you  have a MMORPG with a large fanbase and constant updates? If yes, then an autoupdater is the thing for you. Robin has created one located here: http://www.touchofdeathforums.com/smf/index.php/topic,58493.0.html. Follow all of his instructions so extract it all so there will be two folders, client and server, and one text document called read-me.
![](http://www.freemmorpgmaker.com/files/imagehost/pics/52901e466024e96894999379a04a30e8.JPG)
Now go to [http://www.webs.com/](http://www.webs.com/?referer=AFF-REF-65185006) and create a website.
![](http://www.freemmorpgmaker.com/files/imagehost/pics/ba5e1e7259b44c3b74462fa91ff0d9ce.JPG)
Do the setup and create your free website. Pick any template as it doesn't matter. You should now be at the control panel which looks like this:
![](http://www.freemmorpgmaker.com/files/imagehost/pics/db8ff635a8ab7b83765a8da1b317a5a8.JPG)
Go to Manage pages and then click file manager:
![](http://www.freemmorpgmaker.com/files/imagehost/pics/71d552682b18491e6cd2d1a57a2e9b95.JPG)
Create a new folder called update and then click Single File Uploader:
![](http://www.freemmorpgmaker.com/files/imagehost/pics/137ff9764cdd1ad7936b82216477536a.JPG)
Upload the file update.ini (located in the server folder) into your new folder (update):
![](http://www.freemmorpgmaker.com/files/imagehost/pics/978e88d77653aeee24e526e1cfcec04b.JPG)
Now go to your client folder (autoupdater) and copy all these files to your games client folder:
![](http://www.freemmorpgmaker.com/files/imagehost/pics/c9ca9975b4d3146963449b3b172fa467.JPG)
So it looks like this (Instead of Hogwarts MMORPG it's called client):
![](http://www.freemmorpgmaker.com/files/imagehost/pics/04d551ffb2f0e3aac8337423d4d06a8b.JPG)
Now compress these files and name it version1.rar:
![](http://www.freemmorpgmaker.com/files/imagehost/pics/d33bbb0f6622eba0cc7e7253b5cdacbf.JPG)
Go back to webs and go to the single file uploader and upload the version1.rar. Your folder update should now look like this:
![](http://www.freemmorpgmaker.com/files/imagehost/pics/f7304e43818adf30ca8df739831d05ee.JPG)
Go to your game client, click data files, open updaterInfo.ini and for updateURL set it to http://(websitename).webs.com/update. Mine is updateURL=http://hogwartsmmorpg.webs.com/update. You are now done!

If you ever release a new client re-compile the client folders and name it version2.rar. Delete the update.ini from your website. Go to server (autoupdater) edit update.ini and type in:
```
[FILES]
versions=2
version1=version1.rar
version2=version2.rar
```Now re-upload it your website.
Now whenever downloads your client they will be able to update there game by running autoupdater.exe!

I hope you liked the tutorial! If you want to thank me just play my game :P
[http://hogwartsmmorpg.webs.com/downloads.htm](http://hogwartsmmorpg.webs.com/downloads.htm)
-Drakiac
Link to comment
Share on other sites

  • Replies 81
  • Created
  • Last Reply

Top Posters In This Topic

@Sekaru:

> So? Doesn't make a difference. If you aren't online they won't be able to play the game either way.

I think webs would be a better solution just to make an auto-updater ;O
for real game websites you should use other programs.
Link to comment
Share on other sites

Like Cat said, Webs is a better for an auto-updater. I want to use as much resources of my computer as I can for my server. I don't want people taking that up by downloading files from my computer. Everything that I can get off my computer I will.
Link to comment
Share on other sites

@Neno:

> OMG THANK YOU, YOU ARE GOD

Your welcome! I'm glad to hear that it worked!

@kibbelz:

> Hey i followed this tutorial and when i run the .exe and download the file it get this:
>
> ![](http://i55.tinypic.com/33tp2eu.jpg)
>
> It is a .rar file i dunno what its complaining about.

Ok so it looks like it found the server (webs) it just can't find the version1.rar. 1) Make sure that update.ini is pointing to the right file (make sure the file is called version1.rar and not anything else) 2) Make sure updaterInfo.ini leads to http://(websitename).webs.com/update 3) Make sure you package unrar.dll with your client. If this continues to not work, then post your client as a zip and I'll convert it to rar for you.
-Drakiac
Link to comment
Share on other sites

@Drakiac:

> Your welcome! I'm glad to hear that it worked!
>
> Ok so it looks like it found the server (webs) it just can't find the version1.rar. 1) Make sure that update.ini is pointing to the right file (make sure the file is called version1.rar and not anything else) 2) Make sure updaterInfo.ini leads to http://(websitename).webs.com/update 3) Make sure you package unrar.dll with your client. If this continues to not work, then post your client as a zip and I'll convert it to rar for you.
> -Drakiac

Man, why make a tutorial when you don't have a clue what you're talking about, honestly.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share


×
×
  • Create New...