EnderdracheLP / MultiplayerCore.Quest

Quest port of the MultiplayerCore PC mod
MIT License
30 stars 10 forks source link

[MSCM] Connection failed MultiplayerApiUnreachable #2

Closed Alxspb closed 2 years ago

Alxspb commented 2 years ago

I've tried latest versions of BeatTogether & MultiplayerCore on Quest2 with 1.21.0 Got it working but when I'm trying to connect to QuickPlay or CreateServer it throws an error

[MSCM] Connection failed MultiplayerApiUnreachable

BeatTogether was compiled from here: https://github.com/michael-r-elp/BeatTogether.Quest

MultiplayerCore logs

04-19 00:08:14.295 INFO QuestHook[MultiplayerCore|v0.1.0]: Creating config file...
04-19 00:08:14.299 INFO QuestHook[MultiplayerCore|v0.1.0]: Config file already exists.
04-19 00:08:14.299 INFO QuestHook[MultiplayerCore|v0.1.0]: Completed setup!
04-19 00:08:15.092 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hooks...
04-19 00:08:15.093 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: NetworkPlayerEntitlementChecker_GetEntitlementStatus to offset: 0x7776c72b58
04-19 00:08:15.093 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: NetworkPlayerEntitlementChecker_Start to offset: 0x7776c7276c
04-19 00:08:15.093 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: MultiplayerResultsPyramidPatch to offset: 0x7776ba5ea4
04-19 00:08:15.093 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: IntroAnimationPatch to offset: 0x7776bf2e0c
04-19 00:08:15.093 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: MultiplayerIntroAnimationController_BindTimeline to offset: 0x7776bf6a90
04-19 00:08:15.093 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: MultiplayerOutroAnimationController_BindOutroTimeline to offset: 0x7776ba4dec
04-19 00:08:15.094 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: MultiplayerPlayersManager_get_allActiveAtGameStartPlayers to offset: 0x7776ba7a2c
04-19 00:08:15.094 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: CreateServerFormController_get_formData to offset: 0x7776c0afec
04-19 00:08:15.094 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: CreateServerFormController_Setup to offset: 0x7776c0b0fc
04-19 00:08:15.095 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: MultiplayerLobbyController_ActivateMultiplayerLobby to offset: 0x7776c01444
04-19 00:08:15.095 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: MultiplayerLobbyAvatarManager_AddPlayer to offset: 0x7776bfddc8
04-19 00:08:15.096 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: AvatarPoseRestrictions_HandleAvatarPoseControllerPositionsWillBeSet to offset: 0x7776cc29d0
04-19 00:08:15.096 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: QuickPlaySongPacksDropdown_LazyInit to offset: 0x7776b7f984
04-19 00:08:15.096 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: MultiplayerModeSelectionFlowCoordinator_HandleJoinQuickPlayViewControllerDidFinish to offset: 0x7776ba0374
04-19 00:08:15.096 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: SessionManagerStart to offset: 0x7776f0772c
04-19 00:08:15.097 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: SessionManager_StartSession to offset: 0x7776f08224
04-19 00:08:15.097 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: LobbyPlayersDataModel_HandleMenuRpcManagerGetRecommendedBeatmap to offset: 0x7776d26124
04-19 00:08:15.098 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: LobbyPlayersDataModel_HandleMenuRpcManagerRecommendBeatmap to offset: 0x7776d26700
04-19 00:08:15.098 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: LobbyPlayersDataModel_SetLocalPlayerBeatmapLevel to offset: 0x7776d23dc0
04-19 00:08:15.099 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: BeatmapIdentifierNetSerializableHelper_ToPreviewDifficultyBeatmap to offset: 0x7776cce0fc
04-19 00:08:15.099 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: MultiplayerConnectedPlayerInstaller_InstallBindings to offset: 0x7776bd83e8
04-19 00:08:15.099 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: LobbyPlayersActivate to offset: 0x7776d24768
04-19 00:08:15.100 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: MultiplayerLevelLoader_LoadLevel to offset: 0x7776bfb870
04-19 00:08:15.100 INFO QuestHook[MultiplayerCore|v0.1.0]: Hello BeatTogether!
04-19 00:08:15.102 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: LobbyGameStateController_HandleMultiplayerLevelLoaderCountdownFinished to offset: 0x7776c9ab90
04-19 00:08:15.102 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: LobbyGameStateController_Activate to offset: 0x7776c97ea8
04-19 00:08:15.102 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: LobbySetupViewController_SetPlayersMissingLevelText to offset: 0x7776d28838
04-19 00:08:15.102 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: LobbySetupViewController_SetStartGameEnabled to offset: 0x7776d2889c
04-19 00:08:15.102 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: LobbySetupViewController_DidActivate to offset: 0x7776d289fc
04-19 00:08:15.102 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: MultiplayerLobbyConnectionController_CreateParty to offset: 0x7776bffd90
04-19 00:08:15.102 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: LevelSelectionNavigationController_Setup to offset: 0x7776c8d364
04-19 00:08:15.102 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: CenterStageScreenController_Setup to offset: 0x7776b56c14
04-19 00:08:15.102 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: BGNetDebug_Log to offset: 0x777829ad3c
04-19 00:08:15.102 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: BGNetDebug_LogError to offset: 0x777829ae3c
04-19 00:08:15.102 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: BGNetDebug_LogException to offset: 0x777829af40
04-19 00:08:15.102 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: BGNetDebug_LogWarning to offset: 0x777829b054
04-19 00:08:15.103 INFO QuestHook[MultiplayerCore|v0.1.0]: Installing hook: GameServerPlayerTableCell_SetData to offset: 0x7776be30c4
04-19 00:08:15.103 INFO QuestHook[MultiplayerCore|v0.1.0]: Installed all hooks!
04-19 00:08:29.375 DEBUG QuestHook[MultiplayerCore|v0.1.0]: (BGNetDebug::Log) [MasterServerNetworkPlayerModel] Create ConnectedPlayerManager. params: MasterServerConnectionManager+ConnectToServerParams
04-19 00:08:29.401 DEBUG QuestHook[MultiplayerCore|v0.1.0]: (BGNetDebug::Log) Sending ConnectToServer Message to MasterServer
04-19 00:08:29.416 DEBUG QuestHook[MultiplayerCore|v0.1.0]: Creating MpPacketSerializer
04-19 00:08:29.416 DEBUG QuestHook[MultiplayerCore|v0.1.0]: Constructing MpPacketSerializer
04-19 00:08:29.416 DEBUG QuestHook[MultiplayerCore|v0.1.0]: Registering MpPacketSerializer
04-19 00:08:29.416 DEBUG QuestHook[MultiplayerCore|v0.1.0]: MpPacketSerializer Registered Successfully
04-19 00:08:29.416 DEBUG QuestHook[MultiplayerCore|v0.1.0]: Registering Callback
04-19 00:08:29.416 DEBUG QuestHook[MultiplayerCore|v0.1.0]: Callback HandleMpexBeatmapPacket Registered
04-19 00:08:29.416 DEBUG QuestHook[MultiplayerCore|v0.1.0]: Callback HandlePlayerData Registered
04-19 00:08:29.416 DEBUG QuestHook[MultiplayerCore|v0.1.0]: MultiplayerSessionManager.StartSession, creating localPlayer
04-19 00:08:29.422 DEBUG QuestHook[MultiplayerCore|v0.1.0]: Platform: Oculus = OculusQuest
04-19 00:08:29.422 DEBUG QuestHook[MultiplayerCore|v0.1.0]: Creating MpPlayerData
04-19 00:08:29.423 DEBUG QuestHook[MultiplayerCore|v0.1.0]: Creating MpPlayerData finished
04-19 00:08:39.462 DEBUG QuestHook[MultiplayerCore|v0.1.0]: (BGNetDebug::Log) Sending ConnectToServer Message to MasterServer
04-19 00:08:49.509 DEBUG QuestHook[MultiplayerCore|v0.1.0]: (BGNetDebug::Log) [MSCM] Connection failed MultiplayerApiUnreachable
Alxspb commented 2 years ago

I appreciate ur work on this mod and wanna help if i could

michael-r-elp commented 2 years ago

Unfortunately the current public BT server isn't compatible with the current version of Beat Saber, so if you want to test the mod, you'd either need access to the BT test servers which are patreon and BSMG Quest Testers only or you'd need to run your own instance of the dedicated and master server using the code in the BeatTogether org.

Alxspb commented 2 years ago

Thanks for info