Commit Graph

935 Commits

Author SHA1 Message Date
Chomp 6079e282f5 List to ienumerable conversions 2025-07-24 11:36:42 +01:00
Chomp 6804ab7ccc Merge branch 'develop' of https://github.com/sp-tarkov/server-csharp into develop 2025-07-24 09:42:54 +01:00
Chomp d5a8cca2d5 Removed redundant nullable status 2025-07-24 09:42:36 +01:00
sp-tarkov-bot 95420acd3d .NET Format Style Fixes 2025-07-24 08:40:50 +00:00
Chomp e77e910cd4 Cleaned up ItemFilterService:
Removed dupe methods
Removed use of clone
Added `AddItemToBlacklistCache` and `AddItemToLootableBlacklistCache`
2025-07-24 09:40:17 +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
Alex 545edfd25f Removed unnecessary annotation 2025-07-23 21:47:20 +01:00
Alex 723f6fc638 Removed check for Enum converter and removed unnecesary converters 2025-07-23 21:32:49 +01:00
Chomp 898e05833e Better error message 2025-07-23 16:30:22 +01:00
Chomp 1d0f6ce105 Added logging around cult circle reward handling 2025-07-23 16:28:41 +01:00
sp-tarkov-bot cc68af0511 .NET Format Style Fixes 2025-07-23 14:56:02 +00:00
Chomp a1e0dadd08 Part 2 of list to ienumerable 2025-07-23 15:55:28 +01:00
sp-tarkov-bot 0faa65a560 .NET Format Style Fixes 2025-07-23 12:07:24 +00:00
Chomp 1320f7d0ab Ienumerable changes 2025-07-23 13:06:48 +01:00
Jesse 839e154adc Make mod loading non nullable, set certain properties to be read only after init (#506)
* Make mod loading non nullable, set certain properties to be read only after init

- Breaks all mods, will require new nugets

* Make mod assembly list IEnumerable

* Convert checks to IsNullOrEmpty

* Update comment, enforce ModGuid
2025-07-23 11:24:55 +01:00
Chomp 95ba8a5b06 Merge branch 'develop' of https://github.com/sp-tarkov/server-csharp into develop 2025-07-23 11:00:37 +01:00
Chomp db34eaa501 Updated various methods to accept IEnumerable instead of List 2025-07-23 10:57:49 +01:00
sp-tarkov-bot 1edc4d101a .NET Format Style Fixes 2025-07-23 09:51:58 +00:00
Alex 29be94462f Removed enum reflection method in favor of factory approach 2025-07-23 10:49:34 +01:00
Chomp 829f227579 Improved null check against mongoId 2025-07-23 08:51:38 +01:00
Chomp 9ccda652fc Improved null check against mongoId 2025-07-23 08:45:39 +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
sp-tarkov-bot 4de36f29bd .NET Format Style Fixes 2025-07-22 19:43:42 +00: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 24a244c656 Merge branch 'develop' of https://github.com/sp-tarkov/server-csharp into develop
# Conflicts:
#	UnitTests/Tests/Helpers/BotGeneratorHelperTests.cs
2025-07-22 20:36:55 +01:00
Alex 8ab081e057 Fixed slot misplacement in bots inventories 2025-07-22 20:35:44 +01:00
sp-tarkov-bot 22da08bca5 .NET Format Style Fixes 2025-07-22 18:42:12 +00:00
Alex 5bbf671acd Refactored unit tests to use NUnit and added DI usage 2025-07-22 19:41:34 +01:00
Jesse c852debf2b Bundle loader refactor (#502)
* Bundle loader refactor

- Made async
- Validate if bundle actually exists, if not throw warning into the console
- Updated mod example

* Cleanup unused var
2025-07-22 12:54:06 +01:00
Jesse 7d8c3d041e Update dependencies (#501)
* Update dependencies

* Revert UnitTests.csproj
2025-07-22 10:20:46 +01:00
Chomp 8f4f72dcdd Updated node comments to c# format 2025-07-21 21:09:17 +01:00
Jesse 41756041d4 More migrations (#499)
* Make abstract virtual

* Handle nullability on List

* Move migrations into their own folders, add new migration for minor 3.10 versions
2025-07-21 20:03:06 +01:00
Chomp 2700273de1 string to mongoId changes 2025-07-21 15:13:47 +01:00
Chomp 8865484e2b string to MongoId changes 2025-07-21 14:52:30 +01:00
Chomp 0d7b006081 Don't serialise property and instead set when loaded on server start 2025-07-21 14:51:45 +01:00
Chomp 53cf5f97c8 Must serialise property into profile for player offers 2025-07-21 14:44:22 +01: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
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 f772e97d4e string to mongoId changes 2025-07-20 13:07:42 +01:00