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

764 Commits

Author SHA1 Message Date
sgtlaggy
22b57b1377 directly reference equipment id instead of using .find 2024-12-01 15:27:00 -08: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
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
0c5ecefc41 Refactored scavcase reward code to use correct data and interfaces 2024-11-20 09:48:42 +00:00
Dev
ab488bd22f Improve raid time emulation of live 2024-11-18 21:27:45 +00:00
Dev
eafa390c72 Fixed survey not implemented errors 2024-11-18 10:13:47 +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
372498a07e Removed unused code 2024-11-11 17:21:03 +00:00
Dev
cca1416aa1 As part of profile migration, empty out all insurance 2024-11-08 22:03:00 +00:00
Dev
2d26e2b0a7 Expanded 398 profile migration system 2024-11-06 17:02:19 +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
78eb759e77 update migration code to remove invalid dialogs 2024-11-02 22:17:59 +00:00
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: SPT/Server#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
4b12405329 Expanded 39x profile migration to include chatbots 2024-11-01 20:06:44 +00:00
Dev
922adcfb5c Implemented pin/lock/free on inventory items 2024-11-01 10:01:26 +00:00
Dev
cc782ba3d5 Updated chatbots to use Monogo_Ids 2024-10-31 22:07:31 +00:00
Dev
17215ba9d8 Stubbed out item pinning 2024-10-31 21:38:56 +00:00
Dev
4346fadcbc Fixed edge case where custom traders without labs-specific failure messages would still return insured items 2024-10-28 11:17:19 +00:00
Dev
844616e3c4 Further improvements to sendMail() 2024-10-28 10:31:29 +00:00
Dev
564fb7f4ca Make overriding labs specific code easier inside sendMail() 2024-10-28 10:24:30 +00:00
Dev
3818388893 Added workaround for LK quests not completing correctly in PvE 2024-10-24 22:45:42 +01:00
Dev
e7ebdab3f0 Improved offraidHeal to not show unnecessary warnings 2024-10-24 14:28:48 +01:00
Dev
c6b78dba1d Handled possible null ref 2024-10-24 14:17:39 +01:00
Dev
100d04cc67 Added handling of out of raid eating, currently handles hydration/energy 2024-10-24 13:18:04 +01:00
Dev
da9cd7f7b7 Improved accuracy of off raid heal, take into account effect removal into requests count value 2024-10-24 13:15:43 +01:00
Dev
3fa4c2f4c5 Expanded offraid healing to remove effects based on healing item used
Made it also heal damage taken
2024-10-24 12:27:06 +01:00
Dev
62c64b7480 Removed unused endpoint 2024-10-24 12:20:46 +01:00
Dev
44fac53e97 Updated appContext CLIENT_START_TIMESTAMP value to include sessionid 2024-10-22 13:41:33 +01:00
Dev
9eba62d5e2 Moved code from gameStart() into server start via new class PostDbLoadService
Fixed player adding their name multiple times to PMCs inside `addPlayerToPMCNames()`

Updated `enableSeasonalEvents()` to not require a session id, moved player-specific code into new function `givePlayerSeasonalGifts()`
2024-10-22 13:33:07 +01:00
Dev
776f925d91 Updated interfaces to follow correct naming scheme 2024-10-19 12:43:38 +01:00
Dev
b0159e6427 Removed unused interfaces
Renamed Interfaces to follow correct naming system
2024-10-19 11:31:19 +01:00
Dev
9c58e2e0e5 Loosened bot name limit to 19 characters
Moved value into config
Added `botConfig.botRolesThatMustHaveUniqueName`

Refactored `getPmcNicknameOfMaxLength()`, removed all recursion + handles when no name is below desired length
Refactored `generateUniqueBotNickname()` to handle PMC names differently, use centralised pmc name function

Updated ragfair to utilise maxlength value from bot config
2024-10-18 11:39:51 +01:00
Dev
0b729fba11 Improvements to how weather temperature is calculated - takes into account current season
Centralised the season override into `getActiveWeatherSeason()`
Adjusted weather values based on client data
2024-10-17 13:05:01 +01:00
Dev
7330f6fb82 First pass at improving weather simulation logic 2024-10-17 00:57:33 +01:00
Dev
c7904a3a41 Remove unused values 2024-10-17 00:41:05 +01:00
Dev
0699b5be9b Fixed generateLocal() not utilising season override 2024-10-16 18:36:49 +01:00
Dev
f3c32b7b51 prevent player names longer than 15 being added to bot name pool 2024-10-15 20:58:59 +01:00
Dev
ff159809dd EXPERIMENTAL, dont include trader offers in avg/min/max calculation 2024-10-15 14:53:33 +01:00
Dev
c7ae2823cd Updated createSingleOffer(), createMultiOffer(), createPackOffer() to make use of same code to figure out average offer price as client 2024-10-15 14:52:07 +01:00
Dev
b70572017d Added return statement to handleMusclePain() 2024-10-15 12:58:45 +01:00
Dev
6abd84e7ab Removed irrelevant comment 2024-10-15 12:56:40 +01:00
Dev
51bafeebfc Cleanup of handleQTEEventOutcome() 2024-10-15 12:55:00 +01:00
Dev
5496ab9557 Cleaned up updateProductionTimers() 2024-10-15 12:47:17 +01:00
Dev
6b116024ca Fixed gym not applying muscle effect after use 2024-10-14 19:38:26 +01:00
Dev
aec64455cb Improved accuracy of gym workout reduction of energy/hydration 2024-10-14 18:57:13 +01:00
Dev
fc13c765a8 Fixed bad data inside dev bear profile that resulted in a non-functional equipment hideout area 2024-10-10 12:20:30 +01:00
Dev
f003333e59 Remove debug code relating to hideout craft times 2024-10-09 16:31:10 +01:00
Dev
6301411a86 Removed unnecessary use of ProfileSnapshotService 2024-10-01 10:57:59 +01:00
Dev
f5360d0a92 Added ability to know if current raid is at nighttime 2024-09-28 23:00:24 +01:00
Dev
80762d6a00 Handle changes to airdrop endpoint
Reworked airdrop loot generation to incorporate 'radar' drops

Added `forced loot` system to LootGenerator service, can now explicitly define what items it contains

Fixed airdrop system sending incorrect icon to client
2024-09-27 14:30:35 +01:00