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

576 Commits

Author SHA1 Message Date
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
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
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
6ea51ce365 Updated JSONs with post-halloween data 2024-11-11 10:40:15 +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
5ed4802d9e Fixed infection rate value not applying 2024-11-04 20:35:35 +00:00
Dev
574300d8cb Improved logic used inside addEventBossesToMaps() 2024-11-04 09:47:12 +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
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
abc317b862 Added ability to disable access requirements for event 2024-11-01 20:25:18 +00:00
Dev
5534406449 Further progress on zombie spawning 2024-11-01 15:51:03 +00:00
Dev
edaec549c9 Expanded zombies configuration 2024-11-01 15:19:54 +00:00
Dev
5ec265d9bd Fixed error on purchasing items after a raid 2024-11-01 14:54:08 +00:00
Dev
8e3ee3f30e Further clean up of paying to trader code inside payMoney() 2024-11-01 13:41:16 +00:00
Dev
fb32466c76 use correct function to check if request is from trader 2024-11-01 13:37:26 +00:00
Dev
8055a00fc8 Fixed addEventWavesToMaps() not adding waves to correct location + now wipes out existing wave data 2024-11-01 13:22:16 +00:00
Dev
ad9ae4fb52 Fixed ragfair failing when purchasing non-trader items 2024-11-01 13:19:54 +00:00
Dev
a56d33b5f2 Fixed adjustBotHostilitySettings() failing when location lacks various properties 2024-11-01 13:15:38 +00:00
Dev
140b4b4619 groundwork for Halloween zombies event 2024-10-31 23:24:49 +00:00
Dev
8863053786 Rename bitcoin for April 1st event 2024-10-29 16:04:54 +00:00
Dev
a98696bfca Split raider spawn chance override into 2 values, triggered and non triggered 2024-10-29 09:39:00 +00:00
Dev
7964d8ef5a Added minReserveRaiderSpawnChance to location.json config, set to 72 by default, wired up to adjust reserve values on server start 2024-10-28 16:02:47 +00:00
Dev
d519907566 Added ability to control storage time of insurance returns to insurance.json config 2024-10-28 09:36:13 +00:00
Dev
3c3877d753 Added call to handleModEvent() inside updateGlobalEvents() to allow modders to override with their own implementation 2024-10-27 17:25:11 +00:00
Dev
bc3ac3d3e6 Added ability to enable/disable certain sub-events during seasonal events 2024-10-27 15:37:18 +00:00
Dev
22b6ee2741 Added new april 1st event 2024-10-26 16:39:31 +01:00
Dev
5a6dd6f5df Removed unnecessary SNOW seasonal event, handled by seasons instead 2024-10-26 16:12:15 +01:00
Dev
e728c04865 Added ability to ignore price variance based on item quality 2024-10-26 09:57:49 +01:00
Dev
38f20e76ea Added null protection inside lightkeeperQuestWorkaround() related to daily quests 2024-10-25 19:19:49 +01:00
Dev
731d9f3f0b Added enabled property to events config + wire up 2024-10-25 11:53:18 +01:00
Dev
b57a199c8a Removed unused parameter from processPostRaidQuests() 2024-10-24 22:56:02 +01:00
Dev
3818388893 Added workaround for LK quests not completing correctly in PvE 2024-10-24 22:45:42 +01:00
Dev
a27e4fd334 Added explicit handling of zh locale, prevent it from falling back to english 2024-10-23 13:31:47 +01:00
Dev
9f6ec573d6 Removed fixEmptyBotWavesSettings - Doesnt seem necessary for 3.10
Disabled `rogueLighthouseSpawnTimeSettings` Same as above
2024-10-22 16:38:32 +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
1eee0ff120 Updated addPaymentToOutput() to ensure it validates and fixes money stacks without a upd property 2024-10-19 20:26:05 +01:00
Dev
776f925d91 Updated interfaces to follow correct naming scheme 2024-10-19 12:43:38 +01:00
Dev
e15ed9b7eb Improved loot generator code comments 2024-10-19 11:21:02 +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
c97f5c2327 Added 0.01 rep gain when successfully exiting a raid as a scav
Fixed incorrect check of rep on pmc profile
Renamed inraid config property from `scavExtractGain` to `scavExtractStandingGain`
2024-10-17 14:49:39 +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
eb6e61c1f0 Moved values into config
moved code to more appropriate locations
Reduced duplicate code
Added comments
2024-10-17 10:27:37 +01:00
Dev
7330f6fb82 First pass at improving weather simulation logic 2024-10-17 00:57:33 +01:00
Dev
4a1c4be0e9 Don't save cultist circle flag into every production on init 2024-10-15 12:48:25 +01:00
Dev
8114271faf Added method comments 2024-10-13 12:09:47 +01:00
Dev
2448fe24b5 Split AirdropTypeEnum into 2 enums, a spt specific one and another for the icon property sent to client 2024-10-11 12:56:31 +01:00