Commit Graph

108 Commits

Author SHA1 Message Date
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
Chomp a09519dd6a Cleanup of AddLootToContainer 2025-01-27 11:42:59 +00:00
Chomp 2c65227f37 Fixed log message 2025-01-27 11:39:51 +00:00
Chomp d7b316fa42 Get size of static loot item - take into account items with children may be larger with attachments 2025-01-27 11:31:12 +00:00
Chomp b6d6c06c6c Removed debugging code 2025-01-27 11:26:41 +00:00
Chomp cb6a0cd283 Fixed unable_to_generate_static_loot warning
hardened `GenerateStaticContainers` from nullref errors
2025-01-27 10:50:41 +00:00
Chomp 6ecd66a05a Fixed possible null ref errors 2025-01-27 08:49:48 +00:00
Chomp 1f74ebc920 Small cleanup of how the pocket pool is gathered 2025-01-27 08:36:38 +00:00
Chomp f131b3be02 Second attempt to fix nullref 2025-01-26 21:26:37 +00:00
Chomp c75389fe54 Fixed nullref in scav generation 2025-01-26 21:24:52 +00:00
KaenoDev 7e361a0a5e Clone data instead of directly editing it 2025-01-26 18:43:33 +00:00
KaenoDev 2f01efb70d Fixed airdrops not containing loot 2025-01-26 18:10:47 +00:00
Chomp 87068a85a3 Fixed issues in LootGenerator 2025-01-26 17:29:45 +00:00
Valens 8a51c7b7bf Merge branch 'main' of https://github.com/sp-tarkov/server-csharp 2025-01-26 12:19:21 -05:00
Valens 0cb41ecae3 Update LootGenerator.cs
Implement several functions in the loot generator.
2025-01-26 12:19:19 -05:00
Chomp d8f24abfbc Fixed mag handling not sorting correctly 2025-01-26 17:15:34 +00:00
KaenoDev 386dcc09e9 Fix Vests not spawning on bots because of duplicate Earpiece generation 2025-01-26 15:06:49 +00:00
KaenoDev 17e4d1468f Fix membercatergory, victim and aggressor 2025-01-26 13:40:50 +00:00
Chomp 09b3c9e9b9 Fixed equipment generating without mods 2025-01-26 11:09:50 +00:00
Chomp 40a0c2f549 Cleanup of BotEquipmentModGenerator 2025-01-26 10:27:59 +00:00
Chomp 419f822218 Improved dictionary lookup inside Generate 2025-01-26 10:05:55 +00:00
Chomp 0cb8ca69e4 Force non-pmc bots to have exp of 0 + level of 1 2025-01-26 10:00:35 +00:00
Chomp 4cf908eaae Fixed FilterBotEquipment nullref + others
Forced hideoutAreaStashes to show
Forced fastPanel to show

Forced bot min level to be no less than 1
2025-01-26 09:52:36 +00:00
Chomp 9fea2bc17f Set Savage to null and always show
Set `Aggressor` to always show

Set `Lethal Damage` to always show

Added `hideoutCustomizationStashId`

Fixed bad typing for `FindAndAddRandomItemToLoot`
2025-01-26 09:34:38 +00:00
Chomp f52c39dc75 Only set LowerNickname for PMCs 2025-01-26 09:23:29 +00:00