0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-13 09:50:43 -05:00

707 Commits

Author SHA1 Message Date
b2d7a29577 Resolve two issues with game edition locked quest rewards (!429)
- Properly handle game edition locked item rewards for quests
- Properly hide game edition locked rewards for quests

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: SPT/Server#429
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-11-19 09:22:18 +00:00
Dev
ab488bd22f Improve raid time emulation of live 2024-11-18 21:27:45 +00:00
Dev
bda8f3fda2 Adjust time offset to make raid timers match live 2024-11-18 21:06:46 +00:00
Dev
14b5bcb93f Replaced hard coded id with config value 2024-11-17 22:06:49 +00:00
Dev
50e79e72b5 Localised some chatbot messages 2024-11-17 20:57:50 +00:00
Dev
ef7ed5870a Added spt friend code VERYSPOOKY to enable halloween/zombies 2024-11-15 19:01:27 +00:00
Dev
d88e705c86 Fixed questConfig.profileWhitelist causing quests to not be shown when accepting a quest
reversed `questConfig.profileWhitelist` to have quest id as key and allowed game versions as value
2024-11-14 14:01:54 +00:00
Dev
43bed3a8a8 Fixed hydrateLookup() storing data from handbookPriceOverride with incorrect parent keys
Increased prices of overrides
2024-11-05 09:27:21 +00:00
Dev
7b62ad5eac Delete all quest items from server profile prior to adding them from the client copy 2024-11-04 16:00:16 +00:00
Dev
0411430381 Fixed PMC responses breaking messages and emptying the dialog window 2024-11-02 20:37:26 +00:00
Dev
c7811f69cf Reduced complexity of filtering inside findAndAddHideoutProductionIdToProfile() 2024-11-02 16:58:56 +00:00
Dev
7ab3935b4b Improved Quest crafting unlock reward matching with Draks new gen:productionquests command output 2024-11-02 16:47:49 +00:00
Dev
a8c6432d28 Fixed quest items not being transferred from client to server profile
Cleaned up `setInventory()`
2024-11-02 09:59:37 +00:00
Dev
9fe28edbe4 Updatd findAndAddHideoutProductionIdToProfile() to take into account bsg no longer storing the quest id in the productions requirement 2024-11-01 20:06:19 +00:00
Dev
5ec265d9bd Fixed error on purchasing items after a raid 2024-11-01 14:54:08 +00:00
Dev
ad9ae4fb52 Fixed ragfair failing when purchasing non-trader items 2024-11-01 13:19:54 +00:00
Dev
2c53e28e81 Refactored post-raid pmc inventory modification - Fixes dupe id error on raid end 2024-11-01 12:08:05 +00:00
Dev
cc782ba3d5 Updated chatbots to use Monogo_Ids 2024-10-31 22:07:31 +00:00
Dev
d2aa3983b3 improved QuestRewardType.ASSORTMENT_UNLOCK comment 2024-10-31 15:13:11 +00:00
Dev
554aceda26 Moved quest reward game edition checks into own function 2024-10-31 10:55:06 +00:00
2204181363 Quest Rewards take GameEditions into account (!418)
Fixes SPT/Issues#841
QuestReward with this property check the version of the PmcProfile, and skipped if it's not included / included depending on the property
length > 0 check is workaround for Gunsmith Pt 25

Co-authored-by: TetrisGG <tetrisggdev@gmail.com>
Reviewed-on: SPT/Server#418
Co-authored-by: TetrisGG <tetrisgg@noreply.dev.sp-tarkov.com>
Co-committed-by: TetrisGG <tetrisgg@noreply.dev.sp-tarkov.com>
2024-10-31 10:31:45 +00:00
Dev
3818388893 Added workaround for LK quests not completing correctly in PvE 2024-10-24 22:45:42 +01:00
Dev
776f925d91 Updated interfaces to follow correct naming scheme 2024-10-19 12:43:38 +01:00
Dev
9ab0b40854 Fixed botgen failing 2024-10-18 19:10:28 +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
ec825d990c Moved function to better location 2024-10-17 14:14:17 +01:00
Dev
7330f6fb82 First pass at improving weather simulation logic 2024-10-17 00:57:33 +01:00
Dev
eb0b3ce369 Reduce max length of flea offer names to 15 2024-10-15 20:54:11 +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
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
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
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
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
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
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
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
454a71213f Updated JSONs and interfaces to match new patch 2024-09-26 17:28:23 +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
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
9b7602baa8 Fixed mannequin pocket items being lost on pmc death 2024-09-24 18:21:19 +01:00
Dev
be7e07fa4e Added coreConfig.features.chatbotFeatures.sptFriendGiftsEnabled, default true 2024-09-24 16:41:02 +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
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