[Guide] Autopatch

04/13/2009 01:37 hio77#1
hey all,

a lot of people ask me about auto patches and patches so heres a guide for you all :)

first the auto patch server

[Only registered and activated users can see links. Click Here To Register...]

ok how to use this ....

on the first setup you should put your current client version in the latest patch version box

as you see in this screen shot it is currently at version 1010

this means anyone with a client lower than version 1010 will get 1 added to the version number they already have and then that patch will be downloaded

next up is the Auto patch port this is the port number in which you will put in the socketConfigs.ini (I'm not at home and don't have a client to check the spelling of this sorry) normally people would use 9528 as it is the default

After this you need to put your domain name if your using a sub domain for example
Code:
sub.google.com
then you would put that in this box

after than is the Absolute path ... in this box you will put the exact path to the folder containing the patches they can be as deep in your site as you want for eample
Code:
eo/downloads/patches/new
after this the patcher will work perfectly

Now for the advance options

Bundling patches:

this is were you take a set of patches (say patch 1000-1050) and put them all into one patch then when you upload it it must go to the same folder as the rest of your patches

for this option you can call the patch whatever name you want (bundle01 for this example)

once you upload your bulk patch you need to add each patch to the box

so start at 1000 and type bundle01
now do 1001 and type bundle01
and keep going till 1049

for those of you wanting to make your own here is how it works
Quote:
how this works:

Code:
the server and auto patch client are both just basic TCP servers working very much like telnet(you can log into the server using telnet)
when the client connects to the server it sends a message
 
(client version [COLOR=darkorange]6015[/COLOR])
 
[FONT=monospace]Client: [COLOR=darkorange]6015[/COLOR][/FONT]
[FONT=monospace]Server: [COLOR=red]READY[/COLOR][/FONT]
 
or
 
(client verson [COLOR=darkorange]6014[/COLOR])
 
Client: [COLOR=darkorange]6014[/COLOR]
Server: [COLOR=red]UPDATE [/COLOR][COLOR=black][COLOR=lime]down.example.com/[/COLOR][COLOR=blue]patches/eo/[/COLOR][/COLOR][COLOR=darkorange]6015[/COLOR].exe
OK now for making a patch
i will use my newest patch to do this (which is adding a new login screen)

step 1:
[Only registered and activated users can see links. Click Here To Register...]
make a folder with the patch number as the name(makes it easy)

step 2:
[Only registered and activated users can see links. Click Here To Register...]
make the directory's you are going to update and put the version.dat in as well

step 3:
[Only registered and activated users can see links. Click Here To Register...]
open the version.dat in notepad

step 4:
[Only registered and activated users can see links. Click Here To Register...]
put the number up by 1 and save

step 5:
[Only registered and activated users can see links. Click Here To Register...]
add the sub directory's

step 6:
[Only registered and activated users can see links. Click Here To Register...]
add the files you are wanting to update

step 7:
[Only registered and activated users can see links. Click Here To Register...]
select all the files in the folder and right client then go add to archive...

step 8:
[Only registered and activated users can see links. Click Here To Register...]
check that it is set out like this then click OK

step 9:
[Only registered and activated users can see links. Click Here To Register...]
open the newly added rar and click SFX

step 10:
[Only registered and activated users can see links. Click Here To Register...]
click Advanced SFX options

step 11:
[Only registered and activated users can see links. Click Here To Register...]
check the settings are like this under then General tab

step 12:
[Only registered and activated users can see links. Click Here To Register...]
check the settings under the Modes tab

step 13:
[Only registered and activated users can see links. Click Here To Register...]
check the settings under the Update tab

step 14:
[Only registered and activated users can see links. Click Here To Register...]
check the settings under the text and icon tab < this is optional and is not needed

Step 15:
[Only registered and activated users can see links. Click Here To Register...]
if this is the first time setting up a patch i suggest you click the Save Current Settings as default so that you dont need to set this all up over and over again :)

step 16:
click OK and OK again then close win rar

step 17:
[Only registered and activated users can see links. Click Here To Register...]
there is now a exe file made that is ready to be uploaded to the same place as the auto patch server is to download it

Finshed

feel free to ask more if you don't understand :rolleyes:


hio77
04/13/2009 07:38 forcer#2
good work hio77
04/13/2009 07:42 hio77#3
Quote:
Originally Posted by forcer View Post
you got bind functionality absolutely wrong.
bind is for cumulative patches.
autopatch automatically knows that when you send 3001 it will require client to download 3002.
Code:
latestpatchver=6015  <the number of the newest patch
ip=down.example.com <your website address to the patches[B][COLOR=red](no / needed in the path)[/COLOR][/B]
dir=patches/eo <the directory in which the patches are stored
bind 6004 = 6004-6015 [B][COLOR=red]< you should only use this 
when you want to send something other than 6005.exe to the client.[/COLOR][/B]
you share old autopatch server, there is new one available already!
please read [Only registered and activated users can see links. Click Here To Register...]
yes i learned that today when i was messing around with the patches and kinda forgot to update this :D
04/13/2009 10:33 rexes13#4
ty hio77 for showing how to make an sfx i didnt know that ...yeah i know it hears noobie but i didnt....
04/13/2009 11:37 hio77#5
Quote:
Originally Posted by rexes13 View Post
ty hio77 for showing how to make an sfx i didnt know that ...yeah i know it hears noobie but i didnt....
np lol :P everyone has some noob streek :D or things they don't know myself i gessed ALL of that the first time i ever made a fully working patch

hio77
08/06/2009 13:36 forcer#6
hio, please update your autopatch link to [Only registered and activated users can see links. Click Here To Register...]
08/08/2009 11:36 hio77#7
Quote:
Originally Posted by forcer View Post
hio, please update your autopatch link to [Only registered and activated users can see links. Click Here To Register...]
UPDATED! ^_^
08/08/2009 11:44 rexes13#8
the updated guide.....looks a lot great...thnx forcer and hio77
08/08/2009 12:52 hio77#9
Quote:
Originally Posted by rexes13 View Post
the updated guide.....looks a lot great...thnx forcer and hio77
all i did is took the old out and put new in lol
08/08/2009 14:29 King_Arthur#10
Good looking guide. Well done :)
08/08/2009 16:04 forcer#11
hio just a hint: I would add editing of actual AutoPatch\SocketConfig.ini in client folder, so it would be complete.
08/08/2009 23:00 hio77#12
Quote:
Originally Posted by forcer View Post
hio just a hint: I would add editing of actual AutoPatch\SocketConfig.ini in client folder, so it would be complete.
lmao yea might pay to add that too .... hmmm ill do it when i get back from seeing my gf
05/16/2010 21:20 abdeen#13
what i need to configure in the client to get this auto patch work ??
05/16/2010 22:00 hio77#14
Quote:
Originally Posted by abdeen View Post
what i need to configure in the client to get this auto patch work ??
you need to edit SocketConfig.ini and change it to your ip ...

you may edit config.ini to change the txt and actions of the patcher ... if needed ill add to my guide
06/26/2010 15:50 drukkie#15
hi all..

i want to let autopatch download it from the website..
but i realy dont know where to put the patch in my website:S
maybe someone off u guys can tell me if there is something about this already pls give me an link thanks alot:)