Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server > CO2 PServer Guides & Releases
You last visited: Today at 11:43

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Guide] Downgrade to Conquer 1.0 (Patch 4267 / 4274)

Discussion on [Guide] Downgrade to Conquer 1.0 (Patch 4267 / 4274) within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,190
[Guide] Downgrade to Conquer 1.0 (Patch 4267 / 4274)

Account Server

On Server Load:
Make sure you're generating IVs (initializing the authenication cipher) on
server start up or before the client needs to use the cipher.

Connect Socket Event:
If you're sending packet 1059 from patch 5187 and up, remove it. The
connect socket event should only initialize the client / socket passport &
authentication cipher (which you can get from Impulse's source or from
CO2_CORE_DLL by CptSky).

Receive Socket Event:
The first packet you'll receive is packet 1051. Packet 1051 contains the
account id (offset 4, length 16), the password (offset 20, length 16), and
the server name (offset 36, length 16). If you're using packet 1086 or 1060,
you'll change it out with this one. It's of length 52.

The password is encrypted using this cipher ().
Sorry that it uses pointers. If you make a non-pointer version, feel free to
post it (the same goes with any other additions you might have to the guide).

Next, you'll need to send the authentication forward / response message. It's
id is the same as it's always been: 1055. The length is 32, Identity @
offset 4, forward token @ 8, ip address @ 12, length 16, and the port is @
offset 28. You don't need to add an extra 16 bytes for the ip address. The
game server rejects the account if it's wrong (NOT the account server), so
you might want to encrypt it or put it into a dictionary if your servers are
dependent on one another.

Game Server

On Server Load:
Make sure you're generating IVs (initializing the authenication cipher) on
server start up or before the client needs to use the cipher.

Connect Socket Event:
Same as usual except you won't be using Blowfish or Cast. The game client
uses the Account Server's cipher (NetDragon's Asymmetric Authentication
Cipher) as well. Initialize the cipher like you did in the account server.
Initialize the client and socket passport as usual.

On Authentication Receive:
You'll receive the first packet (packet 1052) from the client. It contains the
token (offset 8) and account identity (offset 4) that you sent in packet
1055. You'll use those to generate keys for the cipher. After generating keys,
you'll send the ANSWER_OK or NEW_ROLE message like you have been doing
for a long time (take note that the message packet was changed in 5017.
Look at "Tips" below). The character info packet is available on my new wiki
(which STILL isn't finished yet):

If you're having a hard time with packets, my wiki should help you get logged
in: . I'll try
finishing it this week if I have time.

On Data Receive:
So now that you sent the character info packet (1006), you'll start receiving
general actions. The general action packet can be found here:
. You'll start by
getting subtype 137 (Retrieve Location). It's pretty easy. X = Character.X, Y
= Character.Y, and the primary action is the character's map id.

Then, you'll receive a few other subtypes: 138 (Retrieve Items), 139
(Retrieve Friends), 150 (Retrieve Spells), 151 (Retrieve Guild Info), 152
(Change / Set PK Mode), and 170 (Retrieve Surroundings). You'll have to
send this packet back to the client each time to successfully log in, and
that's it!

Tips

Jumping: Jumping is controlled by the general data packet (subtype
142). The character's X is the primary action. The character's Y is the
secondary action.

Chat: Client Messages have a new packet (including the message you
send for ANSWER_OK). For the structure, look here:
.

TQServer Tag Not Used: You don't have to add an extra 8 bytes to
the end of a packet because the game server doesn't send "TQServer" in
Conquer 1.0. It's just a straight up packet with a packet length like in the
Account Server.

That's it for now. Good luck.
Sincerely,
Spirited Fang
Spirited is offline  
Thanks
7 Users
Old 03/09/2012, 21:50   #2
 
.Ryu's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 583
Received Thanks: 119
Very cool didn't think any one would actually make a guide like this :P
.Ryu is offline  
Old 03/09/2012, 23:38   #3
 
2slam's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 586
Received Thanks: 336
gorgeous effort!
2slam is offline  
Old 03/20/2012, 18:54   #4
 
×Holo's Avatar
 
elite*gold: 0
Join Date: Mar 2012
Posts: 286
Received Thanks: 71
Great job fang, kiu!
×Holo is offline  
Reply


Similar Threads Similar Threads
i have question in conquer 4267
04/09/2011 - CO2 Private Server - 8 Replies
when i vending in market i click my Shop ... only show the buyButton i can't add item and remove item in my shop... why that? and how to fix that? this is the screen ... http://am.img1001.com/uu_1104_2/newzf_4_1_45d6b0b b6614a1c.png
[Development] 4267 conquer server.
06/16/2010 - CO2 Private Server - 408 Replies
Heya, I've started a new development for a classic co server as I never saw one succesfull build up with a from scratch written and not leeched source. We're currently aiming to add-in bot protection, proxy detection and various protections to prevent hacking. So let's talk more about the source itsself, It's made from scratch and self written socket system, database handling is currently flatfile based. The loginserver is done but we're working on the gameserver now. (Will be...
Conquer 4267 Login Sequence
01/25/2010 - CO2 Private Server - 28 Replies
Anyone remember it? Ive got to the game server and im receiving a 1010:137 Packet which is empty except for my Character ID, Ive tried the following: Respond with identical packet - Displays interface, servername, cords 0,0, with the message "Logging into server.....please wait", opening interface panels scars the background. Respond with 1010:74 packet - Nothing changes, remains with the black login screen, so im assuming that the client doesnt understand it at this version. Respond...
[GUIDE] fixing your conquer after patch 5102 errors when using CID
02/27/2009 - Conquer Online 2 - 4 Replies
As we all know that after the patch5102 there are so many errors. CID users in patch5101 experience errors like no server image or error server.dat. heres a step by step way of fixing the problem without downloading a new client: 1. Go to conquer folder found in your " C:// " drive. 2. Once found try to search for the oldest patch found in your conquer folder. 3 The old patch i have is patch 5010. click it until autopatch comes out. 4 Once conquer image found in your screens try to...



All times are GMT +1. The time now is 11:47.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.