Commit Graph

1972 Commits

Author SHA1 Message Date
sp-tarkov-bot b8f7f80953 .NET Format Style Fixes 2025-07-21 13:42:30 +00:00
Refringe 72be1689c9 Validating auto-format workflow.
This style change should be automatically reverted.
2025-07-21 09:41:56 -04:00
Chomp 02b0c23cba Created CreateFleaOfferDetails 2025-07-21 14:38:00 +01:00
Chomp 3901a91f45 Improved how ragfair offer creator status is checked - store creator type in offer
Converted `IsTraderOffer` into extension method
string to mongoid conversions
2025-07-21 13:36:51 +01:00
R3ality e555aaf940 Add Ref currency to EDITPROFILE gift 2025-07-21 11:38:50 +03:00
sp-tarkov-bot a687320d75 .NET Format Style Fixes 2025-07-21 02:26:37 +00:00
Refringe f6894ad33c Validating auto-format workflow.
This style change should be automatically reverted.
2025-07-20 21:17:53 -04:00
Chomp 4b12fb98f3 Removed some null props 2025-07-20 22:53:11 +01:00
Chomp 0d79095aed Removed unused method and cached result of GetHighestSellToTraderPrice 2025-07-20 20:59:31 +01:00
Chomp 14e520633e Updated tests 2025-07-20 20:39:32 +01:00
clodanSPT 2af0891c66 .NET Format Style Fixes 2025-07-20 19:04:02 +00:00
Alex 9584d171f0 Test cleanup 2025-07-20 20:03:32 +01:00
chompDev 850441fcda .NET Format Style Fixes 2025-07-20 18:17:57 +00:00
Cj 1d1f872875 Refactor Item tpl generator to handle multiple generators + add quest tpl generator (#493) 2025-07-20 19:17:29 +01:00
Chomp cbcfa370bc Disabled hostile pscav bots from using brains other than assault #466 2025-07-20 15:27:58 +01:00
Chomp f772e97d4e string to mongoId changes 2025-07-20 13:07:42 +01:00
Chomp 59d33d2621 Deconstructed dict KvP to improve readabiltiy + string to mongoId conversions 2025-07-20 11:57:15 +01:00
Chomp 776c5454ad Fixed pmc loot overrides from bear/usec.json not applying correctly 2025-07-20 11:35:07 +01:00
Chomp 80e0637b26 string to mongoid conversion
Removed unnecessary nulls

Cleaned up access levels for methods in `BotGenerator`
2025-07-20 11:33:25 +01:00
Chomp 737776c99d Made use of Math.Clamp to simplify logic across server
Made all fence rep clamping use min/max values from config instead of magic values
2025-07-20 10:29:34 +01:00
chompDev 2466a29520 .NET Format Style Fixes 2025-07-20 09:18:17 +00:00
XeonDead 6e68e02636 PrestigeHelper: fix wrongly awarding prestige+1 awards 2025-07-20 08:56:00 +03:00
Chomp d7f7d6c3c6 Renamed variable to ensure consistency 2025-07-19 23:08:46 +01:00
Chomp 5142f6b689 Reduce allocations inside AddAmmoToSecureContainer 2025-07-19 22:51:21 +01:00
Chomp 9a92440b31 Simplified IsVertical() 2025-07-19 22:33:37 +01:00
Chomp 02d079985f Updated pmc dogtag generation systems to use weights + prestige tags 2025-07-19 22:26:22 +01:00
chompDev 4c01d4d186 .NET Format Style Fixes 2025-07-19 21:14:00 +00:00
Dmitriy 2302ad4870 PrestigeHelper: add logic for fetching max prestige levels from database (#490)
BSG's logic implies that each prestige level saves 5% times prestige level from previous skill progress, implemented that, too
2025-07-19 22:13:29 +01:00
Chomp 96e073c604 Updated SetCustomisation to handle voice changes 2025-07-19 22:02:38 +01:00
Chomp ff513beb9e Added new Voices to PMCs 2025-07-19 21:21:43 +01:00
Chomp a80d159545 Fixed prestiging not working after prestige 2
Fixed issues with receiving clothing
2025-07-19 21:16:42 +01:00
Chomp 32663a25df Added missing reward mappings 2025-07-19 20:49:27 +01:00
Chomp f006afa28d Revert "Fixed choosing 'wipe' from launcher persisting your prestige level"
This reverts commit c463e81f24.
2025-07-19 20:44:32 +01:00
Chomp c463e81f24 Fixed choosing 'wipe' from launcher persisting your prestige level 2025-07-19 20:40:36 +01:00
Chomp b7b50bc490 Merge branch 'develop' of https://github.com/sp-tarkov/server-csharp into develop 2025-07-19 18:53:35 +01:00
Chomp a8e77b16e7 Added notification enum 2025-07-19 18:53:22 +01:00
clodanSPT 7b6f1eb9ad Added OnWebAppBuild load step (#489)
* Fingers crossed this will fix the mod loading issue for configs

* Renamed classes and documentation for clarity

* Remove some extra traces of the old PreSptLoader

* Renamed interface for clarity and updated docs

* Re-introduced PreSptModLoad for now

---------

Co-authored-by: Alex <clodanSPT@hotmail.com>
2025-07-19 18:48:48 +01:00
Chomp ecdefef16c Removed unnecessary clone of db when checking for chat item + prevented some boxing issues 2025-07-19 14:29:51 +01:00
Chomp 405a8c94ac Removed unnecessary clone of db in GenerateRandomisedItemsAndAddToRewardPool 2025-07-19 14:13:03 +01:00
Chomp 43cc325da2 Removed unnecessary clone of db when generating flea offers 2025-07-19 14:08:29 +01:00
Chomp 096ec842ba Created overload of IsValidItem 2025-07-19 14:06:49 +01:00
Chomp 71481b3021 Removed unnecessary clone from GetAirdropLootConfigByType 2025-07-19 13:32:49 +01:00
Chomp fe7498c32d Reduced boxing inside FindAndReturnChildrenByAssort 2025-07-19 13:22:59 +01:00
Chomp db04c513fe Moved heavy fence assort logic after skip checks 2025-07-19 13:22:33 +01:00
Chomp 46638b1197 Refactored FindAndReturnChildrenAsItems method for better performance 2025-07-19 13:03:28 +01:00
Chomp d7f83e1b7d Micro-optimisations
Moved `GetInventoryItemHash` to extensions and rewrote to make better use of linq
2025-07-19 11:11:59 +01:00
Chomp 5f5bf3c39f Added 40mm ammo values to Boar boss to prevent generation errors on raid start 2025-07-19 10:09:09 +01:00
clodanSPT b287a08bd6 Small status page fix (#486)
Co-authored-by: Alex <clodanSPT@hotmail.com>
2025-07-18 18:08:12 +01:00
Chomp e20c56e4f1 Improved transition from string to mongoId inside httpListener 2025-07-18 17:12:11 +01:00
Chomp d1fc299ab0 Updated itemTpl 2025-07-18 16:31:12 +01:00