Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 09:19

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

Advertisement



[Workshop] Updating code to work post client V.5018

Discussion on [Workshop] Updating code to work post client V.5018 within the CO2 Private Server forum part of the Conquer Online 2 category.

Closed Thread
 
Old 01/22/2009, 17:42   #76
 
Hyberkill's Avatar
 
elite*gold: 0
Join Date: Jun 2006
Posts: 52
Received Thanks: 0
ty haydz... maybe u can add me on msn so we can further chat : , i wonder which byte to send to the client... there are 2 : ClientIV and ServerIV. I tryed sending both n nothing happens.. , neither when sending each separately.
Hyberkill is offline  
Old 01/23/2009, 13:43   #77
 
unknownone's Avatar
 
elite*gold: 20
Join Date: Jun 2005
Posts: 1,013
Received Thanks: 381
The ClientIV and ServerIV aren't values that are sent (except in fields of ServerKeyPacket), they are initialization vectors, used in Blowfish. The reason for IVs is, the blowfish cipher works in rounds of 64-bits, and in a stream, with each 64-bits of data, the encryption depends on the previous 64-bits of the stream. This means, if you miss some data from the stream you're ******, because it'll mess up everything following it.
The problem of course with this, is, the first 64 bits have no previous 64 bits to use for encryption, hence, Initialization vectors.

If you're using my code, you shouldn't be even touching IVs. Don't modify my code, unless you have a good reason to do so (Other than the KeyPakcet constructors I commented out, I doubt it). You should save this **** into seperate class files and mark them read-only so you don't **** anything up. Only thing you should be doing is instantiating the classes I've written.
unknownone is offline  
Thanks
3 Users
Old 01/23/2009, 14:22   #78
 
Hyberkill's Avatar
 
elite*gold: 0
Join Date: Jun 2006
Posts: 52
Received Thanks: 0
ok... the client connects fine to the gameserver but it doesnt send any other packet to the gameserver.... why's that?
Hyberkill is offline  
Old 01/23/2009, 17:40   #79
 
© Haydz's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 1,042
Received Thanks: 252
Quote:
Originally Posted by Hyberkill View Post
ok... the client connects fine to the gameserver but it doesnt send any other packet to the gameserver.... why's that?
Because then you have to do the exchange... When a client connects you send the ServerKeyPacket to them, they then reply with a clientkeypacket.
© Haydz is offline  
Thanks
1 User
Old 01/24/2009, 01:36   #80
 
Hyberkill's Avatar
 
elite*gold: 0
Join Date: Jun 2006
Posts: 52
Received Thanks: 0
i actually tryed sending the publickey which it generates n i keep getting dced for that xD even if its encrypted with the new or old or non encrypted way...
[EDIT] i managed to send the public key without troubles now... but i guess it doesnt work coz i dont recieve the clientkey...(An established connection was aborted by the software in your host machine - thats the error...)
Hyberkill is offline  
Old 01/24/2009, 15:25   #81
 
© Haydz's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 1,042
Received Thanks: 252
You don't send the Key... you send the buffer
© Haydz is offline  
Thanks
1 User
Old 01/25/2009, 13:23   #82
 
Hyberkill's Avatar
 
elite*gold: 0
Join Date: Jun 2006
Posts: 52
Received Thanks: 0
I decrypt the 2nd packet (the packet after the login packet(with the username n pass)) both ways n i encrypt the serverkeypacket _buffer both ways... n i get that **** exception n the client freezes at "Connecting to gameserver" while the server disconnects the socket giving that exception
Hyberkill is offline  
Old 01/25/2009, 16:44   #83
 
© Haydz's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 1,042
Received Thanks: 252
Well everything you need is here, if i told you anything else i'd be practically giving it away...

Oh and on a side note

I officially logged into 5097 earlier

Need to do considerable amount of work on the char info packet though... everythings all over the place >.>
Attached Images
File Type: jpg 18780054.jpg (432.4 KB, 91 views)
© Haydz is offline  
Old 01/26/2009, 15:05   #84
 
Hyberkill's Avatar
 
elite*gold: 0
Join Date: Jun 2006
Posts: 52
Received Thanks: 0
well.... i try n try there are some people that even dont give a small effort to make it..they just w8 for it to be released.... n they get what i want.. but people like me who try as hard as we can, noone willing to help out..
Hyberkill is offline  
Old 01/26/2009, 21:00   #85
 
elite*gold: 20
Join Date: Aug 2005
Posts: 1,734
Received Thanks: 1,001
Yep yep, got it working as of today. (Previous attempts were... not so succesful) :P
tanelipe is offline  
Old 01/26/2009, 21:02   #86
 
Hyberkill's Avatar
 
elite*gold: 0
Join Date: Jun 2006
Posts: 52
Received Thanks: 0
how did u do it?
Hyberkill is offline  
Old 01/26/2009, 21:05   #87
 
elite*gold: 20
Join Date: Aug 2005
Posts: 1,734
Received Thanks: 1,001
Followed the instructions here and got a bit help from friend
tanelipe is offline  
Old 01/26/2009, 21:07   #88
 
Hyberkill's Avatar
 
elite*gold: 0
Join Date: Jun 2006
Posts: 52
Received Thanks: 0
can u give me just a lill hint
ill try to do it myself
Hyberkill is offline  
Old 01/26/2009, 21:13   #89
 
elite*gold: 20
Join Date: Aug 2005
Posts: 1,734
Received Thanks: 1,001
Code:
 
Handshake hs = (Sender.Crypto as GameCipher).Exchange.CreateHandshake();
byte[] Packet = hs.GetBytes();
Sender.Send(Packet, Packet.Length);
This is what I do when the client connects game server. What I have defined as Handshake is ServerKeyPacket in unknownone's guide; And then I just process the packet received from client and set certain variable to indicate that I have received it.
tanelipe is offline  
Thanks
1 User
Old 01/26/2009, 21:39   #90
 
Hyberkill's Avatar
 
elite*gold: 0
Join Date: Jun 2006
Posts: 52
Received Thanks: 0
i figured out what needs to be changed in the packet... now i just need to figure out with what to change it. Maybe i should add +1 to each of the 3 values? or what? any ideas? Been trying to get this thing workin for so long.... n finally im so close.....
Hyberkill is offline  
Closed Thread


Similar Threads Similar Threads
sunworld client not updating
07/18/2009 - SRO Private Server - 7 Replies
i have downloaded the the client but its not updating its matter thats im using windows 7? i did "run as administrator"
omg most hack wont work in new patch 5018
03/18/2008 - Conquer Online 2 - 14 Replies
most of hack doesnt work sv,and most of all cotobo :(
Multi Client for patch 5018
03/18/2008 - CO2 Exploits, Hacks & Tools - 3 Replies
Hi all ... This is my 1st time 2 post a work for me .. feel free 2 ask or say ur opinion. If any1 no how 2 make multi client work for cotobo or hook it wid cotobo .. i ll be thankful Good Luck.



All times are GMT +1. The time now is 09:19.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.