Skip to content

Commit

Permalink
Improved network connectivity and debugging.
Browse files Browse the repository at this point in the history
  • Loading branch information
TLeonardUK committed Feb 5, 2022
1 parent bf35b84 commit 81b8790
Show file tree
Hide file tree
Showing 20 changed files with 3,430 additions and 3,203 deletions.
16 changes: 8 additions & 8 deletions Protobuf/Frpg2RequestMessage.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1316,8 +1316,8 @@ message AcceptQuickMatchMessage {

message RejectQuickMatchMessage {
// Based on ghidra, not managed to reproduce in-game.
required uint32 host_player_id = 1;
required string host_player_steam_id = 2;
required uint32 host_player_id = 1; // index=1 type=0
required uint32 unknown_2 = 2; // Maybe a "reason" value?
}

message RemoveQuickMatchMessage {
Expand All @@ -1327,7 +1327,7 @@ message RemoveQuickMatchMessage {
message JoinQuickMatchMessage {
required uint32 join_player_id = 1;
required string join_player_steam_id = 2;
required uint32 unknown_3 = 3; // 1, 14
required uint32 join_character_id = 3;
required uint32 online_area_id = 4;
required uint32 unknown_5 = 5; // 0
required string unknown_6 = 6; // ""
Expand All @@ -1344,7 +1344,7 @@ message PushRequestAcceptQuickMatch {
}

message PushRequestRejectQuickMatch {
// Based on ghidra, not managed to reproduce in-game.
// We are missing something from here
required PushMessageId push_message_id = 1; // 0x0342
required RejectQuickMatchMessage message = 2;
}
Expand All @@ -1355,7 +1355,7 @@ message RequestSearchQuickMatch {
required uint32 map_id = 1;
required uint32 online_area_id = 2;
}
required uint32 unknown_3 = 3; // 5
required uint32 unknown_3 = 3; // 5 <- Thing this is max results to return
required MatchingParameter matching_parameter = 4;
}

Expand Down Expand Up @@ -1398,12 +1398,12 @@ message RequestUpdateQuickMatchResponse {

message RequestJoinQuickMatch {
required QuickMatchGameMode mode = 1;
required uint32 unknown_2 = 2; // 1
required uint32 character_id = 2;
required uint32 host_player_id = 4;
required uint32 map_id = 5;
required uint32 online_area_id = 6;
required uint32 unknown_7 = 7; // 0
required string password = 8; // ""
required string password = 8;
}

message RequestJoinQuickMatchResponse {
Expand Down Expand Up @@ -1436,7 +1436,7 @@ message RequestSendQuickMatchStart {
required uint32 unknown_1 = 1; // 0 <- Probably game mode?
repeated group Session_member_list = 2 {
required uint32 player_id = 1;
required uint32 unknown_2 = 2; // 1, 14 (Might be unknown_3 from JoinQuickMatchMessage)
required uint32 character_id = 2;
}
}

Expand Down
Loading

0 comments on commit 81b8790

Please sign in to comment.