chomp
da955f0a4e
Added ability to convert assault scavs to bosses ( !366 )
...
Co-authored-by: Kaeno <kaeno@noreply.dev.sp-tarkov.com>
Co-authored-by: Dev <dev@dev.sp-tarkov.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/366
2024-06-27 14:09:26 +00:00
Dev
836df0ce9d
Updated findAndAddHideoutProductionIdToProfile()
to also compare the quest id when finding the relevant craft - should fix craft unlock error with Network Provider - Part 2
2024-06-24 22:29:01 +01:00
Dev
2a750a9989
Fixed regression where sellchance because NaN due to a divide by 0 error
2024-06-22 20:40:13 +01:00
Dev
e65b75261f
Added additional event names to NotificationEventType
2024-06-22 13:17:47 +01:00
Dev
2edd1e6824
Semi-reverted last commit as Drak already resolved this and i forgot
2024-06-20 22:43:01 +01:00
Dev
77ca7c74fe
Expanded http server port already in use message logging + throw exception to prevent second server running
2024-06-20 22:27:27 +01:00
Dev
b7082ff9dc
Removed redundant logic as we've reset the data in previous line
2024-06-20 16:17:07 +01:00
Dev
785d6a3589
Fixed free repeatables not refreshing their count after expiry
2024-06-20 16:12:34 +01:00
Dev
7891db84de
Updated createRandomLoot()
to make use of rewardItemBlacklist
black list
2024-06-20 13:37:38 +01:00
Dev
bf276c54a0
Improved comment
2024-06-19 20:52:08 +01:00
Dev
01d3864105
Added additional skill type values
2024-06-19 18:55:17 +01:00
Dev
cf5411336f
Adjusted how item quality % is calculated for player flea offers. Now excludes items without any quality modifier from calculation instead of assuming 100% (slightly lowers sell chance of things like armors)
...
Renamed `getItemQualityModifierForOfferItems()` to `getItemQualityModifierForItems()`
2024-06-19 14:27:58 +01:00
Dev
43a09c29c2
Improved import consistency + comment improvements
...
Moved `IGenerateEquipmentProperties` into own file
2024-06-19 11:11:28 +01:00
Dev
f7e42cae5d
Improved comments inside BotEquipmentModGenerator
class
2024-06-19 10:41:55 +01:00
Dev
416ef74902
Refactored mergeCamoraPool()
2024-06-19 10:40:59 +01:00
Dev
57f0b8b49e
Ensure SelectedMemberCategory
matches MemberCategory
when generating EoD or UhD PMCs
...
(cherry picked from commit 44434b3278
)
2024-06-18 16:06:28 +01:00
Dev
d15150f138
Added nullguard to getMiniProfile()
when profile has been edited and is now corrupt
2024-06-18 11:27:57 +01:00
Dev
5d0cfd7971
Fixed prapor starting gift being sent 5 times
2024-06-17 22:00:38 +01:00
Dev
32e8557723
Split generateRewardItem()
into two functions
2024-06-17 17:46:28 +01:00
Dev
e176b0ae45
Refactored applyMoneyBoost()
to improve readability + apply alteration to reward.value
2024-06-17 17:45:48 +01:00
Dev
1db9aa3243
Prevented gp coin repeatable reward falling below 1
2024-06-17 17:44:34 +01:00
Dev
996e567959
Added nullguard to getTimeElapsedSinceLastServerTick()
2024-06-17 16:43:12 +01:00
Dev
383ccf09d7
Added nullguard protection to serialize()
for bundle loading
2024-06-17 15:35:49 +01:00
Dev
d315414136
Further improvements to setRandomisedGameVersionAndCategory()
to handle unheard profiles the same as live
2024-06-17 10:23:13 +01:00
Dev
357848ba9f
Fixed some PMCs not having their game version flair when they kill you
2024-06-17 09:57:47 +01:00
Dev
e100c29296
Removed need for a separate chosenGameVersion
property
2024-06-17 09:43:23 +01:00
Dev
86380e845a
Replaced hard-coded lavatory check for generic check of areas needsFuel
property
2024-06-17 09:28:59 +01:00
Dev
4094b7ecff
Fixed getAccountTypeAdjustedTraderPurchaseLimit()
not applying to unheard profiles
...
Created `GameVersions` enum and replaced all magic strings with it
2024-06-16 21:22:28 +01:00
Dev
04dee496eb
Updated niki to have the best account type
2024-06-16 21:14:24 +01:00
Dev
df69b229b3
Reworked bot generation to pass game version into generateEquipment()
...
`generateAndAddEquipmentToBot()` now handles pockets separately, flags UhD pockets as not to gen mods as for some reason it has slots 😕
Use this data to adjust the pocket tpl chosen for `unheard_edition`
Add pocket loot weightings of 5 + 6 items for unheard_edition PMCs
2024-06-16 21:09:59 +01:00
Dev
928f9068a3
Adjusted PMC loot generation to allow for 1x2 sized items to be added to the pocket pool to account for UhD
bots' large pockets
2024-06-16 18:52:42 +01:00
Dev
1546bbfc16
Replaced magic string with enum value
2024-06-16 18:44:22 +01:00
Dev
e793b0bc63
Fixed nullref error on repeatable refresh click event
...
Fixed all profiles having access to free repeatable refreshes
Fixed newly created profiles generating with 0 free refreshes regardless of game version
2024-06-16 10:58:35 +01:00
DrakiaXYZ
edfe995c52
Initial implementation of an ItemTpl and Weapon enum generator ( !364 )
...
ItemTplGenerator will create a full ItemTpl.ts and Weapons.ts file with all items and weapons respectively
Renamed WeaponTypes to Weapons to better indicate its new format
Updated all references to these enums to use the new names
New npm command `npm run gen:items` to run this tool
Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/364
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-06-16 08:33:01 +00:00
Dev
561ecdd790
Updated bot generator to add UHD pockets to UHD PMCs
2024-06-15 17:42:02 +01:00
Dev
72b0ce324e
Extracted processExpiredQuests()
from getClientRepeatableQuests()
2024-06-15 13:29:22 +01:00
Dev
299586d36a
Improved implementation of daily quest reward system
...
Fixed repeatables vanishing after first generation
2024-06-15 13:28:25 +01:00
Dev
bc3649d2a1
Fixed issue where server would enter infinite loop when selling item to trader and stash contained no money
2024-06-14 19:18:55 +01:00
Dev
12444b025e
Fixed incorrect dogtag return
2024-06-14 15:41:02 +01:00
Dev
277925732f
Added system to allow per-trader starting standing values
2024-06-14 15:40:27 +01:00
Dev
da04065d42
Added game version specific dogtags to PMC bots
...
removed dogtags from `baseClasses` and placed in `ItemTpl`
2024-06-14 14:38:30 +01:00
Dev
646745c5ef
Added insurance reduction by game edition check
2024-06-13 19:21:00 +01:00
Dev
b34a8ee1f1
Updated JSONS
2024-06-13 19:19:51 +01:00
IsaacSin
58ee2c66d3
Fix GP coin ragfair offers being excluded by "Exclude bartering offers" filter. ( !363 )
...
BSG now considers GP coin to be a currency.
Commit 4788f6b407 (diff-d1c96eaf446b0afaf70c62191c7a688471fca50c)
already added GP coin to the `Money` enum, but it needs to be added to `PaymentHelper.isMoneyTpl()` to prevent it from being filtered by the barter filter as with other money offers.
See attached screenshots for a demonstration of SPT vs live behavior.
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/363
Co-authored-by: IsaacSin <Isaacgsds@gmail.com>
Co-committed-by: IsaacSin <Isaacgsds@gmail.com>
2024-06-13 13:28:37 +00:00
Dev
f8bd65ed90
Replaced various array.find()
with array.some()
...
Rewrote `tagItem()` to use `.find()`
2024-06-13 13:41:29 +01:00
Dev
3327bc916a
Renamed functions to better explain what they do
2024-06-13 11:05:10 +01:00
Dev
8c05345b85
Replaced various magic strings with enum values
...
Added `itemHelper.getItemFromPool()`
2024-06-13 10:53:07 +01:00
Tyfon
836910c1d5
Implement Ragfair sort by barter ( !362 )
...
Not that anyone was clamoring for this, but I noticed it was missing.
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/362
Co-authored-by: Tyfon <tyfon7@outlook.com>
Co-committed-by: Tyfon <tyfon7@outlook.com>
2024-06-13 09:29:48 +00:00
Dev
3c0887172e
Fixed MARK_OF_UNHEARD
incorrectly adjusting insurance return time
...
Added `ItemHelper.hasItem()`
2024-06-13 09:47:03 +01:00
Dev
6c1935f93f
Added nullguard when purchasing trader assort with 0 items
2024-06-12 23:07:38 +01:00