Commit Graph

55 Commits

Author SHA1 Message Date
Archangel 4e3c755e90 Remove AppContext, store profile related data in ProfileActivityService 2025-05-30 19:36:23 +02:00
Archangel c930197942 Cleanup AppContext 2025-05-29 23:50:06 +02:00
Cj 74cc1ac300 Move repeatable quest code into repeatable controller 2025-05-29 14:56:14 -04:00
Chomp 2902b757e6 Added nullguard check to SaveActiveModsToProfile 2025-05-27 17:17:23 +01:00
Chomp 64885dd6a2 Surrounded call to AddTaskConditionCountersToProfile with null check inside AcceptQuest 2025-05-27 16:39:37 +01:00
Chomp e0cceab7fa Added nullguard to GetLoadedServerMods() 2025-05-27 16:27:23 +01:00
hulkhan22 aef3a4202f Fix presentation of messages with items (rewards & insurance returns) (#265) 2025-05-21 22:29:34 +01:00
Chomp c39ab9e1e7 Improved nickname validation code clarity
Improved accuracy of 2 responses:

`client/game/profile/nickname/validate`
`client/game/profile/nickname/change`
2025-05-21 16:09:11 +01:00
Chomp a3be7f25db Improved consistency in property access throughout GetMiniProfile()
Renamed parameter for consistency
2025-05-21 15:52:40 +01:00
hulkhan22 8ad9afebaa fix: Insurance removing unremovable parts - #196 (#260)
* Fix insurance removing unremovable parts

* Mini optimization
2025-05-20 10:50:27 +01:00
Chris Adamson e783f26815 Fix: Insurance items lost in labyrinth should not be returned (#256)
* labyrinth insurance fix

* fix copypasta
2025-05-18 19:37:31 +01:00
hulkhan22 1eb4d55a02 feat: Make adding new traders easier (#251)
* Make adding a new trader easier

* Improvements
2025-05-11 20:12:26 +01:00
Cj 5af362b0b3 Implement loading metadata from the assembly 2025-05-07 15:05:22 -04:00
Alex 1499627d3c DI completely reworked to keep status of singletons on multi type components 2025-05-06 10:52:22 +01:00
Chomp ba59afa354 Made GetActiveChatBots() public 2025-05-06 08:49:44 +01:00
hulkhan22 23468cf0a3 fix: Bot flashlights on during daytime raid (#236)
* Fix flashlights being on during daytime raids

* Add comment for the new property
2025-05-05 09:07:26 +01:00
Chomp 31ae5feb41 Bot generation performance (#231)
* chore: Bot generation performance improvements (#227)

* Bot generation performance improvements

* Revert debug logging logic

* Get rid of Info log which is bound to be printed inevitably at each bot wave generation

* Use assault const

* Removed comments

Removed lowercase side constants
Renamed equipment role to better explain its purpose

Fixed `Blocks` property being serialised to client

Updated `_slotsWithNoCompatIssues` to use existing enum type

Reduced log line to be debug

* Fixed `GetRandomTextThatMatchesPartialKey` incorrectly checking eft locales instead of spt locales

* Updated various methods to be protected

---------

Co-authored-by: hulkhan22 <clandestine984@gmail.com>
Co-authored-by: Chomp <dev@dev.sp-tarkov.com>
2025-05-04 12:51:45 +01:00
CWX 714d685304 Merge pull request #208 from hulkhan22/fix/health-regen
fix: Energy and hydration not generating when game is shut down
2025-04-29 19:25:57 +01:00
hulkhan22 ba70911de3 Fix health and hydration regen 2025-04-29 19:44:03 +02:00
hulkhan22 bbae435498 Refactor Bot chat messages at raid end 2025-04-28 21:58:45 +02:00
hulkhan22 2aee426983 Merge branch 'develop' into fix/turning-off-generator-stops-crafts 2025-04-27 19:02:10 +02:00
hulkhan22 3e4b87a2ac Fix hideout upgrade complete time calculation 2025-04-27 18:59:38 +02:00
Chomp 3b41b551ca Renamed lock vars to match convention 2025-04-26 23:12:19 +01:00
hulkhan22 baed8d2b90 Revert to a lock 2025-04-26 23:56:48 +02:00
hulkhan22 7e13c8c446 Revert "Fix"
This reverts commit ce97c1676198197b8c2a0ef75eaee7df869cb3bd.
2025-04-26 23:29:12 +02:00
hulkhan22 0e176aba5f Fix 2025-04-26 20:53:14 +02:00
Alex 222ca2e274 Replaced Serilog for custom logger 2025-04-24 16:29:36 +01:00
CWX 7c7297f63c Code cleanup and format 2025-04-22 14:49:05 +01:00
CWX 8ba498a4bc Removed TraderAssortService use TraderHelper.GetTraderAssortsByTraderId 2025-04-22 14:36:28 +01:00
CWX 97c1c22315 split logic to make debugging easier 2025-04-20 13:28:12 +01:00
CWX 74f755af61 Implemented LogWithColor along side module changes, newtonsoft will always send a string 2025-04-16 13:00:01 +01:00
Chomp 6a5bceba39 Fixed AddContainerUpgradeToClientOutput saving the wrong key into client response object 2025-04-13 09:53:34 +01:00
Chomp 83b46a1c1e Renamed parameter to follow conventon 2025-04-13 09:38:03 +01:00
Chomp b91d08b538 FIxed AddContainerImprovementToProfile saving incorrect value into HideoutAreaStashes dictionary 2025-04-13 09:34:15 +01:00
CWX 95d009e0e4 Changes to MailSendService
originally we had the trader id -> then used a method to get the EnumValue as a string -> then later turned it BACK into a traderId

unless im missing something major this should simplify things?

example:
we took "6617beeaa9cfa777ca915b7c" and turned it to "Ref" to then turn it back to "6617beeaa9cfa777ca915b7c"
2025-04-08 22:03:43 +01:00
CWX 91c230fd5b Fix scav selling 2025-04-07 15:35:23 +01:00
CWX d10238b006 Check Enum has key before trying getValue 2025-04-07 13:29:49 +01:00
Chomp 6010e42a93 Fixed getRaidAdjustments not sending all the required fields 2025-04-01 12:06:15 +01:00
Chomp b1baab0f93 Add extra repeatable support for prestige
Should have all the null handling required to work with existing
profiles
2025-03-28 18:38:26 +00:00
Chomp 3a75febcdb Fix issue that caused standard edition to get free daily replacing
Currently all editions end up with free daily replacement after the first round of daily quests. This fixes that
2025-03-28 18:00:36 +00:00
Chomp 2423a66f40 Refactored how clothing is stored and processed
`Suits` is no longer used in full profile, `customisationUnlocks` should be used
2025-03-28 17:54:32 +00:00
Chomp 555d3e1bef Fix preset lookup not matching casing 2025-03-28 16:50:58 +00:00
Chomp 1bcd18ffa5 Log stacktrace on exception 2025-03-28 16:33:11 +00:00
CWX 2c45d473f7 Fix launcherV2 endpoint for loaded mods 2025-03-22 15:57:26 +00:00
Chomp 4d40612e16 Exposed repeatable replacement cost chance values in config 2025-03-19 16:46:14 +00:00
Chomp f0aafc452f Improved logic inside CreateMagazineTemplate 2025-03-08 11:26:20 +00:00
Chomp 6e0316f3c4 Removed unused varable inside SaveEquipmentBuild + improved null handling 2025-03-08 11:21:02 +00:00
Chomp 1b08f9b72e Improved string comparison logic inside GenerateBotWave 2025-03-08 11:20:26 +00:00
Chomp 2bdab2d7b6 Updated GetAchievementStatics to loop through ids, not achievement objects 2025-03-08 11:18:28 +00:00
Chomp 951ba24d98 Removed reduandant property from method and improved error message text 2025-03-08 09:33:41 +00:00