Commit Graph

2638 Commits

Author SHA1 Message Date
Chomp a67fc32e39 Simplify Git LFS tracking for JSON files 2025-07-02 13:42:51 +01:00
Chomp 87b95c11fd Add LFS files 2025-07-02 13:05:06 +01:00
Chomp 0d946b48cc Hashutil.generate to new MongoID() 2025-07-02 13:04:53 +01:00
Chomp c1aaa4b6b2 Added MongoIDTests to unit tests 2025-07-02 12:57:19 +01:00
Chomp a8308248d6 Replaced hashutil.generate with new MongoId() 2025-07-02 12:47:00 +01:00
Cj 371c9d58f0 Repeatable quest generation MongoID conversion (#439)
* Update repeatable quest generation for mongoid, add new server localizations, switch `Traders` to MongoId

* Give error default value
2025-07-02 12:44:49 +01:00
chompDev abab349a0c .NET Format Style Fixes 2025-07-02 09:57:24 +00:00
Chomp 18bdd203dd Fixed invalid comparision of IDs 2025-07-02 10:56:39 +01:00
Chomp 5c26f47e2f Use correct new MongoId() instead of hashutil 2025-07-02 10:56:10 +01:00
Chomp 873b0b11f7 Passed version id string into return object 2025-07-02 10:29:21 +01:00
Jesse 54f0d0779c Convert TemplateItem to MongoId (#436)
* Convert TemplateItem to MongoId

* Push new extensions

* Handle null mongoid's being passed to regex

* Handle null strings, fixes item events

* Updated loot generation to work with new property `composedKey`

Fixed typo in `SlotId`

* Fix missing method after merge

* Remove duplicately named MongoIDExtensions?

* Fixed location loot generation to handle impending loot json changes

* Updated location JSONs with new properties (excluding lighthouse loose loot)

* Fixed build issue with ItemTplGenerator

* use correct handing for new mongo ids

* Added helper method to improve readability

---------

Co-authored-by: Chomp <dev@dev.sp-tarkov.com>
2025-07-02 10:14:04 +01:00
chompDev 46989aa19e .NET Format Style Fixes 2025-07-01 09:18:15 +00:00
Lacyway 8e3894e9ad MongoID improvements (#437)
* MongoID improvements
- Added extension to check whether a MongoID is valid, 33% faster than old method
- Cut down generation speed by 2/3

* Fix method used

* Add test
2025-07-01 10:17:39 +01:00
Jesse 6ac747d18d Begin converting some id's to MongoId (#435)
* Begin converting some id's to MongoId

* Remove nullability on MongoId's

* Update trader MongoId's
2025-06-30 15:25:47 +01:00
chompDev 0ec544e6a3 .NET Format Style Fixes 2025-06-30 13:12:24 +00:00
Chomp d22b0a9d1d Made debugging botgen while in IDE easier 2025-06-30 14:11:53 +01:00
Chomp 6baf8a9118 Fixed FilterModsByBlacklist not filtering before returning results 2025-06-30 14:11:20 +01:00
Chomp 62a9cc28d5 Fixed weekly boss elimination quest generation not finding a location 2025-06-30 12:41:49 +01:00
Chomp 25c3eee4fa Added MongoId struct 2025-06-30 11:07:04 +01:00
Chomp d6b4e3378a Refactored GetMostRecentPreviousDay to not use while loop 2025-06-30 10:21:37 +01:00
Chomp 81a263b7d0 Fixed incorrect logic in how weekly reset date is picked, choose the most recent previous day, not the closest 2025-06-30 10:12:55 +01:00
Chomp 50c91fb1c2 Added missing property 2025-06-30 10:07:33 +01:00
Chomp 611b234142 Added ability to change weekly boss reset day via config 2025-06-30 09:50:11 +01:00
Chomp 4608567982 Added Knight to weekly boss pool 2025-06-30 09:42:53 +01:00
Chomp 57ddc7ba85 Added missing REF quest icons 2025-06-29 19:05:36 +01:00
chompDev d628f738f4 .NET Format Style Fixes 2025-06-29 17:58:59 +00:00
Chomp e6b791179b Added Boss of the week system
Similar to live where a boss is picked at random and will have a guaranteed spawn on a map. This is indicated with a skull on the map selection screen
Configurable via `config/bot.json/weeklyBoss`
2025-06-29 18:58:23 +01:00
Chomp 4d39a4c819 Remove unused profile property VitalityData 2025-06-29 15:55:55 +01:00
Chomp 14e875f199 Improved error messages inside GetExpiredOfferItems 2025-06-29 15:48:35 +01:00
Chomp cb559fdf5c Reduced complexity of post-raid health transfer
Likely fixed issue with effects not transferring over correctly out of raid
2025-06-29 15:48:23 +01:00
Chomp b4024527df Cleaned up a lot of health-related code formatting to be more readable in prep for fixing effect transference issues 2025-06-29 14:54:09 +01:00
Jesse 7ab24629e2 Fix up tooling to handle new types in DI (#434)
* Fix up tooling to handle new types in DI

* Remove usings
2025-06-29 14:40:49 +01:00
Chomp 1c5e82187e Fixed incorrect id 2025-06-29 14:02:43 +01:00
Chomp 2fc8b2a29f Updated DamageType 2025-06-29 13:57:19 +01:00
Chomp 0a224df6dc Updated property names and access types for ServerLocalisationService 2025-06-29 13:50:59 +01:00
Chomp f450161273 Fixed HideoutCraftQuestIdGenerator storing output in wrong directory 2025-06-29 12:04:32 +01:00
Chomp 2c72936e1a Added missing assort/quest mappings for REF 2025-06-29 12:04:09 +01:00
Chomp d6fb1e46e6 Quest changes:
`Living High is Not a Crime - Part 1` reward change
`Energy Crisis` reward change
`Corporate Secrets` reward change
`Gunsmith - Part 4` reward change
`Gunsmith - Part 11` reward change
`Against the Conscience - Part 1` condition change
`Thirsty - Secrets` reward change
Added `Against the Conscience - Part 2`
Added `Surprise Gift`
2025-06-29 12:03:51 +01:00
chompDev 707c5dd9ce .NET Format Style Fixes 2025-06-29 10:12:11 +00:00
Chomp 3df61005eb Updated ItemTpl mappings 2025-06-29 11:11:39 +01:00
Chomp 3a28852487 Fixed ItemTplGenerator not functioning 2025-06-29 10:55:58 +01:00
Chomp 95e473b22a Added ability to inform DI system of types to ignore
Made use of primary constructor
2025-06-29 10:54:42 +01:00
Chomp cf61560266 Cleaned up comments
Set properties as readonly
2025-06-29 09:33:11 +01:00
chompDev c5216044da .NET Format Style Fixes 2025-06-28 18:09:13 +00:00
Jesse 5686f4a486 Remove I18nService, migrate to renamed ServerLocalisationService (#433)
* Remove I18nService, migrate to renamed ServerLocalisationService

* Revert VS fuckup

* Update using

* Remove unused parameter, update comment

* Fix develop branch not building
2025-06-28 19:08:42 +01:00
Chomp 1c83014ed2 Converted CalculateLevel to extension method
Removed `PlayerService`
2025-06-28 17:05:56 +01:00
Chomp d4dd309252 Converted DateIsBetweenTwoDates to extension method 2025-06-28 16:52:35 +01:00
Chomp f9d1c81437 Added RagfairOfferExtensions 2025-06-28 16:45:58 +01:00
Chomp 7782806f91 Added DateTimeExtensions 2025-06-28 16:41:26 +01:00
chompDev d4d2ed0403 .NET Format Style Fixes 2025-06-28 15:15:48 +00:00