Commit Graph

208 Commits

Author SHA1 Message Date
Chomp b4024527df Cleaned up a lot of health-related code formatting to be more readable in prep for fixing effect transference issues 2025-06-29 14:54:09 +01:00
Chomp 0a224df6dc Updated property names and access types for ServerLocalisationService 2025-06-29 13:50:59 +01:00
Chomp 3df61005eb Updated ItemTpl mappings 2025-06-29 11:11:39 +01:00
chompDev c5216044da .NET Format Style Fixes 2025-06-28 18:09:13 +00:00
Jesse 5686f4a486 Remove I18nService, migrate to renamed ServerLocalisationService (#433)
* Remove I18nService, migrate to renamed ServerLocalisationService

* Revert VS fuckup

* Update using

* Remove unused parameter, update comment

* Fix develop branch not building
2025-06-28 19:08:42 +01:00
Chomp 1c83014ed2 Converted CalculateLevel to extension method
Removed `PlayerService`
2025-06-28 17:05:56 +01:00
Chomp d4dd309252 Converted DateIsBetweenTwoDates to extension method 2025-06-28 16:52:35 +01:00
Chomp 7782806f91 Added DateTimeExtensions 2025-06-28 16:41:26 +01:00
Chomp 065ee32438 Made activeBotsInRaid readonly 2025-06-28 15:56:11 +01:00
Chomp 5e938bce95 Cleaned up BotEquipmentFilterService constructor 2025-06-28 15:53:51 +01:00
Chomp ca3d0730f5 Converted PlayerIsFleaBanned into extension method
Formatting changes to `ProfileHelper`

Fixed method name typo
2025-06-28 13:27:11 +01:00
Chomp da5644cfa2 made properties readonly 2025-06-28 12:53:21 +01:00
Chomp 42e79c981b Converted FindAndReturnChildrenAsItems into extension method 2025-06-28 12:38:34 +01:00
Jesse 22c71bee5b Helper methods extensions (#431)
* Remove unused model

* Start moving methods to extensions, cleanup code
2025-06-28 12:14:50 +01:00
Chomp a3dbd3176e Updated FindAndReturnChildrenByItems to be an extension method 2025-06-28 11:58:50 +01:00
Chomp 0a28dc4657 Moved GetScavKarmaLevel to extension method 2025-06-28 11:47:29 +01:00
Chomp d2d119f3b4 Added CurrencyTypeExtensions 2025-06-28 10:09:56 +01:00
Chomp 6126dc2394 Added item extensions 2025-06-28 10:04:52 +01:00
Chomp 0be02bc3f5 Created ProfileExtensions 2025-06-28 09:27:41 +01:00
Chomp 41f99c3993 Made method protected added comments 2025-06-27 21:03:27 +01:00
Chomp 9b6722b06a Added ExcludeBosses property 2025-06-25 14:16:40 +01:00
Chomp 992dce96f7 Merge pull request #425 from sp-tarkov/activeprofile-null-fix
Handle active profiles not existing if server is closed while client is running
2025-06-24 19:24:32 +01:00
chompDev ea0b1dab08 .NET Format Style Fixes 2025-06-24 18:23:28 +00:00
Chris Adamson fa39bec1e7 added a random chance between config and 100 for infected to be present in the map 2025-06-24 13:05:58 -05:00
Archangel 0280815fbc Handle active profiles not existing if server is closed while client is running 2025-06-24 17:44:01 +02:00
chompDev 2646f90273 .NET Format Style Fixes 2025-06-23 21:26:58 +00:00
Chomp 083e3b97e0 Fixed Weapon cache generation running 15+ times on first load due to threading issues
Expanded weapon and equipment cache to include mods - Fixes randomisation slots causing warnings during bot generation

Optimised `FilterModsByBlacklist` handling of blacklists
2025-06-23 22:26:20 +01:00
Chomp 7511597c9e Added clearer check for expired player offers 2025-06-23 13:36:26 +01:00
Chomp 1087b32e13 Improved GetLocation() ability to handle nulls 2025-06-22 12:57:26 +01:00
Chomp d9e7c31b8a Fixed inverted locale logic that forced eng locale 2025-06-22 11:33:40 +01:00
chompDev c3463098be .NET Format Style Fixes 2025-06-21 14:16:39 +00:00
Chomp 1c207568a5 Moved loot generation logic from LocationLifecycleService into LocationLootGenerator 2025-06-21 15:16:01 +01:00
chompDev 203e30a637 .NET Format Style Fixes 2025-06-21 13:45:45 +00:00
Chomp 21bd868abe Added ability to track loot items and prevent more than a pre-defined amount from spawning
Replaced `location.json` `forcedLootSingleSpawnById` with `lootMaxSpawnLimits`

Added 5 item limit to `Labrys research notes` #290
2025-06-21 14:45:08 +01:00
Archangel f7782e1b1a Begin cleanup of quest model & nullability in Quests & Achievements 2025-06-20 14:24:58 +02:00
chompDev 421762c290 .NET Format Style Fixes 2025-06-18 19:04:21 +00:00
Chomp c320097deb Cache server/client locale choices on first selection 2025-06-18 20:03:44 +01:00
Chomp b2403e472c Report missing locales as Debug messages
Added check of first 2 characters of `languageCode` against locales as last-ditch effort
2025-06-18 19:56:29 +01:00
refringe 6e01428b2b .NET Format Style Fixes 2025-06-18 17:09:20 +00:00
Chomp 96e12d80e4 Refactored caching inside BotEquipmentModPoolService
Made use of primary constructor
Made `GetModsForWeaponSlot` access dictionary via`TryGet`
Made `GetCompatibleModsForWeaponSlot` access dictionary via`TryGet`
2025-06-18 15:36:50 +01:00
Chomp 26048524f1 Removed unused imports 2025-06-18 15:12:05 +01:00
Cj ff4dc31835 Merge pull request #402 from CJ-SPT/TP-AD-FIX
Airdrop TP fix
2025-06-17 13:46:43 +01:00
Chomp 060a2630c8 Made emthod protected + comment improvement 2025-06-17 09:51:35 +01:00
Chomp 125b81e3e5 Updated private methods inside BackupService to protected 2025-06-17 08:52:00 +01:00
Chomp 9a6d844635 Fixed backup folders not being 0-Padded 2025-06-16 22:47:32 +01:00
Chomp 0fed615b62 Fixed date format being incorrect 2025-06-16 22:41:53 +01:00
Chomp 5d4437b573 Expanded error logging inside ExtractDateFromFolderName 2025-06-16 21:54:46 +01:00
Chomp 8a0771515a Modernised ExtractDateFromFolderName 2025-06-16 21:29:14 +01:00
Chomp 470861111e Updated ExtractDateFromFolderName to make use of PATH class 2025-06-16 21:23:34 +01:00
Chomp 48871eba81 Fixed warning being caused by ragfair code trying to add offer to expired cache twice 2025-06-16 20:34:44 +01:00