[Release] Gunz launcher and TUT
This launcher was programmed by Yashua of Autumn kitten's studio please give credit to me
File download www.autumnkittens.com/updater/gunzupdater.rar
TUT on how to use it
ok to start it off extract that RAR file to your desk top or, in to a folder here are the files you should see.
site.folder
launcher.exe
updateconfig.ini
if you see those files than you have everything the site folder is what you want to put in your internet server make a folder called updater and, put everything in the site folder in there first lets config the launcher open the file called updateconfig.ini this is what you should see in there.
[Launcher]
path=put the link to the folder info.ini is
FileName=Gunz.exe
exename=Gunz.exe
this is not how it looks just fill it out like this fill in your gunz exe name if its gunz.exe than make it gunz.exe put your website url mainly the page you register for, the server on the path is the path way to the site folder the folder with the file called info.ini in side of it now that the launcher is ready to go time to teach you guys how to make updates.
first open up the site folder and, drag all the files in there to your webserver maybe a folder called updater the same webserver you use for, your servers register page than open the file called info.ini in there you will see this.
[VERSION]
Version=2
GameFileName=gunz.exe
Max=1
[FILES]
FileName1=Gunz.exe
FileVersion1=2
in the slot it says version in you need to all ways change that number if you want the auto updater to install something to your users computer change it up where it says gamefilename just leave it at gunz.exe if the file you use to play your game is gunz.exe and, set max to the max to the amount of files that are going to be updated now where it says. [FILES]
you see this
FileName1=Gunz.exe
FileVersion1=2
this is the file its going to be updating if you are giving out a gunz.exe in the update make it gunz.exe for, the first file it will be what's in the auto updater you must have the gunz.exe in the same folder as the info.ini for, it to work when ever you want somones auto updater to install the new version of a file just change the file version up from 2 to 3 or, 3 to 4 etc here is what it would look like if you had a say the gunz.exe and, the system.mrs files being updated just copy and, paste this in if you want.
[VERSION]
Version=2
GameFileName=gunz.exe
Max=2
[FILES]
FileName1=Gunz.exe
FileVersion1=2
FileName2= system.mrs
FileVersion2=2
and, lets say you just made a new system.mrs file and, you want them to get it in the update simply change the FileVersion2=2 in the system.mrs one to a FileVersion2=3 there we go I'm sure most of you got it by now and, notice how I changed the Max=1 to a Max=2 since there are two files in the update now that’s done I will show you guys how to update a file not in the same folder as the launcher lets say \Model\man.mrs or, \Model\women.mrs ok first make a folder in the same place as info.ini and, call it Model now open it and, drag and, drop women.mrs and, man.mrs in to it and, here is what the info.ini would look like just learn from this.
[VERSION]
Version=2
GameFileName=gunz.exe
Max=4
[FILES]
FileName1=Gunz.exe
FileVersion1=2
FileName2= system.mrs
FileVersion2=2
FileName3= Model/man.mrs
FileVersion1=2
FileName4= Model/women.mrs
FileVersion2=2
this should work fine cheers. If you have any problems at all please reply to this topic enjoy. Again here is the download for, the updater.
http://www.autumnkittens.com/updater/gunzupdater.rar
Re: [Release] Gunz launcher and TUT
Re: [Release] Gunz launcher and TUT
Quote:
Originally Posted by
soul2k90
wow thank you so much
[FONT='Times New Roman'][COLOR=#000000]No problem if you have any problems or, want my site link removed from the launcher just ask or, if you want a different logo set or, a new background I made this is visual basic so, I can edit anything if I want I
Re: [Release] Gunz launcher and TUT
It's ok, I guess, but it's way too similar to Aweb's launcher with the whole config thing. The interface is kinda lackluster, and it's kinda easily bypassed if you planned on using it to replace edited files in clients as well. They just need to run the update once then edit files to their heart's content since it wouldn't update again. Going by version = bad idea. Use filehash checks, much better.
Maybe it's just me, but the interface is kinda bad. You can go a lot farther, even in VB. I made one that looks like the official launchers.
http://i38.photobucket.com/albums/e1...auncherpix.png
That was in VB.NET. Yours isn't bad though. Nice job.
Re: [Release] Gunz launcher and TUT
I updated the config I just replaced the auto run with a new line now the config is just one line the rest will be shot out pretty simple to speed up the downloads around 20% and I updated the interface a tiny bit the config is now just.
[Launcher]
path=
oh thanks for the comment RepublicOfAstra thats a pretty nice launcher like I said if anyone wants somthing like that its easy to make just post some good grapics for me to use for you and again please if there is any bugs tell me right away I only put about 10mins of work in to this I'm trying to make this easy to work with and no bugs.
Re: [Release] Gunz launcher and TUT
filehash checks takes more time...
Re: [Release] Gunz launcher and TUT
Can u help me make a websitesite and conect to my server
Internet: Rogers + wrieless
Dlink somthing
Re: [Release] Gunz launcher and TUT
Quote:
Originally Posted by
MAXTRAXv3
filehash checks takes more time...
Not very much and I based my launcher and updater more of the file hash subject I used somthing like a ladder I like it more than filehashing but thats just me. filehash may be better I'm not sure they both seem pretty good. they get the job done thats all that really matters.
Re: [Release] Gunz launcher and TUT
What did you use for the download part, like wininet or something?
Re: [Release] Gunz launcher and TUT
Quote:
Originally Posted by
RepublicOfAstra
What did you use for the download part, like wininet or something?
No nothing like this my one is very old school I just abused
If Mid$(path, 8, 4) <> "www." Then
path = "Welcome to RaGEZONE." & Mid$(path, 5)
thats all I'm going to post I toke the idea from my old mmorpg it just requests the files from the servers and sends them in packets to the launcher sounds strange but works fine
Re: [Release] Gunz launcher and TUT
aww my updater address is 84.***.**.**/updater
(84.***.**.**=ip)
but when im puting it in updateconfig
it makes it
http://www.84.***.**.**/updater
and this is aint working..
Re: [Release] Gunz launcher and TUT
Quote:
Originally Posted by
ssj400
aww my updater address is 84.***.**.**/updater
(84.***.**.**=ip)
but when im puting it in updateconfig
it makes it
http://www.84.***.**.**/updater
and this is aint working..
Try using a no-ip account
Re: [Release] Gunz launcher and TUT
This owns man!!! :D
Just where I was waiting for!!! XD
Re: [Release] Gunz launcher and TUT
try this site fileXoom - Free File Hosting - 2GB Storage - Unlimited Bandwidth! 2 gig hosting FREE
works with the updater(i have done it)
Re: [Release] Gunz launcher and TUT
Nice man, I could use that upload server for my own private server DutchGunz :D