Commit Graph

3661 Commits

Author SHA1 Message Date
Dev
a20a5d2ba6 Updated to 33420 2024-11-02 13:41:12 +00:00
Dev
a3f3027b63 Fixed typo 2024-11-02 12:52:26 +00:00
Dev
3ef91a3b97 Updated BotLocationModifier values for all locations 2024-11-02 12:52:17 +00:00
Dev
2018797dc5 Added zombie waves to config json 2024-11-02 12:18:57 +00:00
Dev
920e9e98e0 Updated JSONs 2024-11-02 11:40:27 +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
f38e3e5dfa Added questId to json from previous eft 15.2 release as temp measure 2024-11-01 23:14:39 +00:00
Dev
6c7cda19ad Added bipod mounts to various items 2024-11-01 23:13:38 +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
42e72c38b0 regenerated trader assorts 2024-11-01 20:07:53 +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
4dff2bbe49 Updated PMC weapon pool 2024-11-01 16:32:20 +00:00
Dev
cfa6936544 Revert change to areas.json 2024-11-01 16:16:01 +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
8b08378ce1 Fixed quest reward IDs 2024-11-01 12:49:07 +00:00
Dev
dd11581ae4 Removed all 15.2 quest data, regenerated with only 15.5 files + filled in with existing quest.json 2024-11-01 12:37:36 +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
Dev
9dea4a86e9 Updated bot JSONs 2024-11-01 09:26:33 +00:00
Dev
0cedc83b84 Updated JSONs 2024-11-01 09:03:28 +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
e9d57ed0cb Updated PMC name list 2024-10-31 23:30:06 +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
704aae0546 Removed unused base json that stops client loading 2024-10-31 21:38:16 +00:00
Dev
3377bef33c Updated locationbase interface 2024-10-31 21:37:55 +00:00
Dev
b9bc3c079b updated quest data 2024-10-31 21:37:37 +00:00
Dev
1d71aba72e Initial JSON update 2024-10-31 18:21:12 +00:00
Dev
e3d5fa3a40 33374 2024-10-31 16:37:36 +00:00
Dev
d2aa3983b3 improved QuestRewardType.ASSORTMENT_UNLOCK comment 2024-10-31 15:13:11 +00:00
Dev
87e47ff3f4 Added radar station parts to reward blacklist 2024-10-31 15:01:49 +00:00
Dev
d8bacdc150 Expanded item pool for pumpkin with sweets container 2024-10-31 12:41:27 +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
70ccacfee2 Updated location data 2024-10-31 09:13:37 +00:00
Dev
92b7860d83 Merge branch '3.10.0-DEV' of https://dev.sp-tarkov.com/SPT/Server into 3.10.0-DEV 2024-10-30 16:46:48 +00:00
Dev
90e899466e Add property comments 2024-10-30 16:42:28 +00:00
DrakiaXYZ
64908069f1 Add Kuromi to the PMC Name List (!417)
Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/417
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-10-30 15:37:54 +00:00
Dev
8863053786 Rename bitcoin for April 1st event 2024-10-29 16:04:54 +00:00
Dev
a429639fb8 Updated JSON from live 2024-10-29 13:53:37 +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
37d2fa63aa Prevented raiders being converted into PMCs on Reserve 2024-10-28 15:47:06 +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
e853be5f09 Blacklisted mortar strike signalling device from reward pool 2024-10-27 22:24:19 +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
7ae812bfe6 Increased chance of alcohol on halloween event bot 2024-10-27 17:10:54 +00:00
Dev
680a316115 Halloween - Added Tagilla to laboratory 2024-10-27 17:00:13 +00:00
Dev
ac686926a7 Increased chance of gifter bot on customs/factory 2024-10-27 15:38:02 +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
0c153fc242 Added more items to progressive flea 2024-10-21 12:47:42 +01:00
Dev
2aaa7434ca Updated bsg pmc jsons 2024-10-20 15:01:08 +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
cdf542ea59 Increased item count for medical airdrop crates 2024-10-19 16:52:39 +01:00
Dev
1fd0a22a58 Increased base chance of root item return by 10% 2024-10-19 15:50:35 +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
e15ed9b7eb Improved loot generator code comments 2024-10-19 11:21:02 +01:00
Dev
b6b527df2a Cleaned up createBarterBarterScheme() 2024-10-19 10:58:25 +01:00
Dev
9ab0b40854 Fixed botgen failing 2024-10-18 19:10:28 +01:00
Dev
672b1f1dd5 Updated locales 2024-10-18 14:24:16 +01:00
Dev
58280f44bd Default to not allowing 39x mods to load 2024-10-18 12:31:41 +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
d2239db64b Removed name from PMC pool 2024-10-18 10:59:06 +01:00
Dev
d1a167d78c Further changes to cloud and fog weights 2024-10-18 10:55:35 +01:00
Dev
27552986ed Fixed incorrect raw data issue causing tarkov shooter part 7 to not unlock a cartridge craft in hideout
production json expects shooter part 8 to unlock craft for some reason
2024-10-17 15:06:46 +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
ec825d990c Moved function to better location 2024-10-17 14:14:17 +01:00
Dev
953acb47a0 Updated getRaidTemperature() to take into account the current raid time when choosing temps 2024-10-17 13:19:35 +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
3d4c7795f7 Added quest icon 2024-10-17 00:57:44 +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
b36e0c2282 Fixed calculateGameTime() not correctly handling overrideSeason property 2024-10-16 18:30:04 +01:00
Dev
6a171919a1 Blacklisted KOSA UAV electronic jamming device from reward pools 2024-10-15 23:05:13 +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
eb0b3ce369 Reduce max length of flea offer names to 15 2024-10-15 20:54:11 +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
4a1c4be0e9 Don't save cultist circle flag into every production on init 2024-10-15 12:48:25 +01:00
Dev
5496ab9557 Cleaned up updateProductionTimers() 2024-10-15 12:47:17 +01:00
Dev
f647c8ebce Fixed hideout craft processing exiting before all crafts are processed 2024-10-15 12:21:31 +01:00
Dev
9a5232ef84 Updated JSONs
Added 2x event quests + flagged as event
2024-10-14 22:19:16 +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
9b6ba8d830 Removed bad IDs from Christmas gift item pool 2024-10-14 13:58:57 +01:00
Dev
82050d100c Removed dogtags from locked supply crates 2024-10-14 12:56:15 +01:00
Dev
403cc42bd8 Updated PMC names 2024-10-13 19:14:39 +01:00
Dev
8114271faf Added method comments 2024-10-13 12:09:47 +01:00
Dev
be20eff165 Updated replaceProfilePocketTpl() to take into account profiles with multiple pocket objects due to equipment stand 2024-10-12 22:57:24 +01:00
Dev
1697f5e34e Adjusted Rogues to use NVGs at night 2024-10-12 22:32:54 +01:00
Dev
8dbb284bf4 Prevented server from running when an invalid/corrupt config json is found 2024-10-12 12:46:23 +01:00
Dev
0963045b7e Blacklisted Secure Flash drive V2 and Radar station spare parts from PMC loot 2024-10-11 23:44:41 +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
Dev
0f7531ea76 Updated locales 2024-10-11 09:16:55 +01:00
Dev
20a4dfb841 Hard coded generateAirdropLoot to return a common drop icon 2024-10-11 08:44:28 +01:00
Dev
6ed4303de5 Adjusted PMC brain conversion values 2024-10-10 12:57:47 +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
d47d9f7b17 Removed unused function result 2024-10-09 18:27:10 +01:00
Dev
6790dcaba5 Updated JSONs 2024-10-09 18:26:52 +01:00
Dev
491722ce60 Added airdrop technical event crates to ItemRewardBlacklist 2024-10-09 16:42:25 +01:00
Dev
f003333e59 Remove debug code relating to hideout craft times 2024-10-09 16:31:10 +01:00
Dev
ce3b63dc1c Updated getOffersForBuild() to not show pack offers, this fixes the equipment system buying pack offers 2024-10-09 14:34:10 +01:00
Dev
eb2afa81d5 Cleaned up method description 2024-10-09 10:49:22 +01:00
Dev
8b0eaad0c3 Blacklist required items from reward pool for repeatable 'completion' quests,
e.g. , fetch 5 kek tapes, get rewarded 3 kek tapes
2024-10-09 10:48:57 +01:00
Dev
ad95b227dd Added optional blacklist functionality to generateReward() 2024-10-09 10:40:32 +01:00
Dev
ff501d31c9 Reduced extract requirement from daily/weekly quest templates 2024-10-09 10:21:47 +01:00
Dev
50c2c55837 Further cleanup of sendResponse() 2024-10-08 22:35:45 +01:00