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

4277 Commits

Author SHA1 Message Date
Chomp
d1d2adcc78 Added function addMissingInternalContainersToProfile that runs on profile creation 2024-12-30 17:10:52 +00:00
Chomp
43a0950e5b Removed unused code from getHandledRoutes 2024-12-30 16:56:35 +00:00
Chomp
d5f9c1f253 Implemented updated endpoint for applying clothing to a players character
Fixed dogtag customisation choice not being saved to the correct parameter

Removed dead endpoint
2024-12-30 16:55:32 +00:00
Chomp
502f08c414 Added globalLootBlacklist to pmc config
Reworked `PmcLootGenerator` to make use of new property
Unified how pocket/vest/backpack slots create blacklist
Utilise set when combining blacklist sources

Blacklisted prestige dogtags from reward pool and PMC loot
2024-12-30 16:27:24 +00:00
Chomp
84e0236caa Fixed tests 2024-12-30 13:40:45 +00:00
Chomp
e71ae911b5 Removed evil spirits quest (lacks locale data)
Added missing quest images

Removed old christmas quests from `eventQuests` dictionary
Added new christmas quests to `eventQuests` dictionary
2024-12-30 12:49:01 +00:00
Chomp
3abc73e802 Code lint 2024-12-30 09:56:39 +00:00
Chomp
a4f6fdfa70 Log when generating flea offers 2024-12-30 09:55:26 +00:00
Chomp
44a84afffe Added killas christmas helmet to event 2024-12-30 09:14:21 +00:00
4afc2f5c96
Development Strict Mode (#1006)
- Enables TS strict mode
- Adds script to check types
- Adds workflow to run check-type script
- Updates the code-checking workflows to share the same set-up job

This updates the `tsconfig.json` option to enable strict mode.
*However*, we use TSX for development and SWC for release, which do not
type-check, so this option only gives additional linting/visual-feedback
in VSCode.

Additionally, I've added a NPM script `npm run lint:types` and a GitHub
workflow that runs it.

**This depends on #1005.**

---------

Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2024-12-30 09:13:15 +00:00
995a3d0c5a
Updates to Node v22.12.0 LTS (#1005)
- Updates version numbers in `.nvmrc`, `package.json`, and
`Server.code-workspace`
- Updates `@yao-pkg/pkg`, `@yao-pkg/pkg-fetch`, and `@types/node` to
latest
- Updates JSON import to FS read operation in `gulpfile.mjs`
- Updates node build target in `gulpfile.mjs`

Tested with local runs, Windows builds, and Linux builds. Have not
tested a Windows build on Linux, but see no reason it wouldn't work.
*[knocks on wood]*

I feel this is safe to merge.
2024-12-30 09:01:11 +00:00
9aadae00e9
TSX Support (#1004)
- Adds support for `tsx`
- Drops support for `ts-node`, `ts-node-dev`, and `tsconfig-paths`
- Changed workspace debug configuration to use `tsx` in watch mode
- Changed `npm run run:debug` command from using gulp to running `tsx`
directly (not in watch mode)
- Changed TypeScript settings for improved module handling
- Changed TypeScript to be a development dependency

Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2024-12-29 21:01:50 +00:00
Chomp
a29533aa9f Added handling of prestige level dogtags 2024-12-29 20:47:59 +00:00
Chomp
12bfdb135e Fixed incorrect ID issue 2024-12-29 20:43:52 +00:00
Chomp
d8ed1ab9c0 Fixed typo issue 2024-12-29 20:35:53 +00:00
Chomp
b6bb71ada0 Improved getCustomisationStorage() handling of new profiles just after creation 2024-12-29 20:31:32 +00:00
Chomp
a812f30cc0 Fixed replaceIDs replacing hideoutCustomizationStashId IDs 2024-12-29 20:19:25 +00:00
Chomp
d32638cd7d Updated getCustomisationStorage endpoint to take into account calling profiles game version 2024-12-29 20:11:14 +00:00
Chomp
80abf1c868 Updated hideout area data 2024-12-29 19:36:50 +00:00
Chomp
831368588e Added missing hideoutCustomizationStashId property to EoD account template 2024-12-29 14:39:26 +00:00
Chomp
96605479cf Cleaned up prestige related types 2024-12-29 14:19:25 +00:00
Chomp
411925654b Updated JSONs
Regenerated production quest ids + item tpls
2024-12-29 14:08:59 +00:00
Chomp
9712bb1bf0 Added quests 2024-12-29 13:56:20 +00:00
Chomp
5d3fe4ad2b 34501 2024-12-29 12:34:29 +00:00
Chomp
2538b2d233 Fixed ground zero not appearing on deploy screen 2024-12-28 16:55:05 +00:00
Chomp
446dffba49 Added type to prestige endpoint 2024-12-28 10:09:42 +00:00
Chomp
b77c2825e3 Cleaned up type duplication inside locationbase 2024-12-28 09:55:19 +00:00
Chomp
987137c38f Fixed return type errors 2024-12-28 09:49:40 +00:00
Chomp
1f01bea20a Updated location path data 2024-12-28 09:49:14 +00:00
43b9d6bb21
Updates Version Numbers 2024-12-27 22:13:02 -05:00
6d92b4d9c0
Pulls type from request.customisation instead of request 2024-12-27 21:34:47 -05:00
ad94814c9a
Adds default object key to abide by type 2024-12-27 21:33:12 -05:00
059b4b8a30
Adjusts case of import 2024-12-27 21:32:41 -05:00
Chomp
7fd76cf297
Added more missing prestige images 2024-12-27 20:46:23 -05:00
Chomp
2decc21346
Fixed profile creation not using supplied name 2024-12-27 20:46:15 -05:00
Chomp
cf9a901d69
Fixed typo 2024-12-27 20:45:40 -05:00
Chomp
a5397ba5ab
Fixed loadImages() 2024-12-27 20:45:31 -05:00
CWX
35fef2779a
updated DevProfiles back to EoD 2024-12-27 20:45:24 -05:00
Chomp
1496099061
Added secret_extraction items to reward and pmc loot blacklist 2024-12-27 20:45:18 -05:00
Chomp
3b945b8b84
Set BotLocationModifier.KhorovodChance value during christmas 2024-12-27 20:45:04 -05:00
Chomp
cb68bf83c6
Added null guards 2024-12-27 20:43:08 -05:00
Chomp
4740fa8cf1
Enabled Khorovod tree during christmas 2024-12-27 20:43:00 -05:00
Chomp
f210e5e53d
Updated bot difficulty settings 2024-12-27 20:42:55 -05:00
Chomp
f953994c27
Updated PMC difficulty values 2024-12-27 20:42:49 -05:00
Chomp
48abbfcba3
Added implementation for setClothing
Fixed incorrect return type for `getStorage`
2024-12-27 20:42:44 -05:00
Chomp
c349bc4f63
Update location base JSONs + added new location property 2024-12-27 20:42:38 -05:00
Chomp
b8bb6b921f
Expanded new endpoints
# Conflicts:
#	project/src/callbacks/CustomizationCallbacks.ts
#	project/src/callbacks/HideoutCallbacks.ts
#	project/src/controllers/CustomizationController.ts
#	project/src/controllers/HideoutController.ts
2024-12-27 20:42:08 -05:00
Chomp
6c3a939282
Added various missing images 2024-12-27 20:40:08 -05:00
Chomp
5d08bd501c
Stubbed out hideoutCustomizationApply event 2024-12-27 20:40:03 -05:00
Chomp
8b457dc6d1
Updated PMC item pools to include new weapons/items 2024-12-27 20:39:57 -05:00