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

15 Commits

Author SHA1 Message Date
DrakiaXYZ
270bac8592 - Merge master changes into 310-dev in prep for merging back into master 2024-11-26 21:54:24 -08: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
4a187bef22 Small patch clean up - fixed issue with pmc spawn location patch not working as intended 2024-09-16 15:02:51 +01:00
Dev
990b6edf0b Fixed issue where ALL bots were being classified as assault scavs, e.g. BTR/PMCs, this would then incorrectly assign them the assault brain 2024-09-16 12:13:12 +01:00
Dev
60ab34f61c Reworked BotIsNormalAssaultScav to handle when the nickname is null 2024-09-15 19:10:38 +01:00
Dev
7b20646134 Big clean up of various resharper warnings 2024-08-28 12:52:54 +01:00
Kaeno
853a74a449 Patch updates 2024-08-20 19:00:11 +01:00
f8eb2374cb IsEnemyPatch Improvements (Part 3) (!158)
Added null check to new `ContainsPlayer` helper method from !157

Reviewed-on: SPT/Modules#158
Co-authored-by: dwesterwick <dwesterwick@yahoo.com>
Co-committed-by: dwesterwick <dwesterwick@yahoo.com>
2024-08-17 07:05:43 +00:00
ebac61e0a4 IsEnemyPatch Improvements (Part 2) (!157)
Made the following changes to !156:
* Replaced `IsNullOrEmpty()` EFT checks with basic null checks
* Replaced `Any()` with new helper method to check if bots exist in collections

Reviewed-on: SPT/Modules#157
Co-authored-by: dwesterwick <dwesterwick@yahoo.com>
Co-committed-by: dwesterwick <dwesterwick@yahoo.com>
2024-08-16 17:35:35 +00:00
af96c37815 IsEnemyPatch Improvements (!156)
Revised `IsEnemyPatch` with the following changes:
* Added a check to see if the player is in the group's `Allies` collection (needed for mod support)
* Added a check to see if the player is in the group (possibly needed for future mod support)
* Fixed Zryachiy check (and added his followers) by allowing the EFT method to run for them
* Refactoring for clarity and to reorder the checks based on priority:
    1) Null check(s)
    2) Check if the player is in the group or in its `Allies` or `Enemies` collections
    3) Allow the EFT method to run for certain bot roles
    4) Finally, add the player to the group's `Enemies` collection if needed

**This is a big change, so please double-check my work!** I tested this in multiple raids, in several maps, with and without SAIN, and I didn't find any issues.

Reviewed-on: SPT/Modules#156
Co-authored-by: DanW <danw@noreply.dev.sp-tarkov.com>
Co-committed-by: DanW <danw@noreply.dev.sp-tarkov.com>
2024-08-15 08:45:47 +00:00
ffde317c59 Feature: new-remapper (!143)
Co-authored-by: Dev <dev@dev.sp-tarkov.com>
Reviewed-on: SPT/Modules#143
2024-07-04 14:11:11 +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
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
CWX
866ff1095c Rebranding 2024-05-21 19:10:17 +01:00