Commit Graph

99 Commits

Author SHA1 Message Date
Chomp 88c9f71f8c Fixed AdjustWeighting not correctly ignoring items in the edit list not found at the destination
Added nullguards
Added missing comment
Simplified if statement
2025-05-30 12:47:01 +01:00
Chomp 4f01dc54bd Merge branch 'develop' of https://github.com/sp-tarkov/server-csharp into develop 2025-05-30 12:36:46 +01:00
Chomp 866a5fd24c Minor bot equipment code changes
Assume player is level 1, not 0
Nullcheck bot equipment config prior to using it
2025-05-30 12:35:23 +01:00
clodanSPT ee51e1fcab Refactored pre spt mod loader to user IOnLoad, moved Watermark to IOnLoad as well (#313)
Co-authored-by: Alex <alex@dm-me-for-questions.com>
2025-05-30 11:03:08 +01:00
Archangel c930197942 Cleanup AppContext 2025-05-29 23:50:06 +02:00
clodanSPT 1968afccba Fixes and logs (#301)
* Added safety checks around dictionary lookups for Areas Stages

* Added lots of debug logs for websocket handling

* Removed debug comments

---------

Co-authored-by: Alex <alex@dm-me-for-questions.com>
2025-05-29 11:06:32 +01:00
hulkhan22 44d881b793 Fix unordered enumerable 2025-05-28 23:12:59 +02:00
Chris Adamson df5750cf09 fixes for my previous pr based on peer feedback 2025-05-28 15:01:10 -05:00
Chomp 972dd997fc Fixed null being thrown when searching for an item that has no offers requiring it 2025-05-28 18:25:14 +01:00
Chomp 387970890d Fixed flea categories not showing when performing a 'required' search 2025-05-28 18:24:34 +01:00
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