Commit Graph

506 Commits

Author SHA1 Message Date
Dev
5b7945a501 Added missing traderId to conditionCounter interface 2024-09-22 12:30:38 +01:00
Dev
ff6746ebe9 Now include money transfer limits of server>client response 2024-09-22 10:56:39 +01:00
Dev
acb6762181 Added ability to track profile migrations in profile
Stored when 39x profiles are migrated
2024-09-21 10:51:52 +01:00
Archangel
fefa9b3b39 Set correct data to favoriteItems array (!411)
This PR fixes an inconsistency in favoriteItems, at least in the latest EFT it deserializes an actual item rather than a string of item id's

I also made it empty out the array if the profile is converted, I tacked this onto the karma system as it only needs to happen and I was lazy to write more code to check for this, however if it's required for this PR to be merged feel free to say so.

Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/411
Co-authored-by: Archangel <jesse@archangel.wtf>
Co-committed-by: Archangel <jesse@archangel.wtf>
2024-09-20 14:31:01 +00:00
Dev
d35063ecb1 Fixed PMCs not being hostile to player scav until they're very close
Fixed incorrect capitalisation

Added `SavageEnemyChance` property to pmc config
2024-09-19 12:28:33 +01:00
Dev
6db0cef381 Added support for SavagePlayerBehaviour 2024-09-18 11:39:32 +01:00
Dev
3952b34e29 Added config system to adjust raid hostility settings
Removed `enemyTypes` from pmcconfig
2024-09-18 11:36:45 +01:00
Dev
4f393a5eec Fixed server error when buying ragman clothing with lega medals 2024-09-15 22:45:13 +01:00
Dev
ea0c37b179 Renamed hideout config property isPveInsurance to simulateItemsBeingTaken and updated code accordingly 2024-09-15 10:50:57 +01:00
DenisZhamkin
3bf00a6f27 Added the ability to enable insurance behavior as in live eft (!408)
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/408
Co-authored-by: DenisZhamkin <den.zhmakin.00@gmail.com>
Co-committed-by: DenisZhamkin <den.zhmakin.00@gmail.com>
2024-09-15 09:45:37 +00:00
Dev
a380db2995 Expanded direct rewards to have a custom craft time
Migrated direct reward stack count system to use items parent id instead of tpl
2024-09-13 11:27:42 +01:00
Dev
d18ef883da Add configurable craft time of cultist circle 2024-09-13 10:38:55 +01:00
Dev
a5679140aa Implemented getExplicitRewardStackSize() for getExplicitRewards() 2024-09-13 09:58:07 +01:00
Dev
94e990cedb Added currency handling system to cultist circle rewards 2024-09-13 09:43:39 +01:00
Cj
4139e85f1f Clothing service fix (!407)
Server implementation of my `TraderServiceFix` mod.

Since 3.9 trader services were refactored by BSG. Resulting in them hard coding service ID's. This PR allows modders to push their trader ID to the `TraderConfig.moddedTraders.clothingService` array. It is then sent to the client where it adds it to the dictionary. I made this modular with its own interface in-case it needs expanded on in the future. So the this acts as both a fix and a groundwork for similar future fixes if need be as well.

Needs merged with https://dev.sp-tarkov.com/SPT/Modules/pulls/165

Co-authored-by: Cj <161484149+CJ-SPT@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/407
Co-authored-by: Cj <cj@noreply.dev.sp-tarkov.com>
Co-committed-by: Cj <cj@noreply.dev.sp-tarkov.com>
2024-09-04 08:31:15 +00:00
Dev
6b4a69b023 Merge branch '3.10.0-DEV' of https://dev.sp-tarkov.com/SPT/Server into 3.10.0-DEV 2024-09-03 09:58:38 +01:00
Dev
c3bd6e05b6 Cultist circle expansion:
Added reward blacklist
Added itemrewardblacklist in cultist reward calculation
Added reward pool expansion
2024-09-03 09:58:13 +01:00
DrakiaXYZ
c793b7e0b3 Fix repair prices for all traders being the same (Should also fix other loyalty related issues) (!405)
- The client doesn't expect to receive the player's loyalty level in their profile, so set it to 0 before sending the profile
- Slight refactor of `getCompleteProfile` to always clone, so we can modify the data sent to the client without changing it on the server

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/405
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-09-03 06:09:23 +00:00
Dev
7de0a112dc Added missing favoriteItems array to profile templates + extra optional param to body part object 2024-09-02 20:40:15 +01:00
Dev
02b903e13e Renamed IHandbookBase interfaces 2024-09-01 13:18:30 +01:00
Dev
955416f5be Renamed ProfileTraderTemplate to IProfileTraderTemplate` 2024-09-01 13:00:20 +01:00
Dev
aabbdd040b Cleaned up trader interfaces
Updated trader base json values from live data dumps
2024-09-01 12:58:41 +01:00
Dev
b0cd48ac0c Added directRewards to cultist config, can now give explicit rewards when sacrificing specific items, currently used for 4 figurines (killa/tagilla/reshala/cultist) 2024-09-01 09:56:00 +01:00
Dev
32066d0e3b Updated interface to match dumps 2024-08-26 21:32:20 +01:00
Dev
4f8b926ad5 Removed isFunctional limit on reward item filter 2024-08-26 13:55:42 +01:00
Dev
98b19ff1db Added cultistCircle config section to HideoutConfig and made use of values 2024-08-26 13:41:59 +01:00
W1ngZ
eff5f14e5c Added feature to keep daily quest type when replacing. Refering issue #745 (!400)
## Added:
* Config to keep daily quest type

## Changed:
* changeRepeatableQuest to check if the daily quest type should be kept the same

Co-authored-by: W1ngZ <W1ngZ@NoRealMail.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/400
Co-authored-by: W1ngZ <w1ngz@noreply.dev.sp-tarkov.com>
Co-committed-by: W1ngZ <w1ngz@noreply.dev.sp-tarkov.com>
2024-08-25 07:56:48 +00:00
Dev
3ac4074434 Added handling of twitch 2024 gamble boxes
Improved random loot box system to support `rewardTypePool` instead of `rewardTplPool`
2024-08-24 20:32:18 +01:00
Kaeno
171fdfd6dd Remove FiR status from items on run through. Added toggle to always keep FiR status on items regardless of end raid status 2024-08-23 19:20:44 +01:00
Dev
3d1aa5e4fc Removed unused singleplayer/settings/raid/endstate endpoint 2024-08-23 10:19:23 +01:00
Dev
24cd94abd3 Expanded pmcConfig.maxBackpackLootTotalRub to work per PMC level
non-PMC backpack loot is no longer limited to 150,000 roubles
2024-08-22 20:42:47 +01:00
Dev
607189926a Removed chanceSameSideIsHostilePercent config property and code that uses it, now implemented inside every maps base.json 2024-08-22 19:08:40 +01:00
Dev
6d7c4d95b6 Added further progress on cultist circle - now rewards items upon completion
Now handles `HideoutDeleteProductionCommand` event, Deletes sacrificed items on craft start
Set craft time to 30 secs for debugging
2024-08-22 17:48:39 +01:00
Dev
c6877f998b Updated StartTimestamp to be stored as a string 2024-08-22 12:34:54 +01:00
Dev
472c258187 Fix cultist circle craft not progressing due to lack of recipe 2024-08-22 11:05:32 +01:00
Dev
47fcff1338 Added further work to circle of sacrifice area 2024-08-22 10:32:35 +01:00
Dev
409d146fa9 Added new properties to profile templates + updated some interfaces to match live 2024-08-21 17:50:12 +01:00
Dev
1aa8233b4c Updated itemtpl enum 2024-08-21 15:34:55 +01:00
Dev
471c606e12 Updated production recipe interface to match live 2024-08-21 14:43:19 +01:00
Dev
0a7394c2e3 Added timestamp to IHideoutCircleOfCultistProductionStartRequestData 2024-08-21 13:39:14 +01:00
Dev
726e4f4b2c Stubbed out HIDEOUT_CIRCLE_OF_CULTIST_PRODUCTION_START event 2024-08-21 13:36:51 +01:00
Kaeno
87ac190b37 Update Wildspawntypenumber to add new boss 2024-08-21 13:26:55 +01:00
Dev
c6e6b52baa Updated some map base jsons 2024-08-20 22:46:38 +01:00
Dev
23875045c9 Updated factory base json + interfaces 2024-08-20 22:20:16 +01:00
Dev
c45f4c5f4b Added s to Improvement
Updated hideout area enum
2024-08-20 21:19:00 +01:00
Dev
8e4c4e4a0f Updated various JSON files + interfaces 2024-08-20 20:58:46 +01:00
Dev
10dfb89787 Fixed incorrect IRestrictionsInRaid interface 2024-08-19 18:35:06 +01:00
Dev
52d9fbaeb6 Improved weapon mod selection when a default mod is desired but is incompatible with weapon
Introduced a `Set` into request object that holds conflicting items instead of constantly recalculating them when needed
2024-08-16 23:19:07 +01:00
Dev
fc8769ba30 Basic implementation of pocket tpl quest reward handling 2024-08-03 23:10:54 +01:00
Refringe
5740774a46
Apply Biome Formatting
This is the result of running `npm run format` which applies the Biome formatting rules. Rejoice!
2024-07-23 11:12:53 -04:00