Commit Graph

395 Commits

Author SHA1 Message Date
Dev
f3ec237674 Fix issue with weapon mod generation flagging mod as incompatible even though it passes compatibility checks
Stop trying to fit a mod to a weapon after 8 blocked attempts
Created streamlined mod compatability checker function
2024-01-29 22:41:08 +00:00
Dev
1995fbfef0 Adjust scav vest to be less common on higher level PMCs 2024-01-29 19:35:07 +00:00
DrakiaXYZ
f160560134 Lower BTR default speed to work with change in modules (!212)
Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/212
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-01-29 19:07:45 +00:00
Dev
215e8f1c4b Create new SNOW event separte from new years 2024-01-27 23:08:21 +00:00
Dev
bab96ec429 Added limit of 1 for Shturman's stash key on bosskojaniy
Fixed typo in `bosskolontay` name
2024-01-27 22:30:47 +00:00
Dev
4875662d0a More PMC adjustments 2024-01-27 19:40:11 +00:00
Dev
fde85a52ce Improve PMC gear filters 2024-01-27 19:15:42 +00:00
Dev
ccb610dda6 Add config property forceOnlyArmoredRigWhenNoArmor + wire it up 2024-01-27 18:52:36 +00:00
Dev
8ca0c5d82b Remove faceshield from headwear section 2024-01-27 17:08:01 +00:00
Dev
3ac5a6e41a Initial pass at adding new locales with fallbacks 2024-01-26 22:28:36 +00:00
Valens
63aed59c98 Ammo adjustments (!210)
Co-authored-by: VforValens <8889280+VforValens@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/210
Co-authored-by: Valens <valens@noreply.dev.sp-tarkov.com>
Co-committed-by: Valens <valens@noreply.dev.sp-tarkov.com>
2024-01-26 19:06:11 +00:00
Dev
23baf3cce6 Adjust modSpawnChancePercent values to make loose armor have more plates 2024-01-26 14:25:50 +00:00
Dev
15f3223349 Reduce sandbox maxbot count 2024-01-26 13:15:25 +00:00
Valens
0d1a5bc59f Change 762x51 for Levels 1-14 to weight worse ammo (!209)
Changed 762x51 BCP FMJ and TCW SP to be weighed heavier to help prevent occurrences of the better ammo in the 762x51 array from spawning while low level.

Co-authored-by: VforValens <8889280+VforValens@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/209
Co-authored-by: Valens <valens@noreply.dev.sp-tarkov.com>
Co-committed-by: Valens <valens@noreply.dev.sp-tarkov.com>
2024-01-26 08:29:41 +00:00
Valens
b9e9e0cd4b Fix rightside_plate in multiple bot types (!208)
Fix rightside_plate to be right_side_plate matching all other entries for config/bots.json, bots/types/arenafighter, bear, and usec.json's

Co-authored-by: VforValens <8889280+VforValens@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/208
Co-authored-by: Valens <valens@noreply.dev.sp-tarkov.com>
Co-committed-by: Valens <valens@noreply.dev.sp-tarkov.com>
2024-01-25 23:29:01 +00:00
Dev
e8ff4c01b3 Further adjustments to PMCs 1-14 2024-01-25 21:38:09 +00:00
Dev
edbc35134f PMC 1-14 changes 2024-01-25 21:11:04 +00:00
Dev
6ffbbed760 increase chance of basic headgear for 1-14 PMCs
increase chance of basic headset for 1-14 PMCs

increase chance of level 4 facecover for 50+ PMCs
2024-01-25 20:34:44 +00:00
Dev
f6dae88610 reduce mp7/bastion spawn chance 2024-01-25 17:23:09 +00:00
Dev
d9eedae831 Fix 3m armor being in wrong slot 2024-01-25 17:16:47 +00:00
Dev
fd7050b0ac Fix issue with weapon/equipment mod selection where it would ignore settings when mod slot was required
Fix JSON errors in bot.json
2024-01-25 13:45:42 +00:00
Dev
c376abfbfb pmc 1-14 equipment value adjustments 2024-01-25 10:52:34 +00:00
Arys
5c077dc99b Added new BTR config settings (!207)
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/207
Co-authored-by: Arys <arys@noreply.dev.sp-tarkov.com>
Co-committed-by: Arys <arys@noreply.dev.sp-tarkov.com>
2024-01-25 08:52:10 +00:00
Dev
5d0ffd93d2 Added helmets category to ragfair conditions array 2024-01-24 19:33:24 +00:00
Dev
6cdd1ce643 Improve PMC bot gear filtering 2024-01-24 19:15:05 +00:00
Dev
852849aeb1 Extend new years date
Generate fewer btr bots
2024-01-24 14:23:44 +00:00
Dev
b4af859a06 28476 2024-01-24 10:45:57 +00:00
Dev
3ec63ef31d Fix issue with addChildSlotItems() and add additional mods 2024-01-23 21:33:24 +00:00
Dev
b68164b830 Add support for sub locales - initial support for PT and ZH 2024-01-23 20:49:06 +00:00
Dev
86d34e3efe Remove dupe data from ragfair json 2024-01-23 13:25:22 +00:00
Dev
27bc7cfa6e Fixed armors being listed with plates above the allowed level on flea 2024-01-23 11:42:47 +00:00
Dev
5b296975e8 Merge branch '3.8.0' of https://dev.sp-tarkov.com/SPT-AKI/Server into 3.8.0 2024-01-21 17:54:09 +00:00
Dev
9c9d3fb5a5 Cleanup of scavcase reward blacklist 2024-01-21 17:53:59 +00:00
CZPZ
1551a5e793 feature: add probability for extra rep gain on pmc kills as pscav (!204)
Feel free to rename everything.

We can also use the new function from randomutil and replace code block below on InsuranceController.ts

```
        const maxRoll = 9999;
        const conversionFactor = 100;

        const returnChance = this.randomUtil.getInt(0, maxRoll) / conversionFactor;
        const traderReturnChance = this.insuranceConfig.returnChancePercent[traderId];
        const roll = returnChance >= traderReturnChance;
```

I killed 2 PMCs with 100% chance and gained 0.07 rep (rounding issue probably somewhere else)

![image](/attachments/00f00922-eb18-4fdc-8958-129b680af704)

Some JS problems :S

![image](/attachments/dcbeb1d1-2ee3-4809-890e-e19fe3190840)

Implements: https://dev.sp-tarkov.com/SPT-AKI/Issues/issues/150
Co-authored-by: alimoncul <alimoncul@gmail.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/204
Co-authored-by: CZPZ <czpz@noreply.dev.sp-tarkov.com>
Co-committed-by: CZPZ <czpz@noreply.dev.sp-tarkov.com>
2024-01-21 17:39:37 +00:00
Dev
c68c9a72fb Refactor handleScavCase() to use addItemToStash()
blacklist soft armor inserts from scavcase rewards
2024-01-21 16:40:14 +00:00
DrakiaXYZ
e31c52e7ff Add BTR config options (!203)
Also add the cover service entry

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/203
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-01-21 08:46:12 +00:00
Dev
399bbb2e3b Add framework for BTR config 2024-01-20 18:47:57 +00:00
Dev
80fdaf65e6 Finalise fence changes 2024-01-20 17:56:19 +00:00
Dev
b5bca2c49b Add missing property to airdrop config 2024-01-20 09:30:18 +00:00
Dev
879af0377a Adjust airdrop values 2024-01-19 21:19:14 +00:00
Dev
4cb2d8171e Fix JSON issues with ravangezryachiyevent 2024-01-19 09:37:01 +00:00
Dev
310762d66d Refactor airdrop loot generation to account for armor plate changes 2024-01-18 23:25:08 +00:00
snowythefox811
f6192f1891 Added The ability to have enhancements on armored rigs and helmets. (!200)
Added the vest and headwear classes to be eligible for armor enhancement

Co-authored-by: Snow <Notarealemail@email.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/200
Co-authored-by: snowythefox811 <snowythefox811@noreply.dev.sp-tarkov.com>
Co-committed-by: snowythefox811 <snowythefox811@noreply.dev.sp-tarkov.com>
(cherry picked from commit 35eb9feebf)
2024-01-18 09:08:22 +00:00
Dev
04edb19f14 Allow dogtags to be added to custom bots 2024-01-17 22:17:12 +00:00
Dev
43699d6416 Add new bot types to pmc config
remove new types from possible brain types on sandbox
2024-01-17 14:22:27 +00:00
Dev
220764d0f7 Update bot data
Update `ravangeZryachiyEvent` mapping to use `ravangeZryachiyEvent` bot type data instead of `bossZryachiy`
2024-01-16 16:11:48 +00:00
Dev
2f07d6083f Fix armor plates/visors/helmet plate inserts not having thier durability altered on ragfair 2024-01-14 22:28:53 +00:00
Valens
743f222141 Add valens to gifts.json (!194)
Add the "VALENS" code to the gifts system.
Consists of 1 SR-25, and 1 M1A.

Co-authored-by: VforValens <8889280+VforValens@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/194
Co-authored-by: Valens <valens@noreply.dev.sp-tarkov.com>
Co-committed-by: Valens <valens@noreply.dev.sp-tarkov.com>
2024-01-14 09:05:28 +00:00
Dev
8b355adfa6 Add soft insert type to daily reward blacklist 2024-01-13 20:02:19 +00:00
Dev
6cd82ce2a6 Add location property minFillLooseMagazinePercent
Make static/dynamic magazine loot have chance to not have cartridges
2024-01-13 12:30:15 +00:00
Dev
14a8b34dcc Add sandbox to daily quest map pool 2024-01-13 09:51:09 +00:00
Dev
48f99ecfa6 Additional changes to randomiseWeaponDurabilityValues()
Move chance to make changes check outside of function
Aliased ragfair config property
Aliased chosen child multipler value
Added comment to function
2024-01-13 09:15:11 +00:00
Dev
0440bdab70 Reworked flea armor listing code
Randomises plate durability
Randomises insert durability
2024-01-12 21:59:30 +00:00
Kaeno
05484ff3b3 Added Missing coop extracts and vehicle extracts 2024-01-12 20:19:43 +00:00
Kaeno
664715c09e Fixed extra spawns on customs. Fixed duplicate spawns on labs. Removed Shoreline spawns due to map changes 2024-01-12 19:09:57 +00:00
Dev
98241d894f Rework how plates are filtered from bot equipment
Add `filterPlatesByLevel` to bot config
2024-01-12 17:00:22 +00:00
Dev
a7e6eed954 Update presetSlotsToRemoveChancePercent in trader config to allow insutrance to remove armor items 2024-01-12 13:45:37 +00:00
Dev
23ebe19938 Lower chance of ECLiPSE RBAV-AF plate carrier on low level PMCs as it doesnt support the armor level we want for them 2024-01-12 13:44:58 +00:00
Dev
78759ee72e Add weighting data for left_side_plate and right_side_plate 2024-01-12 13:44:46 +00:00
Dev
66ab32e6c4 Make new years last until 20th of jan 2024-01-12 13:01:10 +00:00
Dev
d92f30d281 Fix insurance return all child items of an item (ammo in mags/chamber) 2024-01-12 12:32:04 +00:00
Dev
033b0e6805 Slightly increase pmc conversion rate
Reduce number of PMCs generated
2024-01-10 21:09:27 +00:00
Dev
5e9be7a2fd Remove unused loot ids 2024-01-10 15:41:36 +00:00
Dev
68f3ee013c lint bot.json 2024-01-09 16:18:15 +00:00
Dev
154578dd44 Update randomisation config to specifiy its for weapon mods + add equipment mod adjustment system
Adjust PMCs to use more gear mods at higher levels
2024-01-09 16:15:31 +00:00
Dev
bac86262d4 Improve handling of equipment mod generation 2024-01-09 10:30:00 +00:00
Dev
c9de59b5bf Add Zryachiy's balaclava to boss item collection 2024-01-08 17:45:07 +00:00
Dev
30507acd1b Add armor to randimisation list for PMCs 2024-01-08 10:22:24 +00:00
DrakiaXYZ
3401b4094e Initial commit of trader services structure (!187)
- Only contains BTR taxi and delivery services
- Super basic implementation, client doesn't seem to need anything except the service type for these
- Includes handling of the BTR Item Delivery service

Basic implementation can be merged and expanded on later, doesn't break anything by existing (Hopefully)

I've opted to add the routes to the `InRaid` controller/Callbacks, because it is a route only accessed within the raid. Seemed like it would be the best place for it

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/187
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-01-08 08:51:46 +00:00
Dev
928e406b76 First draft of randomisd armors on fence 2024-01-07 22:11:05 +00:00
Dev
192baa7456 Add soft inserts to fence blacklist 2024-01-07 21:00:02 +00:00
Dev
ed82e9ed2f Halloween event fixes 2024-01-07 19:29:42 +00:00
Dev
db13df89d9 Add plate filtering system based on bot level 2024-01-07 15:34:59 +00:00
Dev
0fcc411123 Add bot plate json for levels 1-10 and 11-14 2024-01-07 14:46:48 +00:00
Dev
749fc75a25 Add randomWeather/randomTime to inraidConfig 2024-01-07 12:56:57 +00:00
Dev
bd60cf51e2 Fix event system not working for events other than halloween and christmas
Allow events to overlap

Rename config property from `enableWinterEvent` to `forceWinterEvent`
2024-01-06 23:29:42 +00:00
Dev
52a5380c33 Add botRelativeLevelDeltaMin to pmc.json to allow configuration of lowest level of pmc relative to player 2024-01-06 15:19:04 +00:00
Dev
d1aee50217 Blacklist broken GK-01 12ga compensator 2024-01-04 21:46:29 +00:00
Dev
850fc12a86 Fix json error 2024-01-02 14:38:01 +00:00
Dev
7f8d629dbe Add sandbox pmc waves 2024-01-02 13:49:08 +00:00
Dev
ecc8af0aea Add TWITCHNEWYEARS2023 gift code 2024-01-01 12:23:41 +00:00
Dev
8bbea5e085 Update sandbox quest items 2024-01-01 10:45:58 +00:00
Dev
3398d579e2 Fix incorrect country code 2023-12-30 20:40:38 +00:00
Dev
29995cccd8 FIx various bot armor gen errors manually 2023-12-30 14:31:30 +00:00
Dev
dc0ac5869d Fix caps 2023-12-30 13:33:26 +00:00
Dev
79e735a9e3 add missing bot values 2023-12-30 13:29:50 +00:00
Dev
3a0cd60181 Add bot settings for "shooterbtr" 2023-12-30 13:19:25 +00:00
Dev
148ddab4ca Add BTR trader to trader config 2023-12-30 13:02:35 +00:00
Dev
d1b9cbbfc5 Enable snow for christmas/new years 2023-12-29 19:09:03 +00:00
Dev
70dcafc6ba Add new years 2023 gift 2023-12-29 17:18:28 +00:00
Dev
4c64460cae Fix json property name 2023-12-29 16:21:55 +00:00
Dev
868c1c78ee Remove unnecessary manual armor insert blacklist items as we now block by base type 2023-12-29 16:03:00 +00:00
Dev
ef178da29b 28375 2023-12-29 09:44:09 +00:00
Valens
7971e81ce3 Update 'project/assets/configs/inraid.json' (!181)
Updated the inraid.json to add the new Sandbox_VExit.

Reference: [SPT-AKI/Issues#219](https://dev.sp-tarkov.com/SPT-AKI/Issues/issues/219)
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/181
Co-authored-by: Valens <valens@noreply.dev.sp-tarkov.com>
Co-committed-by: Valens <valens@noreply.dev.sp-tarkov.com>
2023-12-29 09:33:24 +00:00
Dev
e27f52c505 Added system to randomise the mods on equipment found as loose/static loot
controlled via config
2023-12-28 21:31:31 +00:00
Dev
17c4d6cec0 Rework on equipment generation to process mods on an item if the item supports them instead of if the bots mods array has mods
Add new bots to bot.json
2023-12-28 18:36:37 +00:00
Dev
cf132de542 Enable sandbox for airdrops 2023-12-28 16:16:55 +00:00
Dev
dce290503c more json updates 2023-12-28 15:45:16 +00:00
Dev
7992589e3e Add missing pmc data to config 2023-12-28 15:35:57 +00:00
Dev
b9d5112528 Add new map max bot value + add generated statics data for sandbox 2023-12-28 15:30:42 +00:00