Commit Graph

1993 Commits

Author SHA1 Message Date
Chomp db34eaa501 Updated various methods to accept IEnumerable instead of List 2025-07-23 10:57:49 +01: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 67514f177a Updated location data 2025-07-21 21:52:54 +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 8c58b0a8fa Added ak-50 dust cover quest item to single spawn list 2025-07-21 19:42:37 +01:00
Valens bdb1074ef0 Update core.json
Update core.json commandUseLimits for the StashRows from 15 -> 29 to now properly allow for purchasing 56 rows of stash space.
2025-07-21 13:50:52 -04: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
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