Commit Graph

3515 Commits

Author SHA1 Message Date
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