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
5ef2271a29
Converted collections to their frozen counterparts for improved lookup speed
2025-07-14 19:56:20 +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
Archangel
d535dd338e
Restore lifetime data on profile wipe / prestige to match live
2025-07-11 16:23:40 +02:00
Jesse
533a7356fd
Add new service to handle profile migrations ( #468 )
...
* Add new service to handle profile migrations
* Handle various null checks
* Remove unecessary assignments
* Further works on this:
- Loads profiles as JObject's initally, so migration can take place on profiles that don't have proper compatability
- Adds prerequisite migrations, and sorts them after one another
* Throw exception if profile can't be deserialized after migration
* Cleanup & use profile version
* Further migrations work, support 3.10 & 3.11 profiles upgrading to 4.0
* Update parameter name
2025-07-11 13:11:02 +01:00
Jesse
12699d799f
Prestige fixes ( #470 )
...
* Add profile back to SaveServer earlier to avoid null issues
* Set proper index of prestige
2025-07-11 13:09:58 +01:00
Chomp
5d9a97ce5b
Converted customisations ids to mongoIds
2025-07-09 17:24:12 +01:00
Chomp
4ba9a9f0d4
Correctly supply ID of voice not name of voice when generating bot
2025-07-09 17:16:17 +01:00
Chomp
736057e892
Fix wrong value being saved
2025-07-09 17:06:43 +01:00
Chomp
d5fc9be339
Removed Voice from profile.info
...
Added 'voice' to `profile.Customisation`
2025-07-09 17:02:31 +01:00
Chomp
79cc9e3252
Fixed boxing issues and cleand up MailSendService
2025-07-08 15:49:05 +01:00
Chomp
61cf11d3b8
Reordered botbase properties
...
Cleaned up EndRaid code to improve consistency
2025-07-08 10:26:11 +01:00
Chomp
9e136fa664
Reset limb max value after a raid
2025-07-08 10:08:36 +01:00
Chomp
7bda1b525f
Updated acceptableFileExtensions to be a frozenSet
...
Removed more boxing
2025-07-07 13:31:39 +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
d8229b3e3d
Added more categories to GetVictimDetails and added TODO
2025-07-07 12:34:39 +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
Cj
1de6a75cbf
Update controllers sessionIds
2025-07-07 05:50:28 -04:00
Chomp
39e4a6e676
Fixed server error on adding item to wishlist
2025-07-07 09:53:43 +01:00
Cj
448c258600
update mongoIds, remove underscores from injections in generators ( #460 )
2025-07-07 09:46:51 +01:00
Chomp
96290b7cb5
Added bossTagilla to weekly boss rotation
2025-07-07 09:35:02 +01:00
Cj
14d2c53ba1
clean up FindBarterItems, remove underscore from injections, add locale for warning
2025-07-06 08:33:44 -04:00
Chomp
356e6de7ed
Fixed CreateSacrificeCacheKey failing to create key from MongoIds #456
2025-07-06 13:10:48 +01:00
Cj
d1af6bf6e3
Service sessionIDs to mongoIDs ( #454 )
...
* Start updating service sessionIDs to mongoIDs
* Finish service conversion + fix other small issues
2025-07-06 13:08:07 +01:00
Chomp
fa674d6add
Converted RemapRootItemId into extension method
2025-07-05 17:46:58 +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
Chomp
cf98ba599a
Removed debug logging
2025-07-05 10:11:40 +01:00
Chomp
01cd251b68
Moved more code into extension methods
2025-07-04 19:29:43 +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
2609db2536
Removed unused injections
2025-07-04 09:40:22 +01:00
chompDev
973ea857f9
.NET Format Style Fixes
2025-07-03 22:06:04 +00:00
Archangel
79489eadce
Handle ToLower neutrally across all locales ( #412 )
2025-07-03 18:28:36 +02: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
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
539f56491c
Improved handling of nulls inside AddBaseItems
2025-07-03 09:43:41 +01:00
Chomp
77ce596056
Added MongoId type to various places
2025-07-02 19:50:29 +01:00
Chomp
86295b68fb
Added MongoId type to various places
2025-07-02 19:07:58 +01:00
Chomp
0d946b48cc
Hashutil.generate to new MongoID()
2025-07-02 13:04:53 +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
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
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
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