Beispiel #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>();
        }
Beispiel #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>();
        }
Beispiel #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>();
        }
Beispiel #4
0
 public override void Apply()
 {
     PatcherUtil.PatchPrefix <HttpRequestPatch>(TargetMethod());
 }
Beispiel #5
0
 public override void Apply()
 {
     PatcherUtil.PatchPrefix <SslCertificatePatch>(TargetMethod());
 }
 public override void Apply()
 {
     PatcherUtil.PatchPrefix <GetDependenciesPatch>(TargetMethod());
 }
Beispiel #7
0
 public override void Apply()
 {
     PatcherUtil.PatchPrefix <LocationLootPatch>(TargetMethod());
 }
Beispiel #8
0
 public override void Apply()
 {
     PatcherUtil.PatchPrefix <BattleEyePatch>(TargetMethod());
 }
 public override void Apply()
 {
     PatcherUtil.PatchPrefix <GetManifestPatch>(TargetMethod());
 }