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

2356 Commits

Author SHA1 Message Date
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
464fa27758 Removed unused effects property from client/hideout/workout endpoint 2024-11-27 12:04:08 +00:00
Chomp
45d55ff307 Renamed function to match endpoint 2024-11-25 13:49:35 +00: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
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
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
898582fff9 Log when player begins transit to new map 2024-11-22 18:46:57 +00:00
Dev
269174fc6d Updated interface with new property + Updated JSONs 2024-11-22 18:07:18 +00:00
Dev
218c720cdb Add extra check to transit code inside endLocalRaid() 2024-11-22 15:10:45 +00:00
Dev
2749be9a4b Fixed client error caused by server providing an invalid mongo_id for nameTaskConditionCountersCraftingId 2024-11-21 16:21:19 +00:00
Dev
75caa6d989 Fixed casing issue with getLocationFromInfectedLocation() 2024-11-21 13:16:13 +00:00
Dev
9632238fab Added removeInvalidTradersFromProfile to core.json config to allow cleanup of incorrect trader data in profile 2024-11-20 10:49:18 +00:00
Dev
1aecd7680e Merge branch '3.10.0-DEV' of https://dev.sp-tarkov.com/SPT/Server into 3.10.0-DEV 2024-11-20 09:49:50 +00:00
Dev
0c5ecefc41 Refactored scavcase reward code to use correct data and interfaces 2024-11-20 09:48:42 +00:00
5ab3ee722e Fix issues caused when having NewSpawn enabled (!430)
- When NewSpawn is active, clear spawn waves sent to the client
- Copy `maxBotCap` to both BotMaxPvE and BotMax, as the client only reads BotMax

These changes cause bots to abide by the NewSpawn parameters when NewSpawn is enabled, as previously it was combining bot waves and dynamic spawning resulting in bots instantly respawning

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: SPT/Server#430
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-11-20 09:20:59 +00:00
Dev
59eb80f29b Fixed configureZombies() not correctly handling factory or sandbox maps 2024-11-19 19:15:25 +00:00
b2d7a29577 Resolve two issues with game edition locked quest rewards (!429)
- Properly handle game edition locked item rewards for quests
- Properly hide game edition locked rewards for quests

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: SPT/Server#429
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-11-19 09:22:18 +00:00
Dev
ab488bd22f Improve raid time emulation of live 2024-11-18 21:27:45 +00:00
Dev
bda8f3fda2 Adjust time offset to make raid timers match live 2024-11-18 21:06:46 +00:00
Dev
eafa390c72 Fixed survey not implemented errors 2024-11-18 10:13:47 +00:00
Dev
14b5bcb93f Replaced hard coded id with config value 2024-11-17 22:06:49 +00:00
Dev
50e79e72b5 Localised some chatbot messages 2024-11-17 20:57:50 +00:00
Dev
d6a5c25b20 Cleanup of survival state code
Moved hard coded fence rep values into trader config
Improved outcome debug logging
2024-11-16 20:22:24 +00:00
Dev
d8be5f71a6 Removed property that client no longer sends - updated corrisponding code that used it (fixes 0 rep gain on successful scav raid)
Only apply rep gain when current rep is below max (15)
2024-11-16 19:57:27 +00:00
Dev
8f52d48f9e Added debug logging to startLocalRaid() 2024-11-15 19:22:46 +00:00
Dev
ef7ed5870a Added spt friend code VERYSPOOKY to enable halloween/zombies 2024-11-15 19:01:27 +00:00
Dev
f11e09b46b Fixed bot generation warnings where a value of 0 was treated the same as no value found 2024-11-14 20:59:37 +00:00
Dev
bfa8b0c9e8 Renamed function to maintain consistency 2024-11-14 18:02:16 +00:00
b841addd78 Handle serializers asynchronously (!428)
In combination with my other PR handle all the serializers asynchronously too, this should almost result in a fully asynchronous sending of responses.

Reviewed-on: SPT/Server#428
Co-authored-by: Archangel <jesse@archangel.wtf>
Co-committed-by: Archangel <jesse@archangel.wtf>
2024-11-14 17:30:22 +00:00
Dev
d88e705c86 Fixed questConfig.profileWhitelist causing quests to not be shown when accepting a quest
reversed `questConfig.profileWhitelist` to have quest id as key and allowed game versions as value
2024-11-14 14:01:54 +00:00
Dev
36787b6457 Merge branch '3.10.0-DEV' of https://dev.sp-tarkov.com/SPT/Server into 3.10.0-DEV 2024-11-14 12:39:17 +00:00
ce94a22e18 Send Zlib responses as async (Promisify) (!426)
Makes Zlib's inflate & deflate functions run as async by promisifying them.

Reviewed-on: SPT/Server#426
Co-authored-by: Archangel <jesse@archangel.wtf>
Co-committed-by: Archangel <jesse@archangel.wtf>
2024-11-14 12:28:19 +00:00
Dev
14b8985851 Reworked exp/agressor bonus/standing for kill values to accept dictionaries keyed by bot difficulty
Requires regeneration of bot jsons
2024-11-14 11:58:12 +00:00
Dev
7e3ae57e7e Cultist circle:
blacklisted out of season items (christmas/halloween) as rewards
blacklisted currency (dollar/rouble/euro) as rewards
2024-11-13 11:19:28 +00:00
Dev
060c7f0988 Added system to replace hostility settings for an event 2024-11-11 21:18:41 +00:00
Dev
dce5c2ad76 Added property to store 'non' maps in config 2024-11-11 21:16:58 +00:00
Dev
84f8bb8711 Stored last location player was on when transiting - Fixed map transits not sending player to correct infil point
Limitation - only keeps track of one transit
2024-11-11 20:19:53 +00:00
Dev
93aa48dfe6 Generated new mongoId for transitionRaidId 2024-11-11 18:26:58 +00:00
Dev
372498a07e Removed unused code 2024-11-11 17:21:03 +00:00
Dev
6ea51ce365 Updated JSONs with post-halloween data 2024-11-11 10:40:15 +00:00
Dev
a06a3cfbfc Adjusted weather values
Reduced chance of fog
Reduced chance of constant cloud
Adjusted when rain is allowed to occur relative to cloud cover
Adding temp values for new seasons
2024-11-10 22:54:11 +00:00
Dev
cca1416aa1 As part of profile migration, empty out all insurance 2024-11-08 22:03:00 +00:00
Dev
30f8e14b9c improved debug messaging 2024-11-06 19:37:02 +00:00
Dev
2d26e2b0a7 Expanded 398 profile migration system 2024-11-06 17:02:19 +00:00