chomp
50bafeb100
Fix flea selling issues ( !374 )
...
Co-authored-by: Dev <dev@dev.sp-tarkov.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/374
(cherry picked from commit 4fd113d00d
)
2024-07-15 19:24:53 +01:00
trippy
6f3a674fd8
Change methods to public ( !373 )
...
Change generateBotsFirstTime and returnSingleBotFromCache methods to public.
The generate method that call these methods is overridden in Fika.
Co-authored-by: trippyone <137233897+trippyone@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/373
Co-authored-by: trippy <trippy@noreply.dev.sp-tarkov.com>
Co-committed-by: trippy <trippy@noreply.dev.sp-tarkov.com>
2024-07-15 15:29:33 +00:00
Dev
9e1c3304f0
Added common weapon crate
2024-07-15 11:30:58 +01:00
Dev
111b75d1ab
Expanded weapon crate fix to include common/rare creates
2024-07-15 11:30:03 +01:00
Dev
c2ccadf110
Added exit when flea offer type is not found
2024-07-14 19:48:52 +01:00
Dev
e67f000602
Added getOfferType()
to ragfairController
2024-07-14 19:21:11 +01:00
Dev
d4164d05c3
Added null protection around RagfairInfo
on game start
2024-07-14 17:23:20 +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
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
28593d3e9b
Removed deprecated ICommandoCommand
2024-07-12 22:19:04 +01:00
Dev
442d00c959
Fixed minor typo
2024-07-12 17:20:54 +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
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
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
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
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
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
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
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
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
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