Commit Graph

392 Commits

Author SHA1 Message Date
DrakiaXYZ e00dcc719c Fix examining item in hideout upgrade panel exception 2025-10-11 21:19:32 -07:00
Chomp fcf99a3464 Added helper method GetProfileTemplateFlagValue 2025-10-07 11:50:50 +01:00
Cj 5e0c32e9c2 Add method comment 2025-10-06 05:22:43 -04:00
Chomp 6e2286ca5b Added system to allow adjustment of static spawn weights via config
reduced `Power substation utility cabin key` on customs to 60% of original weight
2025-10-03 20:28:39 +01:00
Cj cf29c7bde3 Merge pull request #601 from sp-tarkov/repeatable-completion-quests
Repeatable completion quest level ranges
2025-10-02 19:02:05 +00:00
Chomp bd941eba61 Fixed typo 2025-10-01 21:28:37 +01:00
Cj 7a08fd4e16 Merge branch 'develop' into repeatable-quest-tuning 2025-10-01 03:16:37 -04:00
Cj c95446bb20 Implement level ranged Exploration objective generation 2025-10-01 02:58:20 -04:00
Chomp cc745f4c46 Corrected ProcessBuyTradeRequestData transactionId to be Mongoid, updated associated code
Also moved TransactionId in `InsuranceRequestData` to be MongoId, updated associated code
2025-09-30 22:38:42 +01:00
Chomp f8b2b52afc Skip processing crafts that have been flagged as interrupted 2025-09-30 12:53:24 +01:00
Cj 36b247d92e Move HideoutAreas to the Models.Enums.Hideout namespace 2025-09-29 18:14:59 -04:00
Chomp f43a137fed Make use of logical patterns inside WeatherHelper 2025-09-26 13:19:41 +01:00
Chomp e32bace4d6 Improved dict access inside SetTraderUnlockedState + comment and naming improvements 2025-09-26 13:16:47 +01:00
Chomp ec682ccc16 Updated GetTrader to use mongoId for traderId + removed redundant 'ragfair' check + made sessionId optional + added comments 2025-09-26 13:05:20 +01:00
Chomp 45237693f8 Fixed issue with GenerateExtraPropertiesForItem not returning Upd object 2025-09-14 16:39:47 +01:00
Chomp 11ec6f66da Fixed issue with 0 valued maxhpresource items causing errors 2025-09-14 11:07:54 +01:00
Chomp 0c68d56ee1 Improved GetRandomizedResourceValue + GenerateExtraPropertiesForItem handling of values
Explicit handling of value == 1
Prevent returned value being below 1
Allow caller to force `StackObjectsCount` property
Renamed returned object
2025-09-14 10:17:49 +01:00
Chomp 508e7f44b0 Removed unused methods 2025-09-08 19:30:10 +01:00
Chomp 4830f1e2b2 Removed filledContainerIds system as its handled by botInventoryContainerService 2025-09-08 15:52:36 +01:00
Chomp 7ec29e1e12 Converted FlagCultistCircleCraftAsComplete into extension method 2025-09-08 13:08:10 +01:00
Chomp 5d93d1cd6d Converted GetSkillBonusMultipliedBySkillLevel into extension method 2025-09-08 13:04:11 +01:00
Chomp 0b2843cff6 Converted ProfileMeetsTraderLoyaltyLevelToBuyOffer to extension method 2025-09-08 12:56:14 +01:00
Chomp 495660bec3 Expanded UBGL ammo placement to try pockets if rig placement fails - fixes partisan not having any ubgl ammo 2025-09-06 19:05:54 +01:00
Chomp e5d0af3890 Formatting and naming consistency changes 2025-09-02 14:27:10 +01:00
Chomp 4c80ca242c Updated various enums with values from live 2025-08-30 15:42:48 +01:00
Chomp d3f95de546 Wired up notification alert reward - untested #576 2025-08-28 22:43:08 +01:00
Archangel 6dacfde715 Change prop method naming to be more consistent 2025-08-28 15:38:36 +02:00
Archangel 7e2e3db3fd Change property naming to be more consistent (#578) 2025-08-28 15:32:02 +02:00
Chomp 3312a5f28c Fixed Server serializing difficulty values incorrectly 2025-08-23 10:14:04 +01:00
Archangel d413a6e9c5 Remove TraderStore, use DatabaseService as the source of truth 2025-08-21 16:18:41 +02:00
Chomp d8987d55f7 Renamed method to TryAddItemToBotContainer 2025-08-20 12:05:47 +01:00
clodanSPT e6912d0efb Fixed timer for non-UTC zones (#560)
* Fixed timer for non-UTC zones

* Added UT and removed unused method

---------

Co-authored-by: Alex <clodanSPT@hotmail.com>
Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2025-08-19 16:49:28 +00:00
Chomp 7eb88646f2 Second attempt at fixing prestige issue #558 2025-08-19 12:04:15 +01:00
Chomp 2f1a7f6663 Fixed error on profile generation 2025-08-19 10:29:13 +01:00
Chomp 8573e6ae02 Use string.empty and MongoId.Empty() where appropriate 2025-08-17 21:35:34 +01:00
Chomp c1522c278e Validate profiles on server start, can be disabled via core.config 2025-08-17 19:56:59 +01:00
Chomp 24397b0439 Fix logging messages 2025-08-17 09:23:17 +01:00
Cj a4e3fc7c4e Fix error placed in the wrong spot 2025-08-16 19:30:12 -04:00
Cj bb649e6748 Warning fixes and ProfileValidatorHelper cleanup (#551)
* Fix warnings in ProfileHelper.cs

* Refactor ProfileValidatorHelper.cs

* reduce nesting
2025-08-15 11:29:46 +00:00
Chomp 07504d406e Renamed TryFillContainerMapWithItem and changed output to better follow c# conventions 2025-08-15 11:24:10 +01:00
Cj b1a3a36832 Warning fixes continued (#550)
* More warning fixes

* Revert ModHelper change
2025-08-14 14:00:36 +01:00
Chomp c3a4bb448c Filter down hideout areas prior to processing them in UpdateAreasWithResources
Updated hideout area "type" property to not be nullable
2025-08-13 17:15:52 +01:00
Chomp b061200803 Refactor of how bot loot has its position picked to improve performance (#548)
* Initial work on moving container space checks into new class

* Updated tests

Wired up service to save item into inventory when space is found

Updated `FillContainerMapWithItem` to return outcome and not throw exception on failure

Add containers to bot when generating bot equipment

Clean bot cache after completion of loot generation

Removed redundant code from `AddItemWithChildrenToEquipmentSlot`

Removed unnecessary Singleton status from `BotInventoryContainerService`

* Clean-up of service

* Add botId xml docs

* Updated documentation for `FillContainerMapWithItem`

* Code review fixes and improvements

* Remove TODO

---------

Co-authored-by: Chomp <dev@dev.sp-tarkov.com>
2025-08-13 15:35:57 +00:00
Cj 726e4fccd5 Fix doc, remove unused using 2025-08-13 03:49:38 -04:00
Cj 21e075af2f ItemHelper warning fixes (#546)
* - ItemHelper warning fixes
- Fix Fast panel id replacement
- Disable resharper enumeration highlighting

* Use suggestion
2025-08-13 08:28:06 +01:00
Cj 021e5f8239 Log errors before throwing exceptions 2025-08-12 15:49:26 -04:00
Cj 628a31f07f Helper warning fixes (#545)
* Helper warning fixes

* Make AI happy
2025-08-12 19:06:46 +00:00
Jesse 60958b3d24 Merge pull request #544 from sp-tarkov/remove-warnings
Remove unused dependencies and improve code quality
2025-08-12 19:26:05 +02:00
Archangel a8f43a70f7 Update docs 2025-08-12 18:34:26 +02:00
Cj d705b6119a Fix incomplete error text 2025-08-12 11:52:33 -04:00