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

114 Commits

Author SHA1 Message Date
Chomp
249123bb48 Updated to 34644 2025-01-24 19:09:52 +00:00
Lacyway
bd03049673
Rework EnablePrestigeTabPatch (#25)
* Add new transpilers

* Cleanup

* Fix transpiler

* Fix incorrect code instruction

* Add EnablePrestigeTabPatch

* Rework EnablePrestigeTabPatch

---------

Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2025-01-19 15:53:56 +00:00
bca0ea8ece Update prestige tab patch 2025-01-19 12:50:34 +01:00
Chomp
7a01f79e26 Updated hollowed dll + remappings 2025-01-15 17:54:15 +00:00
Lacyway
3abd27423b
Add EnablePrestigeTabPatch (#23)
* Add new transpilers

* Cleanup

* Fix transpiler

* Fix incorrect code instruction

* Add EnablePrestigeTabPatch

---------

Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2025-01-09 10:18:40 +00:00
DrakiaXYZ
84d2821d07 Save virtual registry on application quit
- Explicitly call PlayerPrefs.Save on application quit, since Unity doesn't seem to do it (any more?)
- Remove previously added Save calls from Set methods
2025-01-07 16:38:51 -08:00
Chomp
316dc33607 Fix registry patches not saving to disk - found by Kaeno 2025-01-07 14:47:20 +00:00
Chomp
96e0be26cd Added early exit to AddTraitorScavsPatch 2024-12-29 18:59:57 +00:00
CWX
f2a4b3fb97 fix allowairdrops patch 2024-12-26 22:19:26 +00:00
CWX
95de6c0175 fix tratorpatch 2024-12-26 21:24:31 +00:00
CWX
b41b453207 Fix QTEPatch 2024-12-26 19:59:21 +00:00
CWX
ec6f7242e9 Fix AirdropFlareDisposePatch 2024-12-26 19:56:42 +00:00
Chomp
4c8aded14e First pass at new dll 2024-12-26 17:31:40 +00:00
Chomp
c0d65208bc Added try/catch to SaveRegistryToSptFolderPatches to prevent code failing when malformed JSON is passed into it
Reduced indentation by inverting exists check
2024-12-13 10:17:30 +00:00
Chomp
ab809c4bc5
Use SkillsDescriptor to serialize skills, remove effects (#7)
Fixes exception at the end of the gym workout, removes effects
2024-11-27 12:07:30 +00:00
Cj
1d2262ac8d Use SkillsDescriptor to serialize skills, remove effects 2024-11-27 07:04:11 -05:00
46c3f7291e Add null check to ServerAirdropManager
Co-authored-by: Lacyway <20912169+Lacyway@users.noreply.github.com>
2024-11-27 10:44:52 +01:00
DrakiaXYZ
270bac8592 - Merge master changes into 310-dev in prep for merging back into master 2024-11-26 21:54:24 -08:00
fa9e6ce35f
Add further fixes to the airdop (#2)
* Fix airspace congested spam by disposing of the Server airdrop manager as well

* Add patch to dispose of flares correctly

* Spacing fixes
2024-11-25 14:47:31 +00:00
Chomp
5749991b9e Fixed blackscreen on backing out of raid prior to airdrop manager being initialised
Added a lot more nullref checking to patch
2024-11-25 13:25:20 +00:00
Chomp
a0d37fb35d Rename property to improve clarity 2024-11-22 22:43:29 +00:00
Cj
25801e3eda GC refactor (!178)
Make the GC only run on show inventory screen, and only allow it to run for a maximum of 25 milliseconds at a time.

Co-authored-by: Cj <161484149+CJ-SPT@users.noreply.github.com>
Reviewed-on: SPT/Modules#178
Co-authored-by: Cj <cj@noreply.dev.sp-tarkov.com>
Co-committed-by: Cj <cj@noreply.dev.sp-tarkov.com>
2024-11-21 08:54:45 +00:00
5a58e03854 Add FixAirdropCrashPatch (!175)
This fixes the current issue of having an airdrop in the game causing a CTD after an extract.

There's still two caveats to this that I'm looking into:
- On the very next raid, the sky will still have the chaff from the flares in the sky, however these will have pink textures and take a few seconds to dissipate.
- On the very next raid, calling in an airplane with a red flare will cause the notification manager to spam messages about the airspace being currently in use even at the start of the raid.

Reviewed-on: SPT/Modules#175
Co-authored-by: Archangel <jesse@archangel.wtf>
Co-committed-by: Archangel <jesse@archangel.wtf>
2024-11-18 20:50:55 +00:00
Dev
35f82f50fa Fixed client error when accessing inventory during raid start as PMC 2024-11-08 16:24:27 +00:00
3ac4f1e4bb Resolve exception caused by opening inventory preview during raid loading (!174)
Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: SPT/Modules#174
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-11-05 18:44:04 +00:00
Dev
22bd973bb5 Fixed various patch issues 2024-10-31 21:27:32 +00:00
Dev
d788abbaa9 Fixed various bad references 2024-10-31 17:19:37 +00:00
127e48a582 Redirect "PlayerPrefs" registry reads/writes to a JSON file (Memory-cached) to avoid cross contamination with live data (!172)
Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: SPT/Modules#172
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-10-26 08:15:12 +00:00
Dev
148c45666a Fixed bosses not spawning when player chooses medium ai amount on pre-raid screen 2024-10-21 14:23:41 +01:00
Dev
15a72cfeec Fixed BetaLogoPatch 2024-10-13 11:17:12 +01:00
Dev
e2af9e8a4a Various code cleanups and warning fixes 2024-10-03 10:58:47 +01:00
Dev
d37c38b2b9 Add return comments 2024-10-03 10:28:48 +01:00
Dev
581ccfcaeb Fix method that's moved 2024-09-26 14:21:35 +01:00
Dev
a79e5f17ec Fixed glcass references 2024-09-26 14:13:30 +01: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
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
Dev
9b53ad0752 Added patch to fix airdrops not spawning 2024-09-03 12:36:49 +01:00
Dev
7b20646134 Big clean up of various resharper warnings 2024-08-28 12:52:54 +01:00
Dev
9f90a9481d Renamed patch to FixScavWarNullErrorWithMarkOfUnknownPatch 2024-08-25 09:24:10 +01:00
CWX
815d6a6303 2 patches still required 2024-08-24 12:09:16 +01:00
Kaeno
2dfc019b21 Fix patches 2024-08-20 20:25:53 +01:00
Kaeno
853a74a449 Patch updates 2024-08-20 19:00:11 +01:00
939c85bc7c Rename ShouldReaquire & check if bundle exists (!160)
I didn't keep in mind that 'ShouldReaquire' handles both the initial check for acquiring of a file and also the re-acquiring of it, I've renamed the method here to be more accurate in this behavior so that hopefully it prevents this from happening again in the future.

Also fixes the issue of an exception being thrown when checking if the bundle exists or not.

Thanks to MadByte for finding this issue

Reviewed-on: SPT/Modules#160
Co-authored-by: Archangel <jesse@archangel.wtf>
Co-committed-by: Archangel <jesse@archangel.wtf>
2024-08-18 15:49:22 +00:00
ebac61e0a4 IsEnemyPatch Improvements (Part 2) (!157)
Made the following changes to !156:
* Replaced `IsNullOrEmpty()` EFT checks with basic null checks
* Replaced `Any()` with new helper method to check if bots exist in collections

Reviewed-on: SPT/Modules#157
Co-authored-by: dwesterwick <dwesterwick@yahoo.com>
Co-committed-by: dwesterwick <dwesterwick@yahoo.com>
2024-08-16 17:35:35 +00:00
af96c37815 IsEnemyPatch Improvements (!156)
Revised `IsEnemyPatch` with the following changes:
* Added a check to see if the player is in the group's `Allies` collection (needed for mod support)
* Added a check to see if the player is in the group (possibly needed for future mod support)
* Fixed Zryachiy check (and added his followers) by allowing the EFT method to run for them
* Refactoring for clarity and to reorder the checks based on priority:
    1) Null check(s)
    2) Check if the player is in the group or in its `Allies` or `Enemies` collections
    3) Allow the EFT method to run for certain bot roles
    4) Finally, add the player to the group's `Enemies` collection if needed

**This is a big change, so please double-check my work!** I tested this in multiple raids, in several maps, with and without SAIN, and I didn't find any issues.

Reviewed-on: SPT/Modules#156
Co-authored-by: DanW <danw@noreply.dev.sp-tarkov.com>
Co-committed-by: DanW <danw@noreply.dev.sp-tarkov.com>
2024-08-15 08:45:47 +00:00
267d807aa7 Remove bundle before re-acquiring (!155)
Currently, the system knows which bundles are incorrect and attempts to re-download the correct ones.. However, upon next re-launch those bundles will again be invalid probably due to it not actually writing to them forcing the system to keep re-downloading.

This fixes it by removing the invalid bundle, then re-downloading the proper one.

Reviewed-on: SPT/Modules#155
Co-authored-by: Archangel <jesse@archangel.wtf>
Co-committed-by: Archangel <jesse@archangel.wtf>
(cherry picked from commit 471c191bbb4daea7d8b56956eae67a29861781b4)
2024-08-14 09:28:41 +01:00
471c191bbb Remove bundle before re-acquiring (!155)
Currently, the system knows which bundles are incorrect and attempts to re-download the correct ones.. However, upon next re-launch those bundles will again be invalid probably due to it not actually writing to them forcing the system to keep re-downloading.

This fixes it by removing the invalid bundle, then re-downloading the proper one.

Reviewed-on: SPT/Modules#155
Co-authored-by: Archangel <jesse@archangel.wtf>
Co-committed-by: Archangel <jesse@archangel.wtf>
2024-08-14 08:25:59 +00:00
CWX
99184be313 PMC's now heal fine by themselves, removing patch 2024-08-02 17:40:56 +01:00
Dev
2faf204d77 Revert "Removed unused patches:"
This reverts commit cc674f5d4816e98d4b84d52f364cb867bfa30def.
2024-08-02 17:25:50 +01:00