Commit Graph

3688 Commits

Author SHA1 Message Date
Dev
b57a199c8a Removed unused parameter from processPostRaidQuests() 2024-10-24 22:56:02 +01:00
Dev
3818388893 Added workaround for LK quests not completing correctly in PvE 2024-10-24 22:45:42 +01:00
Dev
e7ebdab3f0 Improved offraidHeal to not show unnecessary warnings 2024-10-24 14:28:48 +01:00
Dev
c6b78dba1d Handled possible null ref 2024-10-24 14:17:39 +01:00
Dev
100d04cc67 Added handling of out of raid eating, currently handles hydration/energy 2024-10-24 13:18:04 +01:00
Dev
da9cd7f7b7 Improved accuracy of off raid heal, take into account effect removal into requests count value 2024-10-24 13:15:43 +01:00
Dev
3fa4c2f4c5 Expanded offraid healing to remove effects based on healing item used
Made it also heal damage taken
2024-10-24 12:27:06 +01:00
Dev
62c64b7480 Removed unused endpoint 2024-10-24 12:20:46 +01:00
Dev
a27e4fd334 Added explicit handling of zh locale, prevent it from falling back to english 2024-10-23 13:31:47 +01:00
Dev
d744a38306 Updated createSingleOfferForItem() to pass in sellerid + pass in itemdb object instead of array 2024-10-22 21:00:46 +01:00
Dev
1aac4a0635 Added ragfair.dynamic.barter.makeSingleStackOnly config option, default to true 2024-10-22 20:51:22 +01:00
Dev
9f6ec573d6 Removed fixEmptyBotWavesSettings - Doesnt seem necessary for 3.10
Disabled `rogueLighthouseSpawnTimeSettings` Same as above
2024-10-22 16:38:32 +01:00
Dev
44fac53e97 Updated appContext CLIENT_START_TIMESTAMP value to include sessionid 2024-10-22 13:41:33 +01:00
Dev
9eba62d5e2 Moved code from gameStart() into server start via new class PostDbLoadService
Fixed player adding their name multiple times to PMCs inside `addPlayerToPMCNames()`

Updated `enableSeasonalEvents()` to not require a session id, moved player-specific code into new function `givePlayerSeasonalGifts()`
2024-10-22 13:33:07 +01:00
Dev
0c153fc242 Added more items to progressive flea 2024-10-21 12:47:42 +01:00
Dev
2aaa7434ca Updated bsg pmc jsons 2024-10-20 15:01:08 +01:00
Dev
1eee0ff120 Updated addPaymentToOutput() to ensure it validates and fixes money stacks without a upd property 2024-10-19 20:26:05 +01:00
Dev
cdf542ea59 Increased item count for medical airdrop crates 2024-10-19 16:52:39 +01:00
Dev
1fd0a22a58 Increased base chance of root item return by 10% 2024-10-19 15:50:35 +01:00
Dev
776f925d91 Updated interfaces to follow correct naming scheme 2024-10-19 12:43:38 +01:00
Dev
b0159e6427 Removed unused interfaces
Renamed Interfaces to follow correct naming system
2024-10-19 11:31:19 +01:00
Dev
e15ed9b7eb Improved loot generator code comments 2024-10-19 11:21:02 +01:00
Dev
b6b527df2a Cleaned up createBarterBarterScheme() 2024-10-19 10:58:25 +01:00
Dev
9ab0b40854 Fixed botgen failing 2024-10-18 19:10:28 +01:00
Dev
672b1f1dd5 Updated locales 2024-10-18 14:24:16 +01:00
Dev
58280f44bd Default to not allowing 39x mods to load 2024-10-18 12:31:41 +01:00
Dev
9c58e2e0e5 Loosened bot name limit to 19 characters
Moved value into config
Added `botConfig.botRolesThatMustHaveUniqueName`

Refactored `getPmcNicknameOfMaxLength()`, removed all recursion + handles when no name is below desired length
Refactored `generateUniqueBotNickname()` to handle PMC names differently, use centralised pmc name function

Updated ragfair to utilise maxlength value from bot config
2024-10-18 11:39:51 +01:00
Dev
d2239db64b Removed name from PMC pool 2024-10-18 10:59:06 +01:00
Dev
d1a167d78c Further changes to cloud and fog weights 2024-10-18 10:55:35 +01:00
Dev
27552986ed Fixed incorrect raw data issue causing tarkov shooter part 7 to not unlock a cartridge craft in hideout
production json expects shooter part 8 to unlock craft for some reason
2024-10-17 15:06:46 +01:00
Dev
c97f5c2327 Added 0.01 rep gain when successfully exiting a raid as a scav
Fixed incorrect check of rep on pmc profile
Renamed inraid config property from `scavExtractGain` to `scavExtractStandingGain`
2024-10-17 14:49:39 +01:00
Dev
ec825d990c Moved function to better location 2024-10-17 14:14:17 +01:00
Dev
953acb47a0 Updated getRaidTemperature() to take into account the current raid time when choosing temps 2024-10-17 13:19:35 +01:00
Dev
0b729fba11 Improvements to how weather temperature is calculated - takes into account current season
Centralised the season override into `getActiveWeatherSeason()`
Adjusted weather values based on client data
2024-10-17 13:05:01 +01:00
Dev
eb6e61c1f0 Moved values into config
moved code to more appropriate locations
Reduced duplicate code
Added comments
2024-10-17 10:27:37 +01:00
Dev
3d4c7795f7 Added quest icon 2024-10-17 00:57:44 +01:00
Dev
7330f6fb82 First pass at improving weather simulation logic 2024-10-17 00:57:33 +01:00
Dev
c7904a3a41 Remove unused values 2024-10-17 00:41:05 +01:00
Dev
0699b5be9b Fixed generateLocal() not utilising season override 2024-10-16 18:36:49 +01:00
Dev
b36e0c2282 Fixed calculateGameTime() not correctly handling overrideSeason property 2024-10-16 18:30:04 +01:00
Dev
6a171919a1 Blacklisted KOSA UAV electronic jamming device from reward pools 2024-10-15 23:05:13 +01:00
Dev
f3c32b7b51 prevent player names longer than 15 being added to bot name pool 2024-10-15 20:58:59 +01:00
Dev
eb0b3ce369 Reduce max length of flea offer names to 15 2024-10-15 20:54:11 +01:00
Dev
ff159809dd EXPERIMENTAL, dont include trader offers in avg/min/max calculation 2024-10-15 14:53:33 +01:00
Dev
c7ae2823cd Updated createSingleOffer(), createMultiOffer(), createPackOffer() to make use of same code to figure out average offer price as client 2024-10-15 14:52:07 +01:00
Dev
b70572017d Added return statement to handleMusclePain() 2024-10-15 12:58:45 +01:00
Dev
6abd84e7ab Removed irrelevant comment 2024-10-15 12:56:40 +01:00
Dev
51bafeebfc Cleanup of handleQTEEventOutcome() 2024-10-15 12:55:00 +01:00
Dev
4a1c4be0e9 Don't save cultist circle flag into every production on init 2024-10-15 12:48:25 +01:00
Dev
5496ab9557 Cleaned up updateProductionTimers() 2024-10-15 12:47:17 +01:00
Dev
f647c8ebce Fixed hideout craft processing exiting before all crafts are processed 2024-10-15 12:21:31 +01:00
Dev
9a5232ef84 Updated JSONs
Added 2x event quests + flagged as event
2024-10-14 22:19:16 +01:00
Dev
6b116024ca Fixed gym not applying muscle effect after use 2024-10-14 19:38:26 +01:00
Dev
aec64455cb Improved accuracy of gym workout reduction of energy/hydration 2024-10-14 18:57:13 +01:00
Dev
9b6ba8d830 Removed bad IDs from Christmas gift item pool 2024-10-14 13:58:57 +01:00
Dev
82050d100c Removed dogtags from locked supply crates 2024-10-14 12:56:15 +01:00
Dev
403cc42bd8 Updated PMC names 2024-10-13 19:14:39 +01:00
Dev
8114271faf Added method comments 2024-10-13 12:09:47 +01:00
Dev
be20eff165 Updated replaceProfilePocketTpl() to take into account profiles with multiple pocket objects due to equipment stand 2024-10-12 22:57:24 +01:00
Dev
1697f5e34e Adjusted Rogues to use NVGs at night 2024-10-12 22:32:54 +01:00
Dev
8dbb284bf4 Prevented server from running when an invalid/corrupt config json is found 2024-10-12 12:46:23 +01:00
Dev
0963045b7e Blacklisted Secure Flash drive V2 and Radar station spare parts from PMC loot 2024-10-11 23:44:41 +01:00
Dev
2448fe24b5 Split AirdropTypeEnum into 2 enums, a spt specific one and another for the icon property sent to client 2024-10-11 12:56:31 +01:00
Dev
0f7531ea76 Updated locales 2024-10-11 09:16:55 +01:00
Dev
20a4dfb841 Hard coded generateAirdropLoot to return a common drop icon 2024-10-11 08:44:28 +01:00
Dev
6ed4303de5 Adjusted PMC brain conversion values 2024-10-10 12:57:47 +01:00
Dev
fc13c765a8 Fixed bad data inside dev bear profile that resulted in a non-functional equipment hideout area 2024-10-10 12:20:30 +01:00
Dev
d47d9f7b17 Removed unused function result 2024-10-09 18:27:10 +01:00
Dev
6790dcaba5 Updated JSONs 2024-10-09 18:26:52 +01:00
Dev
491722ce60 Added airdrop technical event crates to ItemRewardBlacklist 2024-10-09 16:42:25 +01:00
Dev
f003333e59 Remove debug code relating to hideout craft times 2024-10-09 16:31:10 +01:00
Dev
ce3b63dc1c Updated getOffersForBuild() to not show pack offers, this fixes the equipment system buying pack offers 2024-10-09 14:34:10 +01:00
Dev
eb2afa81d5 Cleaned up method description 2024-10-09 10:49:22 +01:00
Dev
8b0eaad0c3 Blacklist required items from reward pool for repeatable 'completion' quests,
e.g. , fetch 5 kek tapes, get rewarded 3 kek tapes
2024-10-09 10:48:57 +01:00
Dev
ad95b227dd Added optional blacklist functionality to generateReward() 2024-10-09 10:40:32 +01:00
Dev
ff501d31c9 Reduced extract requirement from daily/weekly quest templates 2024-10-09 10:21:47 +01:00
Dev
50c2c55837 Further cleanup of sendResponse() 2024-10-08 22:35:45 +01:00
Dev
f76ffc8f93 Updated sendResponse() to not run serialiser when sending debug request 2024-10-08 22:27:36 +01:00
Dev
ed92c6802c Refactor oh how bot equipment items are generated.
Now uses blacklist data from bot.json when picking equipment mods
Equipment gen now passes same BotData object as weapon mod gen
Pass botEquipmentRole via request object instead of calculating it every item slot
Fixed `getFilteredDynamicModsForItem()` being hard coded to use first blacklist object  regardless of which one matched the bot level
2024-10-08 20:14:43 +01:00
Dev
a3816ad271 Increased maxBotCap for factory to 15 2024-10-08 15:50:40 +01:00
Dev
ca529eb5a0 Fixed maps with transit requirements not working after player transits 2024-10-07 12:48:49 +01:00
Dev
34b9785955 Moved AUTUMN season to start on 15th of October to better match live 2024-10-07 10:22:37 +01:00
Dev
859cd19cb8 Updated JSONs to match live
Updated quest data, some required items no longer need to be FiR
2024-10-06 23:47:35 +01:00
Dev
80bc6b41d7 Added Case with precision tools quest item to single spawn only list 2024-10-06 23:19:44 +01:00
Dev
c360414d53 Flagged Into the Inferno as event quest 2024-10-06 21:53:41 +01:00
Dev
4e5ee38283 Merge branch '3.10.0-DEV' of https://dev.sp-tarkov.com/SPT/Server into 3.10.0-DEV 2024-10-06 21:51:06 +01:00
Dev
3f71b62689 Allow t7 thermals on level 67+ PMCs 2024-10-06 21:50:41 +01:00
DrakiaXYZ
f650bb6be5 Fix sealed weapon crates when bad mod data exists (!416)
If a modded weapon includes non-existant items in some of its fields, sealed weapon crates had the potential to throw an exception on open due to not validating that all `LinkedDbItems` existed. This filters the list to only items that are found in the item DB

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/416
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-10-04 15:21:44 +00:00
Dev
e3cdd26d0d 32757 2024-10-04 09:09:40 +01:00
Dev
84064caa0d Remvoed unused keys from WildSpawnTypeNumber 2024-10-03 17:29:45 +01:00
Dev
5a7f03a2d4 Further refinement of loot generation code switch 2024-10-03 15:17:00 +01:00
Dev
7b1a37e71e Added sptGenerateLoot to IStartLocalRaidRequestData to allow caller to choose to generate loot or not, default is true 2024-10-03 15:12:51 +01:00
Dev
dda3bc5310 Adjusted maxBotCap values for some maps 2024-10-03 10:04:57 +01:00
Dev
c95395ee40 Tiered flea changes:
Removed `Tool` restriction

Replaced with specific barter item restrictions, only applied to those that can be crafted in hideout/bartered from traders
2024-10-02 17:03:04 +01:00
Dev
61e90d7e9a Tiered Flea: instead of not showing offers outside of players level, show offer but set to locked 2024-10-02 11:06:25 +01:00
Dev
93127ff16a Added nullguard to setTraderUnlockedState() 2024-10-01 21:41:14 +01:00
Dev
379bbe8993 Added additional icons to image cache 2024-10-01 21:21:13 +01:00
Dev
161c2d97fb Adjusted how PMCs deal with Halloween event bots 2024-10-01 16:41:20 +01:00
Dev
12c5fcbd98 Force added entry points for scav extracts on Streets 2024-10-01 14:08:57 +01:00
Dev
73ecbe7d2c Removed ProfileSnapshotService
Added `InMemoryCacheService`
2024-10-01 11:21:32 +01:00
Dev
6301411a86 Removed unnecessary use of ProfileSnapshotService 2024-10-01 10:57:59 +01:00
Dev
9b3d18ded5 Improved wrong container size error 2024-09-30 17:29:19 +01:00
Dev
820934c186 Fixed Tourny profile being unable to purchase items (profile had incorrect stash tpl) 2024-09-30 17:26:31 +01:00
Dev
24ab327ac2 Fixed off by one error inside generateUniqueBotNickname that would result in undefined names when the unique name pool was low 2024-09-30 16:55:34 +01:00
Dev
9d55bf0fac Updated JSON data 2024-09-30 13:41:21 +01:00
Dev
5f85a8ea72 Added Repair kits to flea showAsSingleStack 2024-09-30 11:48:09 +01:00
Mattdokn
599c03dd06 Update quest interfaces to match quests.json (!415)
Matched quest related interfaces with the types being used in quests.json. Also made some properties that weren't required into nullable types.

Co-authored-by: mBarneto <4347791+m-barneto@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/415
Co-authored-by: Mattdokn <mattdokn@noreply.dev.sp-tarkov.com>
Co-committed-by: Mattdokn <mattdokn@noreply.dev.sp-tarkov.com>
2024-09-29 18:53:08 +00:00
Dev
a82a41f3df Tiered flea:
Added system to limit single items by tpl to player level

Added:
Oakley Mechanism - level 32
Tri-zip - level 30
Beta 2 - level 30
Gruppa 99 T30 - level 30
Eberlestock F5  - level 30

Poyas-A - level 26
Velocity Systems MPPV - level 25

labs keycard - level 30
Sledgehammer - level 25
ledx - level 25
Graphics card - level 35
2024-09-29 17:29:08 +01:00
Dev
92c64024eb Force rain off if clouds are below or equal to 2 2024-09-29 16:51:04 +01:00
Dev
a9e13c7238 Map transit improvements:
Scav inventory now persists between transitions
Item FiR status is not lost when transitioning
Made `endLocalRaid()` aware of 'transfer' end state
2024-09-29 10:30:44 +01:00
Dev
bc0bb3a636 Removed unused property 2024-09-28 23:40:36 +01:00
Dev
057425b363 Improved bot generation system to allow PMCs to wear NVGs at night more than during day 2024-09-28 23:29:08 +01:00
Dev
f5360d0a92 Added ability to know if current raid is at nighttime 2024-09-28 23:00:24 +01:00
Dev
fa37cb4ea8 Normalised many quest names 2024-09-28 14:12:23 +01:00
Dev
5c3be05bbc Updated ragman+prapor assorts 2024-09-28 10:30:57 +01:00
Dev
56253299ed Updated JSON data
Added additional quests
2024-09-28 10:06:24 +01:00
Dev
63acfacfd3 Disable tiered flea 2024-09-27 21:03:26 +01:00
Dev
5cf5749c99 Fixed dupe ID issue with locale 2024-09-27 21:01:37 +01:00
Dev
5828216729 Fixed weapon_izhmash_ak105_545x39 generation error with BEAR PMCs 2024-09-27 20:58:47 +01:00
Dev
66c49dc9d8 Fixed getTraderSuits() not returning ragman clothing 2024-09-27 20:41:36 +01:00
Dev
7b4be0817b Add missing interface 2024-09-27 18:18:53 +01:00
Dev
80762d6a00 Handle changes to airdrop endpoint
Reworked airdrop loot generation to incorporate 'radar' drops

Added `forced loot` system to LootGenerator service, can now explicitly define what items it contains

Fixed airdrop system sending incorrect icon to client
2024-09-27 14:30:35 +01:00
Dev
3bbe167450 Added shooterBTR to PMC friendly list 2024-09-27 11:33:32 +01:00
Dev
48bd0d0c5d Updated incorrect tpl 2024-09-27 09:10:43 +01:00
Dev
700b6a5338 Updated itemtpl enum + overrides 2024-09-27 08:50:28 +01:00
Dev
98a079fa4c Set IStartLocalRaidResponseData transition data correctly 2024-09-27 08:45:26 +01:00
Dev
a5ad6e4135 Added SPLASH gift code 2024-09-27 08:44:55 +01:00
DrakiaXYZ
3703698a1a Implement TransitItemsDelivery service via expansion of the BTR item delivery handler (!413)
- Fixes exception thrown when attempting to transfer items during transit
- Implements transit item transfer by expanding on the existing BTR item transfer code (They are both BTR services)

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/413
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-09-27 07:19:20 +00:00
Dev
ca8b61a001 Added nickname check to pmc response message send, kills profiles when name is null 2024-09-26 21:01:01 +01:00
Dev
058ccc2b29 More JSON and interface changes 2024-09-26 20:49:08 +01:00
Dev
454a71213f Updated JSONs and interfaces to match new patch 2024-09-26 17:28:23 +01:00
Dev
c8d21b2d2f 32678 2024-09-26 14:06:06 +01:00
Dev
5e528d668e Added profile version whitelist and blacklist
Blacklisted `Old Patterns` from Unhead profiles
Whitelisted `The Good Times - Part 1` to only Edge of darkness profiles
2024-09-26 09:44:18 +01:00
Dev
14a96cb034 Added STASHQOL gift code 2024-09-25 19:13:03 +01:00
Dev
4d8aaea4a9 Fixed airdrop crates having the incorrect id 2024-09-25 19:07:02 +01:00
Dev
c7a44456bb Added tiered flea system with placeholder values - Allow items to be locked to a specific level - defaults to off
Unlocks have a priority order, it will be filtered by whatever is first in the dictionary
e.g.

pistol: unlock level 20
weapon: unlock  level 30

A pistol will be unlocked at level 20,
A shotgun will be unlocked at level 30

if the order was different:
weapon: unlock level 30
pistol: unlock level 20

The pistol would be unlocked at level 30 as its a weapon and gets picked up by the weapon filter first
2024-09-25 17:16:44 +01:00
Dev
4fbed1c191 Updated location data 2024-09-25 08:53:35 +01:00
Dev
99afff5a9b Added various additional mod items to PMC weapon pool 2024-09-24 23:31:09 +01:00
Dev
d38fe84ce2 Added mod_tactical001/mod_tactical002 to randomisation pool 2024-09-24 23:18:54 +01:00
Dev
07d1fbe19a Fixed factory night loot containers not working 2024-09-24 21:48:06 +01:00
Dev
3ba1d3839e Fixed incorrect usec hostilitySettings value 2024-09-24 18:45:22 +01:00
Dev
9b7602baa8 Fixed mannequin pocket items being lost on pmc death 2024-09-24 18:21:19 +01:00
Dev
4c2f93f219 Added extra PMC waves to sandbox_high 2024-09-24 17:29:50 +01:00
Dev
a57ce79b45 Fixed BTR not delivering items
Fixed player scav being unable to transfer items via BTR
2024-09-24 17:25:32 +01:00
Dev
8baac2cfad Fixed items added to wishlist in-raid not persisting to out of raid 2024-09-24 16:47:55 +01:00
Dev
be7e07fa4e Added coreConfig.features.chatbotFeatures.sptFriendGiftsEnabled, default true 2024-09-24 16:41:02 +01:00
Dev
4ea528c381 Hard-coded Entrypoints into scav lighthouse exits 2024-09-24 13:56:00 +01:00
Dev
ab1422bc40 Updated interfaces to follow correct naming convention
Removed some interface duplication
2024-09-24 12:47:29 +01:00
Dev
5fd9271491 Updated various interfaces to use correct naming scheme
Added `IGroupPostion`
2024-09-24 11:26:45 +01:00
Dev
63774da653 Added additional PMC waves to customs + woods 2024-09-24 11:04:28 +01:00
Dev
6610961025 Reduced bossBully to 35% spawn chance 2024-09-24 10:54:55 +01:00
Dev
e6ab51dc78 Reduced bossKnight to 25% spawn chance 2024-09-24 10:53:54 +01:00
Dev
b4e78d14f2 Improved bot vest filtering to not filter down to 0 vests 2024-09-24 10:09:58 +01:00
Dev
68297830ff Disabled forceOnlyArmoredRigWhenNoArmor for birdeye, he doesnt have any armored rigs 2024-09-24 09:43:23 +01:00
Dev
bf39ed957e Cleaned up duplication in bot generation system
Added optional parameter to `cacheHasBotWithKey`

Removed params needed for calling `rollToBePmc`

Created `getMostRecentRaidSettings`
2024-09-23 23:01:47 +01:00
Dev
a477b0b584 Added labs to pmc conversion system 2024-09-23 22:56:22 +01:00
Dev
12c602b578 Add key to the city quest icon 2024-09-23 14:53:21 +01:00
Dev
eaa5280569 Added Key to the City quest 2024-09-23 14:51:50 +01:00
Dev
b7101506df Added new gift code 2024-09-23 14:44:04 +01:00
Dev
22b661ac49 Moved mongo id validation into its own function 2024-09-23 14:33:47 +01:00
Dev
cabd17d2c9 Added config option forceRigWhenNoVest
Wired up to bot generation

Updated Raiders to use true value
2024-09-23 12:16:47 +01:00
Dev
53e0a74a1f Adjusted various bot types to always have armored rigs when generated without a vest 2024-09-23 11:19:04 +01:00
Dev
4cb901d592 Fixed issue with getPmcConversionMinMaxForLocation() 2024-09-23 10:45:25 +01:00
Dev
10c436cd7d made use of resetInterval inside of resetMoneyTransferLimit() calculation 2024-09-23 10:22:26 +01:00
Dev
dd9d018c82 Updated items JSON 2024-09-23 10:20:16 +01:00
Dev
218044d23b Renamed interfaces 2024-09-23 10:20:02 +01:00
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