Commit Graph

2402 Commits

Author SHA1 Message Date
Valens
a425b1bc4b Fix weightingAdjustmentsBybotLevel (!315)
Fixed linting/syntax of the weightingAdjustmentsByBotLevel function to properly end equipment and start clothing as part of IAdjustmentDetails.

Additionally, added the "add" subfunctions to equipment for the last three levelRanges as they were missing.

Co-authored-by: VforValens <8889280+VforValens@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/315
Co-authored-by: Valens <valens@noreply.dev.sp-tarkov.com>
Co-committed-by: Valens <valens@noreply.dev.sp-tarkov.com>
2024-04-29 15:03:42 +00:00
chomp
b6926c1bf9 Improved about 5-10% performance on botgen and fixed bug that would skip containers when generating items that wouldnt fit in pockets (!314)
Co-authored-by: clodan <clodan@clodan.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/314
2024-04-29 13:27:07 +00:00
Dev
619137417b Adjusted PMC loot/stam values due to earlier fixes to loot generation 2024-04-29 14:25:24 +01:00
Alex
55d913d0f6 Fix give command for multiple profiles and added blacklist filter (!313)
Co-authored-by: clodan <clodan@clodan.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/313
Co-authored-by: Alex <clodan@noreply.dev.sp-tarkov.com>
Co-committed-by: Alex <clodan@noreply.dev.sp-tarkov.com>
2024-04-29 10:13:10 +00:00
Dev
a1070f941c Added extra guard against adding cartridges to box sold by fence
Skip adding cartridges to ammo box inside `addCartridgesToAmmoBox()` if cartridge already exists
2024-04-28 23:04:37 +01:00
Dev
995d50dba4 made use of function addUpdObjectToItem() 2024-04-28 22:50:39 +01:00
Dev
15348cec35 Fixed water bottles lacking a FoodDrink property in EoD profiles 2024-04-28 22:42:39 +01:00
Dev
b9973e609f Fixed issue with water bottles having no upd object in rare cases killing client 2024-04-28 22:39:17 +01:00
Dev
ddd5d69eda Added 2 additional pmc kill messages 2024-04-28 14:33:30 +01:00
Dev
30ee6de4a2 Added 2 additional PMC responses 2024-04-27 22:02:06 +01:00
Alex
a1e48ca245 Added profile and trader commands to commando (!309)
Added new spt commands for commando to alter profile levels and skill, as well as trader rep and money spent.

Co-authored-by: clodan <clodan@clodan.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/309
Co-authored-by: Alex <clodan@noreply.dev.sp-tarkov.com>
Co-committed-by: Alex <clodan@noreply.dev.sp-tarkov.com>
2024-04-27 16:56:28 +00:00
Dev
d7a8e1558a Fixed missing mod_mount data in PMCs, should reduce chance of seeing low level PMCs with helmet attachments
Reduced chance of mount on equipment to 1 for level 1-14 PMCs
2024-04-27 10:22:41 +01:00
Dev
a2886f102b Adjusted scav raid time for streets 2024-04-26 21:21:17 +01:00
Dev
f566ea8620 Fixed barter traders that required multiple of a stack removing the entire stack instead 2024-04-26 15:54:43 +01:00
Dev
dd6d7e192f Fixed coop exit usage not updating scav profile fence rep value in a similar way to car extracts do 2024-04-26 14:06:18 +01:00
Dev
3bbef3fd0c Added unheard gift code 2024-04-26 10:20:33 +01:00
DrakiaXYZ
ea38e50cca If the trader updateTime is missing min/max use defaults (!307)
This is just another catch for people trying to run outdated trader mods, will use default refresh time instead of returning null for the trader update seconds.

Lets users know in the console right off the bat that there's a problem with the trader

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Co-authored-by: Refringe <refringe@noreply.dev.sp-tarkov.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/307
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-04-25 17:46:27 +00:00
Refringe
fbf1d7f7fb Updates Server README (!306)
- Updates the Server project README to include additional information about installation, development, and contribuation guidelines.
- Moves the feature list to a dedicated FEATURE.md file (linked from the README.md).
- Reviewed the FEATURES.md file to clean it up a little bit.

Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/306
Co-authored-by: Refringe <me@refringe.com>
Co-committed-by: Refringe <me@refringe.com>
2024-04-25 17:26:47 +00:00
Refringe
dce2ccbcfd
Workflow: Attempt to fetch before checking out the PR merge commit by hash 2024-04-25 01:43:03 -04:00
Refringe
432ae73a6b
Workflow: Incorrect install npm working directory 2024-04-25 01:34:35 -04:00
Refringe
593121e5a7
Workflow: Try using the branch for pushes, and sha for PRs 2024-04-25 01:27:52 -04:00
Refringe
ea0b4bdeed
Workflow: Reference the current branch in the clone command. 2024-04-25 00:47:42 -04:00
Refringe
900e0e6a15
Workflow: Running into walls. Work from a subdirectory. 2024-04-25 00:39:24 -04:00
Refringe
bf7f5c943c
Workflow: Start the clone step from the workspace directory 2024-04-25 00:34:02 -04:00
Refringe
3e2e2e47df
Workflow: Use the workspace environment variable 2024-04-25 00:27:18 -04:00
Refringe
1495587b43
Workflow: Attempts to access the environment variables differently 2024-04-25 00:18:27 -04:00
Refringe
ba4e26585b
Workflow: Adds debugging information 2024-04-25 00:10:32 -04:00
Refringe
391834081e
Workflow: Reverts to manual checkout, swaps to using GITHUB_REF 2024-04-25 00:06:29 -04:00
Refringe
d47f7e3b13
Workflow: Pull LFS files manually. Checkout doesn't like us. 2024-04-24 23:42:17 -04:00
Refringe
cfdea7d325
Workflow: Tests the checkout action 2024-04-24 23:31:39 -04:00
Refringe
d8504950f2
Additional Card Limits to Glukhar Guards
This refines the previous commit to only allowing Glukhar to spawn a Labs access key card. His guards will not spawn any.
2024-04-24 09:57:17 -04:00
Refringe
d68734e571
Limits Glukhar Labs Access Cards
This change limits the number of Labs Access Cards that can spawn on on Glukhar and his guards to one. We had a report of three spawning on Glukhar, and two spawning on one of his guards, all in the same raid.
2024-04-24 09:37:16 -04:00
Dev
a3c8faaaaa Remove core from getAllBotDifficulties() 2024-04-24 13:05:37 +01:00
Dev
76db8ca5e8 Add assaultGroup bot with their settings from game client 2024-04-24 12:39:49 +01:00
Dev
fc6d84ad7d Merge branch '3.8.1-DEV' of https://dev.sp-tarkov.com/SPT-AKI/Server into 3.8.1-DEV 2024-04-24 10:09:51 +01:00
Dev
60eb6bfe80 Improve data returned from getAllBotDifficulties() 2024-04-24 10:09:37 +01:00
DrakiaXYZ
316234e9ae Fix TradersInfo nextResupply if it is null in profile data (!305)
Add test covering fixNullTraderNextResupply

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/305
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-04-24 07:13:31 +00:00
Dev
6e262a228f Add optional param to ignore raid settings chosen by player during getAllBotDifficulties() 2024-04-23 22:41:00 +01:00
Dev
d49bf4a378 Replace single letter variables with better names 2024-04-23 21:07:34 +01:00
nader
96208ed95f add getters (and additional setter) to FenceService (!304)
resubmitting PR targeting 3.8.1-DEV

Co-authored-by: Nader <nader@cloudkraken.dev>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/304
Co-authored-by: nader <nader@noreply.dev.sp-tarkov.com>
Co-committed-by: nader <nader@noreply.dev.sp-tarkov.com>
2024-04-23 19:21:21 +00:00
Terkoiz
d41a40b2d2 Updated the PMC name list with more modders and prominent community members (!303)
Co-authored-by: Terkoiz <terkoiz@spt.dev>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/303
Co-authored-by: Terkoiz <terkoiz@noreply.dev.sp-tarkov.com>
Co-committed-by: Terkoiz <terkoiz@noreply.dev.sp-tarkov.com>
2024-04-23 19:16:56 +00:00
Dev
0ab5ca6dee Prevent check from failing when upd object is missing 2024-04-23 19:38:45 +01:00
Dev
8761462acd Update server locales with data from crowdin 2024-04-23 17:14:21 +01:00
Dev
522306b9b1 Fixed error message inside isModCompatible() not showing the name of a mod correctly 2024-04-23 17:08:20 +01:00
Dev
9862336645 Remove file added by mistake 2024-04-23 11:16:28 +01:00
micyael
1881a0842a Fixed incorrect handbook price using CustomItemService (!301)
The handbookPriceRoubles member of base class NewItemDetails was never used to create the new item.

Co-authored-by: Refringe <me@refringe.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/301
Co-authored-by: micyael <micyael@noreply.dev.sp-tarkov.com>
Co-committed-by: micyael <micyael@noreply.dev.sp-tarkov.com>
2024-04-23 10:15:29 +00:00
Dev
8366dd355d Added logging to removeRandomItemFromAssorts() when no upd object found 2024-04-23 10:01:41 +01:00
Dev
d2cf495426 Merge branch '3.8.1-DEV' of https://dev.sp-tarkov.com/SPT-AKI/Server into 3.8.1-DEV 2024-04-23 09:34:58 +01:00
Dev
f82cbc189b Improved how drawAmmoTpl() handles bad static ammo distribution data input 2024-04-23 09:34:01 +01:00
Refringe
01d97953fa
Fixes Linting Issues
Fixes a number of Biome linting issues:
- Variable implicitly has the any type.
- Use a function type instead of a call signature.
- Reassigning a function parameter is confusing.
- Suppression comment is not being used
2024-04-22 23:43:35 -04:00