Dev
5d3ea2ef83
Adjusted addBuffToItem()
to also include ARMOR_PLATE items
2024-06-08 17:58:12 +01:00
Dev
75a34f5ca2
Expanded gift system used by spt bot
...
Gifts can be given multiple times
stash expansions are limited to 5 max by default
dev balaclava can be given 5 times, majority of gifts are 1 use still
Updated data structure to persist gifts received, this will break profiles
2024-06-08 17:54:05 +01:00
Dev
f475d4f6f3
Added ARMOR_PLATE
type to getItemSkillType()
check
2024-06-08 17:07:14 +01:00
Dev
e39654be6a
Simplified generateInventoryId()
2024-06-08 16:16:36 +01:00
Dev
b645e6f51b
Added Error throwing when calling getConfig()
and a config cannot be found
2024-06-08 12:56:24 +01:00
Dev
2fea0d17de
Fixed altering SelectedMemberCategory
in settings page not saving
2024-06-08 09:15:59 +01:00
Dev
8745caf86d
Refactored getHighestSellToTraderPrice()
2024-06-07 23:14:18 +01:00
Dev
3f125593a7
Refactor BotGenerator()
2024-06-07 22:41:30 +01:00
Dev
d9f8ba653a
Refactoring of RepeatableQuestController
2024-06-07 21:33:09 +01:00
Dev
bb4bfc6dcb
Refactoring of generateReward()
2024-06-07 20:19:58 +01:00
chomp
4788f6b407
30473 ( !361 )
...
Co-authored-by: Dev <dev@dev.sp-tarkov.com>
Co-authored-by: Kaeno <kaeno@noreply.dev.sp-tarkov.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/361
2024-06-07 18:25:27 +00:00
chomp
b3b1f76a77
Migrate PMCs (sptBear/sptUsec) To Bsg Types (pmcBEAR/pmcUSEC) ( !360 )
...
Co-authored-by: Dev <dev@dev.sp-tarkov.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/360
2024-06-06 16:59:44 +00:00
Dev
75b2661f72
Moved pity gift code into chooseMessage()
to group similar functionality together
2024-06-06 12:24:12 +01:00
Scuvy
e0717daa99
Send pity gift codes to player when player dies to other PMC's ( !359 )
...
* This is to address [Issue 652](https://dev.sp-tarkov.com/SPT/Issues/issues/652 ).
* Added messages with gift codes inside project/assets/database/locales/server/en.json
* Update pmcchatresponse.json to include new pity message type.
* Update logic in project/src/services/PmcChatResponseService.ts to now account for pity messages that are sent.
The message's %giftcode% will now be replaced with a random gift code from assets\configs\gifts.json
* Example:
- ![image](/attachments/ade2686a-8dcb-4c11-9457-88e003a47416)
Co-authored-by: Scuvy <Scuvy@gmail.com>
Co-authored-by: chomp <chomp@noreply.dev.sp-tarkov.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/359
Co-authored-by: Scuvy <scuvy@noreply.dev.sp-tarkov.com>
Co-committed-by: Scuvy <scuvy@noreply.dev.sp-tarkov.com>
2024-06-06 11:14:38 +00:00
Dev
ccb351a2dd
Expanded craft search code to also check for craft count
2024-06-06 11:34:03 +01:00
Dev
af76a068b4
Fixed incorrect logging values
2024-06-05 21:50:27 +01:00
Dev
2a9cbab762
Fixed issue with PMC post-raid messages not being sent
...
Caused by bot match cache regression resulting in bot data not being stored during generation
2024-06-05 21:50:07 +01:00
Dev
bcb40c8333
Fixed hideout crafts causing server failure
2024-06-04 19:23:37 +01:00
Dev
0574392f28
Added new lootable item blacklist and added checks to bot and map loot generator code
...
Remove event quest item from global blacklist and move to loot item blacklist
2024-06-04 18:57:36 +01:00
Dev
5b4b0c1471
Introduced Set to speed up calls to isItemBlacklisted()
2024-06-04 18:32:22 +01:00
TetrisGG
bef57f4f58
Fix Tournament Profile having access to Fence ( !358 )
...
Fixes SPT/Issues#677
Fence should be locked in Tournament Profile.
Setting Fences base.json `unlockedByDefault` to `false` makes the profile able to lock Fence
Code from Client:
Shows that unlockedByDefault overrides whatever is written in the Profile data on init.
![image](/attachments/7336f96c-31c0-4ea3-848d-65320cf41340)
Working Screen from Game:
![image](/attachments/b94f368e-91c4-4641-a31e-8b0d8c60d239)
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/358
Co-authored-by: TetrisGG <dmiller2606@gmail.com>
Co-committed-by: TetrisGG <dmiller2606@gmail.com>
2024-06-04 17:20:10 +00:00
Dev
dde78b30eb
Cloned blacklist data before returning it
2024-06-04 18:18:52 +01:00
Dev
2a587d80d8
Added system to filter blacklisted items from static and dynamic loot positions
...
Moved seasonal item filter code to different position inside `generateDynamicLoot()`
2024-06-04 17:06:50 +01:00
Dev
e5398f5e4d
Added implementation for Achievement
quest rewards
2024-06-04 15:36:01 +01:00
Dev
aebe1ab606
Updated getItemPrices()
to return each traders next refresh timestamp
2024-06-04 15:17:46 +01:00
Dev
ba8829681d
Fixed flea-banned players being able to buy pmc items from flea
2024-06-03 22:35:09 +01:00
Dev
0aff3c5274
Fixed missing property in addMissingSptVersionTagToProfile()
2024-06-03 22:30:20 +01:00
Dev
7842167595
Stored free daily quest resets in profile per-daily-type
...
Wired up `getClientRepeatableQuests()` to retrieve this value + reduced indentation of function
Updated `changeRepeatableQuest()` to decrement free daily value from profile
2024-06-03 17:33:46 +01:00
Dev
671c57cefb
Cleaned up getClientRepeatableQuests()
2024-06-03 16:51:26 +01:00
Dev
b010ff87c2
Pulled code out of acceptRepeatableQuest()
into new function createAcceptedQuestClientResponse()
2024-06-03 16:20:16 +01:00
Dev
2f21178dc9
Updated JSON data
2024-06-03 15:59:38 +01:00
Dev
5c7f6bc782
Improved comments for deserializeWithCacheCheck()
2024-06-02 14:49:28 +01:00
Dev
a1955d4e7e
Second part of EventOutputHolder
change, updated output
to be keyed by sessionID
2024-05-31 23:28:35 +01:00
Dev
97efad0a79
Updated clientActiveSessionStorage
inside EventOutputHolder
to store data by sessionId
2024-05-31 23:10:18 +01:00
Dev
f20ffe286b
Reworked getBotCap()
to use data from url instead of appContext
2024-05-31 22:01:48 +01:00
Dev
561e8da3db
Improved client/items/prices
handling
2024-05-31 16:16:10 +01:00
Dev
b7a9296fac
Expanded getItemName()
to return short name when full name is not found
2024-05-31 11:09:19 +01:00
Dev
5531f9d03e
Added text to help with finding data
2024-05-30 13:16:28 +01:00
Dev
f341bfcb4b
14.8.6.30268
...
Added new properties to daily quests
Stubbed out quest achievement rewards
Added new Item properties used by unknown radio
Updated data JSONs
2024-05-30 13:05:28 +01:00
Dev
56d135fe6d
Fixed bot generation error
2024-05-30 10:09:04 +01:00
Dev
b8ee834165
Replaced uses of DatabaseServer
with DatabaseService
2024-05-29 15:15:45 +01:00
Dev
2169fd3210
Flagged RarityPvE
as optional
2024-05-29 10:35:18 +01:00
Dev
7d515ad680
Replaced uses of DatabaseServer
with DatabaseService
2024-05-28 22:24:52 +01:00
Dev
5bd49ded59
Updated SaveServer.load()
to log the total time taken to load profiles on server started instead of per profile
2024-05-28 18:40:22 +01:00
Dev
c72834d778
Adjusted load time logging to show a max of 2DP
2024-05-28 18:33:17 +01:00
Dev
0dfbf61ddf
Replaced usages of parameters with fixed values
2024-05-28 18:32:09 +01:00
Alex
e2eb56a60a
Added more nullguards ( !356 )
...
Co-authored-by: clodan <clodan@clodan.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/356
Co-authored-by: Alex <clodan@noreply.dev.sp-tarkov.com>
Co-committed-by: Alex <clodan@noreply.dev.sp-tarkov.com>
2024-05-28 14:35:38 +00:00
Alex
8727f6150e
primery-dependencies ( !355 )
...
Co-authored-by: clodan <clodan@clodan.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/355
Co-authored-by: Alex <clodan@noreply.dev.sp-tarkov.com>
Co-committed-by: Alex <clodan@noreply.dev.sp-tarkov.com>
2024-05-28 14:04:20 +00:00
Dev
f56da3c1a8
Updated various classes to make use of databaseService
2024-05-28 14:52:22 +01:00
Dev
584eade530
Added getLocation()
to databaseService
and made use of it across various classes
2024-05-28 14:28:26 +01:00