Commit Graph

612 Commits

Author SHA1 Message Date
Chomp e87edeffb8 Added new json data 2025-06-24 11:25:48 +01:00
Chomp 2368ccc60b Updated trader base jsons 2025-06-24 10:31:21 +01:00
chompDev 4909a80b32 .NET Format Style Fixes 2025-06-24 08:24:39 +00:00
Cj c6d5638057 Move RepeatableQuestRewardGenerator.cs and update some reward generation data 2025-06-24 02:59:37 -04: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
chompDev e128605f52 .NET Format Style Fixes 2025-06-23 16:55:25 +00:00
Cj 74db71e32b handle /client/putHWMetrics (#421) 2025-06-23 17:54:48 +01:00
Chomp d11ffd38d7 Updated JSONs for 37711 + added new properties to globals.cs 2025-06-23 17:18:44 +01:00
chompDev 321fdd9ace .NET Format Style Fixes 2025-06-23 13:56:14 +00:00
Cj 524fa65c29 Repeatable quest generation (Part 3) (#420)
* clean up EliminationQuestGenerator.cs

* add locales
2025-06-23 14:54:43 +01:00
chompDev 059a86b773 .NET Format Style Fixes 2025-06-23 12:37:06 +00:00
Chomp 7511597c9e Added clearer check for expired player offers 2025-06-23 13:36:26 +01:00
chompDev 60324bc4e1 .NET Format Style Fixes 2025-06-23 10:39:01 +00:00
Chomp e0975c6958 Localised various error and warning messages 2025-06-23 11:38:26 +01:00
chompDev f15440aa82 .NET Format Style Fixes 2025-06-23 09:08:42 +00:00
Chomp fec51f824c Fixed flea offers not filtering by currency 2025-06-23 10:08:05 +01:00
chompDev d4f9e38169 .NET Format Style Fixes 2025-06-23 09:04:32 +00:00
Cj b3dca61ac0 Break rest of repeatable quest generation code into components. Fix nullability of exploration generation and improve error handling, make new helper method, add pick random quest type method to controller (#419) 2025-06-23 10:03:56 +01:00
chompDev 6820d7b8be .NET Format Style Fixes 2025-06-22 19:51:53 +00:00
Cj 811791f7d3 Repeatable quest generation (Part 1) (#417)
* Refactor and breakout CompletionQuestGenerator.cs

* make `GenerateAvailableForFinish` protected
2025-06-22 20:51:18 +01:00
Chomp 1087b32e13 Improved GetLocation() ability to handle nulls 2025-06-22 12:57:26 +01:00
chompDev 1520cfadc3 .NET Format Style Fixes 2025-06-22 11:48:07 +00:00
Chomp 4b29aaf9d6 Fixed hideout area upgrades softlocking client when upgrading areas with containers
Removed unused injections

Renamed field to `_areasWithResources` and converted into hashset
2025-06-22 12:47:34 +01:00
Chomp e0a06520b9 Merge branch 'develop' of https://github.com/sp-tarkov/server-csharp into develop 2025-06-22 11:33:49 +01:00
Chomp d9e7c31b8a Fixed inverted locale logic that forced eng locale 2025-06-22 11:33:40 +01:00
chompDev ae417899b1 .NET Format Style Fixes 2025-06-22 10:33:34 +00:00
Chomp 7dde75053d Fixed Exploit - Selling item for any value when no other offers existing for item
`GetItemMinAvgMaxFleaPriceValues` ran after `CreatePlayerOffer`, resulting in the average price values using the players offer, skewing the results
2025-06-22 11:32:59 +01:00
chompDev d7b61e857c .NET Format Style Fixes 2025-06-22 08:12:25 +00:00
Chomp 8477cc6485 Refactored AddForcedDynamicLoot 2025-06-22 09:11:50 +01:00
chompDev e64243a0c5 .NET Format Style Fixes 2025-06-22 08:05:18 +00:00
Cj d68228b5c9 Quest config nullability and documentation (Part 2) (#415)
* Make Interp1 generic

* Finish quest controller nullability fixes

* More model and nullability improvements and fixes

* Rename `specificLocationChance`

* rename `bodyPartChance`

* finish comments
2025-06-22 09:04:45 +01:00
chompDev 10880881b4 .NET Format Style Fixes 2025-06-22 07:43:05 +00:00
Chomp a266556b3c Rename method for better clarity as to its purpose 2025-06-22 08:42:30 +01:00
chompDev 81692bec65 .NET Format Style Fixes 2025-06-22 07:37:40 +00:00
Chomp 34d4de1d54 Fixed nullref in loot generation when Location has no item limits 2025-06-22 08:35:58 +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
Chomp 9a82432c2c Updated Interp1 to accept readonly lists as params + added comments 2025-06-20 14:15:28 +01:00
chompDev 37ed866dc8 .NET Format Style Fixes 2025-06-20 12:45:24 +00:00
Archangel f7782e1b1a Begin cleanup of quest model & nullability in Quests & Achievements 2025-06-20 14:24:58 +02:00
Archangel 519615d313 Set ConditionTypes in Quest as required 2025-06-20 13:11:35 +02:00
chompDev ab22346870 .NET Format Style Fixes 2025-06-20 07:48:43 +00:00
Cj 445243aad5 Task: Quest config changes Part 1 (#407)
* Remove nullable and add properties, make side use an enum instead of a string.

* remove double semi-colon

* fix comment
2025-06-20 08:48:12 +01:00
chompDev 1a6f5f779d .NET Format Style Fixes 2025-06-19 13:36:57 +00:00
Lacyway 8ef16880f4 Fix stackoverflow (#406) 2025-06-19 14:36:21 +01:00
Chomp 26ce1d9562 Clone offer items prior to processing them as we delete them all in line below 2025-06-19 14:31:58 +01:00
chompDev 644a70b7b4 .NET Format Style Fixes 2025-06-19 11:10:44 +00:00