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

336 Commits

Author SHA1 Message Date
Dev
b32073d7e6 Updated mappings 2024-06-14 12:19:15 +01:00
Dev
a29ae65f91 Added additional remappings 2024-06-13 23:33:56 +01:00
Dev
6c9bd09de0 Updated module patches to allow project to build 2024-06-13 14:25:36 +01:00
Dev
b8bd7f5973 30547 2024-06-13 14:07:56 +01:00
Dev
862ab7dba4 Revert BTR collider change as it allows players to ghost through vehicle 2024-06-13 13:53:39 +01:00
Dev
bbbcb6b80c Updated map data extractor patches to save into the same file + have consistent naming systems 2024-06-12 09:59:22 +01:00
Dev
f0034ecc37 Updated BetaLogoPatch to use correct class ref 2024-06-10 17:21:35 +01:00
6897879c69 30473 (!137)
Co-authored-by: Dev <dev@dev.sp-tarkov.com>
Co-authored-by: Kaeno <kaeno@noreply.dev.sp-tarkov.com>
Reviewed-on: SPT/Modules#137
2024-06-07 18:25:19 +00: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
cb5751c86f Fix BTR wheeling and rename method (!136)
BTR still needs a proper looking into. But this will work for the moment

Reviewed-on: SPT/Modules#136
2024-06-06 13:33:26 +00:00
CWX
09d125802a fix pathing to not use uri 2024-06-05 09:11:34 +01:00
Dev
599b5ec520 Improved maxbotpatch to pass the map location being requested 2024-05-31 22:00:29 +01: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
Dev
b0d9618d37 Remapped Class264 to ProfileEndpointFactoryAbstractClass 2024-05-30 20:52:17 +01:00
Dev
7338e6bd08 14.8.6.30268 2024-05-30 13:05:31 +01:00
Dev
f2ce88cb7f Corrected capitalization inconsistency for com.SPT.singleplayer 2024-05-24 09:53:58 +01:00
d6dd573e88 Safeguard ScavRepAdjustmentpatch to only run when its your player doing the killing. Added notes so Gclass ref doesnt get updated incorrectly (!132)
Reviewed-on: SPT/Modules#132
2024-05-24 07:12:44 +00:00
Dev
d452c24c9b 30150 2024-05-23 17:23:39 +01: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
41cf95b92a Fix insurance Screen not showing for PMCs after selecting map (!130)
Reviewed-on: SPT/Modules#130
2024-05-22 17:03:43 +00:00
c59aacf3ee Fix BTR Paid service Erroring when choosing a location to drive to. Remove unused Player from Ammo patch. Reworked Getting Component of a gameobject in DisablePvePatch (!129)
Fixes :)
Reviewed-on: SPT/Modules#129
2024-05-21 20:00:01 +00:00
Dev
4a452876ff Fixed incorrect DisablePvEPatch tooltip text 2024-05-21 20:18:09 +01:00
CWX
cc1d222a98 rebranding part3 2024-05-21 19:18:57 +01:00
CWX
866ff1095c Rebranding 2024-05-21 19:10:17 +01:00
9c83092062 Merge branch 'master' into 3.9.0-DEV 2024-05-21 17:52:54 +00:00
Dev
11b503dbf6 More aki to spt changes 2024-05-21 17:46:46 +01:00
Dev
0581529978 Replace references to AKI with SPT 2024-05-21 17:44:27 +01:00
Dev
775a0fdc2a Added missing hollowed dll 2024-05-20 17:33:29 +01:00
Dev
f6ff8253b3 Updated csproj company/copyright properties 2024-05-20 13:52:35 +01:00
Dev
0ccb898d1d Renamed error messages to maintain consistency with project name 2024-05-20 13:51:52 +01:00
Dev
5a828f9bb7 Further adjusted dll names for consistency + updated dll existence check to work with new names + minor error message spacing fix 2024-05-20 13:45:00 +01:00
Dev
311acf54cd Renamed prepatch DLL to ensure consistency with other DLLs 2024-05-20 11:47:01 +01:00
Cj
b60b7a6f78 Normalize build path and naming (!127)
Normalize the build path for consistency as per SPT-AKI/Issues#658

- All assemblies now live in `BepInEx/plugins/spt`
- Renamed aki-common.dll and aki-reflection respectively for consistency as well.

Co-authored-by: Cj <161484149+CJ-SPT@users.noreply.github.com>
Reviewed-on: SPT-AKI/Modules#127
Co-authored-by: Cj <cj@noreply.dev.sp-tarkov.com>
Co-committed-by: Cj <cj@noreply.dev.sp-tarkov.com>
2024-05-20 10:44:52 +00:00
Dev
1e5238cc70 Fixed EasyAssetPatch not loading 2024-05-16 11:09:27 +01:00
Dev
e14b8b88ae Fixed patch not loading 2024-05-16 10:20:48 +01:00
Dev
cc0934ade0 Update to 29997 2024-05-15 10:44:37 +01:00
1111e7d518 Fix 390 modules compilation (!126)
Removes some issues that were added during the 3.8.2 merge
- Remove re-added deprecated 3.8.0 ReqestHandler code
- Remove duplicate `_sptPluginFolder` variable in AkiBotsPrePatcher

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: SPT-AKI/Modules#126
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-05-14 07:29:59 +00:00
Dev
14079619cf Fixed bundle path issue 2024-05-13 09:39:48 +01:00
Dev
336ad97bc8 Revert "Revert "Improve async bundles (!123)""
This reverts commit 64296e3e62e92cc1b4a77f91384e579008872d95.
2024-05-12 23:22:37 +01:00
Dev
64296e3e62 Revert "Improve async bundles (!123)"
This reverts commit 9e65e68c81f47b05b29244f08d3cb2b9edc8616d.
2024-05-12 23:03:30 +01:00
Dev
860e354b77 Merge branch '3.8.2-DEV' into 3.9.0-DEV
# Conflicts:
#	project/Aki.Common/Http/Client.cs
#	project/Aki.Common/Http/RequestHandler.cs
2024-05-06 22:34:10 +01:00
b529261845 If SPT is started by directly running EscapeFromTarkov.exe, exit (!116)
Inform user via messagebox that they need to run Aki.Launcher.exe
Refactored a bit of the validation code in Aki.Prepatch

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: SPT-AKI/Modules#116
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
(cherry picked from commit d6845c4337d616cd17d6d2e1eed746c25779b35b)
2024-05-06 22:13:40 +01:00
Dev
296d4fa391 Add remapping of Class3199 to EasyAssetHelperClass 2024-05-06 22:07:19 +01:00
Merijn Hendriks
9e65e68c81 Improve async bundles (!123)
Synchronizes the changes with NoHurry.AsyncBundleLoader.

A large chunk of this coded has been tested at scale in Fika with very good results.

- Targets `EasyAssets.Create` instead of using a complex lookup pattern
- Delays downloading of bundles to initial loading screen
- Bundles are downloaded using intended sequence
- Improved logging of bundle loading

Reviewed-on: SPT-AKI/Modules#123
Co-authored-by: Merijn Hendriks <merijn.d.hendriks@gmail.com>
Co-committed-by: Merijn Hendriks <merijn.d.hendriks@gmail.com>
2024-05-06 19:44:28 +00:00
Merijn Hendriks
4b401e7449 async-bundles (!117)
This patch contains the following:

- Initial async VFS code (for reading / writing files)
- Simplified Http Client code
- Added async support to Http Client, RequestHandler
- Improved RequestHandler logging
- Deferred bundle loading to EasyAssetPatch
- Make GetManifestJson run async

This comes with a number of benefits:

- When downloading bundles, it will mention which files succeeded or failed to download
- Bundle loading happens in the initial screen, not the white screen
- Fixed the issue where bundle loading could break bepinex loading (too long load time)
- Modders can now make async http request and read/write files async

I removed logging of sessionid inside the RequestHandler for each request, sessionid is already visible from bepinex log startup parameters.

At last, sorry for the amount of commits it took. I initially wanted to target the 3.9.0 branch, but decided to use 3.8.1 instead as async request can really help out some mods.

Reviewed-on: SPT-AKI/Modules#117
Co-authored-by: Merijn Hendriks <merijn.d.hendriks@gmail.com>
Co-committed-by: Merijn Hendriks <merijn.d.hendriks@gmail.com>
2024-05-06 10:28:51 +00:00
d3e6a8527b feat: patch to resolve btr on woods loading destination path (!122)
should fix SPT-AKI/Issues#646

Reviewed-on: SPT-AKI/Modules#122
Co-authored-by: kiobu <kiobu@sdf.org>
Co-committed-by: kiobu <kiobu@sdf.org>
2024-05-05 20:45:08 +00:00
8e53f59d30 fixed yet another method not being renamed properly LoadOfflineRaidScreenPatch for the "Ready" callback (!120)
When pressing ready on the scav offline raid screen the OnShowReadyScreen callback currently gets assigned to method_73. But that is the new name of the insurance screen as seen in 2abc1ab0ce7e6c8e7fe2365cae2321df2ccfa4bc.
And this is indeed what currently happens. You get your PMC insurance screen.
The correct method name it should register appears to be method_76. My reasoning for this is that method_44, which is the one called for non-pmcs in method_72, registers method_76 as the ready callback in the original unpatched code.

I am trying to be less gung ho and have checked more thoroughly this time, but please tripple check as I've fucked up once already!

Reviewed-on: SPT-AKI/Modules#120
Co-authored-by: BluBb_mADe <ku21runy1k11@opayq.com>
Co-committed-by: BluBb_mADe <ku21runy1k11@opayq.com>
2024-05-01 11:24:16 +00:00
5676c58fce fix: disablepve in-raid bug when finding tooltip (!119)
should fix SPT-AKI/Issues#640

Reviewed-on: SPT-AKI/Modules#119
Co-authored-by: kiobu <kiobu@sdf.org>
Co-committed-by: kiobu <kiobu@sdf.org>
2024-05-01 08:17:57 +00:00
d9a4df3a03 refactor LoadOfflineRaidScreenPatch (!118)
The patch was very hard to understand and unnecessarily convoluted which caused me to not properly understand what it was supposed to do so I decided to rework it properly for the next time it inevitably breaks again.
The emitted IL should be identical. This is just about making it straight forward to understand and simplifying the patch which might make it a little more robust.

Reviewed-on: SPT-AKI/Modules#118
Reviewed-by: Terkoiz <terkoiz@noreply.dev.sp-tarkov.com>
Co-authored-by: BluBb_mADe <ku21runy1k11@opayq.com>
Co-committed-by: BluBb_mADe <ku21runy1k11@opayq.com>
2024-04-30 10:39:06 +00:00
b5d3511e3c Update missed method in LoadOfflineRaidScreenPatch (!115)
Fixes the need to hit next twice to get to insurance screen

This method was missed during the last commit made to update the methods

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: SPT-AKI/Modules#115
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-04-29 20:57:33 +00:00