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

375 Commits

Author SHA1 Message Date
bbf55a7031 Fix the EasyAssetsPatch error some users gets (!57)
- Prioritize loading the JSON manifest instead of the binary manifest

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: SPT-AKI/Modules#57
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-01-13 19:47:41 +00:00
0cabe9dc12 Shooting the BTR will make it retaliate. Fixed BTR turret from rotating when non-hostile (!56)
Todo:

* Make the UI notifications for BTR-related stuff appear, e.g. when BTR is about to depart
* Prevent player from entering BTR when it is hostile to the player
* Implement cover fire trader service
* Finish implementation of taxi service
* Finetune the turret machine gun shooting (it might need some pauses as it will shoot nonstop if it is aiming at you)

Co-authored-by: Nympfonic <arys.steam@gmail.com>
Reviewed-on: SPT-AKI/Modules#56
Co-authored-by: Arys <arys@noreply.dev.sp-tarkov.com>
Co-committed-by: Arys <arys@noreply.dev.sp-tarkov.com>
2024-01-12 08:54:12 +00:00
Dev
b82ef6dd30 Fix quests not updating their status mid-raid 2024-01-10 11:54:15 +00:00
Terkoiz
319ca925f3 Sneaky README edit 2024-01-10 10:40:47 +02:00
deffa72bb2 Adjusted the setup instructions (!55)
Co-authored-by: Terkoiz <terkoiz@spt.dev>
Reviewed-on: SPT-AKI/Modules#55
Co-authored-by: Terkoiz <terkoiz@noreply.dev.sp-tarkov.com>
Co-committed-by: Terkoiz <terkoiz@noreply.dev.sp-tarkov.com>
2024-01-09 16:16:32 +00:00
95503d79c2 Fix error on extract for maps without a BTRController (!54)
Missed a null check

Fixes SPT-AKI/Issues#266

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: SPT-AKI/Modules#54
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-01-08 16:15:50 +00:00
8be3480a6c Initial commit of BTR service code (!53)
- Reads service list from server
- Properly calculates cost of taxi and delivery service
- Only allows sending items to stash once per raid
- Enable service debug commands `debug_show_dialog_screen` and `btr_deliver_items` (Only usable in raid)
- Implements delivery of items via the BTR to stash

Does not currently implement usage of taxi service

Requires server PR: SPT-AKI/Server#187

Opening a PR at this point because the next processes can be built on top of this as separate tasks, and this is at a good usable state

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: SPT-AKI/Modules#53
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-01-08 08:53:35 +00:00
Dev
1e92d88339 Add randomWeather/randomTime handling 2024-01-07 13:01:49 +00:00
Dev
94e906105c Fix bad remapping 2024-01-05 10:58:36 +00:00
Dev
3060657ebf Add additional mapping: GClass1248": "AchievementModelClass 2024-01-05 09:31:46 +00:00
Dev
59f9549ced Update modules with additional remappings 2024-01-05 09:27:59 +00:00
37432541c3 Player can now talk to BTR driver (!52)
Todo:

* BTR trader services requires implementation server-side
  * Send items to player stash (2x4)
  * Provide covering fire
  * Taxi to a specific location on Streets
* Fix turret aiming at player from raid start
* Make turret shoot at enemies (including player)

Co-authored-by: Nympfonic <arys.steam@gmail.com>
Reviewed-on: SPT-AKI/Modules#52
Co-authored-by: Arys <arys@noreply.dev.sp-tarkov.com>
Co-committed-by: Arys <arys@noreply.dev.sp-tarkov.com>
2024-01-05 08:58:15 +00:00
Dev
5fcc904a89 Small cleanup of MidRaidQuestChangePatch 2024-01-04 17:25:56 +00:00
Dev
24e820feb5 Add comments to new function 2024-01-04 17:24:11 +00:00
b94cf04971 fix ValidationUtil, remove unused field 2024-01-04 17:18:46 +00:00
b2872ad707 Feat: implement achievement popup with data being set to profile for server to save 2024-01-04 17:16:43 +00:00
Dev
581acc719f Improve VersionLabelPatch to show eft version 2024-01-04 10:11:47 +00:00
Dev
ae2b98b69e Add additional logging to patch 2024-01-04 09:25:42 +00:00
Terkoiz
2878279ce9 Experimentlal fix for LocationId patch breaking hideout 2024-01-04 11:19:11 +02:00
33e6c151af Player can now enter and exit the BTR (!51)
Todo:

* BTR Driver services
  * Send to items to player stash (2x4)
  * Provide covering fire
  * Taxi to a specific location on Streets
* BTR turns hostile if you shoot it
* BTR automatically follows a set path from raid start, stopping at locations for 90 seconds each stop

Co-authored-by: Nympfonic <arys.steam@gmail.com>
Reviewed-on: SPT-AKI/Modules#51
Co-authored-by: Arys <arys@noreply.dev.sp-tarkov.com>
Co-committed-by: Arys <arys@noreply.dev.sp-tarkov.com>
2024-01-04 08:51:06 +00:00
e4f91a58e4 BTR Progress Update (!50)
Current progress:

* BTR spawns in, clientside BTR is synced with serverside BTR
* BTR Bot spawns in, is assigned to BTRController (GClass2911) correctly
* BTR Bot is initialized properly (invisible, makes no sound, doesn't shoot at player)

Todo:

BTR is currently missing functionality

* It needs to allow player to enter and exit
* Player should be able to interact with BTR driver/open BTR stash UI/pay money to get taxi'd to a chosen location/pay money for it to provide covering fire
* Turret should rotate to shoot player if they attack it
* It should be able to drive on its own from raid start, going from location to location, on a set path

Co-authored-by: Nympfonic <arys.steam@gmail.com>
Reviewed-on: SPT-AKI/Modules#50
Co-authored-by: Arys <arys@noreply.dev.sp-tarkov.com>
Co-committed-by: Arys <arys@noreply.dev.sp-tarkov.com>
2024-01-03 16:06:50 +00:00
a31f19755f Move setting of gameWorld.LocationId to its own patch (!49)
Since gameWorld.LocationId can be used by multiple things (And may be used by more in the future), move it to its own patch instead of as part of the BTR patch.

Target `method_3` in `BaseLocalGame` to assign it as close to where a live game would set it

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: SPT-AKI/Modules#49
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-01-03 08:57:57 +00:00
Dev
45d053e300 Disable OfflineSpawnPointPatch as spawns work without it 2024-01-02 14:49:58 +00:00
48622c7ecc Set gameworld LocationId property (!48)
GClass2911 expects gameWorld.LocationId to be set to instantiate the BTRView

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: SPT-AKI/Modules#48
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-01-02 13:36:09 +00:00
Dev
9522dd6df7 Update eft version in readme 2024-01-01 17:25:17 +00:00
Dev
2c1afe4bdc Formatting fix 2024-01-01 17:24:19 +00:00
Dev
5842d71060 Update readme 2024-01-01 17:23:23 +00:00
Dev
865a1966d0 Reworked debug patch into single post-patch
Create singleton instance of 2911 if it doesnt exist
2024-01-01 17:18:11 +00:00
Dev
20af3f6a73 Expand debug patch
only run on streets
Split patch into pre and post fixes
lots of logging
assign btrcontroller an instance of GClass2911, not a newed version of the class
2024-01-01 14:52:13 +00:00
Terkoiz
fc1bb34bc2 Fixed post-raid healing; Exposed SessionId from RequestHandler 2023-12-30 21:26:22 +02:00
8590f243a4 fix patch 2023-12-30 15:32:51 +00:00
53d99fff2f added test BTR patch, not tested 2023-12-30 15:27:30 +00:00
e3bdf9c1fd Update for 28375 + fixes (!47)
- Update GClass references
- Fix incorrect method in InsuranceScreenPatch (Makes insurance screen actually show)
- Fix incorrect method in Scav offline raid screen patch (Makes "Ready" from the practice screen start the raid)
- Update hollowed.dll with one provided by Chomp

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: SPT-AKI/Modules#47
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2023-12-29 09:43:15 +00:00
89f3842ae9 change so patch is off by default 2023-12-28 15:15:54 +00:00
f7c2c57dc6 temp debugging patch for logging static loot containers 2023-12-28 15:10:09 +00:00
Terkoiz
850fc2b6a2 Fix for ValidationUtil 2023-12-27 23:58:33 +02:00
Terkoiz
755bae830f Fix for ValidationUtil 2023-12-27 23:57:37 +02:00
Terkoiz
e953de545d Fixed PostRaidHealingPricePatch 2023-12-27 21:45:33 +02:00
Terkoiz
eaf0c40d46 Fixed a couple runtime errors 2023-12-27 20:51:47 +02:00
Dev
655ef5bb7b Fix colliding sptUsecValue/sptBearValue values 2023-12-27 18:38:46 +00:00
Terkoiz
4da61ffb64 Fixed compile-time errors 2023-12-27 17:10:25 +02:00
Dev
15902f7e8f Update dll (28333) 2023-12-27 13:46:37 +00:00
bf07137cf7 Improve Robustness of RaidChangesUtil and RaidTimeUtil (!45)
While continuing mod development with SPT 3.7.4 (namely for Questing Bots and SAIN), I found that the API I added to SPT 3.7.4 is unintuitive and clunky to use after the raid is done loading but before the countdown timer expires. With the current SPT code, calling `GetRemainingRaidSeconds()` or `GetRaidTimeRemainingFraction()` will result in an exception during this time unless you check `HasRaidStarted()` first.

These changes will prevent those methods from throwing an exception unless you try calling them before a raid has finished loading (which should rarely happen). This allows mods to more easily do things using `GetRemainingRaidSeconds()` or `GetRaidTimeRemainingFraction()` before the countdown timer expires (i.e. cache bots).

These changes only improve the robustness of the existing code and will not break any mods that use the existing API.

Co-authored-by: dwesterwick <dwesterwick@yahoo.com>
Co-authored-by: chomp <chomp@noreply.dev.sp-tarkov.com>
Reviewed-on: SPT-AKI/Modules#45
Co-authored-by: DanW <danw@noreply.dev.sp-tarkov.com>
Co-committed-by: DanW <danw@noreply.dev.sp-tarkov.com>
2023-12-27 11:25:15 +00:00
612e7f0b1b Prevent Bots from Running into Airdrop Crates (!46)
Adds a `NavMeshObstacle` component to airdrop boxes at the end of `OnBoxLand`. Without this change, bots run into the crates as if they aren't there (because they're dumb).

Co-authored-by: dwesterwick <dwesterwick@yahoo.com>
Reviewed-on: SPT-AKI/Modules#46
Co-authored-by: DanW <danw@noreply.dev.sp-tarkov.com>
Co-committed-by: DanW <danw@noreply.dev.sp-tarkov.com>
2023-12-27 11:25:15 +00:00
Dev
43fc5c9985 More checks 2023-12-27 11:25:15 +00:00
Dev
109e9a0890 Fix build issue 2023-12-27 11:25:15 +00:00
54a6c706f0 update game check (!44)
Co-authored-by: waffle.lord <waffle.lord@hotmail.com>
Reviewed-on: SPT-AKI/Modules#44
Co-authored-by: IsWaffle <waffle.lord@noreply.dev.sp-tarkov.com>
Co-committed-by: IsWaffle <waffle.lord@noreply.dev.sp-tarkov.com>
2023-12-27 11:25:15 +00:00
1c7888b446 Improve Robustness of RaidChangesUtil and RaidTimeUtil (!45)
While continuing mod development with SPT 3.7.4 (namely for Questing Bots and SAIN), I found that the API I added to SPT 3.7.4 is unintuitive and clunky to use after the raid is done loading but before the countdown timer expires. With the current SPT code, calling `GetRemainingRaidSeconds()` or `GetRaidTimeRemainingFraction()` will result in an exception during this time unless you check `HasRaidStarted()` first.

These changes will prevent those methods from throwing an exception unless you try calling them before a raid has finished loading (which should rarely happen). This allows mods to more easily do things using `GetRemainingRaidSeconds()` or `GetRaidTimeRemainingFraction()` before the countdown timer expires (i.e. cache bots).

These changes only improve the robustness of the existing code and will not break any mods that use the existing API.

Co-authored-by: dwesterwick <dwesterwick@yahoo.com>
Co-authored-by: chomp <chomp@noreply.dev.sp-tarkov.com>
Reviewed-on: SPT-AKI/Modules#45
Co-authored-by: DanW <danw@noreply.dev.sp-tarkov.com>
Co-committed-by: DanW <danw@noreply.dev.sp-tarkov.com>
2023-12-21 22:31:33 +00:00
deecc39107 Prevent Bots from Running into Airdrop Crates (!46)
Adds a `NavMeshObstacle` component to airdrop boxes at the end of `OnBoxLand`. Without this change, bots run into the crates as if they aren't there (because they're dumb).

Co-authored-by: dwesterwick <dwesterwick@yahoo.com>
Reviewed-on: SPT-AKI/Modules#46
Co-authored-by: DanW <danw@noreply.dev.sp-tarkov.com>
Co-committed-by: DanW <danw@noreply.dev.sp-tarkov.com>
2023-12-21 22:29:49 +00:00
Dev
5544ae0c04 More checks 2023-12-19 21:15:04 +00:00