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

1000 Commits

Author SHA1 Message Date
Chomp
580af48b44 Fixed typo 2024-12-27 18:53:29 +00:00
CWX
27f8c3bcc4 updated DevProfiles back to EoD 2024-12-27 16:27:01 +00:00
Chomp
a2eb344fc2 Updated bot difficulty settings 2024-12-27 16:02:31 +00:00
Chomp
2ff55153f0 Updated PMC difficulty values 2024-12-27 15:45:10 +00:00
Chomp
8dd490f92a Update location base JSONs + added new location property 2024-12-27 14:38:40 +00:00
Chomp
4fc76d580a Updated PMC item pools to include new weapons/items 2024-12-27 12:27:23 +00:00
Chomp
bc7ea6b2ad Updated profile templates 2024-12-27 12:12:15 +00:00
Chomp
23dfbe27ae Updated statics data for maps 2024-12-27 10:38:54 +00:00
Chomp
e37c315694 Updated customs statics 2024-12-27 10:13:38 +00:00
Chomp
ccc369cef5 Added questids to productions 2024-12-27 09:35:28 +00:00
CWX
3d2b45f1a5 change to membercategory 1 for Dev, BSG now dont allow DevMask in raid unless you are this category 2024-12-27 00:54:44 +00:00
Chomp
a58f6847e0 Added dogtag data to profiles 2024-12-27 00:01:14 +00:00
Chomp
163e533f6e Added new JSONs 2024-12-26 23:20:49 +00:00
Chomp
4168cc1211 Removed null value from Смотритель 2024-12-26 23:11:26 +00:00
Chomp
d5690dd403 Removed null value from btr data 2024-12-26 23:08:49 +00:00
Chomp
089cf2f2b0 Updated JSONS and matching interfaces
updated ragman clothing

Updated quests

Updated trader assorts

Updated location servcies

Added new prestige data + new classes to handle new endpoints

Added new hideout customisation endpoint
2024-12-26 20:54:19 +00:00
Chomp
9740852de4 Merge branch '3.10.4-DEV' of https://github.com/sp-tarkov/server into bun
# Conflicts:
#	project/Server.code-workspace
#	project/assets/configs/core.json
#	project/package.json
#	project/src/generators/BotGenerator.ts
#	project/src/services/BotNameService.ts
#	project/src/services/PaymentService.ts
2024-12-25 12:35:00 +00:00
Chomp
1a2cc6113b Updated server locales 2024-12-24 09:45:09 +00:00
Chomp
db5701fd65 Updated shoreline data 2024-12-23 16:46:48 +00:00
Chomp
74e1119b8c Updated bot data 2024-12-23 09:49:34 +00:00
Chomp
8a9a5a73d8 Updated location data 2024-12-23 09:49:03 +00:00
0368a230fb
BunJS Runtime, Updated Build System, and... (#992)
This is a big one. 🔥

**Changes:**
- Targets next major release (v4.0.0)
- Switch runtimes from NodeJS to BunJS (bun.sh)
- Typescript library support moved to `ESNext`
- Typescript compile option `verbatimModuleSyntax` enabled
    - Updated all interfaces to be imported explicitly as types
- Strict mode enabled
- Reduces the number of tsconfig files
- Pins all dep packages to specific patch versions
- Includes Bun lock file in repo (doesn't cause issues like the
package-lock did)
- Replaces Gulp with a new Typescript based build system
- Adds `core-js` as a workaround for Bun not playing nice with
`reflect-metadata`
- Removes `pkg` and `swc` (Yay Bun!)
- Updated package scripts and entry point system to be more intuitive
- Updated VSCode workspace configurations
- Updated `.gitignore` to align with updated project structure
- Updated Biome configuration to align with updated project structure
- `Program.ts` - Removes call to set encoding on the process
- `global.d.ts` - Added underscores to build globals to match other
global names
- `JsonUtil.ts` - Replaced old `fixJson` package with newer `jsonrepair`
package
- `HashUtil.ts` - Replaced old `buffer-crc32` package with built-in
`node:zlib` package
- `DatabaseImporter.ts` - Updates database validation object to be flat,
where the keys are the relative path to the file
- `BunTimer.ts` - Adds an easy to use timer class that's compatible with
nanoseconds.

**TODO:**
- Look into mod loading. I think we use a TS transpiler for mods and I
believe that can be removed now.
- Bun includes a number of APIs that can be used in place of Node's
packages (built-in or otherwise); HTTP server, WebSocket server, File
IO, Hashing, File Globing, Testing... Each of these should be utilized
where ever possible.
- Update in-repo documentation to reference BunJS instead of NodeJS.
2024-12-21 22:46:39 +00:00
Chomp
fae965797d Forced infectedTagilla to have 1 loot item 2024-12-17 17:33:40 +00:00
Chomp
065cef3759 Weight infectedTagilla to have 3 magazines 2024-12-17 17:26:20 +00:00
ec5227a05f
Merge branch '3.10.3-DEV' 2024-12-15 22:35:08 -05:00
Chomp
ada2fd7717 Updated bot loot weights
(cherry picked from commit bd5dd9df9bd9cfe2ea82c7d368e5fd7c6bfd9071)
2024-12-13 17:06:44 +00:00
Chomp
9bf6ee3a5e Updated bot JSON data 2024-12-13 10:08:46 +00:00
Chomp
f12a5d3029 Updated location data 2024-12-12 22:31:30 +00:00
Chomp
a9c05980df Updated flea prices + sort dictionary by key 2024-12-12 17:01:35 +00:00
Chomp
bd8cc26535 Updated JSONs 2024-12-12 16:51:10 +00:00
Chomp
dc3258d986 Full refresh of trader assorts 2024-12-12 16:17:52 +00:00
Chomp
9f0f09707c Fixed 2 additional placeholder quest reward properties 2024-12-12 16:17:26 +00:00
Chomp
f743d1f59d Fixed placeholder quest reward properties for reconnaissance 2024-12-12 16:10:28 +00:00
Chomp
8f001ff8f0 Updated spanish locale 2024-12-12 14:25:43 +00:00
Chomp
32c0bc0348 Added 5 missing properties to quest.json file 2024-12-12 14:02:52 +00:00
Chomp
9f551d0e41 Updated server locales 2024-12-10 13:25:10 +00:00
Chomp
2abf216a07 Using live data, improved emulation accuracy of repeatable quest system 2024-12-09 23:23:31 +00:00
Chomp
a15a28e460 Updated JSON data 2024-12-09 20:19:28 +00:00
Chomp
bfacb09268 Added Thats a Great Plan Walter quest 2024-12-09 19:33:46 +00:00
stella
631c63a817 Revise PMC names 2024-12-09 09:56:21 -07:00
Chomp
e6e568f62c Manually added back Christmas tree hideout area using 2023 Christmas data 2024-12-07 10:35:26 +00:00
6c9e4fd0bb
Custom LFS Sever (#970)
We've created our own Git Large File Storage (LFS) server due to the
excessive cost of GitHub's bandwidth. Did you know all of their Ethernet
cables are actually gold coated diamonds?

This PR reverses the work done in #954 to compress large location JSON
files into a 7zip archive and handle the (de)compression of the archive.

Only JSON files within the `project/assets/database/` directory that are
larger than 5MB have been included in LFS. This translates to all of the
`looseLoot.json` files. The rest are small enough to be included in the
base repo.

A `.lfsconfig` file has been added to the root of the project to alert
git to the presence of the custom LFS server. This public server is
read-only. Write access is only available to developers within the
Single Player Tarkov GitHub organization.

<img
src="https://github.com/user-attachments/assets/7ddfec9b-5a9a-42e6-806d-fd419e4eaa4f"
width="250">
2024-12-06 13:56:05 +00:00
f55861528a
Compress Database Location Files (#954)
Due to LFS storage issues... This PR removes all current LFS files (the
location loot files) and replaces them with a single 7-zip archive. The
archive is stored in LFS, but has decreased in size by roughly 95%.

The location `.json` files are now git-ignored.

There are two new npm commands to aid in working with the archive:
- `npm run database:compress`  
Compresses the JSON files into an archive *which can be committed into
the project*.
- `npm run database:decompress`  
Decompresses the archive into the original JSON files located in the
working directory.

The gulp file that handles builds has been updated to ensure that the
archive files are *always* used when a build is processed, regardless of
if the JSON files are already present in the working directory.
2024-11-28 15:51:53 +00:00
Chomp
604a408afc Updated locale data using latest crowdin snapshot 2024-11-26 11:38:39 +00:00
Chomp
cc75864756 Updated locations 2024-11-25 19:25:24 +00:00
Chomp
1c9588cc34 Updated bot JSONs 2024-11-25 17:49:58 +00:00
Chomp
6c31d10cb8 Merged majority of old data into existing sanitar follower JSON 2024-11-25 15:18:11 +00:00
DrakiaXYZ
9a8cf9a8a9 Add MongoID validation to databaseService
- Validate that quests, traders, items and customizations all have MongoID IDs
- If any validation fails, output an error and stop server startup
2024-11-22 23:01:11 -08:00
Dev
269174fc6d Updated interface with new property + Updated JSONs 2024-11-22 18:07:18 +00:00
Dev
07e3ef06d0 Updated flea prices 2024-11-22 15:56:02 +00:00