Commit Graph

3047 Commits

Author SHA1 Message Date
Chomp b20b8a3fce Cleanup todos, run VS cleanup & enforce file scoped namespacing (#525)
* Cleanup todos, run VS cleanup & enforce file scoped namespacing

* Apply enforced file scoped namespacing
2025-07-31 14:35:26 +00:00
Archangel cec47fefd2 Apply enforced file scoped namespacing 2025-07-31 15:23:32 +02:00
Archangel aec8420d53 Cleanup todos, run VS cleanup & enforce file scoped namespacing 2025-07-31 15:18:20 +02:00
Jesse fc7660b6c8 Slight bundle & fileutil refactor: (#524)
- Actually load the bundle cache file now
- Don't read file as string with StreamReader, instead read with ReadAllTextAsync
- Slight refactor to bundle hashing

Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2025-07-30 22:23:29 +00:00
Chomp c89c84dff3 Converted RemoveFiRStatusFromItemsInContainer into extension method
Improved performance of method by using breadth-first search to find children instead of loop
Wrote tests for method
2025-07-30 23:13:09 +01:00
Chomp 503967935b Improved declaration of _deathStates 2025-07-30 17:31:14 +01:00
Chomp 357c2f5dac Created EndRaidResultExtensions 2025-07-30 17:30:50 +01:00
sp-tarkov-bot 05c097e044 Format Style Fixes 2025-07-30 15:56:15 +00:00
Chomp fcf7a6d40f Removed unused side_plate weights from config
Reduced code duplication in `FilterPlateModsForSlotByLevel`
2025-07-30 16:55:26 +01:00
Chomp 2a56f3811c Updated LocationLootGenerator ctor parameter formatting 2025-07-28 23:02:35 +01:00
Chomp a72860e33a Small cleanup to loop inside GenerateStaticContainers 2025-07-28 22:24:27 +01:00
sp-tarkov-bot 418d121cf1 Format Style Fixes 2025-07-28 21:19:26 +00:00
Jesse bf5dedb672 Add currently active client mods in ProfileActivityService (#523)
* Add currently active client mods in ProfileActivityService

* Add method to fetch active client mods on profile
2025-07-28 21:18:38 +00:00
sp-tarkov-bot b14b74bf24 Format Style Fixes 2025-07-28 19:39:29 +00:00
CWX 51430d55c9 Update EditorConfig for max length of 140 2025-07-28 20:38:35 +01:00
Chomp 9db4f65002 forgot a file 2025-07-28 15:11:05 +01:00
Chomp 623fce1484 Added id generation for BaseClasses, updated references 2025-07-27 17:40:27 +01:00
Chomp 85b47f494e Made ammo not require Found in Raid for daily quests #401 2025-07-27 16:31:29 +01:00
Chomp b1fb8ab57a Updated MongoId to implement IComparable<MongoId> 2025-07-27 14:19:38 +01:00
Chomp a1b1c6d815 Updated string to mongoId 2025-07-27 13:31:46 +01:00
Chomp 773966240f Fixed GenerateWeaponByTpl_generate_m4_pmc 2025-07-27 13:11:31 +01:00
Chomp 7711af53f4 Remove unnecessary conversion to mongoid 2025-07-27 12:57:51 +01:00
Chomp 680ab40499 Inverted if check to reduce nesting 2025-07-27 12:56:45 +01:00
Chomp 83cb707551 Updated comment styles 2025-07-27 12:56:09 +01:00
Chomp e0ae465bac Merge pull request #522 from R3ality/json-adjustments
Json adjustments (spelling/grammar, key name refactor)
2025-07-27 11:14:42 +00:00
R3ality a5c2fb08e6 Style: Satisfy csharpier 2025-07-27 13:54:54 +03:00
R3ality 82efbfc7db Refactor Json key name to offerCurrencyChancePercent 2025-07-27 13:36:38 +03:00
R3ality 7733d2df96 Fix typo in locationMultipler 2025-07-27 13:15:37 +03:00
R3ality b5b24b2003 Fix typo in traderPriceMultipler 2025-07-27 13:04:50 +03:00
Chomp 26dcc6320d Merge pull request #521 from R3ality/json-adjustments
Json adjustments (spelling, grammar)
2025-07-27 09:11:55 +00:00
R3ality 6dc35d732d Rebase onto formatted Jsons (conflict resolve) 2025-07-27 11:41:08 +03:00
R3ality 765adcac5e Fix typo in priceThreshholdRub 2025-07-27 11:38:54 +03:00
R3ality 8c52c15d6e Fix typo in handbookPriceMultipier 2025-07-27 11:38:53 +03:00
R3ality 9eaa46e024 Fix typo in skillGainMultiplers 2025-07-27 11:38:35 +03:00
R3ality 08a279c4e4 Fix typo in cultistCircle.craftTimeThreshholds 2025-07-27 11:38:12 +03:00
R3ality 8e20a97d5d Fix typo in cultistCircle.rewardPriceMultiplerMinMax 2025-07-27 11:38:11 +03:00
sp-tarkov-bot b45d5befb1 Format Style Fixes 2025-07-27 08:06:42 +00:00
Chomp f1a46de6f2 Merge pull request #520 from sp-tarkov/json-formatting
Automatic JSON Formatting Workflow
2025-07-27 08:05:53 +00:00
Refringe c5198ccd22 Automatic JSON Formatting Workflow
This change alters the existing format workflow to include another job that handles formatting JSON files. The JSON files are formatted using BiomeJS. The BiomeJS config file is dynamically created before Biome runs and removed after. This uses the existing `.editorconfig` settings as defaults, allowing overwrites and additional Biome configurations within the workflow file.

Current JSON formatting rules:
- end_of_line = lf
- insert_final_newline = true
- indent_style = space
- trim_trailing_whitespace = true
- charset = utf-8
- indent_size = 2
- trailingCommas = none
- bracketSpacing = true
- expand = always

The existing Csharpier job runs at the same time as the new Biome job. The results (changes made) in each job are compressed into an artifact and downloaded into a final job that combines them and commits them back into the project (if there are changes, and if the workflow is not triggered within a PR).
2025-07-26 19:21:15 -04:00
Chomp b74adca201 Merge pull request #519 from R3ality/json-adjustments
Json adjustments (duplicate entries, minor file rename)
2025-07-26 21:44:36 +00:00
R3ality 2280d0db3e File name capitalization change for consistency 2025-07-26 22:52:50 +03:00
R3ality 5f252f8a46 Remove duplicate K/V in lootMaxSpawnLimits.bigmap 2025-07-26 22:52:50 +03:00
R3ality 6d43e46814 Remove duplicate assignment for laboratory in mapInfectionAmount 2025-07-26 22:52:49 +03:00
Chomp 96be35d2c1 FIxed skill check error in GetCompleteProfile 2025-07-26 12:54:46 +01:00
Chomp bfd616e7c3 Converted rewards data into dictionary - reduced need for reflection
Moved clone outside of `UpdateQuestsForGameEdition`
2025-07-26 12:53:56 +01:00
Chomp 8aff434933 Merge pull request #517 from CJ-SPT/skill-fix
Fix sending invalid skill information to client
2025-07-26 09:32:56 +00:00
Chomp 56a6bde1e1 Refactored how fence assorts are generated
Removed root items from pool as they're picked
Removed unnecessary ToList()
Added exit when there's no more root items to pick
2025-07-26 10:29:15 +01:00
Chomp 26d17d7413 Added AR-15 5.56x45 Magpul PMAG D-60 STANAG 60-round magazine to fence single stack list 2025-07-26 10:24:58 +01:00
Cj a9c20e57a3 Check skills when sending profile to client 2025-07-26 00:24:48 -04:00
Chomp 40b478b08c Revert debug logging 2025-07-25 22:33:35 +01:00