Kaeno
83b4ecc176
Update Difficulty settings to ignore Loyality. PMC's will no longer be friendly to scavs with +6 rep ( !372 )
...
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/372
2024-07-14 08:04:34 +00:00
Dev
22e5da9e61
Update package.json
2024-07-13 18:23:00 +01:00
Dev
dc84ee5d80
Adjusted GP Coin
values inside currencyStackSize
...
(cherry picked from commit 1fd66bafe8
)
2024-07-13 14:23:52 +01:00
Dev
d92ec20e9c
Fixed issue with itemFitsInto1By2Slot()
classifying all items as unsuitable for a 1x2 slot
2024-07-13 12:54:34 +01:00
Dev
2ea6b658fd
Fixed getBTC()
failing when Production
area cannot be found
...
(cherry picked from commit 77b42bfb2f
)
2024-07-13 10:59:03 +01:00
Dev
28fb1a2fc9
Removed dupe keys from bot JSONs
2024-07-13 09:53:02 +01:00
Dev
93bd7543e7
Blacklisted Decrypted flash drive
from PMC loot pools
2024-07-13 09:48:13 +01:00
Dev
6a348fa5c9
Added additional PMC names of contributors
2024-07-13 09:44:39 +01:00
Dev
fb52594f8b
Updated server locales with data from Crowdin
2024-07-13 09:39:49 +01:00
Dev
b4a6ee682c
Added workaround for Ref
repeatables not having any description text - force him to use Prapor
text instead
...
(cherry picked from commit 034c7142fc
)
2024-07-13 09:33:27 +01:00
Dev
c705127007
Remove deprecated registerCommandoCommand()
2024-07-12 22:19:57 +01:00
Dev
731295b4b4
Updated spt version
2024-07-12 22:19:18 +01:00
Dev
28593d3e9b
Removed deprecated ICommandoCommand
2024-07-12 22:19:04 +01:00
Dev
537819dda0
Fixed invalid json
2024-07-12 21:47:28 +01:00
Dev
442d00c959
Fixed minor typo
2024-07-12 17:20:54 +01:00
Dev
0412a8285d
Fixed ravangezryachiyevent
missing soft inserts
...
(cherry picked from commit baba8d16d6
)
2024-07-12 17:16:56 +01:00
Dev
c44f5b2ca9
Cleaned up scavRaidTimeSettings
data to reduce the scav raid times slight less + added sandbox_high
2024-07-12 16:09:08 +01:00
Dev
9bee5a377d
Added missing bots to ItemSpawnLimits
...
(cherry picked from commit d3c20624a7
)
2024-07-12 13:19:47 +01:00
Dev
5c716afb34
Updated sandbox raid times to match live
...
(cherry picked from commit 49006b6065
)
2024-07-12 10:34:41 +01:00
Dev
f7a617d621
Added nullguards to giveProfileMoney()
2024-07-12 09:48:30 +01:00
Dev
de4b3ac180
Protected randomiseArmorInsertsDurabilities()
from missing mod errors
...
(cherry picked from commit 64f8e7b7e8
)
2024-07-11 12:11:45 +01:00
Dev
648bce9529
Added pmcUSEC/pmcBEAR
roles to possible pmc types
...
(cherry picked from commit 201684d200
)
2024-07-11 11:41:03 +01:00
Dev
5260b16a18
Added ability to blacklist profile from being created in launcher
2024-07-11 09:58:54 +01:00
Dev
e1ca9dedc9
Fixed server build errors from previously merged PR
2024-07-11 09:28:37 +01:00
静穏靄
d0f11fd073
Add missing property to IUserDialogDetails ( !371 )
...
The property is used for Unheard edition accounts to retain their icon on reloading the dialog.
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/371
Co-authored-by: 静穏靄 <seionmoya@noreply.dev.sp-tarkov.com>
Co-committed-by: 静穏靄 <seionmoya@noreply.dev.sp-tarkov.com>
2024-07-10 23:11:23 +00:00
Dev
4f636d3061
Set Skier
event boss to 4% on customs
2024-07-10 15:31:26 +01:00
Dev
ef24256e0d
Added reward data for Unlocked valuables сrate common/rare/epic
2024-07-10 14:22:15 +01:00
Dev
44e6735f80
Fixed unlocked weapon reward box
from hideout craft returning an error when opened
2024-07-10 14:19:48 +01:00
Dev
49e5e8413a
FIx
...
Fixed `openRandomLootContainer()` failing when no config values are found for desired random container
2024-07-10 13:46:09 +01:00
Dev
007bdccd6c
Improved pack + multi-item player flea offer handling
...
(cherry picked from commit e9d8c02ac2
)
2024-07-10 11:40:12 +01:00
Dev
0ab1395355
Increased stash row command limit to 15
2024-07-10 10:32:01 +01:00
Dev
d956400315
Added missing bot equipment settings for skier/peacemaker
...
(cherry picked from commit 1d407f8787
)
2024-07-08 21:12:40 +01:00
Dev
7a0f0e8297
Add missing bot types to presetBatch
...
(cherry picked from commit f8f0f1fdb0
)
2024-07-08 14:48:41 +01:00
Dev
007b1d4789
Fixed accepting a quest bringing in blacklisted event quests
...
(cherry picked from commit fe614ad73f
)
2024-07-08 09:56:34 +01:00
Dev
6378ee5ee7
Fixed dynamic loot code choosing blacklisted items - credit to Drakia for solution
...
(cherry picked from commit 7497f0d40f
)
2024-07-07 18:57:15 +01:00
Kaeno
f6c0b877b7
Fix Valens gift
...
(cherry picked from commit 831bc58b6a
)
2024-07-07 17:08:44 +01:00
Kaeno
c3de305175
Prevent Enabling Block group invites from bricking profile from loading. ( !370 )
...
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/370
2024-07-07 15:34:31 +00:00
Dev
7377a68a9e
Added missing type to iTemplateItem
2024-07-07 14:07:53 +01:00
Kaeno
fba0f4703a
Setup route to allow switching of profile icon. ( !369 )
...
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/369
2024-07-07 13:07:36 +00:00
Dev
291edbb75b
Added ability to choose to show as EoD when using unheard edition
2024-07-07 14:05:34 +01:00
Dev
c765cc688e
Fixed maxinraid
value inside globals JSON
2024-07-07 09:39:31 +01:00
Dev
87947bedd3
Regenerated loot
2024-07-06 21:37:59 +01:00
Dev
002209a992
Added Key to salvation
to event blacklist
2024-07-06 19:39:42 +01:00
Dev
b794ace544
Updated streets raid time based on feedback
2024-07-06 17:55:31 +01:00
Dev
2c57f2d1a7
Updated map times to 40 mins
2024-07-06 15:01:13 +01:00
Dev
665580a5c4
Adjusted woods/streets raid times
2024-07-06 14:45:19 +01:00
Dev
d0d3685da0
Add Hustle
to event quest list
2024-07-06 14:38:52 +01:00
Dev
6ff7408a9c
Updated flea prices
2024-07-06 08:43:22 +01:00
Dev
2febdb2c41
Update map loot JSONs
2024-07-05 21:47:01 +01:00
Kaeno
4b2f42a406
Add routes for Modules to get Bosses that are allowed to be converted ( !368 )
...
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/368
2024-07-05 16:46:51 +00:00
Dev
541264af73
Fixed bad description
...
(cherry picked from commit 2f6f09c51a
)
2024-07-05 16:56:50 +01:00
Dev
daeae9687a
Fixed getLocation()
not getting location correctly
...
(cherry picked from commit d7798d3afa
)
2024-07-05 16:55:47 +01:00
Dev
c3e9236759
Fixed repeatables breaking when using free refreshes
...
Refactored `changeRepeatableQuest()` to reduce looping and indentation
2024-07-03 21:41:31 +01:00
Dev
6ef6ae5020
Updated server locales
2024-07-03 10:32:24 +01:00
Tyfon
e58ddac0cc
Fix InventoryHelper.canPlaceItemInContainer being backwards ( !367 )
...
For whatever reason, `InventoryHelper.canPlaceItemInContainer()` currently returns:
`true` if the item CANNOT be placed in the container
`undefined` if the item CAN be placed
`false` if the function thought it could but then failed when trying to (never happens?)
This didn't cause problems because the only two places that call it also treat the return value backwards - both of which are also fixed in this PR.
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/367
Co-authored-by: Tyfon <tyfon7@outlook.com>
Co-committed-by: Tyfon <tyfon7@outlook.com>
2024-07-02 22:05:32 +00:00
Dev
32fc93592a
Updated PMC names
2024-07-02 15:15:49 +01:00
Dev
c8f08ff2bc
Fixed edge case where rigs with no soft inserts or plates is listed on flea, resulting on a sell chance of NaN
2024-07-01 16:37:14 +01:00
Dev
014c67b0f2
Archived event quest removed by BSG
2024-07-01 10:42:52 +01:00
Dev
a63d2307df
Fixed free refreshes still costing roubles/rep to replace
...
Refactor of `useFreeRefreshIfAvailable()` to improve readability
2024-07-01 10:42:16 +01:00
Dev
bd28cbca57
Feature, plates in armors listed by fence now have individual chances to be removed before listing based on plate protection level
2024-06-30 23:20:49 +01:00
Dev
843455602d
FIxed plate removal code not actually removing plates
2024-06-30 23:02:17 +01:00
Dev
1ba6cbf2bd
Cleaned up randomiseArmorModDurability()
2024-06-30 22:52:55 +01:00
Dev
8517e46ccb
Refactored various functions to improve readability
2024-06-30 21:39:58 +01:00
Dev
15eb6eb69f
Cleaned up various functions to improve readability
...
Removed unused function `splitStackIntoSmallerChildStacks()`
2024-06-30 20:38:23 +01:00
Dev
625bb1aebd
Updated tournament gift data
2024-06-29 15:22:14 +01:00
Dev
f440355b48
Updated bot JSONs
2024-06-28 19:59:07 +01:00
Dev
f70af145df
Added new quest icon images
2024-06-28 14:33:30 +01:00
Dev
3b9e29bad0
Add quests + add barter to Ref
...
`Easy Money part 2`
`Balancing Part 1`
`Balancing Part 2`
`A Key to Salvation`
2024-06-28 13:46:36 +01:00
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
5f6cee3f8b
Updated JSONs
2024-06-27 11:11:58 +01: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
5d40c36215
Update location loot data
2024-06-24 18:41:09 +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
d5dd8270ab
Allowed Ref
to give repeatable dailies
2024-06-21 20:47:02 +01:00
Dev
f141fd92ac
Improved insurance-unable_to_find_trader_by_id
locale
2024-06-21 19:39:38 +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
bc31d47efa
Fixed non-stackable items being stacked for gift PraporGiftDay2
2024-06-20 15:51:49 +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
b17b0e119e
Updated locales
2024-06-19 20:51:55 +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
8a46d2c33d
Reduced chance rusted key appears on PScavs to 3%
2024-06-18 21:42:49 +01:00
Dev
24fec34132
Updated quest + assort data
2024-06-18 21:34:19 +01:00
Dev
8db8eb4a4a
Updated locales
2024-06-18 20:50:32 +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
06cc13c941
Added Mr Kerman's cat hologram
to reward blacklist
2024-06-17 20:29:34 +01:00
Dev
2892e52886
Updated dev account to have ref start at rep 4 + suits to contain cultist top
2024-06-17 20:01:29 +01:00
Dev
4e68e6f1fb
30626
2024-06-17 19:25:13 +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
020c30d55b
Added M48 Tactical Kukri
to PMC loot blacklist
2024-06-17 10:00:22 +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
6f646d03e8
Adjusted PMC game version weights
2024-06-16 21:11:17 +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
8f3a065e2d
Replaced bad id with correct value for cultist clothing on PMCs
2024-06-16 18:43:28 +01:00
Dev
158258a398
Added masterMod
type to single stack only for ragfair
...
barrels/pistol grips/handguards/receivers
2024-06-16 17:45:14 +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
Dev
d0aca73611
Added all dogtags to rewardItemBlacklist
2024-06-16 09:39:55 +01:00
DrakiaXYZ
6648b1ed4b
Add EOD/TUE dogtags to more places ( !365 )
...
- PMC Loot blacklist
- Repeatable quest hand in whitelist
- Fence purchase blacklist
Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/365
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-06-16 08:34:05 +00: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
66c7ff30b0
Added UhD gamma container to UhD profile templates
2024-06-15 21:22:29 +01:00
Dev
561ecdd790
Updated bot generator to add UHD pockets to UHD PMCs
2024-06-15 17:42:02 +01:00
Dev
3fe1e47c30
Update handbook JSON
...
Updated punisher part 6 + friend from the west + easy money part 1
2024-06-15 17:41:36 +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
31a19852c8
Enabled IsStreamerModeAvailable
for dev profiles
2024-06-14 18:46:47 +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
7566b59826
Add Charisma to EoD profiles
2024-06-13 21:00:09 +01:00
Dev
c2489c6fe4
Updated Unheard
profiles to have Charisma level 3 on creation
2024-06-13 20:36:02 +01:00
Dev
689ccd69fd
Added cultist jacket
clothing to PMCs
2024-06-13 20:15:22 +01:00
Dev
37b8ad7f44
Added Cultist jacket
clothing to unheard edition
2024-06-13 20:13:34 +01:00
Dev
efddaf135b
Updated USEC ragman clothing
2024-06-13 19:32:52 +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
9e158b0ecc
30547
2024-06-13 14:08:09 +01: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
Dev
da46a9cc93
Added ref
to traders
dictionary inside ragfair config
2024-06-12 21:34:35 +01:00
Dev
4e311da111
Refactored InraidHelper
2024-06-12 20:42:29 +01:00
Dev
1caff10d35
Refactoring InventoryHelper
2024-06-12 20:25:27 +01:00
Dev
aac2142706
Refactoring of small functions for better readability
2024-06-12 19:33:55 +01:00
Dev
9d79aa70eb
Moved map marker logic out of InventoryController
and into its own MapMarkerService
2024-06-12 19:32:27 +01:00