0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-13 05:30:43 -05:00

4117 Commits

Author SHA1 Message Date
d5891e083f
Node Version Validation
This introduces a node version validation check on server start-up. The expected node version is pulled from the `package.json`. Locally, the expected version is pulled directly. The build script writes the expected node version into the `build.json` file, which is used in the built environment. When an invalid match is made the server start-up halts.
2025-01-06 12:34:35 -05:00
ed2b90fa0a
Various fixes so biome is happy (#1032)
- Changes to import typing for ILogger and ICloner
- Targets es2022 in compilerOptions (Matching the target in .swcrc)
because otherwise Biome doesn't seem to find a proper target.
- Fixes up the seasonal event typing
- fixes run:debug to target the correct file
2025-01-06 17:09:33 +00:00
Chomp
0442f5c28c Reverted workarounds now cycling dep issue is resolved 2025-01-06 16:55:38 +00:00
Chomp
b64c46c95d Remove redundant function that requires ragfair trader that was removed awhile ago 2025-01-06 15:21:35 +00:00
Chomp
2e4f15d5a8 Reduced nesting 2025-01-06 15:16:32 +00:00
Chomp
fc7b33cd53 Fixed trader offer prices being rounded to whole int, breaking items that are sold for < 1, e.g. ammo sold for dollars
Clone trader data before we create flea offers with it, prevents contamination due to pass by reference

Moved trader item price modification for `config.traderPriceMultipler` into `onLoad` event of `TraderController`
2025-01-06 15:16:22 +00:00
Chomp
abd17c0353 Updated all trader assort BuyRestrictionMax to be integers instead of strings 2025-01-06 12:36:06 +00:00
Chomp
3cbadf9ce9 Enclosed stdout.setEncoding("utf8") inside a isTTY check 2025-01-06 11:25:48 +00:00
Chomp
873f9c7aad Fixed final circular dep 2025-01-06 10:41:31 +00:00
Chomp
733a23f994 Moved interfaces out of ISptProfile into their own files to reduce circular deps 2025-01-06 10:38:06 +00:00
Chomp
b5936286bd Moved Program statics into their own class to reduce circular dep errors from 19 to 2
Fixed various ILogger warnings
2025-01-06 10:34:21 +00:00
Chomp
dd5d1373fb Temp fix for script 2025-01-05 19:42:54 +00:00
Chomp
880dc13e0c Added various missing hideout configuration unlocks 2025-01-05 19:40:19 +00:00
Chomp
9f6269f98b Fixed errors 2025-01-05 19:39:56 +00:00
Chomp
bcadacbd36 Added more weapon mods for PMCs 2025-01-05 16:29:27 +00:00
Chomp
600be0d5cb Added more items to PMCs + added white balaclava to PMCs during Christmas 2025-01-05 15:56:28 +00:00
Chomp
7681d07ab9 Added new command to hydrate customisationStorage data 2025-01-05 15:27:27 +00:00
Chomp
19fae7ead2 Added quest images 2025-01-05 10:48:24 +00:00
Chomp
43c5ef8d61 Added new quest reward type 2025-01-05 10:44:27 +00:00
Chomp
3be5440a40 Added missing christmas gear mods to killa 2025-01-05 09:33:39 +00:00
Chomp
40a71e1e57
Fix up edge case error with tiered flea weapon builds (#1027)
Currently there is an error on the server if certain weapons or weapon
parts are selected that the user hasn't unlocked yet but attempts to use
for said weapons or parts for a build with the tiered flea, this
remedies that by never showing these parts.
2025-01-05 09:04:13 +00:00
0587fc398b Fix up edge case error with tiered flea weapon builds 2025-01-05 02:57:04 +01:00
Chomp
f541228a81 Updated JSON 2025-01-04 23:02:28 +00:00
Chomp
5537b9b521 Added missing properties to getDefaultSptDataObject() 2025-01-04 19:00:36 +00:00
Chomp
4dc9c916e1 Blacklisted 2 additional test keys 2025-01-04 18:31:37 +00:00
Chomp
2110edb9c2 Added givemesunshine command to force summer 4.0.0-BE-20250104 2025-01-04 13:03:46 +00:00
Chomp
1676ea0d2b updated forced event system to be more generic - Fixed issue with weatherConfig.overrideSeason check 2025-01-04 12:56:46 +00:00
Chomp
07b64aa696 Added hohoho command to force Christmas 2025-01-04 12:47:27 +00:00
Chomp
9138248954 Fixed forceSeasonalEvent not correctly flagging properties as enabled when forcing christmas/halloween 2025-01-04 12:41:10 +00:00
Chomp
f43666aff5 Adjusted startPostRaidInsuranceLostProcess to not throw on error - This allows the server to process insurance for non-broken traders 2025-01-04 11:58:55 +00:00
Chomp
8d31aba753 Merge branch '4.0.0-DEV' of https://github.com/sp-tarkov/server into 4.0.0-DEV 2025-01-04 11:33:24 +00:00
Chomp
926001c387 Blacklisted test keys: Key 2, Key 3, Key 5 2025-01-04 11:32:52 +00:00
Chomp
0beeab84a3
Added new Cultist Recipes to the hideout.json file (#1022)
These should be 1:1 from my own testing in PvP and PvE
You are not require to merge this (obv), I'm simply making the PR to
give ID's, and how it should work, you guys can always add it yourself.
2025-01-04 09:15:21 +00:00
5a412d80e5
Added new Cultist Recipes to the hideout.json file - these should be 1:1 from my own testing in PvP and PvE 2025-01-03 18:55:37 -05:00
Chomp
25c9fbb7c1 Added 6B13 M assault armor (Christmas Edition) price override 2025-01-03 20:57:45 +00:00
Chomp
5551a2a234 Added 6B13 M assault armor (Christmas Edition) to globals item preset overrides 2025-01-03 20:54:50 +00:00
Chomp
d86400da54 Added extra safety check when getting temp from profile + added default 2025-01-03 19:55:55 +00:00
Chomp
2c49bdda74 34510 4.0.0-BEM-20250103 2025-01-03 17:39:36 +00:00
Chomp
a5ec6d5d97 Update map base data 2025-01-03 17:38:11 +00:00
Chomp
11e8239e5b Updated GZ20+ spawn position data 2025-01-03 17:34:34 +00:00
Chomp
53b88a0cc0 Added nullgaurd to generateFenceBaseAssorts for items lacking slot properties 2025-01-03 16:11:15 +00:00
Chomp
d090147653 Blacklisted bear prestige 2 dogtags from item rewards 2025-01-03 14:34:01 +00:00
Chomp
4ac3dee831 Updated updateProfileHealthPostRaid to reset pmc temp to profile default after exiting a raid 2025-01-03 11:49:19 +00:00
Chomp
4291c03385 Fixed Cheer up targeting the wrong hideout area 2025-01-03 11:36:43 +00:00
Chomp
fb4f74a94d Increased prices of christmas gifts 2025-01-03 11:16:06 +00:00
Chomp
47769f1532 Log warning when attempting to overwrite existing preset 2025-01-03 11:14:01 +00:00
Chomp
ff4e1542f9 Added missing mtek helmets to custom itempreset system 2025-01-03 11:13:44 +00:00
Chomp
79718c311b Added ability to insert custom ItemPreset objects into globals.json on server load 2025-01-03 10:39:59 +00:00
Chomp
4d6d21b3f6 Reordered OnLoad events to ensure performPostDbLoadActions loads first 2025-01-03 10:38:30 +00:00
Chomp
2a252f19d8 Silenced undefined warning 2025-01-03 10:24:23 +00:00