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

2227 Commits

Author SHA1 Message Date
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
2c53e28e81 Refactored post-raid pmc inventory modification - Fixes dupe id error on raid end 2024-11-01 12:08:05 +00:00
Dev
922adcfb5c Implemented pin/lock/free on inventory items 2024-11-01 10:01:26 +00:00
7ae68466e0 Fix loading into raid in 33374 (!419)
- Add new `infected` bots where necessary
- Add new `infected` bot JSON to bots/types, generated from a small set of dumps
- Add infected bots to default PMC enemy list
- Update ZombieInfection values in globals.json from live dump
- Update map data from latest live dump (BossChance, Events, limits and maxItemCountInLocation primarily. A couple maps added missing properties/replaced SpawnPointParams. This was only a partial update though, enough to get in-raid)

Note: `infectedTagilla` is just a copy of `bossTagilla`, as none of the dumps contained that bot type, and it was required to get in-raid
Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: SPT/Server#419
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-11-01 08:52:39 +00:00
Dev
140b4b4619 groundwork for Halloween zombies event 2024-10-31 23:24:49 +00:00
Dev
cc782ba3d5 Updated chatbots to use Monogo_Ids 2024-10-31 22:07:31 +00:00
Dev
5e1d977f39 Update globals and matching interfaces 2024-10-31 21:55:39 +00:00
Dev
17215ba9d8 Stubbed out item pinning 2024-10-31 21:38:56 +00:00
Dev
3377bef33c Updated locationbase interface 2024-10-31 21:37:55 +00:00
Dev
1d71aba72e Initial JSON update 2024-10-31 18:21:12 +00:00
Dev
d2aa3983b3 improved QuestRewardType.ASSORTMENT_UNLOCK comment 2024-10-31 15:13:11 +00:00
Dev
554aceda26 Moved quest reward game edition checks into own function 2024-10-31 10:55:06 +00:00
2204181363 Quest Rewards take GameEditions into account (!418)
Fixes SPT/Issues#841
QuestReward with this property check the version of the PmcProfile, and skipped if it's not included / included depending on the property
length > 0 check is workaround for Gunsmith Pt 25

Co-authored-by: TetrisGG <tetrisggdev@gmail.com>
Reviewed-on: SPT/Server#418
Co-authored-by: TetrisGG <tetrisgg@noreply.dev.sp-tarkov.com>
Co-committed-by: TetrisGG <tetrisgg@noreply.dev.sp-tarkov.com>
2024-10-31 10:31:45 +00:00
Dev
90e899466e Add property comments 2024-10-30 16:42:28 +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
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
d519907566 Added ability to control storage time of insurance returns to insurance.json config 2024-10-28 09:36:13 +00:00
Dev
30db370423 Added ability to programmatically blacklist specific bot gear tpls by level 2024-10-28 09:20: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
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
a27e4fd334 Added explicit handling of zh locale, prevent it from falling back to english 2024-10-23 13:31:47 +01:00
Dev
d744a38306 Updated createSingleOfferForItem() to pass in sellerid + pass in itemdb object instead of array 2024-10-22 21:00:46 +01:00
Dev
1aac4a0635 Added ragfair.dynamic.barter.makeSingleStackOnly config option, default to true 2024-10-22 20:51:22 +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
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
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