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

492 Commits

Author SHA1 Message Date
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
6ea4ac6fed Added back patch that's required to flag scav exfils as valid 2024-09-18 15:25:05 +01:00
Dev
26da1c3990 Updated exfil dumper patch 2024-09-18 13:31:51 +01:00
Dev
18708da49b Removed ScavExfilPatch due to server changes 2024-09-18 13:31:26 +01:00
Lacyway
9b57469707 Add FixLocalRaidPatch (!167)
This patch ensures that the game mode is _always_ Local and PvE if the player skips the raid settings window. This way an online `GameWorld` will not be incorrectly instantiated.
**NOTE**: This might make EnablePlayerScavPatch redundant or at least parts of it.

Co-authored-by: Lacyway <20912169+Lacyway@users.noreply.github.com>
Reviewed-on: SPT/Modules#167
Co-authored-by: Lacyway <lacyway@noreply.dev.sp-tarkov.com>
Co-committed-by: Lacyway <lacyway@noreply.dev.sp-tarkov.com>
2024-09-16 18:18:52 +00:00
Dev
4a187bef22 Small patch clean up - fixed issue with pmc spawn location patch not working as intended 2024-09-16 15:02:51 +01:00
Dev
990b6edf0b Fixed issue where ALL bots were being classified as assault scavs, e.g. BTR/PMCs, this would then incorrectly assign them the assault brain 2024-09-16 12:13:12 +01:00
Dev
60ab34f61c Reworked BotIsNormalAssaultScav to handle when the nickname is null 2024-09-15 19:10:38 +01:00
Dev
53412fbdc4 Fixed scav raid patch + bosses spawning when unchecked 2024-09-13 18:17:13 +01:00
Dev
e92504ff5b Removed patch, appears to be redundant 2024-09-13 18:14:13 +01:00
Cj
5edf26b049 Fix beta logo 1 patch (!166)
Parameter length changed.

Co-authored-by: Cj <161484149+CJ-SPT@users.noreply.github.com>
Reviewed-on: SPT/Modules#166
Co-authored-by: Cj <cj@noreply.dev.sp-tarkov.com>
Co-committed-by: Cj <cj@noreply.dev.sp-tarkov.com>
2024-09-06 08:14:23 +00:00
Kaeno
b7a41c81e9 Enable ScavRepAdjustmentPatch again so rep works like in 3.9.x 2024-09-04 23:21:12 +01:00
Cj
9c248719e7 Clothing service fix (!165)
Client implementation of my `TraderServiceFix` mod into the SPT code base. Details on server PR, also is required to be merged with the accompanying server PR.

Co-authored-by: Cj <161484149+CJ-SPT@users.noreply.github.com>
Reviewed-on: SPT/Modules#165
Co-authored-by: Cj <cj@noreply.dev.sp-tarkov.com>
Co-committed-by: Cj <cj@noreply.dev.sp-tarkov.com>
2024-09-04 08:30:24 +00:00
Dev
9b53ad0752 Added patch to fix airdrops not spawning 2024-09-03 12:36:49 +01:00
Dev
7f05bd7e08 Remvoed use of magic string 2024-09-03 12:27:08 +01:00
Dev
0c3b9a4bcc Updated newtonsoft.json to 13.0.3 2024-09-02 10:26:13 +01:00
c967b51aec Included the AmmoUsedCounterPatch patch to fix a bug with counting used cartridges (#773). (!164)
Reviewed-on: SPT/Modules#164
Co-authored-by: DenisZhmakin <deniszhmakin@noreply.dev.sp-tarkov.com>
Co-committed-by: DenisZhmakin <deniszhmakin@noreply.dev.sp-tarkov.com>
2024-09-02 08:35:03 +00:00
Dev
94fea58c44 Removed unnecessary patch SmokeGrenadeFuseSoundFixPatch 2024-08-31 14:04:33 +01:00
Dev
f85669e204 32291 2024-08-30 14:16:42 +01:00
Dev
c5de61ce25 Updated remaps 2024-08-30 09:31:05 +01:00
Dev
8a0f088292 32280 2024-08-29 11:41:21 +01:00
Dev
32b2136630 Disabled various patches based on client analysis 2024-08-29 10:15:58 +01:00
Dev
6667e347f3 Moved DisableNonHalloweenExitsDuringEventPatch into needed pile 2024-08-29 09:32:57 +01:00
Dev
7b20646134 Big clean up of various resharper warnings 2024-08-28 12:52:54 +01:00
Dev
700020a23b Made plugin classes public 2024-08-26 12:20:28 +01:00
Dev
9f90a9481d Renamed patch to FixScavWarNullErrorWithMarkOfUnknownPatch 2024-08-25 09:24:10 +01:00
Dev
e4c7547bc8 Disabled BossSpawnChancePatch as it doesn't appear to be necessary after testing 2024-08-25 09:21:21 +01:00
CWX
815d6a6303 2 patches still required 2024-08-24 12:09:16 +01:00
CWX
7901310094 Still need these patches for scav selling price 2024-08-24 11:43:19 +01:00
Lacyway
00a880e49c Add RemoveClothingItemExternalObtainLabelPatch (!163)
Needs to be tested, I am in the process of updating my client to the latest version. If you cannot test right now I'll do it once I am done.

Co-authored-by: Lacyway <20912169+Lacyway@users.noreply.github.com>
Reviewed-on: SPT/Modules#163
Co-authored-by: Lacyway <lacyway@noreply.dev.sp-tarkov.com>
Co-committed-by: Lacyway <lacyway@noreply.dev.sp-tarkov.com>
2024-08-24 10:35:20 +00:00
Lacyway
d4c10c4765 Rework RemoveStashUpgradeLabelPatch (!162)
The `InventoryScreen` is part of the `CommonUI` which lives throughout the lifetime of the application. It should be safe to only delete this on `Awake()` rather than use `Find()` on a transform that has a fair bit of children every time the inventory screen is opened.
![image](/attachments/937a3954-210c-4fc7-a869-75458ae19d8d)
I cannot extract on 3.10 currently so need someone to just verify that it sticks after an extract where the menu is reloaded.

Co-authored-by: Lacyway <20912169+Lacyway@users.noreply.github.com>
Reviewed-on: SPT/Modules#162
Co-authored-by: Lacyway <lacyway@noreply.dev.sp-tarkov.com>
Co-committed-by: Lacyway <lacyway@noreply.dev.sp-tarkov.com>
2024-08-24 09:12:03 +00:00
CWX
fc6124dfc8 Add patch to disable StashExpansion label and tooltip 2024-08-24 00:42:01 +01:00
Kaeno
112e378878 Update Patch class ref. 2024-08-23 17:29:01 +01:00
Dev
17b83e6446 Updated to 32197 2024-08-23 16:05:49 +01:00
Dev
393d172c55 Disabled IsEnemyPatch as it may no longer be needed 2024-08-22 20:04:29 +01:00
Dev
c2f66c6660 Updated IsEnemy patch note 2024-08-22 09:24:56 +01:00
Dev
1154611e88 Removed unnecessary LabsKeycardRemovalPatch patch, client now performs this natively 2024-08-22 09:22:42 +01:00
fd52b7386a Fixed recursion when using GetData syncronously (!161)
Running [SPT.Common.Http.RequestHandler.GetData()](af1a83fe71/project/SPT.Common/Http/RequestHandler.cs (L78)) would run indefinitely because of an accidental recursion.

Reviewed-on: SPT/Modules#161
Co-authored-by: Kaiden <kaiden@pm.me>
Co-committed-by: Kaiden <kaiden@pm.me>
(cherry picked from commit ab9d9c0e1386e3bf624afe926131c53f67e386aa)
2024-08-22 09:16:11 +01:00
Dev
6320c396da Updated to 32160 2024-08-21 19:10:12 +01:00
CWX
374947c18a Merge branch '310-dev' of https://dev.sp-tarkov.com/SPT-AKI/Modules into 310-dev 2024-08-21 12:51:50 +01:00
CWX
a1fb3350b4 added latest langversion in csprojs and formatting 2024-08-21 12:51:46 +01:00
Dev
b98778784d Updated mappings 2024-08-21 09:55:00 +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
Dev
85da3e405d updated mappings 2024-08-20 20:19:58 +01:00
Dev
9f18cfd6d8 Updated mappings 2024-08-20 19:25:18 +01:00
Dev
083e34bdde Updated hollowed dll 2024-08-20 19:12:00 +01:00