Commit Graph

254 Commits

Author SHA1 Message Date
Chomp 88e5e9e748 Improved error handling inside HandleMusclePain() 2025-10-21 19:01:24 +01:00
Chomp dc2579c86d Skip init Offers as its immediately int on the line below 2025-10-20 09:56:32 +01:00
ozen-m ab62b070a8 Fix insurance removes stored item and fix drawn element not being removed (#639)
* Exclude items stored inside root item (e.g. armored rigs) when processing regular items

* Remove draw element when whitelist is null

* Simplify null check
2025-10-19 20:23:31 -07:00
Yuri 954eee5251 Fix daily quest always generating one quest type on replace. 2025-10-18 04:09:00 -05:00
Chomp 13f370f0dc Fixed nullref inside GetItemMinAvgMaxFleaPriceValues 2025-10-16 16:29:47 +01:00
Chomp b15892b256 Fixed nullref inside ChargePlayerTaxFee #620 2025-10-15 20:29:02 +01:00
Chomp a66ce40ba8 Updated Cost logging to be debug 2025-10-12 16:34:36 +01:00
Chomp 4bc643adfb Merge pull request #613 from DrakiaXYZ/fix-hideoutexamine
Fix examining item in hideout upgrade panel exception
2025-10-12 07:53:27 +00:00
DrakiaXYZ e4c5b69fec Formatting 2025-10-11 22:57:03 -07:00
DrakiaXYZ e00dcc719c Fix examining item in hideout upgrade panel exception 2025-10-11 21:19:32 -07:00
Chomp 0582f8d5fc Fixed ExamineItem() log message error 2025-10-11 19:48:20 +01:00
Chomp cda3511227 Streamlined logic check inside GetActiveChatBots 2025-10-10 17:53:08 +01:00
Chomp ef4c646ffd Fixed being unable to disable chatbots 2025-10-10 17:50:01 +01:00
Chomp ba4e8d9c14 Removed password from profiles
Added migration to remove password property from profiles
2025-10-02 09:56:51 +01: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 836112dc50 Weather refactor (#596)
* First pass at Weather generation refactor

* Moved generation logic around

* Added seasonal variability support

* Expanded weather generation to use DI system and allow easier modding

* Updated weather weight values

Converted records into classes

* Added fallback when generator isn't found

* Fixed colliding lambda

Added method comments

* Cleanup of weather code

* Adjusted `weatherPresetWeight` values

---------

Co-authored-by: Chomp <dev@dev.sp-tarkov.com>
2025-09-30 12:23:46 +00:00
Cj 36b247d92e Move HideoutAreas to the Models.Enums.Hideout namespace 2025-09-29 18:14:59 -04:00
Chomp 79e023392b Implemented CoreBot type
Enabled 'rudans' patrol flag in Christmas event
2025-09-29 09:33:16 +01:00
Chomp ecc0ba8406 Cleanup of warnings 2025-09-26 13:38: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
CWX ca28cb2926 Update Profile v2 endpoint to use miniprofile and allow v2 endpoint to get miniprofile from only loginrequest 2025-09-19 18:46:05 +01:00
Archangel 5fc7761b4c Send InvalidOrUnloadableProfile to launcher 2025-09-18 19:56:26 +02:00
Archangel 7024b77d88 Handle error in response 2025-09-18 18:17:52 +02:00
Archangel 7184b4e5db Stop execution of invalid profiles on game start 2025-09-18 18:09:41 +02:00
Chomp e26662ff13 Improved empty check for difficulty values inside GetAllBotDifficulties 2025-09-12 11:06:09 +01:00
Chomp 49b58b6c8a Check for key using ContainsKey instead of TryGet 2025-09-08 15:37:16 +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 8177093b16 Updated EnsureItemHasValidStackCount to be an extension method 2025-09-08 12:48:06 +01:00
Chomp e5d0af3890 Formatting and naming consistency changes 2025-09-02 14:27:10 +01:00
Chomp 2c28b4b0bf Fixed bad logging text in RollForDelete 2025-09-02 10:36:47 +01:00
Archangel 7e2e3db3fd Change property naming to be more consistent (#578) 2025-08-28 15:32:02 +02:00
DrakiaXYZ 18aca7d514 Store data passed back from SaveDialogueState call (#568)
* Store data passed back from SaveDialogueState call
This makes the rest area game playable, though variables still don't save

* Woops, bad casing

---------

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
2025-08-24 08:58:08 +01:00
Archangel 0fe034691d Fix up wrong type 2025-08-23 13:25:37 +02:00
Chomp b44d9617d0 Added RestSpace to _areasWithResources 2025-08-21 20:42:56 +01:00
Archangel d413a6e9c5 Remove TraderStore, use DatabaseService as the source of truth 2025-08-21 16:18:41 +02:00
Cj 86dd7cef17 Fix inverted if check for flea market purchases 2025-08-18 14:24:05 -04:00
Chomp 8573e6ae02 Use string.empty and MongoId.Empty() where appropriate 2025-08-17 21:35:34 +01:00
Chomp aa4224081b Improve level check logic inside PlayerLacksTraderLoyaltyLevelToBuyOffer 2025-08-17 16:42:01 +01:00
Chomp 24397b0439 Fix logging messages 2025-08-17 09:23:17 +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
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
Cj e54dcbd4d1 Fix more warnings... (#543)
* Fix more warnings...

* Fix mistake
2025-08-12 15:28:54 +00:00
Cj 8b4a81fae7 Make first 3 initial daily quests of differing type (#540)
* Make first 3 initial daily quests of differing type

* add comment
2025-08-10 09:52:00 +01:00
Cj 4d0eb4d4f3 Change to using builtin SemVer type for AbstractModMetadata and ProgramStatistics.Generated (#536)
* Change to using SemVer builtin type

* Remove SptVersion from config, remove redundant .ToString()

* Update test mod, fix watermark string conversion
2025-08-09 20:40:25 +00:00
Lacyway 6094449903 Fix handins using from key 2025-08-09 13:49:23 +02:00
Lacyway d468848b0c Improve MongoIds (#537)
* Mongoid improvements pt1

* Format Style Fixes

* Fix incorrect string

* Fix != comparison

---------

Co-authored-by: sp-tarkov-bot <singleplayertarkov@gmail.com>
2025-08-09 11:50:49 +01:00
Chomp 15023f2e27 Optimised flea searching hotpath 2025-08-07 22:28:36 +01:00
Chomp 162ce3f1d5 Comment and nullguard improvements in HideoutController 2025-08-07 18:22:13 +01:00
Chomp 131f2feeab Added nullguard to RemoveExpiredItemsFromMessage + chagned parameter to MongoId 2025-08-07 18:16:13 +01:00