Commit Graph

760 Commits

Author SHA1 Message Date
Archangel 66cf72bee5 Save only profile of user that logged out 2025-02-14 14:46:38 +01:00
Archangel da331f6de6 Revert "Clone using a MemoryStream"
This reverts commit 0da2fa0eabaac24ce360ee8d9506cc695b9e54ad.
2025-02-14 14:44:20 +01:00
Archangel f38fffb16a Use ConcurrentDictionary for profiles 2025-02-14 14:44:11 +01:00
Archangel d3990c1219 Use file streams to deserialize files
- Improves load speed
- Lowers memory overhead
2025-02-14 12:52:18 +01:00
Archangel 711986357a Clone using a MemoryStream 2025-02-14 12:51:07 +01:00
Chomp 72d99fea9d Updated warning in GetRepairableItemQualityValue to be debug 2025-02-13 22:28:12 +00:00
Chomp 04f6501fa1 Renamed methods 2025-02-13 20:50:53 +00:00
Archangel d7ab7b4d44 Bypass cache 2025-02-13 17:01:20 +01:00
Archangel d560859ec9 Cache created expressions, reducing overhead of re-creating these everytime 2025-02-13 16:15:57 +01:00
Archangel 0383494d40 Various ImporterUtil improvements
- Cleans up the spaghetti in the LoadRecursiveAsync method for smaller and more easily readable methods
- Improves lock access, this slashes DB load times on slower PC's nearly in half from 12000+ms to 6000ms
2025-02-13 15:59:09 +01:00
Jesse d96bd37bda Add timer to database 2025-02-13 15:59:09 +01:00
Chomp 87e1306f33 Improved GetAchievementStatics 2025-02-13 13:09:27 +00:00
Chomp 3acf10b27e Flagged various methods as virtual to allow for overriding 2025-02-13 12:52:42 +00:00
Chomp 388ce141f5 Fixed typo 2025-02-12 21:56:59 +00:00
Chomp d8e0ef457a Stubbed out new service `CustomLocaleService 2025-02-12 21:55:23 +00:00
CWX 069c6665c5 fix mapping 2025-02-12 20:35:07 +00:00
CWX bc13fcad1e Merge branch 'develop' of https://github.com/sp-tarkov/server-csharp into develop 2025-02-12 19:50:30 +00:00
Chomp 693d393706 Updated package json 2025-02-12 19:51:28 +00:00
CWX d6d7afb451 fix repeateable quest logic deleting quests 2025-02-12 19:50:21 +00:00
CWX 6d9dc6e7a2 fix bad logic 2025-02-12 19:45:14 +00:00
CWX dd8bb2d3a9 fix questHandover breaking with null check 2025-02-12 19:02:30 +00:00
CWX e6d28b4f40 tryadd wasnt needed 2025-02-12 18:46:12 +00:00
Chomp 2a67ec9377 Updated assets 2025-02-12 18:30:09 +00:00
CWX 194f2a7c36 Fix insurance blowing up, fix quest handover item blowing up 2025-02-12 18:22:47 +00:00
Chomp 096d3298b6 improved GetLocaleDb dictionary lookup 2025-02-12 18:03:35 +00:00
CWX ea4cb13ed4 Removed unused references 2025-02-12 17:33:47 +00:00
Chomp e9bfce4b28 Updated removeNewBeginningRequirementFromPrestige to check for BOTH New Beginning quest ids as they're no the same between prestige 2025-02-12 15:34:17 +00:00
Chomp 71079def3e Fixed removeNewBeginningRequirementFromPrestige looking for the wrong id 2025-02-12 11:33:04 +00:00
Chomp 233a7c4202 Updated prestige system 2025-02-11 21:27:52 +00:00
Chomp 2a258aed35 Created modhelper class and updated examples to make use of it 2025-02-11 16:22:32 +00:00
Chomp 51e889e34e Fixed build errors 2025-02-11 15:27:49 +00:00
clodan a33d51f182 Moved SptCommon inside libraries folder 2025-02-11 10:56:29 +00:00
CWX eaf50c62a9 removed unused method and field 2025-02-10 22:11:12 +00:00
CWX e8f110f488 Add mod example 23 2025-02-10 21:53:14 +00:00
CWX 194e3c1ea1 finish off example 21, updated temp dll's with fixes 2025-02-10 21:24:17 +00:00
CWX 11a7b4fdbd make sure there are props to override before iterating 2025-02-10 21:09:25 +00:00
Chomp da75cb842b Added method for modders 2025-02-10 21:00:44 +00:00
CWX 7d9e7f0727 fix bundle sending 2025-02-10 20:38:12 +00:00
CWX e8acef4e75 fix loading of bundles 2025-02-10 19:40:35 +00:00
Alex c26169f53a BundleSerializer 2025-02-10 19:40:28 +00:00
CWX b572f1da18 start modExample 21, fix bundleLoading being Null, 2025-02-10 18:17:36 +00:00
CWX cd26c6ca87 Update mods to be a SDK.Web project and output library, this enables some features used by ASPNET 2025-02-10 16:08:56 +00:00
Chomp ed54312f35 Updated types to match game client 2025-02-10 12:30:14 +00:00
Chomp 0f0cbb1df5 Applied IMinMaxValue to MinMax<T> 2025-02-10 11:00:57 +00:00
Chomp 3219718d27 Replaced minmaxdouble + minmaxint with generic minmax<T>
Updated various doubles to be ints
2025-02-10 10:44:24 +00:00
Chomp 08b5caf337 Renamed Minmax to MinMaxDouble and added MinMaxInt
Swapped various doubles for ints across loot generator and airdrop code paths

Fixed forced airdrop loot being returned with a decimal stack count
2025-02-10 09:57:01 +00:00
Chomp c8dadd106c Interned more strings 2025-02-09 19:14:48 +00:00
Alex 88893ac7be small refactor to routers and added notifier stuff 2025-02-09 18:31:07 +00:00
Alex a3bc7eea23 Merge branch 'main' into develop
# Conflicts:
#	Server/Logger/WebApplicationLogger.cs
2025-02-09 18:04:46 +00:00
Alex c67c807dd3 WriteToLogFile now implemented 2025-02-09 17:46:18 +00:00