|
You last visited: Today at 06:04
Advertisement
[Guide] Autopatch server explained
Discussion on [Guide] Autopatch server explained within the CO2 Guides & Templates forum part of the Conquer Online 2 category.
09/05/2008, 14:00
|
#16
|
elite*gold: 0
Join Date: Nov 2007
Posts: 306
Received Thanks: 75
|
@peopel wanting forms:
This will use the built-in autopatcher that conquer has, but instead of updating with TQ it will update with your server, the console app is the server, not the patcher.
however, I do agree that a more elaborated guide would be nice, and a complete server script for the console app instead of an example of using sockets would be sweet aswell, I'd give *thanks for that
|
|
|
09/05/2008, 14:06
|
#17
|
elite*gold: 0
Join Date: Oct 2006
Posts: 800
Received Thanks: 89
|
Quote:
Originally Posted by Rechocto
@peopel wanting forms:
This will use the built-in autopatcher that conquer has, but instead of updating with TQ it will update with your server, the console app is the server, not the patcher.
however, I do agree that a more elaborated guide would be nice, and a complete server script for the console app instead of an example of using sockets would be sweet aswell, I'd give *thanks for that
|
All people here want is ready made stuff xD
I even made it in C# which I never code in just because it's what most people here "know", so there's nothing stopping them from putting in a little effort.
I'm trying to force 'em to stop being lazy and actually learn something
That's worth more to me than whether or not I get people to click a "Thanks" button.
|
|
|
09/05/2008, 14:12
|
#18
|
elite*gold: 0
Join Date: Nov 2007
Posts: 306
Received Thanks: 75
|
@mushy - I know what you mean, A lot of the premade code you cant tell is reposted by how it's written.. one example I posted earlier this week was something like
if(blahblah==1)
{
somefunction(blah blah 'a');
sendpacket('something);
action=100;
}
else if (blahblah==2)
{
somefunction(blah blah 'b')
sendpacket('something);
action=100;
}
and so on and i was like "you need to fix this:
string c = null;
switch(blahblah) {
case 1: c = 'a'; break;
case 2: c = 'b'; break;
//---
}
somefunction(blah blah + c)
sendpacket('something);
action=100;
"
but still, I do have a question on your guide:
Quote:
Client: 5056
Server: UPDATE 64.151.87.40 enzf/5057.exe
|
it will automatically goto , or ?
|
|
|
09/05/2008, 14:17
|
#19
|
elite*gold: 0
Join Date: Oct 2006
Posts: 800
Received Thanks: 89
|
Quote:
Originally Posted by Rechocto
I do have a question on your guide:
Quote:
Client: 5056
Server: UPDATE 64.151.87.40 enzf/5057.exe
|
it will automatically goto , or ?
|
That response from the server will get CO's Autopatcher to kick in, download the file from in this case and execute it upon downloading, then starting the conquer game.
Aka it does the exact same the normal autopatch would do, we just supply it with a different download server.
Hope that answered your question.
|
|
|
09/05/2008, 14:20
|
#20
|
elite*gold: 0
Join Date: Nov 2007
Posts: 306
Received Thanks: 75
|
k, thanks, just making sure if i tell it to goto an exefile it wont goto co.91.com/enzf/5057.exe (in this case)
|
|
|
09/05/2008, 15:29
|
#21
|
elite*gold: 0
Join Date: Feb 2008
Posts: 668
Received Thanks: 160
|
@ MushyPeas,
Could you better explain that ports? How people will be able to connect to the AutoPatcher, while the port is different?
|
|
|
09/05/2008, 15:57
|
#22
|
elite*gold: 0
Join Date: Oct 2006
Posts: 800
Received Thanks: 89
|
Quote:
Originally Posted by YukiXian
@ MushyPeas,
Could you better explain that ports? How people will be able to connect to the AutoPatcher, while the port is different?
|
Updated first post to be more elaborate on editing ip and ports in the config files, read that.
|
|
|
09/05/2008, 17:20
|
#23
|
elite*gold: 0
Join Date: Nov 2007
Posts: 306
Received Thanks: 75
|
so...... since Im new to C#.. in VB it would be..
dim s as string
ws.getdata(s)
if s < curver then ws.senddata (s+1) & vbcrlf else: ws.senddata "READY"& vbcrlf
ws.senddata vbcrlf
but, how would I do that with C#?
|
|
|
09/05/2008, 17:37
|
#24
|
elite*gold: 0
Join Date: Feb 2008
Posts: 668
Received Thanks: 160
|
lol What port you recommer to use, and how people will be able to AutoPatch them?
So I'm using Hamachi, I have to edit the IP to my Hamachi IP, and the patch, Is like this? site/Patch/patch01.exe?
|
|
|
09/05/2008, 19:04
|
#25
|
elite*gold: 0
Join Date: Nov 2007
Posts: 306
Received Thanks: 75
|
So I telnetted into 69.59.148.97 on port 9528, and it does indeed use "UPDATE <ip> <folder>/<file>" and "READY", but whenever I send "READY" back to the client, it asks if I want to retry bypass or manual patch... any suggestions?
|
|
|
09/05/2008, 20:43
|
#26
|
elite*gold: 0
Join Date: Oct 2006
Posts: 800
Received Thanks: 89
|
Quote:
Originally Posted by Rechocto
so...... since Im new to C#.. in VB it would be..
dim s as string
ws.getdata(s)
if s < curver then ws.senddata (s+1) & vbcrlf else: ws.senddata "READY"& vbcrlf
ws.senddata vbcrlf
but, how would I do that with C#?
|
Have you tried it without the carriage return / line feeds?
Because those were not used in the original packets.
Quote:
Originally Posted by YukiXian
lol What port you recommer to use, and how people will be able to AutoPatch them?
So I'm using Hamachi, I have to edit the IP to my Hamachi IP, and the patch, Is like this? site/Patch/patch01.exe?
|
Use any port you want as long as you're not using it for something else.. it really doesn't matter.
|
|
|
09/05/2008, 21:52
|
#27
|
elite*gold: 0
Join Date: Jun 2005
Posts: 692
Received Thanks: 353
|
Quote:
Originally Posted by MushyPeas
That response from the server will get CO's Autopatcher to kick in, download the file from in this case and execute it upon downloading, then starting the conquer game.
Aka it does the exact same the normal autopatch would do, we just supply it with a different download server.
Hope that answered your question.
|
Actually, I think it's supposed to be an FTP server.
Code:
Successfully connected to: 121.207.249.53:9528
Sent client version (4351)
Received packet: UPDATE 69.59.146.124 enzf/4352-4358.exe
ftp://69.59.146.124/enzf/
#edit
Looks like it can fail too...
Code:
Successfully connected to: 121.207.249.53:9528
Sent client version (4000)
Received packet: FAIL
Code:
Successfully connected to: 69.59.148.97:9528
Sent client version (5061)
Received packet: FAIL
|
|
|
09/05/2008, 22:59
|
#28
|
elite*gold: 0
Join Date: Oct 2006
Posts: 800
Received Thanks: 89
|
Quote:
Originally Posted by nTL3fTy
Actually, I think it's supposed to be an FTP server.
Code:
Successfully connected to: 121.207.249.53:9528
Sent client version (4351)
Received packet: UPDATE 69.59.146.124 enzf/4352-4358.exe
ftp://69.59.146.124/enzf/
#edit
Looks like it can fail too...
Code:
Successfully connected to: 121.207.249.53:9528
Sent client version (4000)
Received packet: FAIL
|
I'm not 100% sure but I believe it can be either one, since I don't even run an ftp server and it worked fine (unless apache comes with an ftp serv too? :x), I believe the autopatcher tries both.
And yea I know it can "FAIL" but I don't really see why it would be needed, since you either update or you don't.
|
|
|
09/06/2008, 00:45
|
#29
|
elite*gold: 0
Join Date: Jun 2005
Posts: 692
Received Thanks: 353
|
Quote:
Originally Posted by MushyPeas
I'm not 100% sure but I believe it can be either one, since I don't even run an ftp server and it worked fine (unless apache comes with an ftp serv too? :x), I believe the autopatcher tries both.
And yea I know it can "FAIL" but I don't really see why it would be needed, since you either update or you don't.
|
Maybe, but it seems like TQ's autopatch server only responds with an FTP server:
doesn't work.
|
|
|
09/06/2008, 01:11
|
#30
|
elite*gold: 0
Join Date: Oct 2006
Posts: 800
Received Thanks: 89
|
Quote:
Originally Posted by nTL3fTy
Maybe, but it seems like TQ's autopatch server only responds with an FTP server:
doesn't work.
|
Well yea but thats because it's an ftp server, the autopatcher can't change an ftp server into a http server either but it can work with either one as far as I know.
|
|
|
|
|
Similar Threads
|
[Guide] Autopatch
09/21/2023 - EO PServer Guides & Releases - 24 Replies
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
http://i230.photobucket.com/albums/ee313/hio77/au topatchv3.jpg
ok how to use this ....
|
[Guide(s)] Autopatch,Fixing MSg server prob,Changing music to your server.
10/17/2009 - EO PServer Guides & Releases - 5 Replies
Alright first of all i'm sure someone posted these but i see threads of people looking for help so i'm going to explain in great detail how to do such things...
i will add more when i see fit. or i see them posted and add them.
#please sticky
Forcers autopatch2.exe setup....
First put the autopatch and config.ini wherever, and if your on a router open port 9528 tcp/udp i think thats the only one you need i'm not sure.
|
Honor hack for private server (Explained guide)
11/19/2008 - Cabal Guides & Templates - 3 Replies
Working only on private servers
1.Start cheat engine (i use 5.4)
2.Click on that computer in top left corner
3.Look for aplication called "Cabalmain.exe"
4.Press "OK"
5.Look in game for you honor ammount
6.In cheat engine at value enter you honor ammount (ex. if you have 17445 write 17445)
7.Click on "First Scan"
8.In the right box will appear some adress and values double click on first one
|
SERVER PROBLEMS EXPLAINED
10/20/2007 - Conquer Online 2 - 0 Replies
Hi ,
just found this post from shaheen on the conquer forum;he says its due to the expire date , but according to me expiration got nothing to do with the server downtime because the domain is not needed to connect to either the login server.
Can anyone confirm this or am i wrong about this
i send that Thread and i know it will be close or move to Recycle Bin
But i want tell all players The true of problem of ( Connecting Failed Due To Server Maintenance Or Internet Congestion...
|
All times are GMT +2. The time now is 06:04.
|
|