Commit Graph

89 Commits

Author SHA1 Message Date
Chomp a7412384cd Fixed Linked Search not working for caratridges 2025-05-28 17:04:57 +01:00
Chomp c110783269 Minor cleanup of post-raid fence standing calculations inside HandlePostRaidPlayerScav 2025-05-28 12:37:07 +01:00
Chomp a3c3cad825 Fixed scav runs not setting loot to non-FIR after runthrough #279 2025-05-28 12:28:02 +01:00
Chomp da42c2803a Comment improvements 2025-05-28 12:04:27 +01:00
Chomp 8a382f5d63 Replaced concurrent dictionary with manual locks inside PMCLootGenerator 2025-05-28 11:06:16 +01:00
Chomp 158cf76dc8 Merge pull request #278 from CJ-SPT/collection-ittr-fix
Fix collection modification exception
2025-05-28 08:41:45 +01:00
Chomp c074dcc905 Merge pull request #275 from cp89gamedev/fix-cultist-circle-blue-intel
fixed issue where cultist circle is always giving bluen intel folder
2025-05-28 08:39:55 +01:00
Cj 4777aab95c Fix collection modification exception 2025-05-27 19:05:06 -04:00
Chris Adamson d441dc5db9 fixed issue where cultist circle is always giving bluen intel folder 2025-05-27 17:03:06 -05:00
Chomp f97b8b6f4f Fixed inverted logic check 2025-05-27 17:16:40 +01:00
hulkhan22 aef3a4202f Fix presentation of messages with items (rewards & insurance returns) (#265) 2025-05-21 22:29:34 +01:00
Chomp bdde7d7454 Updated UpdateFenceAssorts() to add a upd object when missing
Updated various methods to use library functionality

Improved string compare inside `RandomiseArmorInsertsDurabilities()`

Comment improvements
2025-05-21 12:02:12 +01:00
Chomp c9e28e05bb Moved in-game reward check even further up chain into ApplyQuestReward()
Replaced magic strings with string consts inside `IngameTraders` collection

Various comment improvements
2025-05-21 10:42:13 +01:00
hulkhan22 320e6adb84 Minor cleanup 2025-05-17 13:04:34 +02: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
Chomp 718015c2a6 Simplify IF check inside RandomiseItemUpdProperties() 2025-05-10 21:13:20 +01:00
Chomp 6a683cd2c9 Improved Preset generation for Fence assort
Filter weapon preset root items by fence blacklist prior to looping over them
Added an exit after 25 failed attempts to add a preset to assort to prevent infinite loop

https://github.com/sp-tarkov/server-csharp/issues/167
2025-05-10 20:56:31 +01:00
Chris Adamson f8bb244061 actually get rid of quest items on death (#249)
* actually get rid of quest items on death

* fixes based on feedback
2025-05-08 17:53:44 +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
CWX f15eb8e563 fix saiga FA 2025-05-05 23:01:22 +01:00
Chomp ae98f57bd9 Replaced various string.toLower() == x checks with string.Equals 2025-05-05 14:03:57 +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 dd6085af97 thanks lacy 2025-05-02 20:36:27 +01:00
CWX 7b22d93c60 Add ability to remove Custom locale 2025-05-02 20:26:29 +01:00
CWX 5c6a94a731 fix custom locales not overwriting existing ones 2025-05-02 20:24:48 +01:00
Chomp 344ea6de35 Moved container methods around
Added code to validate items fit into airdrop crate

Updated `CreateForcedLoot` and `CreateRandomLoot` to return items with their children

Updated `SetFoundInRaid` to not add a upd to money/currency if it doesn't already have one
2025-05-02 19:48:28 +01:00
hulkhan22 25386d588f Fix bonus ID check (#223) 2025-05-01 22:04:17 +01:00
Chomp e716e7b1d8 Made use of ProfileActivityService inside HandleFallback
Removed storage of session id from `HandleFeedback`

Cleaned up `ProfileActivityService`
2025-05-01 13:51:04 +01:00
CWX 0f3795fc49 fix buff logic for nulls 2025-04-30 15:59:13 +01:00
CWX 309fffeab2 Remove redundant code from node 2025-04-30 13:31:25 +01:00
Chomp 442011fef3 Deconstruct KvP inside PayMoney 2025-04-30 13:12:51 +01:00
CWX 990fe1cd7f Fix: taking the wrong amount 2025-04-29 21:41:26 +01:00
Chomp 1e42c8b8db Merge branch 'develop' into refactor/perf-work 2025-04-28 21:16:03 +01:00
hulkhan22 bbae435498 Refactor Bot chat messages at raid end 2025-04-28 21:58:45 +02:00
Chomp c0760ce4c1 Return empty response object when no stash id found, allows client to continue 2025-04-28 09:43:33 +01:00
hulkhan22 294c879f11 Fix cultist circle not giving reward 2025-04-28 00:23:01 +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 2b0a829515 reduce flea offer pack chance, cuz i hate em 2025-04-22 14:23:30 +01:00
CWX 7726df0ee1 simplify blacklist filtering 2025-04-22 13:08:39 +01:00
CWX d8bdfb9cb0 Fix botgen filtering issues 2025-04-21 23:36:10 +01:00
CWX 5b5e668ed6 add firework to seasonalevent blacklist 2025-04-21 23:11:04 +01:00
CWX 5886320bb6 change to seconds not ms 2025-04-20 14:33:14 +01:00
CWX 69ecde139e Update uasges to use LocalService 2025-04-17 13:21:38 +01:00
CWX 257c8cc698 moved removal of prapor message to localService as this needs to happen each time we lazyload 2025-04-17 13:20:54 +01:00
CWX f83b4a9138 implemented ability to add custom locales
change was relatively small so added it directly to localService
anything dealing with locales should use this service and not directly with DatabaseService.GetTables().Locales.Global as injected locales will be lost due to lazyloading
2025-04-17 13:19:55 +01:00
Chomp 00e94e2f25 Copy changes from node-server 2025-04-16 11:55:51 +01:00
CWX a7b52a5632 Change to use ConcurrentDict as i got a modified whilst reading on cloner 2025-04-11 13:55:18 +01:00