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

4142 Commits

Author SHA1 Message Date
Chomp
0b82c617c1 Fixed incorrect type 2025-01-07 17:50:54 +00:00
Chomp
93859dbdcd Removed debug code 2025-01-07 17:47:18 +00:00
Chomp
7826f4d095 Merge branch '4.0.0-DEV' of https://github.com/sp-tarkov/server into 4.0.0-DEV 2025-01-07 17:45:28 +00:00
Chomp
f5ac224b37 Added functionality to add customisations gained from achievements to profile upon completion of raid 2025-01-07 17:45:18 +00:00
Chomp
e7f5d9d0a2 Fixed incorrect types found in globals 2025-01-07 17:44:39 +00:00
24dbcf2e20
Updates SWC & Moves to ESNext
Also removes some `.swcrc` options that are already the defaults.
2025-01-07 11:46:04 -05:00
Chomp
7e606376c5 Fixed getGameMode return type 2025-01-07 16:40:11 +00:00
7190557805
Biome Configuration Updates (#1042)
See 0d1e1ba3591458bb195812232d3b8c3345abbeaa for actual changes. The
rest is from running the `style:fix` script.

- Consolidated ignores
- Enabled for `ModCompilerService.ts`
- Added a format ignore line to `ModCompilerService.ts` to prevent
mappings from being affected
- Enabled for `jsonc` file types

---------

Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2025-01-07 15:36:08 +00:00
Chomp
f1b1dd46eb Fixed incorrect types inside playerscav.json 2025-01-07 15:07:10 +00:00
Chomp
c194459a14 updated customisationStorage file with new profile defaults 2025-01-07 15:03:58 +00:00
Chomp
0ef36fa5bc Fixed incorrect type for backendPort 2025-01-07 15:03:32 +00:00
Chomp
35287b46d7 Fixed incorrect types 2025-01-07 15:02:12 +00:00
Chomp
20ec7f9858 Created new class QuestRewardHelper, migrated reward code from QuestHelper 2025-01-07 13:32:09 +00:00
Chomp
3e760e88e4 Added code to add hideout customisation unlocks to profile when quest completion rewards an achievement
Fixed inaccurate `rewards` type for achievement object
2025-01-07 13:06:28 +00:00
Chomp
b0d3d68d01 Moved dogtag customisation options into profile controller instead of inside client/customization/storage handler
Renamed variable to better reflect what it holds
2025-01-07 12:51:16 +00:00
Chomp
9b16af7cb6 On quest completion, store hideout customisation unlocks inside profile json
Append the unlock customisations to results of `client/customization/storage` call

Added `hideoutCustomisationUnlocks` to profile on creation
2025-01-07 12:47:32 +00:00
Chomp
4d039bf869 Added 6B47 Ratnik-BSh helmet (EMR Arctic cover) itemPreset default 2025-01-07 11:51:58 +00:00
Chomp
0755c5d504 Updated JSONs 2025-01-07 11:46:47 +00:00
Chomp
808c97be5d Added Illegal Logging quest image 2025-01-07 11:36:17 +00:00
Chomp
7fcdfa7a56 Added nullguard to hideoutCustomizationSetMannequinPose 2025-01-07 11:28:57 +00:00
Chomp
57a56440f7 Implemented hideoutCustomizationSetMannequinPose endpoint 2025-01-07 11:19:19 +00:00
Chomp
180af283be Updated PMC difficulty values 2025-01-06 21:50:37 +00:00
Chomp
af06b51239 Blacklisted KOSA and mr kerman from pmc loot pool 2025-01-06 20:22:28 +00:00
Chomp
3c9688cd6d Blacklisted Contraband box from PMC loot pool 2025-01-06 20:21:32 +00:00
Chomp
0835ad6ca0 Added more bot types to PMCs always hostile array + various adjustments 2025-01-06 19:32:45 +00:00
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
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 2025-01-04 13:03:46 +00:00