Commit Graph

152 Commits

Author SHA1 Message Date
Chomp d0e071a091 Various improvements to bot weapon generation 2025-02-23 14:20:58 +00:00
Chomp b57ee39d32 Reduced duplication between getCompatibleCartridgesFromWeaponTemplate and getCompatibleCartridgesFromMagazineTemplate 2025-02-23 13:42:48 +00:00
Chomp eb4fc520df Improved safety of GetCompatibleCartridgesFromMagazineTemplate 2025-02-23 13:23:23 +00:00
Chomp 588e069c23 Weighted compatible ammo fix
Check the magazine data (in case it's a modded weapon that incorrectly clones a weapon from a different caliber, without updating the data for default ammo)
2025-02-23 11:46:40 +00:00
Chomp 860b5e8148 Fixed incorrect pack offer prices 2025-02-21 23:12:28 +00:00
Chomp 103b797a54 Refactored how flea offer quantity is handled 2025-02-21 17:48:04 +00:00
Chomp 85900724e5 Fixed multipler typo 2025-02-21 15:07:41 +00:00
Chomp bffeec8361 Handle flea item prices as doubles 2025-02-21 15:05:00 +00:00
Chomp 4d4ff7bfe1 Small cleanup of ragfair offer generator 2025-02-21 13:20:42 +00:00
Chomp fc6c15792d Fixed flea offers not reducing quantity after purchase 2025-02-21 12:58:02 +00:00
Chomp 6dc59a4be7 Make use of spread operator 2025-02-19 09:36:07 +00:00
Chomp 8a637188a7 Fixed blacklist clearing itself incorrectly 2025-02-19 09:19:08 +00:00
Chomp 440121514b Fix post-raid PMC messages not working after bot gen changes 2025-02-18 09:31:20 +00:00
Chomp dab2f64611 Fixed scavs with unheard pockets 2025-02-17 19:48:57 +00:00
Chomp 1ff8d2cbef Replaced lists containing unique values with HashSets
Reworked Soft Insert id checks

Improved dogtag id lookup memory usage

Removed wave cleanup code
2025-02-17 19:05:47 +00:00
Chomp 924fff686d Refactored botgen 2025-02-17 13:07:32 +00:00
CWX be23b924c7 Fix playerscavcooldownGen being well into the past 2025-02-15 21:07:19 +00:00
Chomp 3b1f8c81ef Updated loot generator to block seasonal items when out of season 2025-02-14 17:33:29 +00:00
Chomp ed54312f35 Updated types to match game client 2025-02-10 12:30:14 +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 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