Commit Graph

1717 Commits

Author SHA1 Message Date
Dev
ed152caa1e Merge branch 'master' of https://dev.sp-tarkov.com/SPT/Server into 310-dev 2024-07-05 17:48:58 +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
2f6f09c51a Fixed bad description 2024-07-05 16:39:40 +01:00
Dev
d7798d3afa Fixed getLocation() not getting location correctly 2024-07-05 16:37:17 +01:00
Dev
5b9d3fb075 left is now considered 'dead' on raid end 2024-07-05 16:03:16 +01:00
Dev
ce0123efd3 Implemented new wishlist system 2024-07-05 15:06:43 +01:00
CWX
b4a5556d14 Fix health saving 2024-07-05 14:39:21 +01:00
CWX
83a35cbc8c implement localweather for pve mode 2024-07-05 14:21:30 +01:00
Dev
79612a6c85 Handle when player dies in raid -
Send killer messages
Send killed messages
remove equipment\\
2024-07-05 14:16:50 +01:00
Dev
7e64a4be66 Further improvements to post-raid event handling 2024-07-05 13:32:46 +01:00
Dev
85e86b969d Expanded request object + method info 2024-07-05 10:48:13 +01:00
Dev
daf748e8fb Added first attempt at client/match/local/start implementation 2024-07-05 09:39:41 +01:00
Dev
5f280612c4 Update interface to correct naming scheme 2024-07-05 09:39:01 +01:00
Dev
5cd919a7d7 Add location services json 2024-07-05 09:38:27 +01:00
Dev
97c7c536dc Updated woods+factory json 2024-07-05 00:27:12 +01:00
CWX
1e804ce11e expirementing with using existing PVE logic 2024-07-04 23:57:15 +01:00
CWX
5ba0de5b80 add routes for start and end of local raid 2024-07-04 22:40:39 +01:00
CWX
136dc111f4 move dummy endpoint 2024-07-04 21:45:19 +01:00
CWX
7982f85e63 add dummy endpoint 2024-07-04 21:33:00 +01:00
Dev
b84795b56e Update JSONs + included new properties
Add endpoint stubs for:

client/match/local/start
client/match/local/end
2024-07-04 21:01:37 +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
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