Commit Graph

41 Commits

Author SHA1 Message Date
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
Chomp 33c56e0730 Updated values to be consts where possible 2025-03-08 09:33:04 +00:00
Chomp 0b38563aa3 Fixed floating point issues with comparison 2025-03-08 09:22:53 +00:00
Chomp 0d23400db3 Replaced single loop with key lookup inside BindItem 2025-03-08 09:17:57 +00:00
Chomp 5cfa59f615 Use same types as BSG for properties 2025-03-08 09:05:30 +00:00
clodan 270f095413 renamed projects and namespaces 2025-03-07 13:16:43 +00:00