Commit Graph

289 Commits

Author SHA1 Message Date
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
Chomp 42d2e3f7ea Updated properties to not be nullable + various fixes 2025-07-16 14:57:24 +01:00
Chomp f3482e28d9 Removed unnecessary nulls from Globals class 2025-07-16 12:20:19 +01:00
Chomp 8dce055acf Merge branch 'develop' of https://github.com/sp-tarkov/server-csharp into develop 2025-07-16 11:40:49 +01:00
Chomp 99c14de7af String to Mongo Id conversions
Cleaned up global class null values
2025-07-16 11:40:38 +01:00
Lacyway 32510bd67f Add SendMessageToAll method (#484)
* Fix typo

* Add SendMessageToAll method
2025-07-16 11:34:05 +01:00
Chomp e27b2b91e3 String to MongoId changes + Updated nullability of trader helper methods 2025-07-16 11:16:03 +01:00
Chomp e42e53e492 Fixed profile creation issue 2025-07-15 17:19:47 +01:00
Chomp 2639504471 String to MongoId conversions
Removed unnecessary properties from quest object
2025-07-15 10:37:49 +01:00
Chomp 040be2feaa More strings to MongoIds
Convert constructors into primary constructors

Simplified logic with use of ??, ??= and method groups

Cleaned up redundant conditional access qualifiers
2025-07-14 22:29:41 +01:00
Chomp 6f3ce60cec Simplified calls to .Remove() 2025-07-14 20:02:46 +01:00
Chomp 5ef2271a29 Converted collections to their frozen counterparts for improved lookup speed 2025-07-14 19:56:20 +01:00
Chomp e148f5a998 Flag RandomisedResourceDetails as nullable 2025-07-14 16:03:35 +01:00
Chomp 585a91afcc Removed reflection from GetBotEquipmentSettingFromConfig 2025-07-14 15:54:54 +01:00
Chomp fba084639c Add back incorrectly removed properties that are accessed via reflection + improved dictionary access 2025-07-14 15:42:50 +01:00
Archangel 8be5b2845a Fix sort by rating (#467) 2025-07-11 18:00:31 +02:00
Jesse a00b5c51d2 More prestige fixes (#471)
* Only send message if there's items to be sent

* Update variable name

* Fix up incrementing a null integer
2025-07-11 14:52:33 +01:00
Jesse 12699d799f Prestige fixes (#470)
* Add profile back to SaveServer earlier to avoid null issues

* Set proper index of prestige
2025-07-11 13:09:58 +01:00
Chomp a3d8eb2b81 Updated JSONs for 37972 2025-07-09 16:51:11 +01:00