Dev
220a89b915
Default value to false if not found intead of letting it be undefined
2023-10-29 20:45:35 +00:00
Dev
8223124882
Sort mod_barrel
after mod_handguard
to prevent weapon gen errors with certain combinations of barrel + gas blocks causing all handgaurds to be incompatible
...
Also force gas block to be processed AFTER barrel + handguard
2023-10-29 16:35:03 +00:00
Dev
fd7e59d1d2
Adjust servers handling of item stacks, when item has a StackMaxSize
value of 1, use that instead of items db property StackMaxRandom
2023-10-28 19:39:45 +01:00
Dev
f4fce0612e
Force handguards that take a sub-handguard to set handguard spawn chance to 100% - fixes split handguards appearing without the lower part
...
Only adds lower when weapon has no launcher attached
Adjust sub stock adding code to trigger when stock has a subslot that starts with `mod_stock`, this means `mod_stock_akms` and `mod_stock_000` will be included
2023-10-26 20:31:05 +01:00
Dev
90efc36360
Fix incorrect value names in getEliminationKillCount
2023-10-24 17:06:02 +01:00
Dev
657dd358c2
Give method an access type protected
2023-10-24 15:12:18 +01:00
Dev
1cf63ad1ad
Split pmc kill requirement for elimination into separate min/max counts from other bot types
2023-10-24 15:01:31 +01:00
Dev
c3777af231
Add guards to dynamic spawn point generation
...
Rename some variables for clarity
2023-10-24 11:15:23 +01:00
Dev
7b0298cda2
Adjsut 2 bot gen errors to be warnings
2023-10-23 19:19:05 +01:00
Dev
018b0a8f70
Fix profile creation error
2023-10-21 20:13:29 +01:00
Dev
573d91a9c2
Persist ConditionCounters
data between pscav runs
...
Move values around to help with readability
2023-10-21 18:23:58 +01:00
Dev
11ae41dcff
Fix missing text
2023-10-19 20:59:06 +01:00
Dev
489189bd81
Add missing properties to templates
2023-10-19 20:51:16 +01:00
TheSparta
418d9f2a8f
Import path alias on the whole project ( !157 )
...
- Ability to use @spt-aki path alias on the whole project.
- Swapped all imports from relative paths, for imports using the path alias.
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/157
Co-authored-by: TheSparta <thesparta@noreply.dev.sp-tarkov.com>
Co-committed-by: TheSparta <thesparta@noreply.dev.sp-tarkov.com>
2023-10-19 17:21:17 +00:00
Dev
480967ab9a
Incldue m4a1 with gas block item in modIsFrontOrRearSight()
check
2023-10-17 20:45:40 +01:00
Dev
650a3173c8
Implement Pickup
quests for scav
...
It seems like these are scav-only
2023-10-17 16:28:48 +01:00
Dev
f70cbcced7
Set quest side to scav when generated for fence
2023-10-16 18:33:09 +01:00
Dev
04235ca024
Reward more items for daillies/weeklies
...
Cleanup of `generateReward` item reward pool generation into its own function + return an easier array to work with
2023-10-15 11:46:33 +01:00
Dev
7bc0d3f383
Prevent distance + melee kill quest combination
2023-10-15 10:49:23 +01:00
Dev
f155f5f0d0
Improve code comments
2023-10-15 10:44:12 +01:00
Dev
d44bda96cf
make use of isbaseclasses
to check for bad items instead of a non-optimal loop
2023-10-15 10:43:27 +01:00
Dev
fdd328b07a
use function that only gets static price for daily rewards instead of function that falls back to flea price - improve price consistency
2023-10-15 10:39:35 +01:00
Dev
18c68fa353
make daily rewards found in raid
2023-10-15 10:38:50 +01:00
Dev
f23c8d484e
Fix peacekeeper rewarding dollars instead of euros
2023-10-15 10:33:52 +01:00
Dev
cd74f05558
Cleanup of daily reward code doing the same item check multiple times
2023-10-15 10:28:52 +01:00
Dev
5a0e16634e
Fixed seasonal event items not appearing on flea during event
...
Don't rely on globals event value for event check, store event bools on SeasonaleventService class construction
Remove dupe function `getSeasonalEventItemsToBlock(), rely on `getAllSeasonalEventItems()`
2023-10-14 16:52:48 +01:00
Dev
5dd2e10211
Configure additional scav property values on generation
2023-10-14 13:29:27 +01:00
Dev
79b9b2a7aa
Update various property values on scav generation
2023-10-14 13:18:07 +01:00
Dev
035fce63c3
Make use of Set
data structure inside createRandomLoot()
to improve performance via .has
instead of .includes
2023-10-13 20:18:39 +01:00
Dev
45788e1489
Fix scav case erroring on item generation
2023-10-13 09:28:04 +01:00
Dev
29ffe86caa
Remove redundant item added check from value check
2023-10-12 13:25:13 +01:00
Dev
db619a30b3
Add boss item blacklist and wire into:
...
airdrops
scav cases
sealed weapon containers
daily quests
Default boss item filter to on
2023-10-12 11:00:04 +01:00
Dev
968911e3de
Refactored repeatable quest system
...
Moved quest generation code into its own class
Moved shared methods used by controller and generator into helper class
2023-10-11 17:43:57 +01:00
chomp
0b67a9a0e9
0.13.5.0 ( !147 )
...
Co-authored-by: Dev <dev@dev.sp-tarkov.com>
Co-authored-by: Terkoiz <terkoiz@noreply.dev.sp-tarkov.com>
Co-authored-by: TheSparta <thesparta@noreply.dev.sp-tarkov.com>
Co-authored-by: Refringe <refringe@noreply.dev.sp-tarkov.com>
Co-authored-by: Kaeno <e>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/147
2023-10-10 11:03:20 +00:00
chomp
c1a4c544bc
Add JSONC support to server configs + use by modders ( !112 )
...
Replaced calls (where possible) to JSON.parse/stringify with use of `jsonUtil` functions
`VFS.ts` was tricky, it can't be updated as it'd create a circular dependency
Also add json5 to package.json for modders to have access to
Co-authored-by: Dev <dev@dev.sp-tarkov.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/112
2023-08-09 10:49:45 +00:00
Dev
9dd2d3cd04
Improve nullguard code inside findAndAddRandomPresetToLoot()
2023-08-05 14:50:05 +01:00
Dev
82de7c097d
Replace old "evil x" pmc name system with v2
2023-08-01 12:51:40 +01:00
Dev
32b32e627b
Force afaks into PMCs secure container
2023-07-27 15:01:08 +01:00
Dev
8a26d3f807
Rework items added to container code, now stops after 4 failed attempts
...
Don't increment cost of loot container total value if item was not placed in container
2023-07-27 13:14:09 +01:00
Dev
2d57bdb0ef
Add option to force healing items into PMCs secure
...
Make bots heal to a 90% instead of 65%
Log when item cannot fit into container when genning bots
2023-07-27 12:15:06 +01:00
Dev
6581896e30
Revert 999 stack size of ammo in bots secure containers + set secure stack count to 20 instead of 15
2023-07-26 22:46:19 +01:00
Dev
ef03d546ce
Improvements to PMC gear variety + comment changes
2023-07-26 16:41:54 +01:00
Dev
903dbdf432
Improve emulation of live tarkov data - Remove hideout data from bots that are not pmcs or pscavs prior to being sent to client
2023-07-25 17:44:23 +01:00
Dev
8178f40b5d
Comment improvements
2023-07-25 14:04:21 +01:00
Dev
4a491df965
Add stackObjectCount for camora slots on weapons
2023-07-24 21:44:00 +01:00
Dev
777ca0c8ef
Fix issue with PMCs generating with one cartridge in magazine + no cartridge in weapon chamber
2023-07-24 21:24:55 +01:00
Dev
40149edeb2
axmc bot weapon generation improvements
...
Slight weapon variety improvement for PMCs
Only generate backpack loot if bot has backpack - reduces warnings during botgen
Move warning mesage to debug
Add sanitar medkit to pmc blacklist
Pass ur to warning message when endpoint body fails json validation
Pass sessionId into `locationController.generateAll()` to help modders when overriding function
Test - Added grizzly x5 to PMC secure containers to see if they heal more when damaged
2023-07-24 13:20:17 +01:00
Dev
89ab3a99a8
sealedWeaponContainer - Get random weapon preset if default preset not found
2023-07-23 11:27:04 +01:00
Dev
5071072092
Place fence seasonal item blocking behind config propery
2023-07-22 14:16:19 +01:00
Dev
a04113eaa1
Block seasonal items when not inside active season (christmas/halloween so far)
2023-07-22 14:11:47 +01:00