Commit Graph

3056 Commits

Author SHA1 Message Date
Chomp 2693369dec Merge pull request #531 from CJ-SPT/ragfair-controller-return-fix
RagfairController return fix
2025-08-03 19:13:31 +00:00
Cj 2d1bdec854 return when error 2025-08-03 14:57:19 -04:00
Chomp 0ea5269756 Updated profile SkillTypes property to use string to enum converter
Updated surrounding properties to not be null
Updated related code to reflect nullability change
2025-08-03 09:52:18 +01:00
Chomp d41691d358 Merge branch 'develop' of https://github.com/sp-tarkov/server-csharp into develop 2025-08-03 09:35:09 +01:00
Chomp e1e3ed0bb3 Fixed bots sometimes spawning with 0 stack sized ammo in their pockets/vests #529 2025-08-03 09:34:50 +01:00
Chomp ffb0a74ac9 Merge pull request #530 from CJ-SPT/patch-cache
[Feat/QOL] AbstractPatch cache
2025-08-03 07:56:35 +00:00
Cj 03d8ce2e5a Add patch cache 2025-08-03 02:15:16 -04:00
Chomp 08815da10d Improved Fake PMC offer count fluctuations #527
Added fake PMC offer count index to `RagfairOfferHolder` and made use of it when checking if offer count is over desired count
2025-08-02 11:22:27 +01:00
CWX 0f1bea6151 Generate Docs for nuget 2025-08-02 01:52:18 +01:00
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