[Guide] Common Problems Preventing Login

03/19/2020 04:19 Dark^Magic#46
Quote:
Originally Posted by pintinho12 View Post
90% DH Key
Yep maybe im going to check it now
Ty for you'r reply
10/17/2020 07:32 Latyos#47
I'm working on a source but struggling to actually login to game. Version is 5165

1) I receive packet 1086 (MsgAccount), process it and send packet 1055 (MsgConnectEx - Auth response).

2) Reach to GameServer, initiate and complete key exchange, first packet is 1052 (MsgConnect). I process it, send "ANSWER_OK", no issues so far, authentication is successful.

3) I'm starting to process the player class, call variables from database and send packet 1006 (MsgUserInfo).

Issue starts here, right after I send the packet 1006, client disconnects. I checked the packet and everything seems in order, last 8 bytes is TQServer, when I decrypt it, I can see all the information I'm trying to send. What could be the cause of that?
10/17/2020 10:34 Relic#48
Are you receiving the [10010]MsgAction subtype 74 packet from client after sending [1006]MsgUserInfo?
10/17/2020 11:10 Latyos#49
Quote:
Originally Posted by Relic View Post
Are you receiving the [10010]MsgAction subtype 74 packet from client after sending [1006]MsgUserInfo?
No it doesn't reach that far. As I said, right after I send 1006, I get disconnected.
10/17/2020 11:46 Relic#50
Quote:
Originally Posted by Latyos View Post
No it doesn't reach that far. As I said, right after I send 1006, I get disconnected.
Post the bytes that are being sent to the client. Double check that your CharacterId is not 0, that would cause a disconnection. [Only registered and activated users can see links. Click Here To Register...]
10/17/2020 12:55 Latyos#51
Quote:
Originally Posted by Relic View Post
Post the bytes that are being sent to the client. Double check that your CharacterId is not 0, that would cause a disconnection. [Only registered and activated users can see links. Click Here To Register...]
I'm sure that CharacterId is not 0. I put breakpoints and check from Visual Studio to make sure that my packets are filled with information.

Code:
Packet Type: 51130, Packet Length: 333 // DH exchange, I think?
95-37-BA-C7-77-CF-A2-B9-7A-B5-D7-42-01-00-00-0C-00-00-00-E5-55-F5-CB-6F-81-B2-C9-CC-69-61-19-08-00-00-00-00-00-00-00-00-00-00-00-08-00-00-00-00-00-00-00-00-00-00-00-80-00-00-00-45-37-41-36-39-45-42-44-46-31-30-35-46-32-41-36-42-42-44-45-41-44-37-45-37-39-38-46-37-36-41-32-30-39-41-44-37-33-46-42-34-36-36-34-33-31-45-32-45-37-33-35-32-45-44-32-36-32-46-38-43-35-35-38-46-31-30-42-45-46-45-41-39-37-37-44-45-39-45-32-31-44-43-45-45-39-42-30-34-44-32-34-35-46-33-30-30-45-43-43-42-42-41-30-33-45-37-32-36-33-30-35-35-36-44-30-31-31-30-32-33-46-39-45-38-35-37-46-02-00-00-00-30-35-80-00-00-00-35-45-31-37-31-46-44-46-30-44-45-32-45-43-44-45-38-39-43-32-34-42-36-35-33-39-41-33-34-43-44-35-42-31-39-41-34-46-44-39-37-42-36-31-41-30-41-31-34-35-46-36-31-43-43-41-46-44-45-33-38-43-43-31-43-44-36-39-45-45-34-35-46-45-42-42-43-46-42-31-37-36-31-36-43-34-33-37-32-43-45-34-30-46-42-45-44-34-36-46-42-33-46-41-30-42-46-34-36-35-32-30-31-43-46-35-39-46-33-34-38-30-35-43-32-34-44-45-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1004, Packet Length: 52 // ANSWER_OK
34-00-EC-03-FF-FF-FF-00-35-08-00-00-00-00-00-00-00-00-00-00-00-00-00-00-04-06-53-59-53-54-45-4D-08-41-4C-4C-55-53-45-52-53-00-09-41-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1006, Packet Length: 111 // Disconnects right after this.
67-00-EE-03-AF-44-0F-00-F1-83-22-00-14-02-CA-B8-77-58-18-A2-0E-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-B0-00-00-01-2F-00-31-01-00-00-5A-1F-D1-0B-00-00-82-0F-00-01-01-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-02-06-4C-61-74-79-6F-73-04-4E-6F-6E-65-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-02-00-00-00-1C-FD-0A-00-01-00-01-00-01-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-44-00-00-00-DF-E1-02-00-FF-FF-FF-FF-01-00-09-00-00-00-00-00-0D-0D-00-00-00-00-00-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-52-00-00-00-F9-71-02-00-02-10-02-10-01-00-08-00-00-00-00-00-0D-0D-00-00-09-00-FF-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-57-00-00-00-B9-D5-01-00-66-10-66-10-01-00-02-00-00-00-00-00-0D-00-00-00-04-00-FF-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-59-00-00-00-E9-4A-02-00-BB-1B-BB-1B-01-00-06-00-00-00-00-00-0D-00-00-00-04-00-FF-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-5C-00-00-00-05-B7-01-00-66-10-66-10-01-00-00-00-00-00-00-00-0D-00-00-00-04-00-FF-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-5D-00-00-00-83-10-02-00-02-10-02-10-01-00-00-00-00-00-00-00-0D-00-00-00-04-00-FF-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-5E-00-00-00-43-0B-20-00-10-27-10-27-01-00-07-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-61-00-00-00-E3-42-06-00-BB-1B-BB-1B-01-00-00-00-00-00-00-00-0D-0D-00-00-05-07-07-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-62-00-00-00-E3-42-06-00-BB-1B-BB-1B-01-00-00-00-00-00-00-00-0D-0D-00-00-06-07-07-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-0D-01-00-00-97-CA-01-00-8A-0A-8A-0A-01-00-01-00-00-00-00-00-0D-0D-00-00-07-07-07-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-0E-01-00-00-97-CA-01-00-8A-0A-8A-0A-01-00-00-00-00-00-00-00-0D-0D-00-00-07-07-00-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-0F-01-00-00-97-CA-01-00-8A-0A-8A-0A-01-00-00-00-00-00-00-00-0D-0D-00-00-07-00-00-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-1E-01-00-00-E3-42-06-00-BB-1B-BB-1B-01-00-04-00-00-00-00-00-00-00-C8-00-01-FF-FF-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-1F-01-00-00-E3-42-06-00-BB-1B-BB-1B-01-00-05-00-00-00-00-00-00-00-C8-00-01-FF-FF-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-20-01-00-00-00-9A-10-00-00-00-00-00-01-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-21-01-00-00-0F-0B-0B-00-01-00-01-00-01-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1004, Packet Length: 165
A5-00-EC-03-FF-FF-FF-00-DB-07-00-00-00-00-00-00-00-00-00-00-00-00-00-00-04-06-53-59-53-54-45-4D-08-41-4C-4C-55-53-45-52-53-00-7A-44-61-6D-61-67-65-3A-20-37-32-33-31-2D-38-38-31-32-20-44-65-66-65-6E-73-65-3A-20-31-37-37-37-20-4D-61-67-69-63-20-52-65-73-69-73-74-61-6E-63-65-3A-20-31-39-20-4D-61-67-69-63-20-44-65-66-65-6E-73-65-3A-20-31-38-31-33-20-4D-61-78-69-6D-75-6D-20-48-65-61-6C-74-68-3A-20-38-30-32-36-20-4D-61-78-69-6D-75-6D-20-4D-61-6E-61-3A-20-33-30-32-35-20-44-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 10017, Packet Length: 48
18-00-21-27-AF-44-0F-00-01-00-00-00-01-00-00-00-5A-1F-00-00-00-00-00-00-18-00-21-27-AF-44-0F-00-01-00-00-00-03-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1109, Packet Length: 136
30-00-55-04-2D-1A-00-00-80-96-98-00-80-96-98-00-A3-00-D3-00-F1-00-1A-00-00-00-01-08-4C-65-66-74-47-61-74-65-00-00-00-00-00-00-00-00-00-00-00-00-58-00-F6-03-AF-44-0F-00-F1-83-22-00-00-00-00-00-00-00-00-00-75-00-00-64-DF-E1-02-00-97-CA-01-00-00-00-00-00-E3-42-06-00-E3-42-06-00-00-00-00-00-00-00-82-00-A8-00-D5-00-14-02-00-00-01-00-82-00-00-00-00-00-09-00-00-00-AF-44-0F-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
10/17/2020 13:51 Relic#52
Quote:
Originally Posted by Latyos View Post
I'm sure that CharacterId is not 0. I put breakpoints and check from Visual Studio to make sure that my packets are filled with information.

Code:
Packet Type: 51130, Packet Length: 333 // DH exchange, I think?
95-37-BA-C7-77-CF-A2-B9-7A-B5-D7-42-01-00-00-0C-00-00-00-E5-55-F5-CB-6F-81-B2-C9-CC-69-61-19-08-00-00-00-00-00-00-00-00-00-00-00-08-00-00-00-00-00-00-00-00-00-00-00-80-00-00-00-45-37-41-36-39-45-42-44-46-31-30-35-46-32-41-36-42-42-44-45-41-44-37-45-37-39-38-46-37-36-41-32-30-39-41-44-37-33-46-42-34-36-36-34-33-31-45-32-45-37-33-35-32-45-44-32-36-32-46-38-43-35-35-38-46-31-30-42-45-46-45-41-39-37-37-44-45-39-45-32-31-44-43-45-45-39-42-30-34-44-32-34-35-46-33-30-30-45-43-43-42-42-41-30-33-45-37-32-36-33-30-35-35-36-44-30-31-31-30-32-33-46-39-45-38-35-37-46-02-00-00-00-30-35-80-00-00-00-35-45-31-37-31-46-44-46-30-44-45-32-45-43-44-45-38-39-43-32-34-42-36-35-33-39-41-33-34-43-44-35-42-31-39-41-34-46-44-39-37-42-36-31-41-30-41-31-34-35-46-36-31-43-43-41-46-44-45-33-38-43-43-31-43-44-36-39-45-45-34-35-46-45-42-42-43-46-42-31-37-36-31-36-43-34-33-37-32-43-45-34-30-46-42-45-44-34-36-46-42-33-46-41-30-42-46-34-36-35-32-30-31-43-46-35-39-46-33-34-38-30-35-43-32-34-44-45-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1004, Packet Length: 52 // ANSWER_OK
34-00-EC-03-FF-FF-FF-00-35-08-00-00-00-00-00-00-00-00-00-00-00-00-00-00-04-06-53-59-53-54-45-4D-08-41-4C-4C-55-53-45-52-53-00-09-41-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1006, Packet Length: 111 // Disconnects right after this.
67-00-EE-03-AF-44-0F-00-F1-83-22-00-14-02-CA-B8-77-58-18-A2-0E-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-B0-00-00-01-2F-00-31-01-00-00-5A-1F-D1-0B-00-00-82-0F-00-01-01-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-02-06-4C-61-74-79-6F-73-04-4E-6F-6E-65-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-02-00-00-00-1C-FD-0A-00-01-00-01-00-01-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-44-00-00-00-DF-E1-02-00-FF-FF-FF-FF-01-00-09-00-00-00-00-00-0D-0D-00-00-00-00-00-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-52-00-00-00-F9-71-02-00-02-10-02-10-01-00-08-00-00-00-00-00-0D-0D-00-00-09-00-FF-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-57-00-00-00-B9-D5-01-00-66-10-66-10-01-00-02-00-00-00-00-00-0D-00-00-00-04-00-FF-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-59-00-00-00-E9-4A-02-00-BB-1B-BB-1B-01-00-06-00-00-00-00-00-0D-00-00-00-04-00-FF-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-5C-00-00-00-05-B7-01-00-66-10-66-10-01-00-00-00-00-00-00-00-0D-00-00-00-04-00-FF-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-5D-00-00-00-83-10-02-00-02-10-02-10-01-00-00-00-00-00-00-00-0D-00-00-00-04-00-FF-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-5E-00-00-00-43-0B-20-00-10-27-10-27-01-00-07-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-61-00-00-00-E3-42-06-00-BB-1B-BB-1B-01-00-00-00-00-00-00-00-0D-0D-00-00-05-07-07-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-62-00-00-00-E3-42-06-00-BB-1B-BB-1B-01-00-00-00-00-00-00-00-0D-0D-00-00-06-07-07-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-0D-01-00-00-97-CA-01-00-8A-0A-8A-0A-01-00-01-00-00-00-00-00-0D-0D-00-00-07-07-07-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-0E-01-00-00-97-CA-01-00-8A-0A-8A-0A-01-00-00-00-00-00-00-00-0D-0D-00-00-07-07-00-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-0F-01-00-00-97-CA-01-00-8A-0A-8A-0A-01-00-00-00-00-00-00-00-0D-0D-00-00-07-00-00-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-1E-01-00-00-E3-42-06-00-BB-1B-BB-1B-01-00-04-00-00-00-00-00-00-00-C8-00-01-FF-FF-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-1F-01-00-00-E3-42-06-00-BB-1B-BB-1B-01-00-05-00-00-00-00-00-00-00-C8-00-01-FF-FF-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-20-01-00-00-00-9A-10-00-00-00-00-00-01-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-21-01-00-00-0F-0B-0B-00-01-00-01-00-01-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1004, Packet Length: 165
A5-00-EC-03-FF-FF-FF-00-DB-07-00-00-00-00-00-00-00-00-00-00-00-00-00-00-04-06-53-59-53-54-45-4D-08-41-4C-4C-55-53-45-52-53-00-7A-44-61-6D-61-67-65-3A-20-37-32-33-31-2D-38-38-31-32-20-44-65-66-65-6E-73-65-3A-20-31-37-37-37-20-4D-61-67-69-63-20-52-65-73-69-73-74-61-6E-63-65-3A-20-31-39-20-4D-61-67-69-63-20-44-65-66-65-6E-73-65-3A-20-31-38-31-33-20-4D-61-78-69-6D-75-6D-20-48-65-61-6C-74-68-3A-20-38-30-32-36-20-4D-61-78-69-6D-75-6D-20-4D-61-6E-61-3A-20-33-30-32-35-20-44-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 10017, Packet Length: 48
18-00-21-27-AF-44-0F-00-01-00-00-00-01-00-00-00-5A-1F-00-00-00-00-00-00-18-00-21-27-AF-44-0F-00-01-00-00-00-03-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1109, Packet Length: 136
30-00-55-04-2D-1A-00-00-80-96-98-00-80-96-98-00-A3-00-D3-00-F1-00-1A-00-00-00-01-08-4C-65-66-74-47-61-74-65-00-00-00-00-00-00-00-00-00-00-00-00-58-00-F6-03-AF-44-0F-00-F1-83-22-00-00-00-00-00-00-00-00-00-75-00-00-64-DF-E1-02-00-97-CA-01-00-00-00-00-00-E3-42-06-00-E3-42-06-00-00-00-00-00-00-00-82-00-A8-00-D5-00-14-02-00-00-01-00-82-00-00-00-00-00-09-00-00-00-AF-44-0F-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
PM me to add on discord.
10/17/2020 17:41 ~Crystaline#53
Quote:
Originally Posted by Latyos View Post
I'm sure that CharacterId is not 0. I put breakpoints and check from Visual Studio to make sure that my packets are filled with information.

Code:
Packet Type: 51130, Packet Length: 333 // DH exchange, I think?
95-37-BA-C7-77-CF-A2-B9-7A-B5-D7-42-01-00-00-0C-00-00-00-E5-55-F5-CB-6F-81-B2-C9-CC-69-61-19-08-00-00-00-00-00-00-00-00-00-00-00-08-00-00-00-00-00-00-00-00-00-00-00-80-00-00-00-45-37-41-36-39-45-42-44-46-31-30-35-46-32-41-36-42-42-44-45-41-44-37-45-37-39-38-46-37-36-41-32-30-39-41-44-37-33-46-42-34-36-36-34-33-31-45-32-45-37-33-35-32-45-44-32-36-32-46-38-43-35-35-38-46-31-30-42-45-46-45-41-39-37-37-44-45-39-45-32-31-44-43-45-45-39-42-30-34-44-32-34-35-46-33-30-30-45-43-43-42-42-41-30-33-45-37-32-36-33-30-35-35-36-44-30-31-31-30-32-33-46-39-45-38-35-37-46-02-00-00-00-30-35-80-00-00-00-35-45-31-37-31-46-44-46-30-44-45-32-45-43-44-45-38-39-43-32-34-42-36-35-33-39-41-33-34-43-44-35-42-31-39-41-34-46-44-39-37-42-36-31-41-30-41-31-34-35-46-36-31-43-43-41-46-44-45-33-38-43-43-31-43-44-36-39-45-45-34-35-46-45-42-42-43-46-42-31-37-36-31-36-43-34-33-37-32-43-45-34-30-46-42-45-44-34-36-46-42-33-46-41-30-42-46-34-36-35-32-30-31-43-46-35-39-46-33-34-38-30-35-43-32-34-44-45-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1004, Packet Length: 52 // ANSWER_OK
34-00-EC-03-FF-FF-FF-00-35-08-00-00-00-00-00-00-00-00-00-00-00-00-00-00-04-06-53-59-53-54-45-4D-08-41-4C-4C-55-53-45-52-53-00-09-41-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1006, Packet Length: 111 // Disconnects right after this.
67-00-EE-03-AF-44-0F-00-F1-83-22-00-14-02-CA-B8-77-58-18-A2-0E-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-B0-00-00-01-2F-00-31-01-00-00-5A-1F-D1-0B-00-00-82-0F-00-01-01-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-02-06-4C-61-74-79-6F-73-04-4E-6F-6E-65-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-02-00-00-00-1C-FD-0A-00-01-00-01-00-01-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-44-00-00-00-DF-E1-02-00-FF-FF-FF-FF-01-00-09-00-00-00-00-00-0D-0D-00-00-00-00-00-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-52-00-00-00-F9-71-02-00-02-10-02-10-01-00-08-00-00-00-00-00-0D-0D-00-00-09-00-FF-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-57-00-00-00-B9-D5-01-00-66-10-66-10-01-00-02-00-00-00-00-00-0D-00-00-00-04-00-FF-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-59-00-00-00-E9-4A-02-00-BB-1B-BB-1B-01-00-06-00-00-00-00-00-0D-00-00-00-04-00-FF-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-5C-00-00-00-05-B7-01-00-66-10-66-10-01-00-00-00-00-00-00-00-0D-00-00-00-04-00-FF-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-5D-00-00-00-83-10-02-00-02-10-02-10-01-00-00-00-00-00-00-00-0D-00-00-00-04-00-FF-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-5E-00-00-00-43-0B-20-00-10-27-10-27-01-00-07-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-61-00-00-00-E3-42-06-00-BB-1B-BB-1B-01-00-00-00-00-00-00-00-0D-0D-00-00-05-07-07-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-62-00-00-00-E3-42-06-00-BB-1B-BB-1B-01-00-00-00-00-00-00-00-0D-0D-00-00-06-07-07-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-0D-01-00-00-97-CA-01-00-8A-0A-8A-0A-01-00-01-00-00-00-00-00-0D-0D-00-00-07-07-07-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-0E-01-00-00-97-CA-01-00-8A-0A-8A-0A-01-00-00-00-00-00-00-00-0D-0D-00-00-07-07-00-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-0F-01-00-00-97-CA-01-00-8A-0A-8A-0A-01-00-00-00-00-00-00-00-0D-0D-00-00-07-00-00-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-1E-01-00-00-E3-42-06-00-BB-1B-BB-1B-01-00-04-00-00-00-00-00-00-00-C8-00-01-FF-FF-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-1F-01-00-00-E3-42-06-00-BB-1B-BB-1B-01-00-05-00-00-00-00-00-00-00-C8-00-01-FF-FF-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-20-01-00-00-00-9A-10-00-00-00-00-00-01-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1008, Packet Length: 44
2C-00-F0-03-21-01-00-00-0F-0B-0B-00-01-00-01-00-01-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1004, Packet Length: 165
A5-00-EC-03-FF-FF-FF-00-DB-07-00-00-00-00-00-00-00-00-00-00-00-00-00-00-04-06-53-59-53-54-45-4D-08-41-4C-4C-55-53-45-52-53-00-7A-44-61-6D-61-67-65-3A-20-37-32-33-31-2D-38-38-31-32-20-44-65-66-65-6E-73-65-3A-20-31-37-37-37-20-4D-61-67-69-63-20-52-65-73-69-73-74-61-6E-63-65-3A-20-31-39-20-4D-61-67-69-63-20-44-65-66-65-6E-73-65-3A-20-31-38-31-33-20-4D-61-78-69-6D-75-6D-20-48-65-61-6C-74-68-3A-20-38-30-32-36-20-4D-61-78-69-6D-75-6D-20-4D-61-6E-61-3A-20-33-30-32-35-20-44-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 10017, Packet Length: 48
18-00-21-27-AF-44-0F-00-01-00-00-00-01-00-00-00-5A-1F-00-00-00-00-00-00-18-00-21-27-AF-44-0F-00-01-00-00-00-03-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Packet Type: 1109, Packet Length: 136
30-00-55-04-2D-1A-00-00-80-96-98-00-80-96-98-00-A3-00-D3-00-F1-00-1A-00-00-00-01-08-4C-65-66-74-47-61-74-65-00-00-00-00-00-00-00-00-00-00-00-00-58-00-F6-03-AF-44-0F-00-F1-83-22-00-00-00-00-00-00-00-00-00-75-00-00-64-DF-E1-02-00-97-CA-01-00-00-00-00-00-E3-42-06-00-E3-42-06-00-00-00-00-00-00-00-82-00-A8-00-D5-00-14-02-00-00-01-00-82-00-00-00-00-00-09-00-00-00-AF-44-0F-00-00-00-00-00-54-51-53-65-72-76-65-72
------------------------------------------------------
Maybe the packet length is the issue. Have you tried 98 + user.Name.Length + user.MateName.Length?
10/18/2020 02:31 Latyos#54
Quote:
Originally Posted by ~Crystaline View Post
Maybe the packet length is the issue. Have you tried 98 + user.Name.Length + user.MateName.Length?
It's been 98 + Strings.Length all along.

Code:
public static implicit operator byte[](HeroInformationPacket packet)
        {
            var buffer = new byte[98 + packet.Strings.Length];
            fixed (byte* ptr = buffer)
            {
                PacketBuilder.AppendHeader(ptr, buffer.Length - 8, Constants.MSG_HERO_INFORMATION);
                *((uint*)(ptr + 4)) = packet.Id;
                *((uint*)(ptr + 8)) = packet.Lookface;
                *((ushort*)(ptr + 12)) = packet.Hair;
                *((uint*)(ptr + 14)) = packet.Money;
                *((uint*)(ptr + 18)) = packet.CP;
                *((ulong*)(ptr + 22)) = packet.Experience;

                *((ushort*)(ptr + 50)) = packet.Strength;
                *((ushort*)(ptr + 52)) = packet.Agility;
                *((ushort*)(ptr + 54)) = packet.Vitality;
                *((ushort*)(ptr + 56)) = packet.Spirit;
                *((ushort*)(ptr + 58)) = packet.Stats;
                *((ushort*)(ptr + 60)) = packet.Life;
                *((ushort*)(ptr + 62)) = packet.Mana;
                *((short*)(ptr + 64)) = packet.PKPoints;
                *((byte*)(ptr + 66)) = packet.Level;
                *((byte*)(ptr + 67)) = packet.Class;
                *((byte*)(ptr + 69)) = packet.Reborn;
                *((byte*)(ptr + 70)) = packet.ShowName;
                *((uint*)(ptr + 71)) = packet.QuizShowPoints;
                PacketBuilder.AppendNetStringPacker(ptr + 87, packet.Strings);
            }
            return buffer;
        }
You can check my packet structure and correct me if I'm doing it wrong. Bytes I posted are before the encryption. I'm posting after the encryption as well:

Code:
Packet Type: 45536, Packet Length: 333
Before encryption: 64-F5-E0-B1-50-86-6B-4B-D5-A3-78-42-01-00-00-0C-00-00-00-B9-44-88-43-37-3E-B1-5A-09-FA-F6-D6-08-00-00-00-00-00-00-00-00-00-00-00-08-00-00-00-00-00-00-00-00-00-00-00-80-00-00-00-45-37-41-36-39-45-42-44-46-31-30-35-46-32-41-36-42-42-44-45-41-44-37-45-37-39-38-46-37-36-41-32-30-39-41-44-37-33-46-42-34-36-36-34-33-31-45-32-45-37-33-35-32-45-44-32-36-32-46-38-43-35-35-38-46-31-30-42-45-46-45-41-39-37-37-44-45-39-45-32-31-44-43-45-45-39-42-30-34-44-32-34-35-46-33-30-30-45-43-43-42-42-41-30-33-45-37-32-36-33-30-35-35-36-44-30-31-31-30-32-33-46-39-45-38-35-37-46-02-00-00-00-30-35-80-00-00-00-36-42-30-35-33-42-32-30-33-44-43-42-38-39-34-37-36-31-30-35-36-45-35-31-43-37-44-42-36-36-43-39-36-43-43-36-41-39-36-44-32-33-32-32-46-32-31-32-32-45-37-35-33-35-44-30-34-35-31-43-34-37-30-34-33-42-36-30-36-38-45-34-31-34-34-36-31-31-41-42-45-44-43-33-33-31-46-30-31-46-34-42-46-37-36-37-46-45-46-46-46-46-45-32-34-30-31-36-35-37-35-39-45-44-36-41-45-31-37-31-42-42-46-35-36-32-31-39-54-51-53-65-72-76-65-72
After encryption: 40-82-ED-75-2C-67-88-3E-12-37-F5-B6-13-A7-D5-1D-6A-91-F4-78-84-BC-AD-92-3B-36-64-E2-9D-BC-17-86-A9-38-D9-77-77-AB-97-B6-2F-7B-87-E5-9C-96-97-DE-3D-D7-1D-CE-B0-B0-09-4D-43-C8-DF-54-25-1B-46-FA-08-08-1C-D0-9A-56-10-10-BF-04-99-78-23-99-9E-11-2D-88-2E-12-6F-17-79-BE-04-36-F7-0D-89-21-BC-47-26-A9-75-AA-9C-A5-52-0F-6F-A0-78-FA-AF-44-A4-B5-46-62-5B-94-8D-71-F7-55-F9-7A-4F-74-6A-0C-EF-2E-F2-66-53-96-35-BD-8B-73-DF-B9-4D-4C-F9-2B-E4-B3-9D-5E-73-4D-56-94-09-CB-86-85-F7-C6-D5-BC-D2-3D-D9-E1-49-FD-01-5F-E6-98-B8-2D-8F-A8-5D-F7-9A-48-EE-F6-41-F5-DA-51-90-37-60-76-1D-0E-F3-47-8F-2E-79-55-AF-79-CD-21-10-15-20-8E-6E-87-21-F1-4A-D6-43-0C-71-47-B1-E7-A8-3D-C7-3E-71-DE-EC-7C-AD-69-36-A2-4E-BD-FC-E1-8E-1F-BF-10-77-AB-6D-AE-41-7B-D6-84-DC-CA-54-FD-DC-50-52-C7-5B-5C-4A-53-C9-37-08-9B-97-50-36-E6-18-79-1F-E5-E4-14-BE-3B-EC-71-91-F8-B5-BF-02-BB-D3-80-F6-68-99-6D-01-BD-30-39-42-8D-FC-6B-CD-83-1C-F7-27-39-FD-6A-6A-24-90-BD-CE-A0-65-2E-2E-04-C7-8B-8D-2F-2E-42-19-9F-40-FA-03-4A-CC-60-66-4C-B3-08-17-6D-D2-3A-D7
------------------------------------------------------
Packet Type: 1004, Packet Length: 52
Before encryption: 34-00-EC-03-FF-FF-FF-00-35-08-00-00-00-00-00-00-00-00-00-00-00-00-00-00-04-06-53-59-53-54-45-4D-08-41-4C-4C-55-53-45-52-53-00-09-41-54-51-53-65-72-76-65-72
After encryption: 0C-39-8F-6A-42-0E-0C-F3-21-A5-C3-3E-EA-43-1C-11-E0-92-3E-C5-06-52-4F-A3-08-84-1D-4D-D7-4C-DE-E5-98-3E-E0-B3-7A-B5-C2-F4-CE-6C-AF-5B-F5-E0-E5-CD-BD-DB-19-97
------------------------------------------------------
Packet Type: 1006, Packet Length: 111
Before encryption: 67-00-EE-03-AF-44-0F-00-F1-83-22-00-14-02-CA-B8-77-58-18-A2-0E-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-B0-00-00-01-2F-00-31-01-00-00-5A-1F-D1-0B-00-00-82-0F-00-01-01-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-02-06-4C-61-74-79-6F-73-04-4E-6F-6E-65-00-00-00-54-51-53-65-72-76-65-72
After encryption: AD-A8-96-00-64-69-12-33-87-0A-16-15-FD-C9-CC-7E-B5-A2-B5-D6-08-91-4C-ED-CE-78-3A-3E-46-CC-F2-ED-1A-B8-EF-D4-7B-94-BF-E1-EB-A6-79-DF-5F-4E-4E-2E-D9-0B-4B-C3-55-84-ED-26-47-9A-EC-3D-0C-72-8D-74-FC-D1-66-2D-B4-94-94-E4-8E-34-67-97-50-EC-BB-98-EA-F7-2B-21-F3-33-CC-66-22-92-C1-B7-B1-C5-79-CC-C5-07-FB-D7-2C-39-F1-96-6A-DC-F0-9E-3A-79-80
------------------------------------------------------
10/12/2022 16:01 denominator#55
"It's too crowded inside! Please come back later!
10/22/2022 02:25 Spirited#56
Quote:
Originally Posted by denominator View Post
"It's too crowded inside! Please come back later!
Added. Looks like it replaced the server maintenance message at some point.
07/06/2023 07:58 unHOLYdoNUTS#57
How to solve Invalid Account ID or Password? Im using 5165 source.
07/06/2023 08:10 Spirited#58
Quote:
Originally Posted by unHOLYdoNUTS View Post
How to solve Invalid Account ID or Password? Im using 5165 source.
That's too generic of an error. Could be database configuration, could be the account isn't set up properly, could be wrong patch version, could be you have the wrong server name selected in the client if your server cares about that.
01/29/2026 14:45 soktuan#59
i get this when i try to connect stuck at login initializing and server console say Not found the packet ----> 1010