Commit Graph

199 Commits

Author SHA1 Message Date
Chomp e9f6a402f7 Fixed nullref issue when healing post-raid 2025-07-16 10:43:17 +01:00
Chomp 2639504471 String to MongoId conversions
Removed unnecessary properties from quest object
2025-07-15 10:37:49 +01:00
Chomp 040be2feaa More strings to MongoIds
Convert constructors into primary constructors

Simplified logic with use of ??, ??= and method groups

Cleaned up redundant conditional access qualifiers
2025-07-14 22:29:41 +01:00
Chomp 3aa13dd46b Removed reflection from AdjustBotAppearanceValues
More string to MongoId conversions
2025-07-14 18:42:42 +01:00
Chomp 0ec5aeab91 Removed FilterBlacklistedGear, same functionality can be done via editing the equipment's weighting to 0 2025-07-14 17:57:32 +01:00
Chomp d99416a5a4 Removed use of reflection inside RemoveChristmasItemsFromBotInventory
Replaced more strings with mongoIds
2025-07-14 17:32:09 +01:00
Chomp fba084639c Add back incorrectly removed properties that are accessed via reflection + improved dictionary access 2025-07-14 15:42:50 +01:00
Chomp 04ffbce106 Improved InsuranceController.Cost handling of duplicate Ids + made use of MongoIDs 2025-07-14 14:57:01 +01:00
Refringe 7cb286c659 Updates ModID property to ModGuid (#480)
* Updates `ModID` property to `ModGuid`

This will better align with what it's referred to elsewhere.

* Updated `ModGuid` Docblock

Updated the `ModGuid` docblock to reference the ideal use of reverse domain name notation.

* Updated `summary` to use `see` tag for reference link

* Updated `summary` to include line break

* Updated `summary` to include HTML line break
2025-07-13 19:38:50 +01:00
Archangel 73269806cc Remove unused properties from configs, cleanup nullability 2025-07-12 14:24:21 +02:00
Chomp 499b5f8b71 Updated ModId to be string to allow compat with client mods 2025-07-10 20:20:29 +01:00
Chomp 504a0e7e99 Added ModId property to AbstractModMetadata 2025-07-10 20:15:46 +01:00
Chomp 5d9a97ce5b Converted customisations ids to mongoIds 2025-07-09 17:24:12 +01:00
Chomp d5fc9be339 Removed Voice from profile.info
Added 'voice' to `profile.Customisation`
2025-07-09 17:02:31 +01:00
Chomp a3d8eb2b81 Updated JSONs for 37972 2025-07-09 16:51:11 +01:00
chompDev 6852bd1e84 .NET Format Style Fixes 2025-07-09 09:33:55 +00:00
Lacyway 9de020c7e5 Update enum 2025-07-09 11:21:09 +02:00
Cj 9db7ff25d1 Implement websocket stash row change notification (#462)
* implement stash rows notification

* rename class
2025-07-08 18:30:23 +01:00
Chomp c5633f47af Improved mongoId string compare 2025-07-08 15:50:25 +01:00
Chomp 79cc9e3252 Fixed boxing issues and cleand up MailSendService 2025-07-08 15:49:05 +01:00
Chomp f8a143544a Fixed boxing issue 2025-07-08 15:33:14 +01:00
Chomp 61cf11d3b8 Reordered botbase properties
Cleaned up EndRaid code to improve consistency
2025-07-08 10:26:11 +01:00
chompDev 577d4e9b95 .NET Format Style Fixes 2025-07-07 15:38:51 +00:00
Chomp 5b42ea59b7 Added missing ExtensionData dicts
Fixed issues with DataGen tool
2025-07-07 16:38:19 +01:00
Chomp 9470855b50 Fixed more boxing perf issues + removed unnecessary check that reduced perf when generating flea offers 2025-07-07 13:07:53 +01:00
Chomp a5946f9fc5 Fixed boxing perf issue 2025-07-07 12:54:06 +01:00
Chomp 0137af1838 String to MongoId changes 2025-07-07 12:42:10 +01:00
Chomp 8474f40aa8 More MongoId changes + updated nullability of EOH objects 2025-07-07 12:31:13 +01:00
Chomp 61f62f191d Converted more strings to mongoIds and fixed issue with buying items from pmcs on flea 2025-07-07 11:56:19 +01:00
Chomp 7ccb388030 Converted sessionIds to MongoId and renamed property to reflect what type of value it holds 2025-07-07 11:47:08 +01:00
Cj 1de6a75cbf Update controllers sessionIds 2025-07-07 05:50:28 -04:00
Cj 448c258600 update mongoIds, remove underscores from injections in generators (#460) 2025-07-07 09:46:51 +01:00
Chomp 3d11031dc6 Converted sessionIds from strings to MongoId struct 2025-07-07 09:34:43 +01:00
Cj 090d7b6494 change vars to MongoId, remove underscore from injections, fix bug introduced from last PR 2025-07-06 16:40:08 -04:00
Cj 3817d6cca4 Helpers Mongoid conversion + cleanup (#458)
* Start converting helper method ids to mongoids and remove underscore from injections...

* Finish helper mongoIds
2025-07-06 17:31:59 +01:00
Jesse 03ec62d17d Small fixes (#455)
* Handle weapon crates as MongoId

* Unset required on _tpl in Hideout
2025-07-06 12:13:31 +01:00
Chomp f140e1e106 Converted ReplaceIDs into extension method 2025-07-05 17:25:59 +01:00
Jesse bd7d60e5ab More mongo (#450)
* Remove debug, doesn't really work

* Convert Handbook to MongoId's

* Make traders in Database keyed to MongoId rather than string
2025-07-05 13:41:57 +01:00
Chomp 4f5571c2d4 Converted more ids to MongoId 2025-07-05 12:35:03 +01:00
Chomp 8253215410 Converted strings into MongoId type 2025-07-05 11:03:09 +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
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
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 939198026f Cleaned up logic inside HideoutItem mongoid set 2025-07-03 16:39:04 +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 83d35b4555 Fixed item deletion error - Use separate record for item deletions 2025-07-03 10:37:12 +01:00