Commit Graph

3372 Commits

Author SHA1 Message Date
Dev
6b6b791940 Updated JSONs 2024-09-23 10:15:01 +01:00
Dev
396f5220f7 Fixed server error on raid start 2024-09-22 15:18:08 +01:00
Dev
6de8740dcc Updated convertIntoPmcChance to work per map
Removed unused `shouldBotBePmc` function
2024-09-22 13:58:55 +01:00
Dev
35fb02c009 Added Sealed letter quest item for Postman Part part 1 to spawn once in a raid, (not has 4 possible spawns) 2024-09-22 13:45:13 +01:00
Dev
2ea51fec37 Refresh quest json 2024-09-22 13:17:27 +01:00
Dev
5b7945a501 Added missing traderId to conditionCounter interface 2024-09-22 12:30:38 +01:00
Dev
c1526a4ad3 Reset money transfer limit of player when they have reached/passed the nextResetTime value 2024-09-22 11:49:55 +01:00
Dev
1ba795cf66 Added first attempt at fixing Circulate item sale tracking
Doesnt update client until after restart
2024-09-22 11:33:49 +01:00
Dev
ff6746ebe9 Now include money transfer limits of server>client response 2024-09-22 10:56:39 +01:00
Dev
060b0bb2de Added code to insert SellitemToTrader condition counter to profile on quest start 2024-09-22 10:46:50 +01:00
Dev
98d4bcc8ae Added mongoid item validation to 39x profile migration 2024-09-21 19:00:14 +01:00
Dev
47a7ccdfdd Added logging when profile migration completes 2024-09-21 12:45:49 +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
Dev
0fa22f0349 Reworked hideout code to remove all buffs/debuffs from profile after completing hideout wall
Added code to be run when 39x profiles are migrated

Renamed `checkAndUpgradeWall` to `SetWallVisibleIfPrereqsMet`
2024-09-21 10:34:45 +01:00
DrakiaXYZ
5217f7caed Resolve issue where most bonuses are cleared on wall completion (!412)
- Resolves issue where the player stash template ends up being reset to base, resulting in an incorrect stash size calculation

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/412
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-09-21 08:56:04 +00:00
Dev
71711f0c0d Pass bitcoin production into updateBitcoinFarm() function for modification instead of returning it 2024-09-20 17:32:58 +01:00
Dev
f333d45d70 Do not progress bitcoin production when power is off
Small cleanup of function to reduce nesting and duplication
2024-09-20 17:24:22 +01:00
Dev
23570f4e2a Hmm 2024-09-20 16:43:00 +01:00
Dev
b6b147f439 Renamed function to clear up its purpose startPostRaidInsuranceLostProcess 2024-09-20 16:38:19 +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
Archangel
4851784626 Remove dependency on vitest, seems to be referenced by other dependencies (!410)
Referencing vitest directly causes `npm install` to fail for fresh installs, removing this allows it to install all dependencies successfully.

Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/410
Co-authored-by: Archangel <jesse@archangel.wtf>
Co-committed-by: Archangel <jesse@archangel.wtf>
2024-09-20 13:33:48 +00:00
Dev
47b2aee91a Updated adjustExtracts() to push scav extracts into existing exits instead of overwriting 2024-09-20 11:07:27 +01:00
Dev
73eae5bd94 Made fog less common 2024-09-19 21:13:02 +01:00
Dev
a42e3e99f8 Added entrypoints to scav exits for ground zero/woods map 2024-09-19 21:12:41 +01:00
Dev
0c9a05756f Expanded scav exit pool to include coop exits 2024-09-19 20:35:17 +01:00
Dev
5ca4f8531c Fixed typos
Added skier/peacemaker bots to pmc enemy list

Flagged scav as always an enemy of PMCs

Removed forced warning of assault from PMCs
2024-09-19 14:02:57 +01:00
Dev
c0671bb659 Fixed trader config typo 2024-09-19 12:28:43 +01: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
5d5adb263c Added usec clothing 2024-09-19 10:33:13 +01:00
Dev
e8ca4a4738 Ensured coop reward pool uses Reward item Blacklist 2024-09-19 10:14:54 +01:00
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