Commit Graph

2885 Commits

Author SHA1 Message Date
Dev
2050880c91 Cleanup of getOwnerInventoryItems() 2024-07-09 09:56:18 +01:00
Kaeno
bb50998e04 Skip moving item if item cannot be found. 2024-07-09 09:52:58 +01:00
Dev
e662020f9a Removed debug bot logging 2024-07-08 21:13:53 +01:00
Dev
1d407f8787 Added missing bot equipment settings for skier/peacemaker 2024-07-08 21:12:23 +01:00
Dev
2941ae10e0 Implemented mongoid-js for hashUtil.generate() 2024-07-08 21:11:58 +01:00
Dev
a0a9b4cf29 Updated itemTpl enum 2024-07-08 19:08:57 +01:00
Dev
02fbc4f044 Added reputation saving to post raid code 2024-07-08 16:06:59 +01:00
Dev
872212f651 Removed unused endpoint + config 2024-07-08 15:15:48 +01:00
Dev
f8f0f1fdb0 Add missing bot types to presetBatch 2024-07-08 14:47:18 +01:00
Dev
fe614ad73f Fixed accepting a quest bringing in blacklisted event quests 2024-07-08 09:55:56 +01:00
Dev
3288c04a25 Improved post-raid handling of scav raids + btr item service 2024-07-07 21:51:24 +01:00
Dev
6cac4394c1 Depreciated functions 2024-07-07 21:17:10 +01:00
Dev
ac4c8ff0b3 Implemented insurance returns 2024-07-07 20:57:41 +01:00
Dev
bda69a5563 Added getMoneyTpls() 2024-07-07 19:43:32 +01:00
Dev
7497f0d40f Fixed dynamic loot code choosing blacklisted items - credit to Drakia for solution 2024-07-07 18:55:36 +01:00
Dev
ef5d72f06b Implemented coop and car extract handling 2024-07-07 17:06:45 +01:00
Kaeno
831bc58b6a Fix Valens gift 2024-07-07 16:53:39 +01:00
Dev
aa90d8fa52 Merge branch 'master' of https://dev.sp-tarkov.com/SPT/Server into 310-dev 2024-07-07 16:36:49 +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
57100544c9 Merge branch 'master' of https://dev.sp-tarkov.com/SPT/Server into 310-dev
# Conflicts:
#	project/assets/database/globals.json
2024-07-07 14:13:35 +01: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
b760b35aaf Merge branch 'master' of https://dev.sp-tarkov.com/SPT/Server into 310-dev 2024-07-06 17:56:56 +01:00
Dev
b794ace544 Updated streets raid time based on feedback 2024-07-06 17:55:31 +01:00
Dev
0991572eff Further improvements to bot caching 2024-07-06 16:58:48 +01:00
Dev
4d167568fb Added bot cache count when generating. Will only add more bots to cache when below desired amount 2024-07-06 16:42:47 +01:00
Dev
47edbbcd98 Merge branch 'master' of https://dev.sp-tarkov.com/SPT/Server into 310-dev 2024-07-06 15:01:57 +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
ca52f6d549 Created new LocationLifecycleServiceservice. Moved raid start/end code into it.
Created temp `LegacyLocationLifecycleService` class to hold old raid start/end code until we can safely delete it
2024-07-06 14:36:48 +01:00
Dev
1c3fb5f926 Move location generation code into matchcontroller 2024-07-06 14:04:51 +01:00
Dev
494fd66f51 Renamed LocationGenerator to LocationLootGenerator 2024-07-06 13:54:04 +01:00
Dev
d71bf2c2c0 Removed dead endpoints 2024-07-06 13:47:56 +01:00
Dev
1f76ce5d10 Refactored airdrop loot code 2024-07-06 13:39:56 +01:00
Dev
4cf1c10c51 Added IGetAirdropLootResponse 2024-07-06 12:59:47 +01:00
Dev
cdcc105f6a Added quests:
Invisible hand
The Good Times - Part 1
Establish Contact
2024-07-06 11:41:18 +01:00
Dev
0017a100b2 30985 2024-07-06 10:46:40 +01:00
Dev
27daac3145 Adjusted btr bot to have no visible gear 2024-07-06 10:17:12 +01:00
Dev
0ac8fbfe8e Regenerated pscav data on raid end
Moved pmc code into own function
2024-07-06 09:41:40 +01:00
Dev
61da90f33d Merge branch '310-dev' of https://dev.sp-tarkov.com/SPT/Server into 310-dev 2024-07-06 09:21:14 +01:00
Dev
cfb1cb3e39 Stubbed out handlePostRaidPlayerScav() 2024-07-06 09:21:00 +01:00
CWX
7d6721d47b update comment for airdrop enum, allow airdrop loot to work 2024-07-06 09:17:32 +01:00
Dev
6ff7408a9c Updated flea prices 2024-07-06 08:43:22 +01:00
Dev
ad1d481069 Remove unused interface 2024-07-05 22:39:24 +01:00
Dev
2febdb2c41 Update map loot JSONs 2024-07-05 21:47:01 +01:00
Dev
5e4fec3aa3 Stubbed out insurance code 2024-07-05 20:39:38 +01:00
Dev
8392bc97cf Moved call to clearStoredBots() to start raid function 2024-07-05 20:10:24 +01:00
CWX
264a8a06bd Merge branch '310-dev' of https://dev.sp-tarkov.com/SPT/Server into 310-dev 2024-07-05 19:21:25 +01:00
CWX
f7dce85e0b update endpoint for airdrop loot 2024-07-05 19:21:21 +01:00
Dev
66e5a78eee Updated ragmans clothing 2024-07-05 19:12:50 +01:00
Dev
31ba17a327 Added handling of BTR item delivery 2024-07-05 19:02:02 +01:00
Dev
21d8a5fe10 Set BTR to 100% spawn 2024-07-05 18:01:24 +01:00
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
17486eba81 Updated JSON 2024-07-05 15:15:00 +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
a28ff5f660 Added missing file 2024-07-05 13:39:12 +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
d3357be9e6 Updated map jsons 2024-07-05 08:50:32 +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
bc52883fdf Merge branch '310-dev' of https://dev.sp-tarkov.com/SPT/Server into 310-dev 2024-07-04 21:45:24 +01:00
CWX
136dc111f4 move dummy endpoint 2024-07-04 21:45:19 +01:00
Dev
48e443c341 Updated core json to reflect new game client 2024-07-04 21:43:29 +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
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