Chomp
5134c9d375
Flagged createUserDataForFleaOffer
as protected
2024-12-03 10:00:43 +00:00
Dev
0c5ecefc41
Refactored scavcase reward code to use correct data and interfaces
2024-11-20 09:48:42 +00:00
Dev
ab488bd22f
Improve raid time emulation of live
2024-11-18 21:27:45 +00:00
Dev
f11e09b46b
Fixed bot generation warnings where a value of 0 was treated the same as no value found
2024-11-14 20:59:37 +00:00
Dev
bfa8b0c9e8
Renamed function to maintain consistency
2024-11-14 18:02:16 +00:00
Dev
14b8985851
Reworked exp/agressor bonus/standing for kill values to accept dictionaries keyed by bot difficulty
...
Requires regeneration of bot jsons
2024-11-14 11:58:12 +00:00
Dev
a06a3cfbfc
Adjusted weather values
...
Reduced chance of fog
Reduced chance of constant cloud
Adjusted when rain is allowed to occur relative to cloud cover
Adding temp values for new seasons
2024-11-10 22:54:11 +00:00
Dev
30f8e14b9c
improved debug messaging
2024-11-06 19:37:02 +00:00
Dev
c86855b0ac
Remove unused getRandomisedCount()
fundtion
2024-11-06 11:04:01 +00:00
7b35a71884
Fix forced compound looseloot throwing exceptions ( !424 )
...
Fixes error on Factory when halloween pumpkins attempt to spawn
Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: SPT/Server#424
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-11-05 09:08:38 +00:00
Dev
e844f52478
Added functionality to allow setting a minimum magazine size for bots based on bot level via config
2024-11-04 11:39:53 +00:00
Dev
dd2c9de726
Flag zombies as needing simple animator
2024-11-01 16:15:08 +00:00
Dev
30db370423
Added ability to programmatically blacklist specific bot gear tpls by level
2024-10-28 09:20:13 +00: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
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
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
d1a167d78c
Further changes to cloud and fog weights
2024-10-18 10:55:35 +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
7330f6fb82
First pass at improving weather simulation logic
2024-10-17 00:57:33 +01:00
Dev
b36e0c2282
Fixed calculateGameTime()
not correctly handling overrideSeason
property
2024-10-16 18:30:04 +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
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
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
92c64024eb
Force rain off if clouds are below or equal to 2
2024-09-29 16:51:04 +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
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
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
b4e78d14f2
Improved bot vest filtering to not filter down to 0 vests
2024-09-24 10:09:58 +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
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
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
4f65442fe7
Added additional nullguard protection to getSealedContainerWeaponModRewards()
2024-09-10 18:16:21 +01:00
Dev
eaa16259ae
Added service to ensure bot names are unique to a raid
2024-09-07 12:08:37 +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
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
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