Hey, Someone got the AutoPatch script?
wtf lol hes wanting to know how to make one and so am IQuote:
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
I just tested it.. and received one packet upon response.Quote:
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?
Client already up to dateCode:Client: 5056 Server: UPDATE Server: 64.151.87.40 Server: enzf/5057.exe
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".Code:Client: 5057 Server: 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.
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.Quote:
I just tested it.. and received one packet upon response.
Good work either way. ;)Quote:
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.