Commit Graph

132 Commits

Author SHA1 Message Date
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 abd7f243e8 Removed unnecessary TODOs and fixed typos
Removed unnecessary uses of `GetByJsonProp`
2025-02-09 15:13:05 +00:00
CWX 5c6fa9242f BIG BOI FORMATTING 2025-02-07 19:36:17 +00:00
Chomp 372cad6732 Fixed nullref when generating elimination quest 2025-02-07 11:50:29 +00:00
Chomp ab34a14c03 Broke CreateStaticLootItem into smaller methods 2025-02-06 22:17:38 +00:00
Chomp 955e44eb62 Multiple casting fixes 2025-02-05 20:16:19 +00:00
CWX a4f8036d09 formatting, fix build error 2025-02-05 07:36:13 +00:00
CWX f648f42721 This is just Jetbrains formatting and code syntax styling 2025-02-05 06:56:51 +00:00
Chomp 403d7b79ec Small improvements 2025-02-04 19:48:46 +00:00
Chomp 667fd9befb Renamed variable 2025-02-04 19:41:31 +00:00
Chomp db0feff1d8 Made ProbabilityObjectArray slightly less awful 2025-02-04 19:38:59 +00:00
Chomp 621dd27323 Tidied up ProbabilityObjectArray 2025-02-04 19:03:47 +00:00
KaenoDev da46166993 Merge branch 'main' of https://github.com/sp-tarkov/server-csharp 2025-02-03 15:58:56 +00:00
KaenoDev b02af7d3e6 Fix repeatablequests logic always failing 2025-02-03 15:58:14 +00:00
Chomp d2e04ff877 Improved IsSameItem 2025-02-03 15:29:34 +00:00
CWX 274c9025e1 added id to message as crylic is coming through as ??? 2025-02-03 13:28:15 +00:00
KaenoDev ba1726c3ef Upgrade spawnpoint missing to a debug message 2025-02-02 21:00:33 +00:00
KaenoDev c050a35b29 Fix Random static containers not getting picked 2025-02-02 19:48:18 +00:00
Chomp 15c1bb3f5a Updated debug logs + added dict saftey 2025-02-02 17:55:29 +00:00
Chomp f5b4f55032 Set CanIncreaseRewardItemStackSize optional param value in signature 2025-02-02 10:25:20 +00:00
Chomp 7032dad47e Various changes 2025-02-01 23:16:34 +00:00
CWX f1d0d85a44 Merge branch 'main' of https://github.com/sp-tarkov/server-csharp 2025-02-01 19:00:42 +00:00
CWX a87dad31a8 format and fix scavcase for ammo 2025-02-01 19:00:38 +00:00
Chomp 7ef796306a Comment changes 2025-02-01 18:52:25 +00:00
CWX ecf9540514 do tryadd for insurance cost (cant have more than one of the same tpl), client handles multiple items being the same 2025-02-01 17:02:10 +00:00
Chomp 12f989a4da Type improvements 2025-01-30 14:33:19 +00:00
Chomp 58db41dd1e Added more type changes 2025-01-29 22:22:00 +00:00
CWX ad1d368d08 Merge branch 'main' of https://github.com/sp-tarkov/server-csharp 2025-01-29 13:35:22 +00:00
CWX b4602dce23 add timing to debug not info, remove a clone that i dont think is needed 2025-01-29 13:35:18 +00:00
Chomp 9ddeb1f363 Improved item types 2025-01-29 12:51:19 +00:00
Chomp 73cb11c47d Various changes 2025-01-29 12:12:01 +00:00
clodan 7c060fdf86 RandomUtil fixes 2025-01-29 11:47:42 +00:00
CWX ac2f24c9d1 add checks before logging debug 2025-01-28 20:54:42 +00:00
Chomp 0f1a20507c Removed incorrect comments 2025-01-28 13:40:13 +00:00
Chomp cfde0bd528 Fixed issue with PMC level calculations coming back as 1 2025-01-28 12:11:15 +00:00
Chomp 1532826dba Partially fixed bots having no loot - item limits dict allowed-value was being reset to 0
Does not fix PMC loot
2025-01-28 11:26:45 +00:00
Chomp 9a9c5f3c72 Fixed issues caused by inclusion of multithreading
Added stopwatch to bot generation
2025-01-28 08:49:01 +00:00
Alex 71d76e0e77 Merge branch 'main' of https://github.com/sp-tarkov/server-csharp 2025-01-27 21:21:11 +00:00
Alex efe9f81b31 more fixes 2025-01-27 21:21:04 +00:00
Chomp 8c7c01b214 Fixed mod chance calculation 2025-01-27 21:11:55 +00:00
Alex b7b5b7da34 added if checks to some debug logs 2025-01-27 21:10:44 +00:00
Alex 7017f73d2e Merge branch 'main' of https://github.com/sp-tarkov/server-csharp 2025-01-27 20:57:56 +00:00
Alex 87dd6f6e0f multithreaded ragfair and botgen 2025-01-27 20:57:47 +00:00
CWX 557aee46b7 finish off lootgen 2025-01-27 19:57:50 +00:00
Chomp 8fc0bb9547 Improved durability value generation 2025-01-27 19:41:04 +00:00
Chomp fa669f3e05 Various ragfair fixes + implementations 2025-01-27 17:23:40 +00:00
Chomp 2617cbd0e5 Further fixes for flea items being listed by bots 2025-01-27 16:10:49 +00:00
Chomp 9ff175d877 Improved logic inside GenerateModsForWeapon 2025-01-27 13:59:20 +00:00
Chomp 2f189ad00a Better system to get exp reward value from bot 2025-01-27 13:51:31 +00:00
Chomp d2917062e8 Updated all instances of DateTime.Now to be DateTime.UtcNow 2025-01-27 12:06:02 +00:00