Chomp
4317c3c273
Fixed incorrect logic when deciding who should be flagged as a player scav inside shouldSimulatePlayerScav
2024-12-24 14:14:06 +00:00
Chomp
35ba24b639
Fixed PMC preset offers being classified as pack offers
2024-12-22 19:44:08 +00:00
Chomp
30d620d346
Improved simulation of AI player scavs, their 'pmc' name + game edtion is correctly passed to client
...
Pulled pscav code out of `generateUniqueBotNickname` and into its own function `simulatePlayerScavName`
2024-12-22 16:35:15 +00:00
Chomp
e04fa4d8fe
Added missing MainProfileNickname
property when generating a player scav character
2024-12-22 16:22:51 +00:00
Chomp
16da785607
Added error logging to prepareAndGenerateBot
2024-12-21 13:56:18 +00:00
Chomp
04f22601d4
Updated warning logging to be debug inside getExperienceRewardForKillByDifficulty
2024-12-19 21:54:54 +00:00
Chomp
2abf216a07
Using live data, improved emulation accuracy of repeatable quest system
2024-12-09 23:23:31 +00:00
Chomp
53599e46f3
Wired up item type blacklist across loot generator/airdrop and cultist circle in consistent way
...
Reworked Cultist circle code to pass blacklist around as a set rather than array
Removed cultist circle use of `itemRewardBlacklist` to store item parent ids, feature is handled by new config property
2024-12-09 15:03:21 +00:00
Chomp
d9e893149a
Improved debug logging when repeatable quest is generated
2024-12-09 13:25:22 +00:00
21939dcf38
Biome Format
...
Ran the `npm run style:fix` command. These are the code-formatting fixes.
2024-12-07 13:50:09 -05:00
Chomp
d2b7baa8b6
Cultist circle improvements ( #973 )
...
Brings Cultist Cicle rewards closer to live behavior.
---------
Co-authored-by: Bob S <shibdib@users.noreply.github.com>
Co-authored-by: Chomp <dev@dev.sp-tarkov.com>
2024-12-06 17:15:06 +00:00
Chomp
9ef8206517
Updated sortModKeys()
to use mount-specific mod sorting, prioritises the scope before additional mounts
...
Fixed null ref exceptions due to some items lacking `slots` objects
2024-12-06 16:20:18 +00:00
Chomp
e5fb672579
Fixed price discrepancy between trader and flea price for trader items, resolves #968
2024-12-03 11:53:22 +00:00
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