Ejemplo n.º 1
0
        private void Start()
        {
            Debug.LogError("EmuTarkov.SinglePlayer: Loaded");

            // todo: find a way to get php session id
            new BotSettings(null, Utils.Config.BackendUrl);

            PatcherUtil.PatchPostfix <BotTemplateLimitPatch>();
            PatcherUtil.PatchPrefix <GetNewBotTemplatesPatch>();
            PatcherUtil.PatchPrefix <RemoveUsedBotProfilePatch>();
            PatcherUtil.PatchPrefix <SpawnPmcPatch>();
            PatcherUtil.PatchPrefix <CoreDifficultyPatch>();
            PatcherUtil.PatchPrefix <BotDifficultyPatch>();

            PatcherUtil.PatchPrefix <BeaconPatch>();
            PatcherUtil.PatchPostfix <DogtagPatch>();

            PatcherUtil.PatchPrefix <OfflineLootPatch>();
            PatcherUtil.PatchPrefix <OfflineSaveProfilePatch>();
            PatcherUtil.PatchPostfix <WeaponDurabilityPatch>();

            PatcherUtil.PatchPostfix <MatchmakerOfflineRaidPatch>();

            PatcherUtil.Patch <Patches.Healing.MainMenuControllerPatch>();
            PatcherUtil.Patch <Patches.Healing.PlayerPatch>();
        }
Ejemplo n.º 2
0
        private void Start()
        {
            Debug.LogError("SPTarkov.SinglePlayer: Loaded");

            // todo: find a way to get php session id
            new Settings(null, Utils.Config.BackendUrl);

            PatcherUtil.PatchPrefix <OfflineLootPatch>();
            PatcherUtil.PatchPrefix <OfflineSaveProfilePatch>();
            PatcherUtil.PatchPostfix <WeaponDurabilityPatch>();
            PatcherUtil.PatchPostfix <SingleModeJamPatch>();

            PatcherUtil.Patch <Patches.Healing.MainMenuControllerPatch>();
            PatcherUtil.Patch <Patches.Healing.PlayerPatch>();

            PatcherUtil.PatchPostfix <MatchmakerOfflineRaidPatch>();
            PatcherUtil.PatchPostfix <MatchMakerSelectionLocationScreenPatch>();
            PatcherUtil.Patch <InsuranceScreenPatch>();

            PatcherUtil.Patch <BossSpawnChancePatch>();
            PatcherUtil.PatchPostfix <BotTemplateLimitPatch>();
            PatcherUtil.PatchPrefix <GetNewBotTemplatesPatch>();
            PatcherUtil.PatchPrefix <RemoveUsedBotProfilePatch>();
            PatcherUtil.PatchPrefix <SpawnPmcPatch>();
            PatcherUtil.PatchPrefix <CoreDifficultyPatch>();
            PatcherUtil.PatchPrefix <BotDifficultyPatch>();

            PatcherUtil.Patch <OnDeadPatch>();
            PatcherUtil.Patch <OnShellEjectEventPatch>();
            PatcherUtil.Patch <BotStationaryWeaponPatch>();

            PatcherUtil.PatchPrefix <BeaconPatch>();
            PatcherUtil.PatchPostfix <DogtagPatch>();

            PatcherUtil.Patch <LoadOfflineRaidScreenPatch>();
            PatcherUtil.Patch <ScavPrefabLoadPatch>();
            PatcherUtil.Patch <ScavProfileLoadPatch>();
            PatcherUtil.Patch <ScavSpawnPointPatch>();
            PatcherUtil.Patch <ScavExfilPatch>();

            PatcherUtil.Patch <EndByTimerPatch>();
        }
Ejemplo n.º 3
0
        private void Start()
        {
            Debug.LogError("EmuTarkov.SinglePlayer: Loaded");

            // todo: find a way to get php session id
            BotLimits.RequestData(null, Utils.Config.BackendUrl);

            PatcherUtil.PatchPostfix <BotTemplateLimitPatch>();
            PatcherUtil.PatchPrefix <GetNewBotTemplatesPatch>();
            PatcherUtil.PatchPrefix <RemoveUsedBotProfilePatch>();
            PatcherUtil.PatchPrefix <SpawnPmcPatch>();
            PatcherUtil.PatchPrefix <OfflineLootPatch>();

            PatcherUtil.PatchPrefix <OfflineSaveProfilePatch>();

            PatcherUtil.PatchPrefix <BeaconPatch>();
            PatcherUtil.PatchPostfix <MatchmakerOfflineRaidPatch>();
            PatcherUtil.PatchPostfix <WeaponDurabilityPatch>();

            PatcherUtil.PatchPostfix <DogtagPatch>();
        }
Ejemplo n.º 4
0
 public override void Apply()
 {
     PatcherUtil.PatchPrefix <HttpRequestPatch>(TargetMethod());
 }
Ejemplo n.º 5
0
 public override void Apply()
 {
     PatcherUtil.PatchPrefix <SslCertificatePatch>(TargetMethod());
 }
Ejemplo n.º 6
0
 public override void Apply()
 {
     PatcherUtil.PatchPrefix <GetDependenciesPatch>(TargetMethod());
 }
Ejemplo n.º 7
0
 public override void Apply()
 {
     PatcherUtil.PatchPrefix <LocationLootPatch>(TargetMethod());
 }
Ejemplo n.º 8
0
 public override void Apply()
 {
     PatcherUtil.PatchPrefix <BattleEyePatch>(TargetMethod());
 }
Ejemplo n.º 9
0
 public override void Apply()
 {
     PatcherUtil.PatchPrefix <GetManifestPatch>(TargetMethod());
 }