Commit Graph

606 Commits

Author SHA1 Message Date
Dev
6e5f4fbce3 Refactor of rollForSale()
Adjusted function to allow for parts of an offer to succeed or fail instead of a binary sell/fail outcome
optimisation: Only calculate selltime if item will be sold
Added additional debug logging
2023-06-04 16:30:54 +01:00
Dev
e4fb8cb40d Refactor getTraderSuits() to make better use of .filter() instead of loops
Moved magic strings into object
Misc comments
2023-06-02 16:21:35 +01:00
Dev
48ba66f470 Improve separation of concerns by moving hideout property gathering code out of updateAreasWithResources() and into own function getHideoutProperties()
Refactored how we get bitcoin count
2023-06-02 13:54:03 +01:00
Dev
d12cc4c9db Add missing difficulty property to assault scavs 2023-06-01 22:20:39 +01:00
Dev
eeeb36b730 Update italian server locale 2023-06-01 21:35:32 +01:00
Dev
86d6a0e516 Update flea prices 2023-06-01 21:25:43 +01:00
Dev
cfbe2739f9 Fix issue with insurance message being incorrect
Moved `sendLostInsuranceMessage()` to `insuranceService` + make it read correct id from locale file
2023-06-01 21:24:23 +01:00
Dev
9bf533a1b1 Add additional comments and formatting fixes 2023-06-01 10:46:16 +01:00
Dev
92c2da785b Update weapon ergo values to match live 2023-05-30 16:12:03 +01:00
Dev
bb9d3739c4 Move logging 2023-05-30 13:58:02 +01:00
Dev
22279a7353 Log sessionid on game start 2023-05-30 13:55:46 +01:00
Dev
774357c1f3 Move fence logging 2023-05-30 13:36:15 +01:00
Dev
00e1679dd9 Log fence standing changes post-raid 2023-05-30 13:35:34 +01:00
Dev
ea2898b1ef Update flea prices 2023-05-30 11:07:15 +01:00
Dev
295f144884 Update JSONs 2023-05-29 22:54:03 +01:00
Dev
375cfa2495 Improve comments inside RagfairOfferHelper 2023-05-29 16:32:06 +01:00
Dev
0cd28865eb Null guard when sold item locale key not found 2023-05-29 16:20:41 +01:00
Dev
88a854c5ca Refactor processOffersOnProfile() 2023-05-29 16:12:27 +01:00
Dev
98e2af2ad4 Update sold/returned template guid, fixes #40 2023-05-29 16:05:19 +01:00
Dev
b84d8a66c2 Ensure we hydrate the systemData object before calling addDialogueMessage() 2023-05-27 23:04:39 +01:00
Dev
a4efdf9b43 Revert "Store the location insured gear was lost on + time it was lost against insured items in profile"
This reverts commit 77508ace73.
2023-05-27 22:39:32 +01:00
Dev
72239e4434 Rename variables for clarity 2023-05-27 22:31:43 +01:00
Dev
77508ace73 Store the location insured gear was lost on + time it was lost against insured items in profile 2023-05-27 22:31:24 +01:00
Dev
1a3c107f0a Remove duplicate method that does same as storeLostGear() 2023-05-27 22:26:58 +01:00
Dev
9f0e89611b Fix missing comma 2023-05-27 21:51:51 +01:00
Dev
62f8f75cb1 remove comma 2023-05-27 20:27:37 +01:00
Dev
c489db81b1 Protect loop from undefined error inside fixBrokenOfflineMapWaves() when map has missing waves array 2023-05-27 19:03:52 +01:00
Dev
e2b1d4d0c6 null guard against a map without a base json inside fixBrokenOfflineMapWaves() 2023-05-27 19:02:30 +01:00
Dev
57d0548810 Add missing properties to streets 2023-05-27 17:15:06 +01:00
Dev
2189496070 Update dialog Ids for insurance enabled traders - Fixes insurance text showing raw guids 2023-05-27 16:40:25 +01:00
Dev
6f2b60a0aa Fix customs not allowing raids, base.json now differs between offline and live raids
("RequiredPlayerLevelMin": 0,
  "RequiredPlayerLevelMax": 100,)

vs

"RequiredPlayerLevel": 0,
2023-05-27 15:40:36 +01:00
Dev
4cf0aa2ed7 Update live prices 2023-05-27 10:39:14 +01:00
Dev
e7ccddad2d 23399 JSON changes 2023-05-27 10:34:47 +01:00
Dev
618d9636d9 Update exp values 2023-05-26 21:03:36 +01:00
Dev
646fdad4ce 23399 2023-05-26 13:28:17 +01:00
ShadowXtrex
9bd8e32bb2 ES translation typo fix and some translate corrections (!97)
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/97
Co-authored-by: ShadowXtrex <shadowxtrex@noreply.dev.sp-tarkov.com>
Co-committed-by: ShadowXtrex <shadowxtrex@noreply.dev.sp-tarkov.com>
2023-05-24 19:16:11 +00:00
Dev
17d517e4a9 Improve logging 2023-05-24 19:19:05 +01:00
Dev
26eb1287cc Refactor sellitem() to use .find() instead of for loop
Add additional checks when sold item is not found
Replaced whitespace repalcement code with `replace()`
2023-05-24 15:51:05 +01:00
Dev
dcc12f1fcd Fix issue with bot gen when bot config has empty equipment blacklist 2023-05-22 17:03:24 +01:00
Dev
eb445b2820 Refactor doesPlayerLevelFulfilCondition() to handle more than just > 2023-05-22 16:00:09 +01:00
Dev
87c1c80a78 Handle getting quest status when player profile lacks a Quests array 2023-05-22 15:50:10 +01:00
Dev
2f919c795c Fix issue with scav case rewards failing + made function reward level handling more robust 2023-05-22 12:25:19 +01:00
Dev
682e87e446 Merge branch 'master' of https://dev.sp-tarkov.com/SPT-AKI/Server into 23122 2023-05-20 18:38:05 +01:00
Dev
17afc9e460 Add endpoint stubs and improve request/response objects 2023-05-20 18:37:39 +01:00
chomp
65bcee7500 Update to EFT.23122 and increment version to 3.5.7 (!95)
Co-authored-by: Dev <dev@noreply.dev.sp-tarkov.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/95
2023-05-19 16:47:24 +00:00
Dev
08f2bdb27e Refactor ScavCaseRewardGenerator.getScavCaseRewardCountsAndPrices() 2023-05-19 17:40:06 +01:00
Dev
dcd1da28a6 Refactor InsuranceController.processReturn() 2023-05-19 17:39:26 +01:00
Dev
52f9dbefa9 Add new properties to location data 2023-05-19 17:38:38 +01:00
Dev
f3b28d532c Refactor convertBotDifficultyDropdownToBotDifficulty() ot use switch statement 2023-05-18 17:23:28 +01:00
Dev
90d8b52a41 23122 2023-05-18 15:51:22 +01:00