2233 Commits

Author SHA1 Message Date
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
Archangel
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: https://dev.sp-tarkov.com/SPT/Server/pulls/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
Archangel
ce94a22e18 Send Zlib responses as async (Promisify) (!426)
Makes Zlib's inflate & deflate functions run as async by promisifying them.

Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/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
DrakiaXYZ
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: https://dev.sp-tarkov.com/SPT/Server/pulls/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
DrakiaXYZ
78a3fcaca0 Properly fix metrics call, oops (!423)
Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/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
DrakiaXYZ
aed26ffcd3 Fix JSON parsing exception caused by double-encoding metrics data (!422)
Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/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
Dev
c61de9433e Added ability for PMCs killed by player to remark on the map they died on + added some PMC responses that involve the location 2024-11-03 11:24:05 +00:00
Dev
35b1fd07b6 Fixed PMC Victim responses killing profiles ability to view messages 2024-11-03 11:02:27 +00:00
Dev
78eb759e77 update migration code to remove invalid dialogs 2024-11-02 22:17:59 +00:00
Dev
0411430381 Fixed PMC responses breaking messages and emptying the dialog window 2024-11-02 20:37:26 +00:00
Dev
c7811f69cf Reduced complexity of filtering inside findAndAddHideoutProductionIdToProfile() 2024-11-02 16:58:56 +00:00
Dev
7ab3935b4b Improved Quest crafting unlock reward matching with Draks new gen:productionquests command output 2024-11-02 16:47:49 +00:00
Dev
a8c6432d28 Fixed quest items not being transferred from client to server profile
Cleaned up `setInventory()`
2024-11-02 09:59:37 +00:00
DrakiaXYZ
9b17a9b350 Create new script for associating productions with quests (!421)
See `src\tools\ProductionQuestsGen\ProductionQuestsGen.ts` for usage

I've run the tool and committed the updated production.json as an example of it successfully managing to find the quest association for most productions (Aside from new event quest productions)

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/421
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-11-02 09:37:59 +00:00
DrakiaXYZ
f3e3594e1b Fix moving an item in the fastpanel corrupting profiles (!420)
Can be tested by moving a bandage into your hotbar, then moving that same bandage into a different hotbar slot. Restart the client and it'll complain about "Item#" where # is the first slot you moved it into

![image](/attachments/95723854-6b99-4da5-8d08-fd1cd4f592d8)

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/420
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-11-02 09:37:23 +00:00
Dev
6dbe7121dd Added 2 new seasons into weather system 2024-11-01 20:59:28 +00:00