From 9e76d1218f79e3085fe43639e8a5fe7b95badf3f Mon Sep 17 00:00:00 2001 From: Jonathan Barrow Date: Mon, 3 Jan 2022 17:39:57 -0500 Subject: [PATCH] updated config type 1 --- get_application_config.go | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/get_application_config.go b/get_application_config.go index 8545fc3..3160e86 100644 --- a/get_application_config.go +++ b/get_application_config.go @@ -16,8 +16,8 @@ func getApplicationConfig(err error, client *nex.Client, callID uint32, applicat switch applicationID { case 0: // Unknown? config = getApplicationConfig_Unknown0() - case 1: // PIDs? - config = getApplicationConfig_PID() + case 1: // Official player PIDs + config = getApplicationConfig_OfficialPlayers() case 2: // Unknown? config = getApplicationConfig_Unknown2() case 10: // Unknown? @@ -66,13 +66,17 @@ func getApplicationConfig_Unknown0() []uint32 { } } -func getApplicationConfig_PID() []uint32 { - // This looks like user PIDs? - // Sending an empty list here crashes the game +func getApplicationConfig_OfficialPlayers() []uint32 { return []uint32{ - 0x02000000, 0x70cc8269, 0x50cc8269, - 0x38cc8269, 0xdbd08269, 0xa9d08269, - 0x89d08269, 0x59c48269, 0x36c48269, + 0x02000000, // 2 (not a real user PID, this translates to the internal Quazal Rendez-Vous user used by NEX) + 0x70cc8269, // 1770179696 (official_player0 on NN, need to make PN versions) + 0x50cc8269, // 1770179664 (official_player1 on NN, need to make PN versions) + 0x38cc8269, // 1770179640 (official_player2 on NN, need to make PN versions) + 0xdbd08269, // 1770180827 (official_player3 on NN, need to make PN versions) + 0xa9d08269, // 1770180777 (official_player4 on NN, need to make PN versions) + 0x89d08269, // 1770180745 (official_player5 on NN, need to make PN versions) + 0x59c48269, // 1770177625 (official_player6 on NN, need to make PN versions) + 0x36c48269, // 1770177590 (official_player7 on NN, need to make PN versions) } }