Commit Graph

2200 Commits

Author SHA1 Message Date
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
Dev
abc317b862 Added ability to disable access requirements for event 2024-11-01 20:25:18 +00:00
Dev
4b12405329 Expanded 39x profile migration to include chatbots 2024-11-01 20:06:44 +00:00
Dev
9fe28edbe4 Updatd findAndAddHideoutProductionIdToProfile() to take into account bsg no longer storing the quest id in the productions requirement 2024-11-01 20:06:19 +00:00
Dev
dd2c9de726 Flag zombies as needing simple animator 2024-11-01 16:15:08 +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
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
DrakiaXYZ
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: https://dev.sp-tarkov.com/SPT/Server/pulls/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
TetrisGG
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: https://dev.sp-tarkov.com/SPT/Server/pulls/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