Commit Graph

307 Commits

Author SHA1 Message Date
sp-tarkov-bot b14b74bf24 Format Style Fixes 2025-07-28 19:39:29 +00:00
Chomp 623fce1484 Added id generation for BaseClasses, updated references 2025-07-27 17:40:27 +01:00
Chomp a1b1c6d815 Updated string to mongoId 2025-07-27 13:31:46 +01:00
Chomp 7711af53f4 Remove unnecessary conversion to mongoid 2025-07-27 12:57:51 +01:00
Chomp 680ab40499 Inverted if check to reduce nesting 2025-07-27 12:56:45 +01:00
Chomp 83cb707551 Updated comment styles 2025-07-27 12:56:09 +01:00
R3ality a5c2fb08e6 Style: Satisfy csharpier 2025-07-27 13:54:54 +03:00
R3ality 82efbfc7db Refactor Json key name to offerCurrencyChancePercent 2025-07-27 13:36:38 +03:00
Chomp bfd616e7c3 Converted rewards data into dictionary - reduced need for reflection
Moved clone outside of `UpdateQuestsForGameEdition`
2025-07-26 12:53:56 +01:00
Chomp 526c3f6c44 string > mongoid
added nullguard
2025-07-25 21:12:37 +01:00
Chomp 5cfb1421c7 Removed unnecessary ?? 2025-07-25 20:13:50 +01:00
Chomp b1aa8f0942 Removed unnecessary ?? 2025-07-25 20:09:07 +01:00
Chomp 8a7690e13b Improved performance of GetRandomElement when processing IEnnumerables 2025-07-25 18:26:09 +01:00
Chomp 834666a403 Created overload of ItemHasBaseClass that accepts one base type input, faster for 70% of use cases 2025-07-25 17:22:59 +01:00
Chomp 856fa0633d List to IEnumerable changes
Removed use of tolist()
2025-07-25 15:57:57 +01:00
Chomp e2f8d03897 Don't perform 2 exists check before returning profile 2025-07-25 12:42:02 +01:00
Chomp 34bd002876 list to ienumerable changes
Removed unused methods

strong to mongoId changes
2025-07-25 12:28:40 +01:00
bluextx 4095da3e2b Fixed collection modification exceptions during item removal. Added unit tests to ensure functionality. 2025-07-24 21:36:24 +03:00
Chomp 2c5420f3db list to ienumerable 2025-07-24 16:05:14 +01:00
Chomp f562c634a7 Converted lists to hashsets where appropriate
Removed unnecessary uses of  ToList()
string to mongoId conversions
2025-07-24 13:26:34 +01:00
Chomp 8dcb87e1b8 Fixed error on raid end 2025-07-23 22:08:24 +01:00
Chomp 10ad2dfe9a list to ienumerable changes 2025-07-23 22:07:56 +01:00
Chomp 1d0f6ce105 Added logging around cult circle reward handling 2025-07-23 16:28:41 +01:00
Chomp a1e0dadd08 Part 2 of list to ienumerable 2025-07-23 15:55:28 +01:00
Chomp 1320f7d0ab Ienumerable changes 2025-07-23 13:06:48 +01:00
Chomp db34eaa501 Updated various methods to accept IEnumerable instead of List 2025-07-23 10:57:49 +01:00
clodanSPT 2d752457b2 Move port usage (#504)
* Moved port usage code check to before startup

* removed unused import

---------

Co-authored-by: Alex <clodanSPT@hotmail.com>
2025-07-23 08:44:34 +01:00
Chomp 731b79519f Rename method to GetItemWithChildren 2025-07-22 20:43:08 +01:00
sp-tarkov-bot 7bf52b9240 .NET Format Style Fixes 2025-07-22 19:37:29 +00:00
Alex 8ab081e057 Fixed slot misplacement in bots inventories 2025-07-22 20:35:44 +01:00
Chomp 8f4f72dcdd Updated node comments to c# format 2025-07-21 21:09:17 +01:00
Chomp 8865484e2b string to MongoId changes 2025-07-21 14:52:30 +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
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 f772e97d4e string to mongoId changes 2025-07-20 13:07:42 +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 9a92440b31 Simplified IsVertical() 2025-07-19 22:33:37 +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 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 ecdefef16c Removed unnecessary clone of db when checking for chat item + prevented some boxing issues 2025-07-19 14:29:51 +01:00
Chomp 096ec842ba Created overload of IsValidItem 2025-07-19 14:06:49 +01:00
Chomp fe7498c32d Reduced boxing inside FindAndReturnChildrenByAssort 2025-07-19 13:22:59 +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
clodanSPT 1af50bfd34 Application cleanup (#485)
* Changed application to use background services and removed hacky http server startup

* Small improvements and method removals

* Removed Core dependency on Web application SDK

* Fixed wrong imported type

---------

Co-authored-by: Alex <clodanSPT@hotmail.com>
Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2025-07-18 16:21:24 +01:00
Chomp 38fb2454c7 Various micro-optimisations 2025-07-18 16:05:29 +01:00
Chomp b94d625362 string to mongoId + Various small refactors 2025-07-16 21:29:35 +01:00