Commit Graph

527 Commits

Author SHA1 Message Date
Dev
74f7ee8e77 Rework usage of filter() into some() 2023-08-07 11:17:46 +01:00
Dev
92c30dbe5d Add code to check BackendCounter values pre vs post-raid 2023-08-07 11:13:17 +01:00
Dev
b2530a6083 log not implemented message for stash row reward 2023-08-06 16:54:31 +01:00
Dev
d661f89952 Increment version number 2023-08-06 16:03:10 +01:00
Dev
7f3b3ba1e3 Update JSONs 2023-08-06 16:02:39 +01:00
chomp
6a864bffa9 Rework high flea listing price adjuster to be configurable, more item types can be added (!111)
Co-authored-by: Dev <dev@dev.sp-tarkov.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/111
2023-08-06 11:36:07 +00:00
chomp
a962823192 Persist durability changes + faceshield hit values incurred during a raid (!110)
Fixes insured items comin back full durability

Co-authored-by: CWX <CWX@noreply.dev.sp-tarkov.com>
Co-authored-by: Dev <dev@dev.sp-tarkov.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/110
2023-08-05 17:26:16 +00:00
Dev
9dd2d3cd04 Improve nullguard code inside findAndAddRandomPresetToLoot() 2023-08-05 14:50:05 +01:00
Dev
5a3326189d Blacklsit Old hand Scythe from PMC backpacks 2023-08-05 09:09:47 +01:00
Dev
95b156b91c Add missing prereqs to TerraGroup Trail quests 2023-08-05 08:51:59 +01:00
Dev
4a1e3e9df3 Fix casing issue 2023-08-04 23:46:27 +01:00
Dev
14c6104b65 FIx dialogs not showing 2023-08-04 18:58:00 +01:00
Dev
30bd9545f5 i hate commas 2023-08-04 18:41:32 +01:00
Dev
20ce02c145 Add new event quests to quests config 2023-08-04 18:29:18 +01:00
Dev
cc88cd0e87 Fix typo 2023-08-04 18:22:44 +01:00
Dev
08c81aff26 introduce itemsDb variable inside repairItemByKit() 2023-08-04 15:59:34 +01:00
Dev
ce65ec1260 Add upd null object check to addMaxResourceToKitIfMissing() 2023-08-04 15:55:59 +01:00
Dev
1a402dde09 Add event quest 19 2023-08-04 14:52:57 +01:00
Dev
4dc290c284 Nullgaurd against mods that adjust map static data 2023-08-04 12:57:16 +01:00
Dev
2a98b0a1b9 Move trader enum checking logic into traderHelper 2023-08-04 11:19:27 +01:00
Dev
07217e9ed0 Further extension of profiel fixing code, deletes more
Clothing, active repeatable quests with bad trader/items, trader purchases from bad traders
2023-08-04 10:25:21 +01:00
Dev
281cba8db5 Prevent randomiseItemUpdProperties() running if the item being randomised has a db item with no _props data 2023-08-04 08:49:22 +01:00
Dev
e3b5ed44bf Merge branch 'master' of https://dev.sp-tarkov.com/SPT-AKI/Server 2023-08-04 08:35:08 +01:00
Dev
88f5edba61 Add small chance PMCs carry secondary weapon, mostly SMGs + small chance of fn40gl 2023-08-04 08:34:40 +01:00
Sister-Fister
07c99ec376 bot.json Missed Additions (!109)
Missed adding the new event bots to PMC's enemyType, and put bossZryachiy where appropriate.

Co-authored-by: Akrotluv <60285080+Akrotluv@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/109
Co-authored-by: Sister-Fister <sister-fister@noreply.dev.sp-tarkov.com>
Co-committed-by: Sister-Fister <sister-fister@noreply.dev.sp-tarkov.com>
2023-08-04 06:50:18 +00:00
Dev
b24abb1b2f crazy assault scav adjustments
Allow PMCs to use crazy scav brain
2023-08-03 16:51:07 +01:00
Sister-Fister
5b3980bebd Bot.JSON - Update crazyAssaultEvent & arenaFighters (!108)
Add crazyAssaultEvent to itemSpawnLimits, lootNValue.
Added crazyAssaultEvent bot equipment (NVGs/lasters/lights/faceshield) chances, armor & weapon durabilities and weaponModLimits, homebrewed values for what I thought would of been an okay compromise between cocaine huffing scav and a cocaine hugging Rogue.
Added crazyAssaultEvent bot (min:5/max:10), and arenaFighter & arenaFighterEvent (min:0/max:0) into convertIntoPmcChance.
Added (but disabled) arenaFighter, arenaFighterEvent and crazyAssaultEvent bot types to the pmcType.

Notes:
Dunno what other files I'll need to edit, but this was mostly to fix error spam I encountered on Shoreline in response to crazyAssaultEvent bots not having equipment and NLoot values. Seemed like it killed the population to, but could be unrelated.

I have NO clue how cracked the Bloodhounds/Arena and Crazy Assault AI would be in the hands of the PMC bots, although anything funny, I need to know and witness it with the Deer God, lol.

Values are obviously temporary, just things that kinda made sense to me at the time. No idea what the Crazy Assault Event was like, so...

Co-authored-by: Akrotluv <60285080+Akrotluv@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/108
Co-authored-by: Sister-Fister <sister-fister@noreply.dev.sp-tarkov.com>
Co-committed-by: Sister-Fister <sister-fister@noreply.dev.sp-tarkov.com>
2023-08-03 15:24:32 +00:00
Dev
dbf9955272 potential fix for custom trader issue 2023-08-03 15:46:50 +01:00
Dev
beb7c5069b Improve profile fixing system
Remove more modded items from profile when config set to true, warn of set to false

Handle weapon presets + messages containing modded items
2023-08-03 14:36:53 +01:00
Dev
207d72fba2 Add loot nvalue for crazyAssaultEvent bot 2023-08-03 13:45:38 +01:00
Dev
cbcd431f09 Fixed new profiles failing to start game during christmas/new years event
Add new function in dialog helper for getting dialogs frm profile - creates empty object if none found

Set gift collection time to 48 hours if none supplied
2023-08-03 12:25:09 +01:00
Dev
0c37a76ff6 Improve processFailedQuests() handling of null parameter 2023-08-03 08:38:36 +01:00
Dev
2c7973d8d9 Update placeholder quest assort unlocks with better pricing/stack limit values 2023-08-02 20:30:54 +01:00
Dev
b6af63b03e Add additional event quests 2023-08-02 20:30:18 +01:00
Dev
d7f784ec17 Fix quest name typo 2023-08-02 18:36:26 +01:00
Dev
172722a915 Cleanup code and also check if standing is 0 2023-08-02 16:15:33 +01:00
Dev
3fefe90b56 Set lightkeeper rep to 0,01 on account creation, prevents showing 2023-08-02 16:02:44 +01:00
Dev
f5eb96ed48 Refactor of hideout skill gains from area completion 2023-08-02 15:55:33 +01:00
Dev
bfec553768 Lower aks-74u average price 2023-08-02 13:34:00 +01:00
Dev
37512bc943 Add missing comma 2023-08-02 13:00:59 +01:00
Dev
0d9833f5cf Pretify en locale file 2023-08-02 12:57:38 +01:00
Dev
946512ca6d FIx server error with not being able to find singular hiddeout craft now there are two DSP crafts 2023-08-02 12:57:08 +01:00
Dev
d0531e4b5c Add dynamically generated placeholders for trader assorts unlocked via quests
Price and stack count are fixed: 25k + 10
2023-08-02 12:21:13 +01:00
Dev
fbd0a26bfb Add quest items to loose loot 2023-08-02 11:29:16 +01:00
Dev
eb0f06d2aa Update JSONs
new hideout production
New keycard in items
event quest locales
2023-08-02 10:59:22 +01:00
Dev
3876e1ae15 Pull mod sorting code into its own function 2023-08-02 08:50:04 +01:00
Dev
cda89084d3 Show error when trader id can't be found in Traders enum
Exit early when sending messages from trader if no trader supplied
2023-08-02 08:29:23 +01:00
Dev
177a01439b Add event quest 10/15 2023-08-02 08:01:23 +01:00
Dev
831dec7e55 Check for and remove dialogs with the key "undefined" 2023-08-01 23:16:06 +01:00
Dev
0d423d0c70 Limit to one gift, not 2 2023-08-01 22:51:21 +01:00
Dev
7cd1f9a63c Add Kappa secure container gift code 2023-08-01 22:49:18 +01:00
Dev
98454ae3a5 Remove extra comma 2023-08-01 20:16:27 +01:00
Dev
b7f89e6ceb Additional PMC responses to appeal to gen-z 2023-08-01 14:12:13 +01:00
Dev
1bf3dba1a9 Add 1% chance all PMCs in players game are named after them with random prefixes 2023-08-01 13:31:58 +01:00
Dev
82de7c097d Replace old "evil x" pmc name system with v2 2023-08-01 12:51:40 +01:00
Dev
0554e05313 Add quests: The TerraGroup Trail - Part 9/13/14 2023-08-01 08:28:13 +01:00
Dev
11acbbc0f2 Add Production object if none exists prior to adding a production to it + Move functions around for consistency 2023-07-31 19:18:29 +01:00
Dev
c24e8d9858 Made new developer profiles start skills at level 40 2023-07-31 16:08:25 +01:00
Dev
d8b4de4384 Add additional 20g ammo to PMCs 2023-07-31 15:42:18 +01:00
Dev
a912f7c9cd When bsg flea blacklsit is disabled, set all items as sellable on flea 2023-07-31 15:41:10 +01:00
Dev
a1159b87eb Additional ammo weight adjustments 2023-07-31 14:40:38 +01:00
Dev
935ece910c Udpate flea prices 2023-07-31 14:28:00 +01:00
Dev
93641c4791 Added additional missing quest-assort mappnigs 2023-07-31 14:21:02 +01:00
Dev
0582102a25 Update loot using additional dumps made in the past 4 months 2023-07-31 13:51:38 +01:00
Dev
aa7dc48acd Updated Korean server translations, thanks to son2688s 2023-07-31 13:25:57 +01:00
Dev
2806b79c5c Adjust ammo choices for level 51-100 PMC bots to favor higher-level ammo 2023-07-31 12:53:25 +01:00
Dev
9293dd2cd1 Add additional Caliber9x18PM ammo to PMCs 2023-07-31 12:49:19 +01:00
Dev
44a7085da5 Add additional event quest 2023-07-31 09:25:21 +01:00
Dev
0b07ef8603 Fix item not appearing 2023-07-30 21:49:35 +01:00
Dev
59b2fc3602 Typo fix 2023-07-30 19:29:19 +01:00
Dev
4eb43c8832 Update bot JSONs 2023-07-30 17:44:01 +01:00
Dev
b9c324568b Update JSONs 2023-07-30 15:45:39 +01:00
Dev
9c5b5f230f Update en locales + add quests 2023-07-30 15:36:00 +01:00
Dev
5b7199b952 Update flea prices + Add sytem for adjusting unreasonable high mod prices on flea 2023-07-30 15:22:19 +01:00
Dev
6b8fadef40 Save trader standing changes post-raid 2023-07-30 11:30:31 +01:00
Dev
bb5a2f52cf Add quest image 2023-07-29 14:38:09 +01:00
Dev
59628aea5e Build server against es2021, instead of es2020 2023-07-29 14:26:42 +01:00
Dev
7c77211f59 Update server deps 2023-07-29 14:13:00 +01:00
Dev
a514a94b45 Improve wording + Add missing properties from config 2023-07-29 10:16:03 +01:00
Dev
4400357c0e Remove unused properties 2023-07-29 09:09:38 +01:00
Dev
e3413ae778 Add additional quests: Make Amends - Buyout, Make Amends P1, TerraGroup Trial Part 2 2023-07-29 08:25:31 +01:00
Dev
4ebb9b1729 Include TerraGroup Trial quests in event quest array 2023-07-28 21:52:43 +01:00
Dev
c501712dda Update quests json, adds event quest p1 2023-07-28 21:06:05 +01:00
Dev
476296bef3 Add additional quest files to loot jsons 2023-07-28 20:59:26 +01:00
Dev
46dd52b174 Add quest item to lighthouse 2023-07-28 20:49:08 +01:00
Dev
73f4452d2b Force odobolobos n on crazy event scavs 2023-07-28 19:57:54 +01:00
Dev
31d2177b0a Regen bots 2023-07-28 19:07:22 +01:00
Dev
7d98e6d396 Update JSONs 2023-07-28 18:16:51 +01:00
Dev
267d54d214 Merge branch 'master' of https://dev.sp-tarkov.com/SPT-AKI/Server 2023-07-28 17:11:54 +01:00
Dev
b25342d2f5 Log error when RAID_CONFIGURATION values cannot be found inside getBotDifficulty() 2023-07-28 17:11:18 +01:00
Nehax
0afdd29f21 FR translation typos and misspelling fixes + missing translation (!107)
Fixed a bunch of translation errors, added a missing PMC chat translation.

Co-authored-by: NehaxFr <nehaxfr@proton.me>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/107
Co-authored-by: Nehax <nehax@noreply.dev.sp-tarkov.com>
Co-committed-by: Nehax <nehax@noreply.dev.sp-tarkov.com>
2023-07-28 14:03:49 +00:00
Dev
5a435b363a 25206 2023-07-28 10:01:14 +01:00
Dev
238d79c2f2 Move bot property to correct sub object 2023-07-27 16:16:35 +01:00
Dev
32b32e627b Force afaks into PMCs secure container 2023-07-27 15:01:08 +01:00
Dev
03b5081870 Adjust heal rate for PMCs 2023-07-27 13:51:42 +01:00
Dev
8a26d3f807 Rework items added to container code, now stops after 4 failed attempts
Don't increment cost of loot container total value if item was not placed in container
2023-07-27 13:14:09 +01:00
Dev
2d57bdb0ef Add option to force healing items into PMCs secure
Make bots heal to a 90% instead of 65%

Log when item cannot fit into container when genning bots
2023-07-27 12:15:06 +01:00
Dev
6581896e30 Revert 999 stack size of ammo in bots secure containers + set secure stack count to 20 instead of 15 2023-07-26 22:46:19 +01:00
Dev
9b729dbbc2 More PMC names 2023-07-26 17:51:23 +01:00
Dev
904c406a33 Add extra PMC names 2023-07-26 17:46:03 +01:00