Extending number of players
Posted: Wed Feb 03, 2016 1:33 am
I've been looking into this for some time, and since you've done quite a bit of work on the blaze side of things I'm wondering if you know anything about the openness of a lobby (from the matchmaking bot perspective) in terms of the number of players. I beleive I can raise the number of players (UI will be messed up of course) but the only thing that has stopped mei n the past is that origin closes the lobby so you cannot "invite" or click "join game". In your tests have you seen anything like this happen before?
I've also been looking to perhaps doing this directly through the console. This is the function the game uses when starting an MP game.
I am wondering if you can connect to other players this way.
I've also been looking to perhaps doing this directly through the console. This is the function the game uses when starting an MP game.
Code: Select all
[CB: 0x03]SFXGameMPContent.SFXGameInfoMP_Lobby.OnMPGameStarted(Function) (Superclass: Class) (Data Offset: 0x 137F5)
==============Function==============
Childindex : 95
Unknown1 : 97
Unknown2 : 861
Script Size : 661
Flags ( Defined Public )
Native Index: 0
Script:
20 : If(OnlineSub)
{
GameInterface = OnlineSub.GameInterface;
}
40 : If (!(NotEqual_InterfaceInterface(GameInterface,OnlineGameInterface,None))) Goto(0x2E9);
54 : If(bWasSuccessful){GameInterface.ClearCreateOnlineGameCompleteDelegate(OnCreateGameComplete);}
81 : GameInterface.ClearQuickMatchCompleteDelegate(OnQuickMatchComplete);
A6 : GameInterface.ClearDestroyOnlineGameCompleteDelegate(OnMultiplayerGameDestroyed);
CB : If (!(GameInterface.GetResolvedConnectString('Game',connectString);)) Goto(0x282);
F4 : connectString $= '?origin=MultiplayerMenu'
11A : connectString $= '?privacy=' $ MatchMakingGameSettings.GetPrivacy()
150 : connectString $= '?map=' $ MatchMakingGameSettings.mME3MapName
179 : connectString $= '?enemy=' $ MatchMakingGameSettings.EnemyType
1A6 : connectString $= '?difficulty=' $ MatchMakingGameSettings.Difficulty
1DA : connectString = 'open ' $ connectString;
1EF : Goto(0x2B0)
1F2 : OnMPFatalError('GetResolvedConnectString failed.')
220 : Goto(0x2E6)
223 : OnMPNetworkError('Starting MP match failed.')
24A : CancelSearch()
256 : Goto(0x306)
259 : OnMPFatalError(this @ GetFuncName())
272 : Goto(0x326)
275 : OnMPFatalError(this @ GetFuncName())
28E : WorldInfo.ConsoleCommand(connectString,null)
2B2 : Return ();
2B4 : \\End of Script