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

4178 Commits

Author SHA1 Message Date
Chomp
ce4cf5aabb Fixed cultist circle not utilising itemConfig.rewardItemTypeBlacklist 2025-01-09 09:26:38 +00:00
Chomp
3273c3233c Blacklisted TG-Vi-24 true vaccine from loot + pmcs 2025-01-08 22:15:59 +00:00
Chomp
9d2a10a748
Fix exception when heal item can't be found (#1049) 4.0.0-BE-20250108 2025-01-08 20:59:37 +00:00
DrakiaXYZ
0435b09810 Fix exception when heal item can't be found 2025-01-08 12:56:34 -08:00
Chomp
97e4fa98ff Revert "Added locationConfig.forcedRaidEndState property"
This reverts commit d578e5f001cac460d2eac10ec81465b54ac334fd.
2025-01-08 19:38:58 +00:00
Chomp
d578e5f001 Added locationConfig.forcedRaidEndState property 2025-01-08 19:30:41 +00:00
Chomp
ce1f645697 Extend christmas to 14th 2025-01-08 19:03:59 +00:00
Chomp
33591df715 Added system to strip children from containers defined in new config property tplsToStripChildItemsFrom
Fixes Christmas gifts causing strange behaviour when moved to stash as we generate container gift loot when player opens then
2025-01-08 19:03:50 +00:00
Chomp
0eb31c468f Updated quest.json values
Updated locales
2025-01-08 15:48:31 +00:00
Chomp
e31303fec9 Added killa helmet globals default preset 2025-01-08 14:53:11 +00:00
Chomp
ddb83aeb4e Updated JSONs 2025-01-08 14:52:53 +00:00
Chomp
5a5b01dc71 Disabled cursedAssault to pmc conversion 2025-01-08 12:07:11 +00:00
Chomp
2ad2774739 Blacklisted locked case from pmcs and loot reward pool 2025-01-08 12:06:47 +00:00
Chomp
60996cd330 Blacklisted case key from PMCs and item reward pool 2025-01-08 11:49:15 +00:00
Chomp
35a2d74e8f Set LowerNickname property on bot generation 2025-01-08 11:37:37 +00:00
Chomp
588e5ecb44 Blacklisted TG-Vi-24 lethal vaccine from PMCs and reward item pool 2025-01-08 10:16:08 +00:00
Chomp
8e016b0ab7 Fixed type errors 2025-01-08 10:15:02 +00:00
Chomp
61532d917d Silenced various warnings 2025-01-08 10:11:48 +00:00
Chomp
a7a92bdc6b Improved ICustomization types and matching code
Improved  `setBotAppearance` code flow
2025-01-08 09:47:40 +00:00
Chomp
929efb714a
Debug Type Check (#1046)
This updates the debug command to type check before executing the run
entry. If the check fails the debug will not continue.

This unfortunately breaks the TSX `watch` function and the debugger now
has to be manually restarted when code is changed. I've been unable to
find a solution to this.

While not ideal, an alternative is to only type-check on build and leave
debug using TSX directly, like we were. Let me know if you'd rather go
that way and get your `watch` back.

----------------

Also includes possible fixes (bbf56f7d23f729bcb12899b82f760d02abf60832)
for the two type errors that are currently holding back debug builds.

I say possible because
- I've only solved the issues with the current types and have no idea if
the types are actually correct
- Have only resolved the type errors within the IDE/TSC and have not
actually tested in game

They need to be reviewed.
2025-01-08 09:13:02 +00:00
Chomp
162acd76b6
Merge branch '4.0.0-DEV' into type-check 2025-01-08 09:12:53 +00:00
Chomp
041b419a9e
Allow setting mannequin poses (#1047)
The `MannequinPoses` property needs to be an object, not an array,
otherwise the code handling the response from the client doesn't
function correctly
2025-01-08 09:09:33 +00:00
DrakiaXYZ
d1c50e8bc3 Allow setting mannequin poses
The `MannequinPoses` property needs to be an object, not an array, otherwise the code handling the response from the client doesn't function correctly
2025-01-07 16:59:43 -08:00
bbf56f7d23
Potential Type Fixes
These are possible fixes for the two type errors that are currently holding back type checking this branch. I say possible because it's not tested in game and I've only solved the issues with the current types and have no idea if the types are actually correct.

Needs a review.
2025-01-07 19:35:37 -05:00
c5277177c3
Type Check Before Debug
This updates the npm debug command to type check before executing the run entry. If the check fails the debug will not continue.
2025-01-07 19:33:28 -05:00
Chomp
4ca19b73f7 Fixed quest/achievement customisation unlocks not working 2025-01-07 23:09:57 +00:00
Chomp
86d303fcf9 Added more questHelper fixes 2025-01-07 23:09:30 +00:00
Chomp
2e8cdce3c2 Blacklisted GARY ZONT portable electronic warfare device from PMCs and reward pools 2025-01-07 22:39:22 +00:00
Chomp
ed6f645d93 Fixed quest reward errors on quest completion 2025-01-07 22:37:41 +00:00
Chomp
145551cf5e Fixed scav repeatable quest progress not persisting after raid 2025-01-07 22:05:26 +00:00
Chomp
2e1e13e563 Replace usages of objectId.generate() with hashUtil.generate() 2025-01-07 22:04:24 +00:00
Chomp
6a2afe2fa7 Added ability to filter out PMC loot items from pool based on its value, configured via pmc.json/lootItemLimitsRub 4.0.0-BE-20250107 2025-01-07 20:28:41 +00:00
2d7fdc0dc2
Various Async improvements (#1044)
- Done some slight refactoring to `DatabaseImporter` to get rid of the
old loading methods that have been sitting unused for sometime, as well
as slightly refactoring `loadAsync` for better readability and using
map's wherever possible, this should also yield a slight performance
improvement?
- Updated VFS to use node:fs/promises rather than our own promisfying of
those methods.
- Got rid of commands on VFS, I don't see why these are necessary
anymore? If there's a good reason to still leave these I can revert
this.
- Changed loadImages to loadImagesAsync

---------

Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2025-01-07 18:31:22 +00:00
Chomp
2139c19a47 Cleaned up IGLobals ICustomization 2025-01-07 17:59:07 +00:00
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
Chomp
4bd275ddab
Updates SWC & Moves to ESNext (#1043)
Also removes some `.swcrc` options that are already the defaults.
2025-01-07 16:52:44 +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