[Request] AutoPatch script!

09/01/2008 08:39 YukiXian#1
Hey, Someone got the AutoPatch script?
09/01/2008 08:58 ramiz#2
Auto patch script ????
the autopatch isn't added to server project
u see that if u open AutoPatch.dat found in CO folder u can see the ip address the patches are downloaded from as for other things u got to figure urself
09/01/2008 14:13 plasma-hand#3
Quote:
Originally Posted by ramiz View Post
Auto patch script ????
the autopatch isn't added to server project
u see that if u open AutoPatch.dat found in CO folder u can see the ip address the patches are downloaded from as for other things u got to figure urself
wtf lol hes wanting to know how to make one and so am I
09/01/2008 15:35 keving#4
hmm maybe change autopatch to your Server make your Server listen on the port :)
Now you only need wich answers the autopatch server sends to you :)
And maybe you got the original to make works on yours :)
09/01/2008 16:33 MushyPeas#5
Content moved to a dedicated topic here:

[Only registered and activated users can see links. Click Here To Register...]
09/01/2008 23:38 keving#6
Yea that i mean :P
09/02/2008 10:10 ~Yuki~#7
Well i got a better one :P
09/02/2008 12:15 MushyPeas#8
Quote:
Originally Posted by keving View Post
Yea that i mean :P
If that's what you meant then how come it looks nothing like what you posted?

Quote:
Originally Posted by lolmaster123 View Post
Well i got a better one :P
Theres no "better" one, this is just the way CO's autopatch works.
09/02/2008 15:26 keving#9
I mean that with TCP Connection :) But dont need with Informations the send ty alot.

Edit1: I got the Client Version but at Convert "UPDATE " into byte and send over suck i failed.

If some1 help me will be nice.

After the PatchServer works i release it.
09/03/2008 23:48 nTL3fTy#10
Quote:
Originally Posted by MushyPeas View Post
I think all you need is a simple tcp/ip connection to the autopatch server (official: 69.59.148.97 on port 9528)

The communication goes like this:

Client not up to date?
Code:
Client: 5056
Server: UPDATE
Server: 64.151.87.40
Server: enzf/5057.exe
Client already up to date
Code:
Client: 5057
Server: READY
So if you code your own autopatch server you will have to check the client's version against the latest version and if he's up to date all you have to send back is "READY".
If he's not up to date u send back 3 packets:
- The first one is "UPDATE".
- The second one contains the IP address of the server where you host your updates / patches.
- The third is the folder and file name of the update / patch.

edit: Oh and after you set up your own autopatch server (you have all the info you need now) make sure you edit your autopatch.dat to point to your server instead of TQ's.
I just tested it.. and received one packet upon response.
[Only registered and activated users can see links. Click Here To Register...]
09/04/2008 00:46 MushyPeas#11
Quote:
Originally Posted by nTL3fTy View Post
I just tested it.. and received one packet upon response.
You're right, I only get 1 packet now too, for some reason it showed up in 3 seperate packets for me the first time, I will edit my first post now.
Thanks for checking it out xD

Dedicated topic for this: [Only registered and activated users can see links. Click Here To Register...]

I have updated it and it should be all correct and easy to understand now.
09/04/2008 01:21 nTL3fTy#12
Quote:
Originally Posted by MushyPeas View Post
You're right, I only get 1 packet now too, for some reason it showed up in 3 seperate packets for me the first time, I will edit my first post now.
Thanks for checking it out xD

Dedicated topic for this: [Only registered and activated users can see links. Click Here To Register...]

I have updated it and it should be all correct and easy to understand now.
Good work either way. ;)
09/05/2008 19:19 Rechocto#13
When you send "READY" back from your autopatch server, the client disconnects from it, but doesn't continue on, it just asks if you wish to retry, manual patch, or bypass