Commit Graph

109 Commits

Author SHA1 Message Date
Cj 445243aad5 Task: Quest config changes Part 1 (#407)
* Remove nullable and add properties, make side use an enum instead of a string.

* remove double semi-colon

* fix comment
2025-06-20 08:48:12 +01:00
refringe 6e01428b2b .NET Format Style Fixes 2025-06-18 17:09:20 +00:00
Chomp 51fc2c4a0b Created GetItemsToRetrievePool to handle logic instead of using GetRewardableItems, now returns tpls instead of entire objects #401
Decoupled `IsValidRewardItem` from repeatable config
Made `IsValidRewardItem` public
Added `RequiredItemTypeBlacklist` to Completion config, Blacklisted ammo
More nullguards
2025-06-17 09:50:32 +01:00
Chomp 1f061cfe89 Refactor of airdrop code
Made forced loot aware of weapon and armors. Now adds their presets instead.
Made `GetLootThatFitsContainer` aware of items inside container and will fail when container is full
Fixed issue where split stacks were not added correctly to airdrops

Comment improvements
2025-06-14 18:56:19 +01:00
Chomp e596974d07 Cleaned up usings 2025-06-14 16:43:24 +01:00
Chomp 95fd88c9ff Updated transit health system to only remove DestroyedPart effect and not heal limbs by default #300
Exposed values in config
Also apply code to PMC transits
2025-06-14 15:09:40 +01:00
Chomp b78d0dff09 Cleaned up usings 2025-06-11 14:20:40 +01:00
Chomp 650b94540b Expanded ragfair.offerItemCount functionality. #388
Is now defined per item type with a fallback.

Currently only ammo boxes have custom values (0 to 3 vs the default 7 to 30)
2025-06-10 16:20:00 +01:00
Chomp cfd2116fb6 Allow altering the parentId of values placed inside handbookPriceOverride 2025-06-08 21:34:29 +01:00
Chomp 89106d5448 Refactored how skills are parsed, fixes issues with bot generation and end of raid profile parsing 2025-06-08 09:39:14 +01:00
Chomp a56033ecae Merge pull request #372 from hulkhan22/feat/configurable-btr-delivery-time
feat: Configurable BTR delivery time
2025-06-07 23:09:14 +01:00
Chomp 3a2f68a232 Fixed issues relating to gift codes with profile modifications
Updated enums to match client formatting and ids
Added `SkillClass` enum

#368
2025-06-07 23:08:21 +01:00
Chomp 2d67d8002b Send string representation of notification type enum to client to let profile changes work #368 2025-06-07 19:50:46 +01:00
hulkhan22 2fbac07b09 Update comment 2025-06-07 18:47:26 +02:00
hulkhan22 ef7fb0e4a5 Merge branch 'develop' into feat/configurable-btr-delivery-time 2025-06-07 17:53:57 +02:00
hulkhan22 bc61f120d7 Configurable BTR delivery time 2025-06-07 17:53:12 +02:00
Chomp fb31786ee2 Updated profile templates to be a dictionary, cleaned up all uses of it throughout code
Added `profileHelper.GetProfileTemplateForSide`
2025-06-07 12:17:28 +01:00
Chomp de36e24772 Add new record 2025-06-06 13:24:14 +01:00
Chomp 822450787a Updated NotificationEventType order/values with data from client 2025-06-06 11:58:46 +01:00
Archangel 0190c00aac Add additional enum converts to these enums 2025-06-05 21:12:04 +02:00
Chomp 30b8a318ae Added ExtensionData to DTOs 2025-06-04 14:49:37 +01:00
Jesse ff1dfa54ae Do a small pass on SPT's config's to reduce warnings and cleanup (#348)
* Do a small pass on SPT's config's to reduce warnings and cleanup

* Revert

* Revert EFT models

* Set list as null
2025-06-04 14:46:52 +01:00
clodanSPT cab8fa82a2 Json extension data fody (#340)
* Added a new Fody plugin to add to every model class the JsonExtensionData attribute

* retargeted fody plugin to netstandard for msbuild runtime

* Fixed runtime issue

* Fixed property check for new extension data properties

---------

Co-authored-by: Alex <clodanSPT@hotmail.com>
2025-06-02 12:15:44 +01:00
hulkhan22 44332cf785 Fixes Usec armbands being lootable and skill rewards resetting to 0 2025-06-01 18:31:02 +02:00
Archangel 4e3c755e90 Remove AppContext, store profile related data in ProfileActivityService 2025-05-30 19:36:23 +02:00
Chomp 0690ffc803 Merge pull request #316 from CJ-SPT/json-util-refactor
Json util refactor
2025-05-30 14:52:50 +01:00
Cj f30dda24e3 Json util refactor 2025-05-30 09:10:52 -04:00
clodanSPT ee51e1fcab Refactored pre spt mod loader to user IOnLoad, moved Watermark to IOnLoad as well (#313)
Co-authored-by: Alex <alex@dm-me-for-questions.com>
2025-05-30 11:03:08 +01:00
Archangel fa1368fb47 Move more initialization, mod loading and http requests over to async 2025-05-29 23:50:06 +02:00
Chris Adamson 5db0fd575b fixed issue with setter not handling null values exposed by failing unit test 2025-05-29 14:01:16 -05:00
CWX cf15dc372b Fixed pinlockstate being wrong after restart 2025-05-28 10:27:12 +01:00
Cj 00379bf890 Make properties not nullable 2025-05-27 18:57:40 -04:00
hulkhan22 aef3a4202f Fix presentation of messages with items (rewards & insurance returns) (#265) 2025-05-21 22:29:34 +01:00
Chomp c39ab9e1e7 Improved nickname validation code clarity
Improved accuracy of 2 responses:

`client/game/profile/nickname/validate`
`client/game/profile/nickname/change`
2025-05-21 16:09:11 +01:00
Chomp d88db583c1 Moved ItemSize into modules section, changed to record
Updated `GetItemSize` to accept `ICollection` instead of list
2025-05-21 11:34:02 +01:00
hulkhan22 21382a1e06 Fix server exception at raid end when client sends bantype data (#257) 2025-05-18 19:38:13 +01:00
Chris Adamson f7e02c0154 fix for chomps push 2025-05-16 15:11:20 -05:00
hulkhan22 1eb4d55a02 feat: Make adding new traders easier (#251)
* Make adding a new trader easier

* Improvements
2025-05-11 20:12:26 +01:00
Cj 5af362b0b3 Implement loading metadata from the assembly 2025-05-07 15:05:22 -04:00
hulkhan22 23468cf0a3 fix: Bot flashlights on during daytime raid (#236)
* Fix flashlights being on during daytime raids

* Add comment for the new property
2025-05-05 09:07:26 +01:00
Archangel 01b516b267 Set proper type on GroupId and TeamId 2025-05-04 17:20:01 +02:00
Chomp 31ae5feb41 Bot generation performance (#231)
* chore: Bot generation performance improvements (#227)

* Bot generation performance improvements

* Revert debug logging logic

* Get rid of Info log which is bound to be printed inevitably at each bot wave generation

* Use assault const

* Removed comments

Removed lowercase side constants
Renamed equipment role to better explain its purpose

Fixed `Blocks` property being serialised to client

Updated `_slotsWithNoCompatIssues` to use existing enum type

Reduced log line to be debug

* Fixed `GetRandomTextThatMatchesPartialKey` incorrectly checking eft locales instead of spt locales

* Updated various methods to be protected

---------

Co-authored-by: hulkhan22 <clandestine984@gmail.com>
Co-authored-by: Chomp <dev@dev.sp-tarkov.com>
2025-05-04 12:51:45 +01:00
Chris Adamson aaef67c324 add back jsonconverter 2025-05-03 12:36:36 -05:00
CWX bf94786f77 change back to number as per live data 2025-05-03 13:05:07 +01:00
Chomp 7b8a10adeb Updated map location values 2025-04-30 13:11:35 +01:00
Chomp 74301dfa8f Updated various JSONs - part 1 2025-04-29 20:43:11 +01:00
CWX 3bebd49f8f Merge pull request #199 from hulkhan22/refactor/perf-work
refactor: Bot caching & chat messages at raid end
2025-04-29 19:21:54 +01:00
CWX 49808c96ff Merge branch 'develop' into extra-props 2025-04-29 19:19:30 +01:00
clodan 2dd57a1080 Added Release extension of data for item and ups for modders to add extra properties 2025-04-29 19:02:14 +01:00
hulkhan22 7175110546 Merge branch 'develop' into refactor/perf-work 2025-04-29 19:49:12 +02:00