Commit Graph

3392 Commits

Author SHA1 Message Date
Dev
961a05942c Replace map exits with scav exits from allExits array 2024-09-18 13:23:06 +01:00
Dev
788d001b8d Updated extract data for all maps 2024-09-18 13:05:11 +01:00
Dev
bf5b80b8f4 Fixed boss name typo 2024-09-18 12:09:04 +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
f52283f3b3 Removed server handling of PMC difficulty modification, is not handled natively
Inverted a few dependences
2024-09-18 10:41:03 +01:00
Dev
279bddd39c Removed clothing that caused bundle errors on map start 2024-09-17 23:49:35 +01:00
DenisZhmakin
a916425275 Fix the missing soft armor inserts. (!409)
Related to the error (https://dev.sp-tarkov.com/SPT/Issues/issues/820)

Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/409
Co-authored-by: DenisZhmakin <den.zhmakin.00@gmail.com>
Co-committed-by: DenisZhmakin <den.zhmakin.00@gmail.com>
2024-09-17 15:41:47 +00:00
Dev
12a79488d8 Do not return insured items stored in secure/special slots on death 2024-09-17 16:24:23 +01:00
Dev
5cd4a207c7 Added missing bipods to PMC weapon mods
Added missing clothing to bear/usec

Added missing `mod_pistolgrip_000` chance %

reduced bipod chance to 80% from 100%
2024-09-17 11:19:15 +01:00
Dev
0f4a3e0470 Updated flea market prices 2024-09-16 16:02:42 +01:00
Dev
022737ef35 Fixed missing Unknown key from body on customs 2024-09-16 15:10:53 +01:00
Dev
e226bd3795 Slightly increased food/medical airdrop item count 2024-09-15 22:45:54 +01:00
Dev
4f393a5eec Fixed server error when buying ragman clothing with lega medals 2024-09-15 22:45:13 +01:00
Dev
e53cff5737 Added nickname checking when bot lacks a nickname 2024-09-15 19:14:34 +01:00
Dev
75e3514c09 Updated map data 2024-09-15 19:13:52 +01:00
Dev
4122d056de Added missing properties to bot base.json 2024-09-15 16:07:38 +01:00
Dev
09ba35b5fa Removed redundant PMC spawns from location config 2024-09-15 14:15:44 +01:00
Dev
e99948d6c8 Updated jsons 2024-09-15 12:42:34 +01:00
Dev
0c8d829317 Reverted majority of changes from 3a3a7b1026 as they didn't actually fix the issue and instead caused items to sell to traders for incorrect values 2024-09-15 12:11:36 +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
50d8aa477e Renamed variable to improve clarity 2024-09-15 09:59:21 +01:00
Dev
66702a627c Add 2 more PMC responses 2024-09-15 00:19:56 +01:00
Dev
2d51e5e11b Updated bot JSONs 2024-09-15 00:19:18 +01:00
Dev
cbdadb9647 Updated partizan and bully bot data 2024-09-14 21:16:00 +01:00
Dev
70ff066be4 Added reward item blacklist to fence assort generation 2024-09-14 15:05:17 +01:00
Dev
7bfa4f16e9 Added handling for bots without nicknames to setRandomisedGameVersionAndCategory() 2024-09-14 14:23:45 +01:00
Dev
64d4eb2cd6 Updated how map id is passed through to dynamic loot generation 2024-09-13 22:50:59 +01:00
Dev
6ffa9d1ba8 Fixed loot generation breaking due to map capitalisation 2024-09-13 22:39:22 +01:00
Dev
1d55075f99 Fixed location loot generator not creating unique IDs for weapons/armor child items 2024-09-13 20:51:22 +01:00
Dev
eef071724f Expanded direct reward mappings to better match live 2024-09-13 11:42:33 +01: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
a578e01402 Moved cultist code into Cultist service 2024-09-13 10:42:13 +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
Dev
3f583630e5 Fixed cultist rewards not taking into account stack size in reward amount calculations 2024-09-13 09:40:29 +01:00
Dev
da09be1c58 Removed unnecessary properties from profile templates 2024-09-12 20:34:51 +01:00
Dev
3cd4532942 Added nullguard when adding hideout improvements to profile 2024-09-12 20:34:10 +01:00
Dev
0222ab24d7 Fixed various issues with REF items 2024-09-10 20:13:08 +01:00
Dev
44ed6b68b8 Removed cultist circle debug logging 2024-09-10 19:01:40 +01:00
Dev
4f65442fe7 Added additional nullguard protection to getSealedContainerWeaponModRewards() 2024-09-10 18:16:21 +01:00
Dev
e650271d3a Reset repeatable+failed quests to Fail instead of MarkedAsFailed after raid 2024-09-10 13:41:54 +01:00
Dev
f0f0627c69 Fixed NewYear2021 gift code 2024-09-09 12:08:30 +01:00
Dev
7dd9ecba4e Fixed HIDEOUTCAT gift code 2024-09-09 11:58:05 +01:00
Dev
514c86d733 Fixed gift causing client error due to its parentid not being a valid mongoid 2024-09-09 10:41:18 +01:00
Dev
348a200149 Added secure flash drive v2/v3 to reward blacklist 2024-09-09 10:24:34 +01:00
Dev
6e9a51ff7e Regenerated REF assort data using new ragfair dumps
issue: armor lacks soft inserts
2024-09-08 00:00:36 +01:00
Dev
eaa16259ae Added service to ensure bot names are unique to a raid 2024-09-07 12:08:37 +01:00
Dev
ebe9c0daac Added Dehydration to list of effects we ignore inside transferPostRaidLimbEffectsToProfile() 2024-09-06 23:37:29 +01:00
Dev
f9ca76be79 Added missing quest images 2024-09-06 16:12:37 +01:00
Dev
4b3712954f Fixed weapon rewards from quests as val/vss 2024-09-06 15:53:01 +01:00
Dev
b0cfa682c0 Fixed incorrect filtering of bad cultist circle rewards 2024-09-06 15:39:52 +01:00
Dev
3f05400c87 Updated assorts 2024-09-06 11:54:29 +01:00
Dev
8392537f5b Updated quest data 2024-09-06 11:39:10 +01:00
Dev
072c8b4e02 Merge branch '3.10.0-DEV' of https://dev.sp-tarkov.com/SPT/Server into 3.10.0-DEV 2024-09-06 11:26:57 +01:00
Dev
abcf9f9488 Updated JSONs 2024-09-06 11:26:39 +01:00
Kaeno
026ff4d929 Make scav regenerate later after death to not persist old data, causing stale kills to appear on death. 2024-09-04 23:01:33 +01:00
Dev
eac3c7e226 Removed 0.14 pocket id from followerbigpipe 2024-09-04 09:52:37 +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
0bd794e39d Renamed incorrectly named property 2024-09-03 21:09:07 +01:00
Dev
2768217d57 Fixed quest status not correctly mapping to integer 2024-09-03 19:12:23 +01:00
Dev
3878c01bac Updated locale data 2024-09-03 18:50:54 +01:00
Dev
f3f72f34db Cleaned up nullguard and comments 2024-09-03 18:42:26 +01:00
Dev
9d923a8b0e Fixed Exhaustion effect persisting after raid 2024-09-03 18:38:32 +01:00
Dev
f5dd69f43d Processed quests into original format post-raid - untested 2024-09-03 17:09:56 +01:00
Dev
8f75851748 Updated Labs/GZ_high base jsons 2024-09-03 16:44:45 +01:00
Dev
ee314099d9 Added more direct sacrifice mappings to cultist circle config 2024-09-03 15:44:41 +01:00
Dev
8b2b9f7651 Filtered out Christmas tree hideout area from reward pool calculation when Christmas is not active 2024-09-03 10:19:24 +01: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
CWX
d3ab8d8826 Remove "refreshOffers" prop (!406)
Drakia found a commit adding this, this will bork it till a refresh happens, removing fixes the issue

Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/406
Co-authored-by: CWX <cwxdev@outlook.com>
Co-committed-by: CWX <cwxdev@outlook.com>
2024-09-03 06:50:36 +00: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
8aafd0e9b1 Added extra items to STREAMERLOOT gift 2024-09-02 16:16:54 +01:00
Dev
e9aeb2d5bb Added STREAMERLOOT gift code 2024-09-02 16:07:31 +01:00
Dev
996052961c Added tiger stripe Deagle to PMCs 2024-09-02 11:36:40 +01:00
Dev
cd2b7b460f Fixed typo 2024-09-02 11:25:30 +01:00
Dev
73c75596e2 updated profile templates to use Improvements instead of improvement + added migration for 3.9 profile + Added logging to 3.9 migrations 2024-09-02 11:16:23 +01:00
Dev
34f335175d Added cultist circle level 1 to new unheard profiles 2024-09-02 09:46:07 +01:00
Dev
c9218fce7f Updated Karma value on new and migrated profiles to be 0.2 instead of 0 2024-09-02 09:37:31 +01:00
Dev
6d1315ec47 Moved rigs into correct slot on PMCs 2024-09-01 21:00:12 +01:00
Dev
3671f68e9d Added M60s to PMCs 2024-09-01 20:47:12 +01:00
Dev
04ad8dea36 Added uzi to PMCs 2024-09-01 20:38:18 +01:00
Dev
72d3f25fc4 Added uzi to PMCs 2024-09-01 20:37:55 +01:00
Dev
3d57eb2e4e Added sr3m to PMC weapon pool 2024-09-01 20:31:16 +01:00
Dev
5e3a749fcc Updated location data 2024-09-01 20:08:00 +01:00
Dev
62e122652e Updated headsets on PMCs
Fixed missing mods for 2x helmets
2024-09-01 19:28:17 +01:00
Dev
f203191fb6 Removed duplicate ragman assort 2024-09-01 18:39:33 +01:00
Dev
3dc32f5b70 Removed redundant removeLostInsuranceFromProfile function 2024-09-01 17:20:50 +01:00
Dev
ca23daa7b8 Do not overwrite insuredItems array this early, is required by insurance service to send items out, cleaned up later 2024-09-01 17:14:40 +01:00
Dev
bb0ffa6fbc Updated money bonus calculation to match live 2024-09-01 17:06:32 +01:00
Dev
b517fdfd0d Flagged gunsmith: special order and Import control as event quests 2024-09-01 16:57:43 +01:00
Dev
c359f41c63 Updated how money reward bonuses are calculated, slightly more accurate but still not identical to live 2024-09-01 16:53:48 +01:00
Dev
e6b05a6660 Added back accidentally removed code that adds missing bonuses to profiles 2024-09-01 16:45:31 +01:00
Dev
f657c28413 Added more recipes to cultist circle 2024-09-01 15:30:43 +01:00
Dev
3a3a7b1026 Fixed item sell prices not varying per trader - client/items/prices/TRADERID endpoint requires prices to be altered by the traders sell coef (which is based on player loyalty level with said trader) 2024-09-01 15:04:59 +01:00
Dev
88a430a724 Fixed Easy start profiles breaking server on creation 2024-09-01 13:28:10 +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
65a117e7ac Refreshed flea prices 2024-09-01 11:34:58 +01:00
Dev
030efeae49 Fixed weapons/armor not counting towards the sacrifice reward budget/item count 2024-09-01 09:57:07 +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
919b41bb4b Fixed reward duplication when rewarded weapon/armor 2024-09-01 09:52:50 +01:00
Dev
c2402af09e Add small refactors to 2 functions 2024-08-31 20:48:32 +01:00
Dev
d518549711 Added early exit to adjustLooseLootSpawnProbabilities() 2024-08-31 20:35:39 +01:00
Alex McAuliffe
f362f4eddc Remove failing profile fixer tests (!404)
The code this was testing has been deleted so these tests were failing, don't see any point to keep the empty file after deleting the tests that are gone.

Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/404
Co-authored-by: Alex McAuliffe <alex@romanx.co.uk>
Co-committed-by: Alex McAuliffe <alex@romanx.co.uk>
2024-08-31 17:35:46 +00:00
Dev
38263e4dbb Updated english server locale 2024-08-31 18:31:38 +01:00
Dev
97bcce9819 Refactored getContainerMap() 2024-08-31 15:17:24 +01:00
Dev
184c81b912 Added hideout_management skill into cultist circle reward calculation 2024-08-31 14:14:23 +01:00
Dev
0b2e723fc3 32291 2024-08-30 14:16:53 +01:00
Dev
a7aa40aa07 Fixed various placeholder assorts 2024-08-29 22:08:50 +01:00
Dev
c30994ca18 Updated Trader assorts. 3 placeholder assorts remain 2024-08-29 21:46:03 +01:00
Dev
818c718b8e Updated quest data 2024-08-29 20:46:55 +01:00
Dev
27540f31f0 Updated profile migrations to partially support 3.9 2024-08-29 18:07:19 +01:00
Dev
aa942dbbcc Updated JSONs 2024-08-29 18:06:27 +01:00
Dev
d7ce092a4a Added code to clean up insured items data post-raid 2024-08-29 17:36:31 +01:00
Dev
60e82cf3f9 Updated Insured item data after a raid 2024-08-29 17:06:28 +01:00
Dev
655eece0f7 Updated bot difficulty values 2024-08-29 12:02:51 +01:00
Dev
041fcdc112 32280 2024-08-29 11:41:32 +01:00
Dev
6d9db36a78 Refreshed bot data values 2024-08-28 12:17:41 +01:00
crustyselenium
0342a0c39c 3.10.0-DEV WIP: Fixes #771 - Quest items not appearing on the case of dying after collecting them. Fixes an issue with gulp v5 corrupting pngs. (!403)
See #771 for discussion and bug report. Implementation deletes the specific task's completedCondition so as to allow the item to appear again.

Gulp v5 has a known issue that corrupts pngs when copying or moving them, this turns off encoding for the copying assets part of the build task.
Reference was [this stack post](https://stackoverflow.com/questions/78391263/copying-images-with-gulp-are-corrupted-damaged).

Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/403
Co-authored-by: crustyselenium <crustyselenium@gmail.com>
Co-committed-by: crustyselenium <crustyselenium@gmail.com>
2024-08-27 22:15:08 +00:00
Dev
2dfee92a4d JSON updates 2024-08-26 22:41:22 +01:00
Dev
32066d0e3b Updated interface to match dumps 2024-08-26 21:32:20 +01:00
Kaeno
ae6f2e4417 Gear stand changes to match dump data. Will cause client to hang. 2024-08-26 21:31:31 +01:00
CWX
05c4bb1946 Update comments, refactor check 2024-08-26 20:47:09 +01:00
CWX
b3b36c37ee dont send upgrades back to client for gear area 2024-08-26 20:39:04 +01:00
Dev
7dd240b600 Updated returnPlayerOffer() to regenerate root items' parentId 2024-08-26 20:31:36 +01:00
Dev
0d611eae24 Add pocket item to mannequin on area upgrade 2024-08-26 18:54:10 +01:00
Dev
7dfa911213 Added comments to function 2024-08-26 14:23:23 +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
Dev
63cf9ae132 Created new CircleOfCultist service and transplanted all code from Hideout controller into it 2024-08-26 11:46:38 +01:00
Dev
6803ee6241 Cultist circle:
Added support for weapon/armor rewards
Added support for variable stack sizes (only ammo for now)
Added support for breaking out of reward item while loop if no item is found (5 attempts max)
Added helper function `itemHelper.getRandomisedAmmoStackSize()`
2024-08-26 11:17:10 +01:00
Dev
d720f7fa3a Refactor of Circle of sacrifice code, added getRewardsWithinBudget() 2024-08-25 19:29:13 +01:00
Dev
768a275253 Logged error when nothing can be placed in reward grid 2024-08-25 15:13:50 +01:00
Dev
d3e7e1006b Increased multipler to 140%
Limited reward items to 5
2024-08-25 15:02:18 +01:00
Dev
94f3bd0d02 Removed debug/redundant code 2024-08-25 14:47:02 +01:00
Dev
c13d5c49a5 Added functionality to send player rewards based on cost of items sacrificed 2024-08-25 14:32:29 +01:00
TetrisGG
eee46aad30 Fix CircleOfCultists not finishing (!402)
Production resp should be null according to network dumps. Also instead of delete nulled out the recipe, so that it properly overwrites the id.

Co-authored-by: TetrisGG <tetrisggdev@gmail.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/402
Co-authored-by: TetrisGG <tetrisgg@noreply.dev.sp-tarkov.com>
Co-committed-by: TetrisGG <tetrisgg@noreply.dev.sp-tarkov.com>
2024-08-25 13:30:10 +00:00
Dev
244fe62617 Added code to create a pool of items the player needs to complete crafts/upgrade areas in their hideout for the cultist circle rewards 2024-08-25 13:46:47 +01:00
Dev
d2d5d950b3 Updated quest names 2024-08-25 11:39:16 +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
c8e66de039 Refactored addUpdateInventoryItemToProfile()and added addMissingPresetStandItemsToProfile() 2024-08-24 22:34:53 +01: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
Dev
52d092d474 Adjusted PMC healing parameters + tripwire ignore chance 2024-08-24 18:41:28 +01:00
Dev
d3cb8e5f70 Updated data JSONs 2024-08-24 11:06:41 +01:00
Dev
e600b423f2 Updated default equipment preset data 2024-08-24 11:00:18 +01:00