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

647 Commits

Author SHA1 Message Date
DrakiaXYZ
7208ba11a2
Merge branch '3.10.5-DEV' (#20) 2025-01-04 18:18:29 -08:00
Chomp
2c141cdc48
Transpiler changes to quest loading method to fix quests failing when they shouldn't (#15)
- Resolves "Getting Acquainted" failing on relog/raid start after
accepting it
3.10.5
2025-01-01 08:56:07 +00:00
DrakiaXYZ
9a3e1de1ba Transpiler changes to quest loading method to fix quests failing when they shouldn't 2024-12-31 16:25:45 -08:00
f7c3b7917e
Merge branch '3.10.4-dev' 2024-12-25 11:30:49 -05:00
DrakiaXYZ
1afb96b822
Change log to info (#13)
This is logging with `LogError()` when it's not an error, giving me a
heart attach on every raid start.
3.10.4 3.10.4-BEM-20241223
2024-12-20 12:00:09 -08:00
Lacyway
e5be396cb8 Change log to info 2024-12-20 20:50:10 +01: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
3.10.3
2024-12-13 10:17:30 +00:00
Chomp
0fc013ff17
Fix client freeze when replacing a daily quest with a daily from the same trader (#12)
BSG added a new handler that's called when a new quest is added to the
quest list, this handler results in the first quest in a trader's task
list being selected whenever a new quest is added. This has the negative
effect of breaking replacing dailies for a trader with a daily from that
same trader, due to the selection happening _before_ the daily is
removed. Essentially resulting in a race condition where the code to
remove the old daily tries to remove the trader's first quest instead.

We can work around it by conditioning the call to `AutoSelectQuest` in
QuestAddedHandler. This does cause a change in behaviour from live, but
fixes the client freezing when getting a new daily from the trader
you're replacing the daily on.

Note: While this fixes a BSG bug, we can't avoid fixing it, because it
causes the UI to freeze when replacing daily quests We can retire this
patch once BSG fixes the underlying bug.
2024-12-13 09:47:10 +00:00
DrakiaXYZ
8cd624e630 Fix client freeze when replacing a daily quest with a daily from the same trader 2024-12-12 22:45:33 -08:00
CJ-SPT
32f451db61
Make GameObject hooks local to their respective plugin (#10)
* Make GameObject hooks local to their respective plugin

* Add DontDestoryOnLoad() just incase
3.10.2
2024-12-04 09:59:53 +00:00
Chomp
d19354ffef
Re-enable airdrop patch as its still needed (#9)
Re-enables the airdrop patch as its still needed for natural airdrops to
occur.
3.10.1
2024-11-30 09:01:13 +00:00
Cj
49bd0db888 Re-enable airdrop patch as its still needed 2024-11-30 00:27:54 -05: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
Chomp
f8faf787a0
Add null check to ServerAirdropManager (#6) 2024-11-27 09:50:55 +00: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
Chomp
ed418d2884
Merge master into 310-dev in prep for merge into master (#5)
This synchronizes 310-dev with the later changes in master, resulting in
a clean merge of 310-dev into master

Supersedes #4 as that PR was missing a variable used elsewhere in the
codebase (Sorry Archangel!)
2024-11-27 09:19:54 +00: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
3.10.0
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
be54fe8fd1 Updates New Trigger Workflow 2024-11-22 21:43:28 -05: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
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