Commit Graph

2406 Commits

Author SHA1 Message Date
Chomp e869f6ebef Refactored ragfair code for improved readability 2025-06-16 13:00:06 +01:00
Chomp 40ace1712d Fixed cancelled/expired player offer items not being returned #400
We were missing player offer processing when handling stale offers
2025-06-16 12:59:32 +01:00
Cj 056de770a8 check both sptLogger.json and sptLogger.Development.json when checking for the correct directory 2025-06-16 00:55:02 -04:00
Refringe e273807d3e Passes build configuration to Ceciler 2025-06-16 00:50:48 -04:00
Refringe 1e8ab74ab4 Merge pull request #399 from CJ-SPT/disable-static-web-assets 2025-06-16 00:02:40 -04:00
Cj 6fab8ea02a update csproj 2025-06-16 00:00:45 -04:00
Refringe b38a34d41b Merge pull request #398 from CJ-SPT/linux-build-changes 2025-06-15 23:09:58 -04:00
Cj 953ad6bbce Merge branch 'develop' into linux-build-changes 2025-06-15 22:49:39 -04:00
Cj ab167350c8 Update csproj to support independent linux builds by name and icon 2025-06-15 22:36:30 -04:00
Chomp 3b19dc758f Merge pull request #397 from sp-tarkov/lazyload-transformer-handling
Add Transformer to Lazyload, get rid of event
2025-06-15 21:00:59 +01:00
Archangel 3614a28b7a Remove unused service 2025-06-15 20:08:41 +02:00
Archangel 989f24e123 Remove duplicate service 2025-06-15 20:05:44 +02:00
Archangel 0c3a128862 Throw exception if it happens 2025-06-15 19:14:08 +02:00
Archangel 3419368f53 Add Transformer to Lazyload, get rid of event
This will break mods and their examples!

In addition:
- Removes being able to add custom locales, modders should do .AddTransformer on the LazyLoaded value in the database!
- Fixes up PostDBLoad methods trying to use .Value which won't work as this data will be unloaded after 30 seconds
- Move all other SPT code to use .AddTransformer
2025-06-15 19:08:38 +02:00
Chomp 039c1fe678 Minor cleanup of LocationLootGenerator 2025-06-15 11:20:07 +01:00
Chomp 1da156ef4f Cleaned up PmcWaveGenerator
Improved null handling inside `DatabaseService`
2025-06-15 10:56:36 +01:00
Cj 07f57e16a8 Task: Rename Assets folder to SPT_Data (#394)
* Rename `Assets` to `SPT_Data`

* Added GZ 20+ variant to repeatable quest system #395

* Repeatable code cleanup

* Removed PMC level check for repeatable Quest pool generation #395
they will always generate for both GZ variants

* Rename `Assets` to `SPT_Data`

---------

Co-authored-by: Chomp <dev@dev.sp-tarkov.com>
2025-06-15 09:54:33 +01:00
Chomp 4cc0d98a6a Removed PMC level check for repeatable Quest pool generation #395
they will always generate for both GZ variants
2025-06-15 09:14:53 +01:00
Chomp 5c83bf3925 Repeatable code cleanup 2025-06-15 09:03:39 +01:00
Chomp be6a65ff82 Added GZ 20+ variant to repeatable quest system #395 2025-06-15 08:47:58 +01:00
CWX ecd5f61357 fix logging for locations string 2025-06-14 18:58:57 +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 282c8284dd Minor improvement to ImporterUtil
Made fields readonly FrozenSets
2025-06-14 16:06:45 +01:00
Chomp 25dc0349cc Blacklisted RShG-2 72.5mm rocket launcher from fence 2025-06-14 15:55:44 +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 4e89fbbfd8 Fixed typos and improved code readability 2025-06-14 12:42:19 +01:00
Chomp 90568b9841 Updated HandlePostRaidPlayerScav to persist scav HP+effects when transiting to new location
Repair 30% of damaged limbs
2025-06-14 12:41:59 +01:00
Chomp 8d0c9999bc Improved comments inside RemoveResourceFromArea 2025-06-14 11:44:14 +01:00
Chomp a934bd35ae Merge branch 'develop' of https://github.com/sp-tarkov/server-csharp into develop 2025-06-14 11:39:40 +01:00
Chomp 6804258a1d Improved nullguard inside RemoveResourceFromArea + changed warnings to errors 2025-06-14 11:39:27 +01:00
Chomp cefc3c2634 Improved nullguard inside RemoveResourceFromArea 2025-06-14 11:34:22 +01:00
Chomp 8754690748 Cleaned up logic inside AddContainerImprovementToProfile + Added nullguard 2025-06-14 11:31:51 +01:00
Chomp 44db93d816 Updated REF offer stack counts 2025-06-14 09:28:17 +01:00
Chomp cc1196717c Fixed easy start profile templates lacking a Place of Fame stash #386
Fixed hideout stash item upgrades not being correctly sent to client
2025-06-13 13:22:45 +01:00
Chomp 54b001901a Updated locales with new https://crowdin.com/project/spt-translation data 2025-06-13 10:56:36 +01:00
Chomp ad0fee1dbf Improved LocaleService
Better logging when desired locale not found
Made private methods protected
Made some methods static
Added edge-case handling of ZH locale
2025-06-13 09:41:06 +01:00
agavalda 610e971568 Use double for quantity instead of int (#393)
Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2025-06-13 09:25:12 +01:00
Chomp 19fcc689d8 Merge pull request #392 from CJ-SPT/shortcut-error
Enhancement: Shortcut error
2025-06-13 07:59:07 +01:00
Cj e808c181c9 Add error handling for improper shortcut creation... 2025-06-12 19:26:13 -04:00
Chomp 9c37b79c1d Improved GetDeltaQuests description 2025-06-12 23:05:28 +01:00
Chomp c2e0193450 Fixed inverted logic inside GetDeltaQuests 2025-06-12 23:03:29 +01:00
Chomp 0cce75368b Updated flea prices 2025-06-12 22:15:40 +01:00
Chomp 7f79315ae6 Changed MergeCustomAchievements logging to debug 2025-06-12 18:00:50 +01:00
Chomp 8b323d396c Refactored PrioritiseStashSort
Take into account money in secure and prioritise
Better handle money stacks being both in containers
2025-06-12 16:45:45 +01:00
Chomp 72611519c2 Removed unnecessary property 2025-06-12 15:32:07 +01:00
Chomp c288df4282 Refactored GetSortedMoneyItemsInInventory
Return empty array if no money stacks found
Filter out 'Locked' money stacks from being returned
Prioritised stash money with the lowest stack size
Optimised `GetSortedMoneyItemsInInventory` with use of 'in stash' cache
2025-06-12 15:03:17 +01:00
Chomp 6175e37044 Add todo for RewardType.WebPromoCode 2025-06-11 21:38:18 +01:00
Chomp 327ad33bb6 Added comments
Made fields readonly
2025-06-11 15:05:12 +01:00
Chomp b78d0dff09 Cleaned up usings 2025-06-11 14:20:40 +01:00