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

60 Commits

Author SHA1 Message Date
Chomp
682605dbf9 Added missing scar x-17 preset 2025-02-02 12:11:06 +00:00
Chomp
4839547e6d Blacklisted 67408903268737ef6908d432-contraband box from reward pool 2025-01-19 10:03:03 +00:00
Chomp
743a78c5c9 Blacklisted prestige armbands from rewards 2025-01-16 18:27:25 +00:00
9c17464ae3
File System (#1050)
This adds the `FileSystem` and `FileSystemSync` classes to replace the
VFS class. These classes handle file system operations using `fs-extra`
for most tasks, except where the `atomically` package can be used to
improve reads and writes. The goal is to ensure that file operations are
as safe as possible while still providing a comfortable API. File
operation atomicity is focused on single files, as there's no trivial,
strict way to ensure atomicity for directory operations.

## Changes
- Adds `FileSystem` class for asynchronous file operations
- Adds `FileSystemSync` class for synchronous file operations
- Updates `atomically` to `2.0.3`
- Updates build script to transpiles ESM modules
- Resolves `AbstractWinstonLogger` bug that could cause a log file to be
overwritten
- Removes `VFS` class
- Removes `AsyncQueue` class
- Removes `proper-lockfile` package

## TODO

- Test anything that touches a file.

I'm leaving this in a draft state until I can test this further. Help is
more than welcome at this point. The classes are pretty solid, but
ensuring that they're being used properly throughout the existing code
still needs work.

---------

Co-authored-by: Chomp <dev@dev.sp-tarkov.com>
2025-01-09 10:50:39 +00:00
Chomp
3273c3233c Blacklisted TG-Vi-24 true vaccine from loot + pmcs 2025-01-08 22:15:59 +00:00
Chomp
e31303fec9 Added killa helmet globals default preset 2025-01-08 14:53: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
588e5ecb44 Blacklisted TG-Vi-24 lethal vaccine from PMCs and reward item pool 2025-01-08 10:16:08 +00:00
Chomp
2e8cdce3c2 Blacklisted GARY ZONT portable electronic warfare device from PMCs and reward pools 2025-01-07 22:39:22 +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
4d039bf869 Added 6B47 Ratnik-BSh helmet (EMR Arctic cover) itemPreset default 2025-01-07 11:51:58 +00:00
Chomp
4dc9c916e1 Blacklisted 2 additional test keys 2025-01-04 18:31:37 +00:00
Chomp
926001c387 Blacklisted test keys: Key 2, Key 3, Key 5 2025-01-04 11:32:52 +00: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
d090147653 Blacklisted bear prestige 2 dogtags from item rewards 2025-01-03 14:34:01 +00:00
Chomp
fb4f74a94d Increased prices of christmas gifts 2025-01-03 11:16:06 +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
21aa379ccb Added Flash drive with special software to reward item and pmc blacklists 2025-01-02 23:39:05 +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
1496099061
Added secret_extraction items to reward and pmc loot blacklist 2024-12-27 20:45:18 -05:00
CWX
5864f81b1e
Merge branch 'bun' of https://github.com/sp-tarkov/server into bun 2024-12-27 20:31:22 -05:00
Chomp
234b6bea59 Added Case key and Sealed box to reward item blacklist
(cherry picked from commit 162b3570197ea34c8fa246c14c171bd931fbcadc)
2024-12-16 18:47:11 +00:00
6501958e51
Version Number & Biome Format
Updates the version number in the package.json file.
Ran the Biome formatter.
2024-12-15 22:34:34 -05:00
Chomp
dd5d26fe36 Added O-832DU Shrapnel to blacklist 2024-12-11 09:05:44 +00:00
Chomp
b41d8683b3 Added array to config to allow ignoring of item types from rewards, wired up function in itemFilterService to return values + Added built in inserts to blacklist 2024-12-09 14:41:42 +00:00
21939dcf38
Biome Format
Ran the `npm run style:fix` command. These are the code-formatting fixes.
2024-12-07 13:50:09 -05:00
Dev
bf8cf20ec8 Added Documents with decrypted data to rewardable item blacklist 2024-11-19 18:20:09 +00:00
Dev
63a15700cb Added zombie 999 sized magazines to rewardItemBlacklist 2024-11-18 08:35:55 +00:00
Dev
43bed3a8a8 Fixed hydrateLookup() storing data from handbookPriceOverride with incorrect parent keys
Increased prices of overrides
2024-11-05 09:27:21 +00:00
Dev
5cc541bc9e Blacklisted Infectious strike 2024-11-04 19:06:44 +00:00
Dev
87e47ff3f4 Added radar station parts to reward blacklist 2024-10-31 15:01:49 +00:00
Dev
e853be5f09 Blacklisted mortar strike signalling device from reward pool 2024-10-27 22:24:19 +00:00
Dev
6a171919a1 Blacklisted KOSA UAV electronic jamming device from reward pools 2024-10-15 23:05:13 +01:00
Dev
491722ce60 Added airdrop technical event crates to ItemRewardBlacklist 2024-10-09 16:42:25 +01:00
Dev
348a200149 Added secure flash drive v2/v3 to reward blacklist 2024-09-09 10:24:34 +01:00
5740774a46
Apply Biome Formatting
This is the result of running `npm run format` which applies the Biome formatting rules. Rejoice!
2024-07-23 11:12:53 -04:00
Dev
5771f1f567 Blacklisted Mark of The Unheard from reward items pool 2024-07-22 15:08:21 +01:00
Dev
06cc13c941 Added Mr Kerman's cat hologram to reward blacklist 2024-06-17 20:29:34 +01:00
Dev
d0aca73611 Added all dogtags to rewardItemBlacklist 2024-06-16 09:39:55 +01:00
Dev
013634f466 Added Documents with decrypted data to lootable blacklist 2024-06-04 19:03:47 +01:00
Dev
0574392f28 Added new lootable item blacklist and added checks to bot and map loot generator code
Remove event quest item from global blacklist and move to loot item blacklist
2024-06-04 18:57:36 +01:00
Dev
83dd0ed439 Added 660bbc47c38b837877075e47 - Encrypted flash drive to blacklist 2024-06-04 17:08:09 +01:00
Dev
30dbc85c14 Added dev balaclava to reward item blacklist 2024-04-09 12:58:26 +01:00
Dev
76733cc5db Lint JSONs
(cherry picked from commit 94c96c8ff2d7473274d043b78f0bb6d1fa1b7d0b)
2024-03-29 20:20:37 +00:00
9e818b065a add more boss items to list 2024-03-25 18:03:58 +00:00
Dev
473b0cc2e5 Blacklist bad vodka from reward pool 2024-03-25 15:40:06 +00:00
a41bcd883e add missing boss items to item.json 2024-03-24 13:12:07 +00:00