2023-11-01 15:08:30 -04:00
|
|
|
#include "party.h"
|
|
|
|
#include "game_inc.h"
|
|
|
|
|
|
|
|
void PartyHost_StartPrivateParty_Detour(int localClientNum, int localControllerIndex, bool currentlyActive, int hostType)
|
|
|
|
{
|
|
|
|
partyhost_startprivateparty.stub<void>(localClientNum, localControllerIndex, currentlyActive, hostType);
|
|
|
|
|
|
|
|
static bool autoexec = false;
|
|
|
|
if (!autoexec)
|
|
|
|
{
|
|
|
|
Cbuf_AddText("exec autoexec.cfg");
|
|
|
|
LoadInventory();
|
2024-02-03 17:41:49 -05:00
|
|
|
|
|
|
|
// skips Tutorial stuff
|
|
|
|
Cbuf_AddText("setRankedPlayerData mpTutorialLevel -2147463171");
|
|
|
|
Cbuf_AddText("setRankedPlayerData mpTutorialLevel2 28671");
|
|
|
|
Cbuf_AddText("setRankedPlayerData mpTutorialLevel - 2147454979");
|
|
|
|
Cbuf_AddText("setRankedPlayerData mpTutorialLevel2 61439");
|
|
|
|
|
2023-12-10 17:02:04 -05:00
|
|
|
autoexec = true;
|
2023-11-01 15:08:30 -04:00
|
|
|
}
|
|
|
|
}
|