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

597 Commits

Author SHA1 Message Date
Dev
1cf5085727 Enabled memory fragmentation handling 2024-11-20 16:21:21 +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
d58f48fc3e Fix scav extracts (!176)
- Re-add the "EmptyInfilPatch" as it's necessary for scav raids, otherwise the extract controller doesn't get initialized

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: SPT/Modules#176
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-11-20 09:22:53 +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
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
896b264096 Renamed patch 2024-11-17 15:44:18 +00:00
Dev
b73859fe9f Updated version requirement text 2024-11-12 14:13:44 +00:00
Dev
44c17a9baa Updated mappings 2024-11-11 21:54:06 +00:00
Dev
0dba325690 Force stringbuilder to use size to improve perf 2024-11-10 15:58:14 +00:00
Dev
35f82f50fa Fixed client error when accessing inventory during raid start as PMC 2024-11-08 16:24:27 +00:00
Dev
694ce6ee0f Added multiple new remaps 2024-11-06 19:33:25 +00:00
Dev
ede8084509 Added additional remappings 2024-11-05 18:58:57 +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
3857bd4b53 Fixed caps issue 2024-11-04 08:54:51 +00:00
Dev
58600633fe Fixed a client error when it tries to add the same achievement to a profile twice 2024-11-03 21:44:37 +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
CWX
9d231b781f add dumplib testing patch, disabled by default 2024-11-02 16:00:57 +00:00
CWX
b546b89a8d Remove uneeded folder inclusion 2024-11-02 16:00:36 +00:00
Dev
4b62a0380f Removed unnecessary classes added by mistake 2024-11-02 14:38:02 +00:00
Dev
37a6958016 Reenabled 2 patches 2024-11-02 13:40:35 +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
d788abbaa9 Fixed various bad references 2024-10-31 17:19:37 +00:00
Dev
3de3311257 Fixed remap 2024-10-31 17:04:45 +00:00
Dev
856db0fcf1 33374 2024-10-31 16:37:29 +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
Lacyway
d8c0abfe04 Add FirearmControllerShowIncompatibleNotificationClass (!171)
This patch aims to prevent the player from incorrectly receiving the incompatible ammo notification if an AI fails to shoot because of incompatible ammo. Tested with no errors, should probably be added and let users report whether it still occurs as it is hard to reliably reproduce.

Co-authored-by: Lacyway <20912169+Lacyway@users.noreply.github.com>
Reviewed-on: SPT/Modules#171
Co-authored-by: Lacyway <lacyway@noreply.dev.sp-tarkov.com>
Co-committed-by: Lacyway <lacyway@noreply.dev.sp-tarkov.com>
2024-10-17 16:32:40 +00:00
Lacyway
16185f64f6 Add BotOwnerManualUpdatePatch (!170)
Patch used to stop the allocation of a new `Stopwatch` every frame for all active AI which should save some resources. The data from the stopwatch is unused so I am unsure why BSG left it there.

Co-authored-by: Lacyway <20912169+Lacyway@users.noreply.github.com>
Reviewed-on: SPT/Modules#170
Co-authored-by: Lacyway <lacyway@noreply.dev.sp-tarkov.com>
Co-committed-by: Lacyway <lacyway@noreply.dev.sp-tarkov.com>
2024-10-15 15:13:14 +00:00
Dev
15a72cfeec Fixed BetaLogoPatch 2024-10-13 11:17:12 +01:00
Dev
9dd527cd7d 32757 2024-10-04 09:09:43 +01:00
Dev
e2af9e8a4a Various code cleanups and warning fixes 2024-10-03 10:58:47 +01:00
Dev
51aa599a4e Cleaned up of AiHelpers logic to improve consistency 2024-10-03 10:29:33 +01:00
Dev
d37c38b2b9 Add return comments 2024-10-03 10:28:48 +01:00
Dev
d9e5b77c46 Renamed patch to DisableWelcomeToPVEModeMessagePatch 2024-10-03 10:22:16 +01:00
Dev
73bec0777a Renamed patch and added more comments 2024-10-03 10:20:46 +01:00
Dev
69dc7e5ae2 Improved comments 2024-10-03 09:53:06 +01:00
Dev
1a890630b0 Disabled BotTemplateLimitPatch as the underlying code is different to when this patch was written, it appears what's being altered adjusts how many 'respawns' the wave has 2024-10-03 09:52:49 +01:00
Dev
12e884c0d8 Renamed patch to better explain its purpose 2024-10-03 09:50:15 +01:00
Dev
6c73f7ee36 Disable airdrop patch as BSG have made it work in PvE 2024-09-27 09:39:12 +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
98b5ed4442 Updated to 32678 2024-09-26 14:04:00 +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