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

2243 Commits

Author SHA1 Message Date
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
Dev
c86855b0ac Remove unused getRandomisedCount() fundtion 2024-11-06 11:04:01 +00:00
Dev
6a5cbd0549 Repair buff changes:
Capitalize item buff properties to match live
tofixed(2) the bonus value to match live
2024-11-05 15:11:20 +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
7b35a71884 Fix forced compound looseloot throwing exceptions (!424)
Fixes error on Factory when halloween pumpkins attempt to spawn

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: SPT/Server#424
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-11-05 09:08:38 +00:00
Dev
5ed4802d9e Fixed infection rate value not applying 2024-11-04 20:35:35 +00:00
Dev
7b62ad5eac Delete all quest items from server profile prior to adding them from the client copy 2024-11-04 16:00:16 +00:00
Dev
e844f52478 Added functionality to allow setting a minimum magazine size for bots based on bot level via config 2024-11-04 11:39:53 +00:00
Dev
574300d8cb Improved logic used inside addEventBossesToMaps() 2024-11-04 09:47:12 +00:00
Dev
df5019dec7 Merge branch '3.10.0-DEV' of https://dev.sp-tarkov.com/SPT/Server into 3.10.0-DEV 2024-11-03 23:26:27 +00:00
78a3fcaca0 Properly fix metrics call, oops (!423)
Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: SPT/Server#423
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-11-03 23:26:03 +00:00
Dev
7159f3cca3 Pass infection rate into addEventBossesToMaps() so only maps with value > 0 spawn zombies 2024-11-03 23:25:49 +00:00
aed26ffcd3 Fix JSON parsing exception caused by double-encoding metrics data (!422)
Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: SPT/Server#422
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-11-03 23:14:47 +00:00
Dev
640460dad4 Fixed scav exfiltration from location failing due to client profile data being in different format 2024-11-03 19:55:37 +00:00