Commit Graph

2678 Commits

Author SHA1 Message Date
Archangel eeddb97641 Remove extra method on Func, add options to converters 2025-07-04 22:25:39 +02:00
chompDev df3e7c9210 .NET Format Style Fixes 2025-07-04 18:30:22 +00:00
Chomp 01cd251b68 Moved more code into extension methods 2025-07-04 19:29:43 +01:00
Jesse 7b606fb2a7 Small changes and cleanups (#448)
- await StartBackupSystem as it's an awaitable
- Update comment in MongoId
- Set more id's in HideoutArea to MongoId
- Remove unused logging records

Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2025-07-04 18:05:27 +01:00
Jesse b6692fead4 Chatbot async improvements (#446)
* Add better chatbot handling by making them asynchronous

Removes the need for having RunInTimespan as await Task.Delay now can handle this

* Remove now unused classes

* Handle commando's commands with ValueTask

* Set values as not nullable, client sends all of these
2025-07-04 18:04:37 +01:00
Chomp 762d42c009 Corrected+expanded test logic
Resolved issues with moving/adding items to inventory containers
2025-07-04 17:59:15 +01:00
Jesse b3c5d3732e Begin initial work to make Hideout id's MongoId's (#447)
* Begin initial work to make Hideout id's MongoId's

* Set template to mongo

* More conversions
2025-07-04 15:51:10 +01:00
Chomp 6b810687f3 Fix issues found by tests 2025-07-04 15:26:15 +01:00
Chomp a0d50f8ffc Added container extension method tests 2025-07-04 15:25:08 +01:00
Chomp 8837c26584 Fixed traders purchases not working 2025-07-04 14:10:12 +01:00
Chomp 908635e272 Correctly init 2d array 2025-07-04 10:41:24 +01:00
Chomp 2609db2536 Removed unused injections 2025-07-04 09:40:22 +01:00
Chomp a337b3c4e9 Removed unused injections from controllers 2025-07-04 09:24:06 +01:00
Chomp c8b8669546 Cleaned up Inventory helper and improved readability 2025-07-04 09:23:41 +01:00
Chomp 52bb6f3cab Fixed logic error inside CanItemBePlacedInContainerAtPosition 2025-07-04 09:06:23 +01:00
chompDev 973ea857f9 .NET Format Style Fixes 2025-07-03 22:06:04 +00:00
Chomp abe290b1eb Merge pull request #443 from sp-tarkov/locale-fixes
Handle ToLower neutrally across all locales (#412)
2025-07-03 23:05:38 +01:00
Jesse d3cd4359fa Mongo fixes (#444)
* Pass Json serializer options to all converters

* Fix required on record that has two sets of id's

* Pass options to mod handlers

* Update method
2025-07-03 20:24:05 +01:00
Chomp 930ce7d6ad Fixed incorrect logic inside RowIsFull` 2025-07-03 18:01:51 +01:00
Archangel 79489eadce Handle ToLower neutrally across all locales (#412) 2025-07-03 18:28:36 +02:00
Chomp 939198026f Cleaned up logic inside HideoutItem mongoid set 2025-07-03 16:39:04 +01:00
Chomp f2cebc4f88 Pass correct mongo id as parameter 2025-07-03 16:37:45 +01:00
Chomp 4e2d4dc708 Rewrote container item space system to use 2 dimensional arrays (#442)
* Rewrote container item space system to use 2 dimensional arrays

* Moved container helper code into extension methods

* Reduced amount of parameters passed into `RowIsFull`

* Skip root trader items

* Remove debug

---------

Co-authored-by: Chomp <dev@dev.sp-tarkov.com>
2025-07-03 16:36:13 +01:00
chompDev a9918f9e1c .NET Format Style Fixes 2025-07-03 14:44:10 +00:00
Cj dab6fd5291 update item tpl generator to use MongoIDs (#441)
* update item tpl generator to use MongoIDs

* make generation readonly
2025-07-03 15:43:44 +01:00
Jesse ebe8f9ded5 Mongoid changes (#440)
* Remove old IsValidMongoId and Regex

* Convert more configs to MongoId, as well as BaseClasses

* Remove HashUtil.Generate(), replaced with new MongoId()
2025-07-03 15:42:16 +01:00
Chomp 020cfa7ab8 Cleaned up GetStashSlotMap and related sub functions 2025-07-03 13:13:59 +01:00
Chomp 83d35b4555 Fixed item deletion error - Use separate record for item deletions 2025-07-03 10:37:12 +01:00
Chomp 7a78467d72 Fixed login error 2025-07-03 10:36:18 +01:00
Chomp 8858ccc17f Improved handling of edge-case MongoId values 2025-07-03 10:06:15 +01:00
Chomp 82f555a754 Added MongoId type to various places 2025-07-03 10:04:09 +01:00
Chomp 539f56491c Improved handling of nulls inside AddBaseItems 2025-07-03 09:43:41 +01:00
chompDev 3afc1e3431 .NET Format Style Fixes 2025-07-02 22:37:51 +00:00
Chomp fefe9bcec5 Cleaned up property content 2025-07-02 23:37:16 +01:00
Chomp fb1a96c3bf Fixed AddCompatibleModsForProvidedMod not filtering mods correctly 2025-07-02 23:35:37 +01:00
Chomp 77ce596056 Added MongoId type to various places 2025-07-02 19:50:29 +01:00
Chomp 145b19857d Updated profile.json defaults to resolve MongoId conversion warnings 2025-07-02 19:49:42 +01:00
Chomp 86295b68fb Added MongoId type to various places 2025-07-02 19:07:58 +01:00
Chomp 2beebaed12 Reduced error to warning 2025-07-02 19:07:08 +01:00
Chomp 2e9dbfca96 Updated LFS path 2025-07-02 17:09:26 +01:00
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