From 569acdac5cb8e8ab352e2fbbae9660d9ad29c41a Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Tue, 30 May 2023 14:20:53 -0300 Subject: TProtocol: Add (and match) recv_pso_regist_{connect,check}() --- include/pso/TProtocol.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'include/pso/TProtocol.h') diff --git a/include/pso/TProtocol.h b/include/pso/TProtocol.h index 041cd56..886965c 100644 --- a/include/pso/TProtocol.h +++ b/include/pso/TProtocol.h @@ -69,7 +69,7 @@ struct packet : public flex_packet<0x7c00> {}; o(handle_66_recv_exit_game, int client_id, int leader_id, int disable_udp) \ o(handle_68_recv_burst_lobby, TPlyJoinLobbyEntry *entries, int leader_id) \ o(handle_69_recv_exit_lobby, int client_id, int leader_id) \ - o(handle_18_90_9A_login_response_packet, void) \ + o(handle_18_90_9A_recv_pso_regist_check, u8 state) \ o(handle_92_9C_register_response_packet, void) \ o(unused10, void) \ o(handle_95_request_character_data_packet, void) \ @@ -126,7 +126,7 @@ public: TPlySmth m_smth; TPlyGuildCardTag m_guildcard_tag; u16 m_sub_version; - int m_login_response_state; + int m_regist_state; int m_connected; int m_joined_game; int m_has_meet_user_settings; @@ -145,8 +145,8 @@ public: LobbyListEntry m_lobby_entries[16]; QuestListEntry m_quest_entries[30]; u8 m_unused5[128]; - char m_serial_number3[17]; - char m_password2[17]; + char m_serial_number_v1[17]; + char m_access_key_v1[17]; char m_serial_number[48]; char m_access_key[48]; char m_password[64]; @@ -251,6 +251,10 @@ public: void recv_burst_lobby(packet &pkt); // 0x69 void recv_exit_lobby(packet &pkt); + // 0x91 + void recv_pso_regist_connect(packet &pkt); + // 0x18/0x90 + void recv_pso_regist_check(packet &pkt); // Send command handlers. // 0x03 -- cgit v1.2.3-13-gbd6f