Register for your free account! | Forgot your password?

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

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

Advertisement



Conquer 4267 Login Sequence

Discussion on Conquer 4267 Login Sequence within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 11/07/2009, 17:22   #16
 
unknownone's Avatar
 
elite*gold: 20
Join Date: Jun 2005
Posts: 1,013
Received Thanks: 381
Quote:
Originally Posted by Korvacs View Post
You have to make sure that the x and y cords of the player who is picking something up is included in that packet, otherwise it will never show the animation.

@unknownone:

I never receive the 0xBE packet once the sequence is finshed, its identical to what youve written, although ive handled the 0x98 packet aswell so that the pk mode is correct, any ideas?
Gimme a full log from login to where it stops recving
unknownone is offline  
Old 11/07/2009, 18:09   #17


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
Quote:
Originally Posted by unknownone View Post
Gimme a full log from login to where it stops recving
No real point in me writing some form of in depth log system for you to read what youve just given me.

Code:
[GameServer] Incoming 1010:137 Packet
[GameServer] Sent 53 Bytes
[GameServer] Sent 28 Bytes
[GameServer] Sent 28 Bytes
[GameServer] Incoming 1010:170 Packet
[GameServer] Incoming 1010:138 Packet
[GameServer] Unhandled 1010:138 Packet
[GameServer] Sent 28 Bytes
[GameServer] Incoming 1010:139 Packet
[GameServer] Sent 28 Bytes
[GameServer] Incoming 1010:152 Packet
[GameServer] Incoming 1010:150 Packet
[GameServer] Sent 28 Bytes
[GameServer] Sent 28 Bytes
[GameServer] Incoming 1010:151 Packet
[GameServer] Sent 28 Bytes
[GameServer] Incoming 1010:153 Packet
[GameServer] Sent 28 Bytes
And thats it, after that its just ping packets that i receive.
Korvacs is offline  
Old 11/07/2009, 18:18   #18


 
CptSky's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,434
Received Thanks: 1,147
You use the right structure of the 0x3F2 packet?
Code:
UInt16 -> Length (28)
UInt16 -> Type (0x3F2)
UInt32 -> Time Stamp
UInt32 -> Player Id
UInt16 -> Player X
UInt16 -> Player Y
UInt32 -> Player Dir (In a lot of packets)
UInt32 -> Value (Can be two UInt16)
UInt32 -> SubType
When I receive the 137 subtype, I send the packet 137 with the map for the Value and I send the packet 164 with no value and I have no problem... (Client 1017 Fr -> ~4311 US)
CptSky is offline  
Old 11/07/2009, 18:24   #19
 
unknownone's Avatar
 
elite*gold: 20
Join Date: Jun 2005
Posts: 1,013
Received Thanks: 381
Quote:
Originally Posted by Korvacs View Post
No real point in me writing some form of in depth log system for you to read what youve just given me.

Code:
[GameServer] Incoming 1010:137 Packet
[GameServer] Sent 53 Bytes
[GameServer] Sent 28 Bytes
[GameServer] Sent 28 Bytes
[GameServer] Incoming 1010:170 Packet
[GameServer] Incoming 1010:138 Packet
[GameServer] Unhandled 1010:138 Packet
[GameServer] Sent 28 Bytes
[GameServer] Incoming 1010:139 Packet
[GameServer] Sent 28 Bytes
[GameServer] Incoming 1010:152 Packet
[GameServer] Incoming 1010:150 Packet
[GameServer] Sent 28 Bytes
[GameServer] Sent 28 Bytes
[GameServer] Incoming 1010:151 Packet
[GameServer] Sent 28 Bytes
[GameServer] Incoming 1010:153 Packet
[GameServer] Sent 28 Bytes
And thats it, after that its just ping packets that i receive.
How do you plan to debug, test and maintain your server if you're not even logging data going through it?

I can't help without seeing either the code or the data (every byte of it!)
unknownone is offline  
Old 11/07/2009, 18:36   #20


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
Quote:
Originally Posted by unknownone View Post
How do you plan to debug, test and maintain your server if you're not even logging data going through it?

I can't help without seeing either the code or the data (every byte of it!)
Because i know every byte thats going through my server, so i dont need more than that :P

All you need to know is that the final packet i send is:

Code:
F2 03 TS TS TS TS PL ID PL ID 00 00 00 00 00 00 00 00 00 00 00 00 99 00 00 00
From what you gave me, and i never receive your:

Code:
F2 03 TS TS TS TS PL ID PL ID 00 00 00 00 00 00 00 00 00 00 00 00 BE 00 00 00
Other than that its perfect.

Also you send this:

Code:
F2 03 TS TS TS TS PL ID PL ID 00 00 00 00 00 00 00 00 00 00 00 00 AA 00 00 00
But apparently you dont get a response to it? Or you dont handle it, where as i do get a response. Im not handling it at the moment.
Korvacs is offline  
Old 11/07/2009, 18:41   #21
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
hotkey´s
~Yuki~ is offline  
Old 11/07/2009, 18:47   #22


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
Quote:
Originally Posted by ~Yuki~ View Post
hotkey´s
Added the hotkey response, now i get the rest of the packets twice and still doesnt complete :P
Korvacs is offline  
Thanks
1 User
Old 11/07/2009, 18:49   #23
 
elite*gold: 0
Join Date: Oct 2009
Posts: 128
Received Thanks: 50
Quote:
Originally Posted by unknownone View Post
what info/switch are you using in the packet? Gimme a sample?

Edit:
Code:
14 00 4D 04 PL ID PL ID 00 00 00 00 CX CX CY CY 03 00 00 00
Thank you, unknownone, that was correct.

Sorry about using your thread, Korvacs.
s.bat is offline  
Old 11/07/2009, 18:54   #24


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
Quote:
Originally Posted by Korvacs View Post
Also you send this:

Code:
F2 03 TS TS TS TS PL ID PL ID 00 00 00 00 00 00 00 00 00 00 00 00 AA 00 00 00
But apparently you dont get a response to it? Or you dont handle it, where as i do get a response. Im not handling it at the moment.
Made a mistake here, i send the:

Code:
F2 03 TS TS TS TS PL ID PL ID 00 00 00 00 00 00 00 00 00 00 00 00 8A 00 00 00
And i receive one back again? Whats that about :P
Korvacs is offline  
Old 11/07/2009, 19:54   #25
 
unknownone's Avatar
 
elite*gold: 20
Join Date: Jun 2005
Posts: 1,013
Received Thanks: 381
Log the data via a proxy.

Like I said, data or I can't help.
unknownone is offline  
Old 11/08/2009, 13:58   #26


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
Quote:
Originally Posted by unknownone View Post
Log the data via a proxy.

Like I said, data or I can't help.
Code:
//Finshing Auth
[GameServer] Received: 1C 00 1C 04 13 69 58 00 00 00 00 00 31 31 31 20 45 6E 676C 69 73 68 00 00 00 00 00
[GameServer] Sent: 2D 00 EC 03 FF FF 00 00 35 08 00 00 01 00 00 00 04 06 53 59 53 54 45 4D 09 41 4C 4C 5F 55 53 45 52 53 00 09 41 4E 53 57 45 52 5F 4F 4B
[GameServer] Sent: 4D 00 EE 03 41 42 0F 00 8C 8A 01 00 38 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 0F 00 00 01 02 4B 6F 72 76 61 63 73 5B 50 4D 5D 00 00
//Starting Login Sequence
[GameServer] Received: 1C 00 F2 03 20 A8 07 00 41 42 0F 00 00 00 00 00 00 00 00 00 00 00 00 00 89 00 00 00
[GameServer] Sent: 35 00 EC 03 FF FF 00 00 DE 07 00 00 01 00 00 00 04 06 53 59 53 54 45 4D 00 00 1A 57 65 6C 63 6F 6D 65 20 74 6F 20 46 75 73 69 6F 6E 20 4F 72 69 67 69 6E 73 21
[GameServer] Sent: 1C 00 F2 03 30 A8 07 00 EA 03 00 00 C2 01 68 01 00 00 00 00 EA 03 00 00 89 00 00 00
[GameServer] Sent: 1C 00 F2 03 30 A8 07 00 41 42 0F 00 C2 01 68 01 00 00 00 00 FF FF FF FF A4 00 00 00
[GameServer] Received: 1C 00 F2 03 6A A9 07 00 41 42 0F 00 00 00 00 00 00 00 00 00 00 00 00 00 AA 00 00 00
[GameServer] Sent: 1C 00 F2 03 78 A9 07 00 41 42 0F 00 00 00 00 00 00 00 00 00 00 00 00 00 8A 00 00 00
[GameServer] Received: 1C 00 F2 03 6A A9 07 00 41 42 0F 00 00 00 00 00 00 00 00 00 00 00 00 00 8A 00 00 00
[GameServer] Received: 1C 00 F2 03 BE AA 07 00 41 42 0F 00 00 00 00 00 00 00 00 00 00 00 00 00 8B 00 00 00
[GameServer] Sent: 1C 00 F2 03 CF AA 07 00 41 42 0F 00 00 00 00 00 00 00 00 00 00 00 00 00 8B 00 00 00
[GameServer] Received: 1C 00 F2 03 18 AB 07 00 41 42 0F 00 00 00 00 00 00 00 00 00 00 00 00 00 98 00 00 00
[GameServer] Sent: 1C 00 F2 03 5B AB 07 00 41 42 0F 00 00 00 00 00 00 00 00 00 00 00 00 00 98 00 00 00
[GameServer] Received: 1C 00 F2 03 4A AB 07 00 41 42 0F 00 00 00 00 00 00 00 00 00 00 00 00 00 96 00 00 00
[GameServer] Sent: 1C 00 F2 03 5B AB 07 00 41 42 0F 00 00 00 00 00 00 00 00 00 00 00 00 00 96 00 00 00
[GameServer] Received: 1C 00 F2 03 7C AB 07 00 41 42 0F 00 00 00 00 00 00 00 00 00 00 00 00 00 97 00 00 00
[GameServer] Sent: 1C 00 F2 03 8A AB 07 00 41 42 0F 00 00 00 00 00 00 00 00 00 00 00 00 00 97 00 00 00
[GameServer] Received: 1C 00 F2 03 9A AB 07 00 41 42 0F 00 00 00 00 00 00 00 00 00 00 00 00 00 99 00 00 00
[GameServer] Sent: 1C 00 F2 03 A9 AB 07 00 41 42 0F 00 00 00 00 00 00 00 00 00 00 00 00 00 99 00 00 00
Its identical, like i said.

Edit: Spoken to a few people it turns out that the 4267 Client doesnt send that extra final packet that unknownone posted, so ive been worrying over nothing.
Korvacs is offline  
Old 01/25/2010, 00:05   #27
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
Korvacs Postdate: 11-08-2009, 13:58

we have 2010 btw.
~Yuki~ is offline  
Old 01/25/2010, 00:09   #28


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
Quote:
Originally Posted by ~Yuki~ View Post
Korvacs Postdate: 11-08-2009, 13:58

we have 2010 btw.
...What? lol.

Please dont bump for no reason..
Korvacs is offline  
Old 01/25/2010, 03:22   #29
 
spare2's Avatar
 
elite*gold: 20
Join Date: Oct 2009
Posts: 1,009
Received Thanks: 621
Great necro....


not
spare2 is offline  
Reply


Similar Threads Similar Threads
[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...
Changes on login sequence? 5018 - Now (5212)
02/10/2010 - CO2 Programming - 20 Replies
Hi, I have been on this forum since late 2005 but I've been away for about a year now. I recently came back and wondered what had been changed since then server-client wise. It would be nice if someone could fill me in :) 5018( after blowfish was implented) Alot of packets must of obviously been changed and some even added, no doubt about that, but how is it with like the Login sequence? Has anything changed in the Login sequence?



All times are GMT +2. The time now is 03:19.


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