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

3868 Commits

Author SHA1 Message Date
Chomp
0397c9e121 Improved weapon mod limit check for mounts - do not prevent sub-mounts being added to existing mounts (e.g. red dots on top of scope mounts) 2024-12-06 15:42:53 +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
c6c983372d
Create FUNDING.yml
Should add a sponsor button to the GitHub overview page for the server repo. Adds our Patreon and Chomp's Ko-Fi.
2024-12-04 22:10:00 -05:00
Chomp
2527823208 Formatting changes 2024-12-03 16:52:20 +00:00
Chomp
9b7c31e36f Added nullgaurd to getQuestRewardItems() to protect against invalid custom quests 2024-12-03 16:50:54 +00:00
Chomp
a16aaf270f Renamed parameter to improve readability 2024-12-03 11:53:49 +00:00
Chomp
e5fb672579 Fixed price discrepancy between trader and flea price for trader items, resolves #968 2024-12-03 11:53:22 +00:00
Chomp
b48c1153e1 Removed unused subfunction from getAssort 2024-12-03 11:51:44 +00:00
Chomp
73186a2240 Improved comments inside ragfairOfferHelper + small refactor of trader offer checks inside getOffersForBuild 2024-12-03 10:16:55 +00:00
Chomp
97edac5a0e Merge branch '3.10.2-dev' of https://github.com/sp-tarkov/server into 3.10.2-dev 2024-12-03 10:01:35 +00:00
Chomp
5134c9d375 Flagged createUserDataForFleaOffer as protected 2024-12-03 10:00:43 +00:00
Chomp
b6f161acaa
Add comments to ILocationBase, (#965)
Information extracted using DNSPY on the assembly
2024-12-02 14:33:55 +00:00
DeadLeavez
4de4b42b1b Add comments to ILocationBase, Information extracted using DNSPY on assembly 2024-12-02 15:19:55 +01:00
Chomp
633b11d415
Directly reference equipment id instead of using .find when retrieving other player's profile (#963)
This fixes an edge-case where the `.find` could return a gear rack
mannequin's equipment instead of the player's if their inventory isn't
in the order expected.
2024-12-02 09:01:03 +00:00
sgtlaggy
22b57b1377 directly reference equipment id instead of using .find 2024-12-01 15:27:00 -08:00
Chomp
93c34bd189 Added edge-case handling of PT locale inside getPlatformForServerLocale() 2024-12-01 19:09:49 +00:00
Chomp
8d5eb3586c Updated version string 2024-12-01 10:41:05 +00:00
Chomp
ad41c249b8 Merge branch '3.10.1-dev' 2024-12-01 10:22:36 +00:00
Chomp
6562d05142 Fixed configureZombies() incorrectly handling location ids 2024-12-01 10:21:47 +00:00
Chomp
016fc2a51e Ensure verifyQuestProductionUnlocks() skips quests that cannot be found in db 3.10.1 2024-11-30 22:42:02 +00:00
Chomp
e5067b09e5
Add quest production unlocks to the PMC Profile fixer service (#959)
Resolves an issue where sometimes quest production unlocks get removed
from the profile, resulting in users being locked out of crafting
stations due to uncollectable productions
2024-11-30 18:30:55 +00:00
DrakiaXYZ
8b1a3158cb Add quest production unlocks to the PMC Profile fixer service 2024-11-30 10:08:51 -08:00
Chomp
063d1eaea8 Added forceSnow to seasonal mod event
Moved majority of code into `handleModEvent` to help modders handle custom events via method overriding
2024-11-30 14:13:18 +00:00
Chomp
dd88571e29 Flagged christmas gifts as being part of christmas event 2024-11-30 12:23:43 +00:00
Chomp
4542f5e467 Updated sptVersion property 2024-11-28 16:59:13 +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
1bd3ea2f98
Target logform 2.6 specifically, as 2.7 included a breaking change (#953)
Fixes the compilation issue on fresh checkout
2024-11-27 20:33:38 +00:00
DrakiaXYZ
53408dfc2a Target logform 2.6 specifically, as 2.7 included a breaking change 2024-11-27 12:31:01 -08:00
Chomp
464fa27758 Removed unused effects property from client/hideout/workout endpoint 2024-11-27 12:04:08 +00:00
Chomp
4b9c02e441 Fixed typo in readme 2024-11-27 09:39:54 +00:00
3dd9ce1c38
Merge branch '3.10.0-DEV' 3.10.0 2024-11-26 09:51:57 -05:00
058ed22fe5
README Version Number Updates 2024-11-26 09:50:34 -05: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
Chomp
45d55ff307 Renamed function to match endpoint 2024-11-25 13:49:35 +00:00
Chomp
b9991b3825 Added spawn limit of 1 to toolkit on followerSanitar 2024-11-25 09:15:32 +00:00
617a068556
Github Migration - Issue Template
Updates issue template to be more clear how logs should be attached.
2024-11-24 23:42:04 -05:00
e1fc75844d
Github Migration - Issue Template
The issue template was not loading. This renames the directory to be uppercase, as the docs specify.
2024-11-24 23:25:07 -05:00
31079e4ebf
Github Migration - Workflows & Issue Template
- Replaces the Gitea workflows with Github workflows.
- Adds a Github issue template.

(The reason this is being done directly on master is because it's the branch that the issue templates load from.)
2024-11-24 22:58:59 -05:00
Chomp
967330132f Formatting changes 2024-11-24 18:33:23 +00:00
Chomp
effcc37e68 Fixed checkForAndFixPickupQuestsAfterDeath() running when the player was alive
Removed old code that did the same but wasn't working
2024-11-24 18:29:04 +00:00
Chomp
92c2b11f71 Regenerated ItemTpl enum 2024-11-24 18:22:02 +00:00
Chomp
6ef18e1835 Made getDesiredServerLocale() public 2024-11-24 17:52:48 +00:00
Chomp
1376a25439 Fixed typo 2024-11-24 17:01:21 +00:00
Chomp
946cf10659 Second pass at ensuring failed quests let player pick items up in raid
Now checks if multiple quests match requirements, fails when >1
2024-11-24 17:00:10 +00:00
Chomp
7ba772d458 Fixed issue where player dying with a quest item would prevent the quest item from appearing in a raid again due to the profile flagging the quest item as being picked up 2024-11-24 15:47:03 +00:00
Chomp
d2c0775b90 Further reduced WINTER season to 20 days 2024-11-23 22:01:24 +00:00
Chomp
320835f122 Fixed dep injection issue causing server to not start - http server isn't capable of injecting DatabaseService
Made `PostDbLoadProcess` error out if db validation fails
2024-11-23 15:38:58 +00:00