Commit Graph

2149 Commits

Author SHA1 Message Date
Chomp a8702c9cdf Improved logic inside GenerateBotLevel 2025-08-06 21:17:12 +01:00
Archangel c57533a07f Update csproj 2025-08-06 21:39:32 +02:00
Archangel fdb11ec506 Update csproj 2025-08-06 21:23:42 +02:00
Archangel ae828726dd Add into target 2025-08-06 21:11:06 +02:00
Chomp a0013fceca Updated nuget packages 2025-08-06 19:22:49 +01:00
Chomp 6b297adf68 Replaced ProbabilityObjectArray.Draw() with DrawAndRemove Draw
Reduced overhead when drawing a large number of elements during loot generation
2025-08-06 17:52:49 +01:00
Chomp 3f405fc67e Reduced scope of lock used in GetExpiredOfferItems() 2025-08-06 17:04:49 +01:00
Chomp 654fd63355 Removed unnecessary casts to double 2025-08-06 15:23:11 +01:00
Chomp 8e961633d4 string > mongoId conversion 2025-08-06 15:22:37 +01:00
Chomp caafec6ab0 use correct nomenclature for fields in RandomUtil + made private methods protected 2025-08-06 15:22:09 +01:00
Chomp 5cd5ed1f42 Refactored logic of ragfairServer.update()
typo fixes
2025-08-06 15:17:34 +01:00
Chomp 98a186ff2f Refactored logic of GetPmcNicknameOfMaxLength() 2025-08-06 15:15:58 +01:00
Archangel d78e8af42c Remove additional cloner 2025-08-06 15:34:21 +02:00
Archangel 8a4f2a297b Remove loot cloners and make LazyLoad return a new result each request 2025-08-06 15:33:11 +02:00
Chomp 40fe4dbd89 Removed unncessary check now the id is a MongoId 2025-08-06 12:47:53 +01:00
Chomp cdc9cd59e2 Replaced Wishlist property in profile with pure dictionary 2025-08-06 12:47:28 +01:00
Chomp 7ece60ac54 Improved logic 2025-08-06 12:35:02 +01:00
Chomp 57dde61384 Various code quality improvements 2025-08-06 12:28:56 +01:00
Chomp 85a562d1e5 Improved GetRewardProductionMatch logic to make use of saved QuestId property we generate for crafts 2025-08-06 12:27:50 +01:00
Chomp 83408c76fc Reduced complexity of GetCompatibleTplFromArray()
Flagged ItemHelper as singleton due to number of frozensets
2025-08-05 23:55:13 +01:00
Chomp ec2cc78b2a Inventory code cleanup 2025-08-05 23:48:10 +01:00
Chomp 8abb25f508 Improved AddItemsToStash
Create Add item request once and reassign `ItemWithModsToAdd` inside loop
2025-08-05 23:20:00 +01:00
Archangel 78766760f2 Escape dotnet build command 2025-08-05 22:16:18 +02:00
Archangel bd2337ff00 Update comment 2025-08-05 22:06:00 +02:00
Archangel 237a829e5d Update to CoreCompile & Include file for compiliation 2025-08-05 22:04:34 +02:00
Archangel e86949c361 Keep ProgramStatics commited, but also ignored so git doesn't keep tracking it's changes 2025-08-05 21:47:49 +02:00
Archangel 23389b48c4 Make ProgramStatics non nullable, add auto generated header & add getters 2025-08-05 20:33:23 +02:00
Archangel 58ca43de49 Handle InvalidOrUnloadableProfile in GameController 2025-08-05 17:33:04 +02:00
Chomp c2a4877989 Cleaned up mergeItems() logic 2025-08-05 16:30:53 +01:00
Chomp 02b80888ec Improved dictionary access inside GetItemName to prevent issues where now-removed modded items are checked 2025-08-05 16:27:35 +01:00
Cj 529fe61f23 Controller house keeping (#532)
* Cleanup BotController.cs

* More controller cleanup

* More dialogue changes
2025-08-05 16:24:59 +01:00
Archangel c3b36f4c7d Handle invalid profiles on all IOnUpdate 2025-08-05 17:20:49 +02:00
Archangel d5514c6bb4 Only write InvalidOrUnloadableProfile if it's not null 2025-08-05 16:59:45 +02:00
Chomp 984e10ae76 Added GetMinutesAsSeconds method
Removed magic number
2025-08-05 15:57:06 +01:00
Chomp 3b4bcaf910 Made use of AddUpd extension 2025-08-05 15:56:23 +01:00
Jesse c7e40deb90 Add support for partially loading invalid profiles (#533)
* Add support for partially loading invalid profiles

* Return early in exception
2025-08-05 15:25:47 +01:00
Chomp 460d359a0d Added AddUpd extension method 2025-08-05 14:09:54 +01:00
Chomp 98eae09034 Simplified logic inside ContainsActiveProfile and added comments 2025-08-05 13:53:17 +01:00
Archangel 11384c9b3f Fix null checks for profile 2025-08-05 14:28:29 +02:00
Archangel ffb7c72abc Re-add summary to sort method 2025-08-05 04:15:56 +02:00
Archangel be289d590d Remove unecessary casting, handle sorting migrations in extension 2025-08-05 04:10:13 +02:00
Archangel 0b250161be If profile can't be loaded log the exception and throw 2025-08-05 03:51:18 +02:00
Chomp cc8bdde37d Updated nuget packages
Converted DI project to `Microsoft.NET.Sdk`
2025-08-04 19:58:00 +01:00
Chomp 3276c45e57 Hideout slot size check safety improvements 2025-08-04 19:17:26 +01:00
Chomp 443878e75a Cleaned up CheckForOrphanedModdedItems
Now deletes modded child items
Fixed values not being logged correctly
Only log error message once instead of for every invalid item, players don't read it anyway
2025-08-04 19:16:35 +01:00
Chomp f4210a3d15 Fixed Collection was modified exception inside CheckForOrphanedModdedItems 2025-08-04 17:55:19 +01:00
Archangel 236a61840f Convert node's InsuranceTIme to int32 2025-08-04 16:22:43 +02:00
Archangel 4c66cbef36 Handle failed non restartable quests better 2025-08-04 16:22:12 +02:00
Chomp 9793cd25ed Improved key lookup inside ProcessPostRaidQuests() 2025-08-04 13:38:56 +01:00
sp-tarkov-bot c215a52bc7 Format Style Fixes 2025-08-04 12:26:11 +00:00