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

51 Commits

Author SHA1 Message Date
CJ-SPT
32f451db61
Make GameObject hooks local to their respective plugin (#10)
* Make GameObject hooks local to their respective plugin

* Add DontDestoryOnLoad() just incase
2024-12-04 09:59:53 +00:00
Cj
49bd0db888 Re-enable airdrop patch as its still needed 2024-11-30 00:27:54 -05: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
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
Cj
1a08680bdd Basic memory manager (!177)
Attempt at slowing down the memory leak caused by bots spawning/dying

Co-authored-by: Cj <161484149+CJ-SPT@users.noreply.github.com>
Reviewed-on: SPT/Modules#177
Co-authored-by: Cj <cj@noreply.dev.sp-tarkov.com>
Co-committed-by: Cj <cj@noreply.dev.sp-tarkov.com>
2024-11-20 16:03:54 +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
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
6c73f7ee36 Disable airdrop patch as BSG have made it work in PvE 2024-09-27 09:39:12 +01:00
Dev
9b53ad0752 Added patch to fix airdrops not spawning 2024-09-03 12:36:49 +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
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
CWX
99184be313 PMC's now heal fine by themselves, removing patch 2024-08-02 17:40:56 +01:00
CWX
a39cd0a7b0 added CJ's debug tool to allowed list, disabled another patch for testing, dnspy looks like BSG do what we did 2024-08-02 17:14:05 +01:00
CWX
e3bc4e3210 removed more un-needed patches 2024-08-02 16:44:14 +01:00
CWX
c234e0d1d6 Remove patches that are now covered by BSG 2024-08-02 15:01:44 +01:00
Dev
5131a6ff68 Removed LocationLootCacheBustingPatch, targeted method is no longer used and loot is no longer cached on the client 2024-08-02 08:51:07 +01:00
2eb7cb3eca Remove grenade patches 2024-08-01 22:09:28 +01:00
104cb02b58 Fix Grenades not exploding. Fuse time is really long for some reason thanks bsg :) 2024-08-01 21:13:43 +01:00
Dev
73e8ef2cee Disabled 2 redundant patches 2024-08-01 20:58:54 +01:00
Dev
c2839ed54b Renamed patch 2024-08-01 17:36:01 +01:00
Dev
6753d53582 Rename patch from ` to RedirectClientImageRequestsPatch` 2024-08-01 17:31:50 +01:00
CWX
f8ce8129e6 Fix namespaces based on their current file location 2024-07-12 15:20:47 +01:00
CWX
f8fc319007 commented out some patches for testing 2024-07-12 14:49:39 +01:00
CWX
8cb788e4f0 Removed our custom healthcontroller 2024-07-12 12:55:20 +01:00
Dev
c81a409922 Renamed various patches to better describe their purpose 2024-07-12 09:32:49 +01:00
Dev
24de63b705 Rename various patches for clarity
Disable `SetLocationIdOnRaidStartPatch` as it's not unnecessary
2024-07-11 11:18:00 +01:00
Dev
5e96656c1e Rename patches to improve clarity 2024-07-11 10:49:27 +01:00
Dev
60ccc54220 Reduced patch complexity and rename 2024-07-11 10:48:25 +01:00
b4c699bd40 Fixes for Raidsettings not applying correctly. (Needs revisitng) Restore InsurancePatch. Remove CultistAmuletRemovalpatch 2024-07-11 09:12:44 +01:00
303a43e2e7 Remove Redundant patches. 2024-07-09 14:15:31 +01:00
01631c6060 Actually add a patch this time. Removed more redundant patches 2024-07-08 15:44:45 +01:00
7a26e9028a Remove redundant insurance patches. Added patch that gives scavs found in raid items. 2024-07-08 15:11:13 +01:00
Dev
b8d08b3d84 Renamed patch to something more suitable 2024-07-08 14:57:24 +01:00
4ae4e8af5f Add patch 2024-07-07 10:28:29 +01:00
CWX
d78ec90e6c noting what patches are needed/need looking into 2024-07-06 10:23:41 +01:00
CWX
0bc05f80d4 Remove unused files, some patches to test also 2024-07-06 09:32:55 +01:00
0c850bc8d2 Removed duplicate patch. enabled a disabled patch from testing 2024-07-06 00:15:58 +01:00
bfff4108f4 Disable BTR patches.Make raidmode local for scavs and pmcs 2024-07-05 21:39:19 +01:00
CWX
0865cb772b Temp Disable Airdrop patches 2024-07-05 17:47:14 +01:00
CWX
2383a402e5 expirementing with using existing PVE logic
disabled PVE first time message
disabled insurance screen patch
disabled offlineraid screen patch
disabled raidsettingswindowpatch
2024-07-04 23:59:44 +01:00
b6aeea95a2 Migrate PMCs (sptBear/sptUsec) To Bsg Types (pmcBEAR/pmcUSEC) (!135)
Co-authored-by: Dev <dev@dev.sp-tarkov.com>
Co-authored-by: Kaeno <kaeno@noreply.dev.sp-tarkov.com>
Reviewed-on: SPT/Modules#135
2024-06-06 16:59:53 +00:00
CWX
03f6fc2f4a Prepatch added to change path for iconcache, add patch to move trader imgs and quest imgs (!133)
this aims to seperate Client generated icons/quest images/trader images

looking to split prepatcher stuff into their own sections, as it looks and reads as one whole mess

Reviewed-on: SPT/Modules#133
Co-authored-by: CWX <cwx@noreply.dev.sp-tarkov.com>
Co-committed-by: CWX <cwx@noreply.dev.sp-tarkov.com>
2024-05-30 19:58:54 +00:00
6ae825ee6a QuestitemInsurance (!131)
Add a patch to track when we place items at quest locations for use in insurance.

Reviewed-on: SPT/Modules#131
Co-authored-by: Kaeno <kaeno@noreply.dev.sp-tarkov.com>
Co-committed-by: Kaeno <kaeno@noreply.dev.sp-tarkov.com>
2024-05-22 19:57:31 +00:00