0
0
mirror of https://github.com/sp-tarkov/modules.git synced 2025-02-13 09:30:46 -05:00

47 Commits

Author SHA1 Message Date
Dev
16b9247c26 Renamed patch 2024-11-17 21:48:45 +00:00
Dev
4051e09812 Remove unused imports 2024-11-17 16:01:31 +00:00
Dev
9e35049e44 Patch comment changes 2024-11-17 16:00:48 +00:00
Dev
7853f55bff Fixed scav raids not loading
Will require a second server fix to allow exfiltration of player scav
2024-11-03 19:55:00 +00:00
Dev
3e073ad713 Updated to 33420 2024-11-02 13:40:25 +00:00
Lacyway
dd4bc93a97 Fix FixSavageInventoryScreenPatch (!173)
This fixes the logic of FixSavageInventoryScreenPatch.
NOTE:  The code below is untested and will most likely not work. It's what I theoretically believe is the right way to turn the `JObject` into a string for the server, however BSG has a `JsonWriter` in the client now that might have to be utilized? I will leave it like this until we have more info.
```c#
RequestHandler.PutJson("/raid/profile/scavsave",
				GetProfileAtEndOfRaidPatch.ProfileDescriptor.ToUnparsedData([]).JObject.ToString());
```

Co-authored-by: Lacyway <20912169+Lacyway@users.noreply.github.com>
Reviewed-on: SPT/Modules#173
Co-authored-by: Lacyway <lacyway@noreply.dev.sp-tarkov.com>
Co-committed-by: Lacyway <lacyway@noreply.dev.sp-tarkov.com>
2024-11-01 13:23:31 +00:00
Dev
c2271b0c0e Fixed post-raid json serialization error 2024-11-01 11:35:41 +00:00
Dev
22bd973bb5 Fixed various patch issues 2024-10-31 21:27:32 +00:00
Dev
39cbda1cc9 Fixed mapping 2024-10-31 20:36:29 +00:00
Dev
e2af9e8a4a Various code cleanups and warning fixes 2024-10-03 10:58:47 +01:00
Dev
54eca46c70 Reverted pmc exfils on scav patch removal 2024-09-25 19:17:10 +01:00
Dev
aa69354ab3 Disabled DisablePMCExtractsForScavsPatch 2024-09-24 13:40:34 +01:00
Lacyway
6d03395729 Fix scav exfils (!169)
`InitAllExfiltrationPoints` will instantiate the list of `ScavExfiltrationPoints` in one line before `EligiblePoints` is ran, meaning the following always returned:
```cs
            if (__instance.ScavExfiltrationPoints.Length > 0)
            {
                Logger.LogError($"ScavExfiltrationPoints has content, Do original");
                foreach (var scavExit in __instance.ScavExfiltrationPoints)
                {
                    Logger.LogError($"{scavExit.name}, {scavExit.Id}, {scavExit.Description}");
                }

                return true; // do original
            }
```

I'm not sure if the logic was different before 3.10, but removing this ensures that the patch runs as intended. Tested both PMC and Scav raids, all is fine for me. Please test on your end as well.

Co-authored-by: Lacyway <20912169+Lacyway@users.noreply.github.com>
Reviewed-on: SPT/Modules#169
Co-authored-by: Lacyway <lacyway@noreply.dev.sp-tarkov.com>
Co-committed-by: Lacyway <lacyway@noreply.dev.sp-tarkov.com>
2024-09-20 10:02:44 +00:00
Lacyway
e76ee6f2cc 310-dev (!168)
This adds a patch that enforces PMC AI to be hostile towards scavs. From my testing they were not attacking random scavs and the player because the boolean failed at the attached screenshot due to PMCs being bosses and the loyalty check. Now it checks if the initial bot type of the group was a PMC Bear or USEC and then if the player it checks for is a scav, they will be forced to be an enemy (which to me seemed natural).
![image](/attachments/4a73df0f-7030-4c61-869f-0a20ba804d8b)

I've tested this on 3 raids on customs and it seems to work fine. Feel free to edit the PR if the logic is flawed, and please test the patch thoroughly to ensure my tests were not just lucky.
Thanks!

Co-authored-by: Lacyway <20912169+Lacyway@users.noreply.github.com>
Reviewed-on: SPT/Modules#168
Co-authored-by: Lacyway <lacyway@noreply.dev.sp-tarkov.com>
Co-committed-by: Lacyway <lacyway@noreply.dev.sp-tarkov.com>
2024-09-19 16:58:47 +00:00
Dev
18708da49b Removed ScavExfilPatch due to server changes 2024-09-18 13:31:26 +01:00
Dev
53412fbdc4 Fixed scav raid patch + bosses spawning when unchecked 2024-09-13 18:17:13 +01:00
Dev
7b20646134 Big clean up of various resharper warnings 2024-08-28 12:52:54 +01:00
CWX
61d43585ab Update scavlatepatch, remove logging from scavprofileloadpatch 2024-08-20 21:31:32 +01:00
CWX
2c2fe26f0b fix scavProfileLoadPatch 2024-08-20 21:24:51 +01:00
Kaeno
2dfc019b21 Fix patches 2024-08-20 20:25:53 +01:00
CWX
0986ebac2d Refactored patches to be public so people can disable if needed 2024-08-02 16:57:59 +01:00
3e4fa06339 comment update 2024-08-01 22:12:00 +01:00
2eb7cb3eca Remove grenade patches 2024-08-01 22:09:28 +01:00
8e29dec47a Allow Scavs to enter raids and Raid setting should save correct now prayge 2024-08-01 20:29:07 +01:00
Dev
e07b94bc0f 31124 2024-07-17 15:45:37 +01:00
CWX
d943d2750a add saving of scav profile to end of patch 2024-07-12 16:29:50 +01:00
CWX
ccad89df05 renamed and reenabled some required patches 2024-07-12 15:59:37 +01:00
CWX
67cafd4ded add comment to IL patch to clarify what it does 2024-07-12 14:56:10 +01:00
CWX
cef94b5c40 scavprofileloadpatch reworked tobe prefix instead of IL 2024-07-12 14:49:25 +01:00
CWX
f90ca3f780 removed scav encyclopedia patch as BSG does this now, few patches moved in plugin for testing 2024-07-12 14:48:51 +01:00
0848617e29 Add patch to fix incorrect data being passed into SavageInventoryScreen.Remove old patch. Change Raidscreen patch to load the PVE version. 2024-07-09 10:33:42 +01:00
cd76273abc update Playerscavpatch 2024-07-08 18:52:57 +01:00
01631c6060 Actually add a patch this time. Removed more redundant patches 2024-07-08 15:44:45 +01:00
CWX
0bc05f80d4 Remove unused files, some patches to test also 2024-07-06 09:32:55 +01:00
0c52ddbd61 Fix patch oopsie :). Added another patch to remove Practice mode toggle and warning text 2024-07-05 23:57:58 +01:00
00a2a3a984 Revert Loadofflineraidscreenpatch back to its original state. Add patch to allow loading in as a scav. 2024-07-05 22:41:13 +01:00
bfff4108f4 Disable BTR patches.Make raidmode local for scavs and pmcs 2024-07-05 21:39:19 +01:00
46a6d0b3d6 Renamed Variables to hopefully improve reading. Check role instead of side to tell if they are PMCs. (!145)
Renamed a few things to make it easier to read. Use role instead of side to know if they are pmcs. Cant test since one of patches fail due to remapping should be ok

Reviewed-on: SPT/Modules#145
Co-authored-by: Kaeno <kaeno@noreply.dev.sp-tarkov.com>
Co-committed-by: Kaeno <kaeno@noreply.dev.sp-tarkov.com>
2024-07-05 17:49:42 +01:00
CWX
bac205e640 Fix ScavLateStartPatch 2024-07-04 22:20:10 +01:00
CWX
db906c3d6d fix loadOfflineRaidScreenPatch 2024-07-04 21:34:31 +01:00
b4b191d6b7 Adjust FenceRep for killing aggressive PMCs separately instead of using BSG's Method. (!144)
Reviewed-on: SPT/Modules#144
2024-07-04 14:25:04 +00:00
ffde317c59 Feature: new-remapper (!143)
Co-authored-by: Dev <dev@dev.sp-tarkov.com>
Reviewed-on: SPT/Modules#143
2024-07-04 14:11:11 +00:00
Dev
6c9bd09de0 Updated module patches to allow project to build 2024-06-13 14:25:36 +01:00
6897879c69 30473 (!137)
Co-authored-by: Dev <dev@dev.sp-tarkov.com>
Co-authored-by: Kaeno <kaeno@noreply.dev.sp-tarkov.com>
Reviewed-on: SPT/Modules#137
2024-06-07 18:25:19 +00:00
d6dd573e88 Safeguard ScavRepAdjustmentpatch to only run when its your player doing the killing. Added notes so Gclass ref doesnt get updated incorrectly (!132)
Reviewed-on: SPT/Modules#132
2024-05-24 07:12:44 +00:00
Dev
d452c24c9b 30150 2024-05-23 17:23:39 +01:00
CWX
866ff1095c Rebranding 2024-05-21 19:10:17 +01:00