Dev
1caff10d35
Refactoring InventoryHelper
2024-06-12 20:25:27 +01:00
Dev
ca642b94a7
Reworked gift sending/storage sytem to not store the max sends in profile and use the existing gift data
...
Fixed `sendPraporStartingGift()` not sending gifts
Expanded `GiftService` to include methods to get gift by id / all gifts / all gift ids
2024-06-09 09:13:38 +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
2fea0d17de
Fixed altering SelectedMemberCategory
in settings page not saving
2024-06-08 09:15:59 +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
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
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
2f21178dc9
Updated JSON data
2024-06-03 15:59:38 +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
2169fd3210
Flagged RarityPvE
as optional
2024-05-29 10:35:18 +01:00
Dev
f56da3c1a8
Updated various classes to make use of databaseService
2024-05-28 14:52:22 +01:00
Dev
3d4447c978
Added ITemplates
interface
2024-05-28 11:11:50 +01:00
Dev
d6f7374a9a
Added IHideout
interface
2024-05-28 10:41:07 +01:00
Dev
17882ddeab
Add interface for database bots object
2024-05-28 10:33:29 +01:00
Dev
e0eaadbeef
Added implementation of adjusting hideout area level via mails profileChangeEvents
property
2024-05-27 21:30:40 +01:00
Alex
173a726f33
Removed all null references in favor of undefined ( !354 )
...
Co-authored-by: clodan <clodan@clodan.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/354
Co-authored-by: Alex <clodan@noreply.dev.sp-tarkov.com>
Co-committed-by: Alex <clodan@noreply.dev.sp-tarkov.com>
2024-05-27 20:06:07 +00:00
Alex
aee391ec1d
Null checks first pass ( !353 )
...
Co-authored-by: clodan <clodan@clodan.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/353
2024-05-27 16:05:16 +00:00
Dev
e5fd26b89c
Add system to purchase all clothing from trader on profile creation - enabled for tourney profile
...
Fixed USEC profiles not having fence locked on tourney profile creation
2024-05-27 16:30:03 +01:00
Dev
edbb6cec19
Updated _proto
inside ITemplateItem
nullable
...
Added `ItemType` enum for `_type` property in `ITemplateItem`
2024-05-27 13:59:25 +01:00
Dev
82c6add9ab
Improved insurance calculation accuracy with help from Doctor
...
Removed `insuranceMultipler` from `insurance.json` config, no longer necessary
2024-05-27 13:42:28 +01:00
Dev
40bc26dfd0
Improved localization text for ragfair-unable_to_find_item_price_for_item_in_flea_handbook
2024-05-27 10:26:11 +01:00
Dev
673256e5fa
Added disableLootOnBotTypes
property to bot.json
config to allow disabling loot on bots by their type
2024-05-26 16:32:39 +01:00
Dev
86c383c97b
Added trader assort item blacklist system. Can be applied per profile
...
Enabled for Tournament profile
Added support to server to handle `AssortmentUnlockRule` mails
2024-05-25 21:21:23 +01:00
Dev
d3b8138bab
Ignored various property naming lint issues
2024-05-25 15:57:11 +01:00
Dev
ece45f0788
Ignored various property naming lint issues
2024-05-25 15:53:49 +01:00
Dev
ca737d2f62
Added ability to flag a profile as flea banned via config
...
Updated tournament profiles to use new system
Added `getTimeStampFromNowDays()` helper to `TimeUtil`
Improved accuracy of `Bans` property in profile
2024-05-25 15:09:52 +01:00
Dev
f68827bdc2
Added ability to insert custom text into the server watermark at the bottom via core.json config
2024-05-23 21:40:59 +01:00
Dev
198f864fe6
Added additional property
2024-05-23 18:10:24 +01:00
Kaeno
c0d3c5384f
QuestitemInsurance ( !350 )
...
Add ability to tell if we planted the item at a quest location (fishing gear, SV98) and dont return it with insurance
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/350
Co-authored-by: Kaeno <kaeno@noreply.dev.sp-tarkov.com>
Co-committed-by: Kaeno <kaeno@noreply.dev.sp-tarkov.com>
2024-05-22 19:57:37 +00:00
Dev
cd965bb733
Refactored 2 functions to accept a request object instead of 5+ parameters generateModsForWeapon()
and chooseModToPutIntoSlot()
...
Store meta-data on weapon as its being generated e.g. if it has an optic/front sight/rear sight
use above meta-data to force a low/high profile gas block on weapon during generation
2024-05-21 23:22:16 +01:00
Kaeno
37f4a23acf
Fix flea market error when clicking on user. Handled responses that wasn't been handled correctly ( !348 )
...
:)
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/348
2024-05-21 21:24:57 +00:00
Alex
d13e86ba46
Rebranding to SPT ( !345 )
...
Rebranded src code and scripts to SPT
Co-authored-by: clodan <clodan@clodan.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/345
Co-authored-by: Alex <clodan@noreply.dev.sp-tarkov.com>
Co-committed-by: Alex <clodan@noreply.dev.sp-tarkov.com>
2024-05-21 17:59:04 +00:00
Dev
597ea96f34
Added per-profile type redeem times to server
...
unheard has a 72 hour redeem time vs all other profiles 48
renamed `redeemTime` to `mailRedeemTimeHours`
2024-05-20 11:31:45 +01:00
DrakiaXYZ
fcabd68dfc
Fix issues around ragfair and handbook caching ( !334 )
...
- Make `PenetrationDamageMod` optional in ITemplateItem
- Cache handbook values if they're found after initial cache generation
- Refactor how caching in RagfairPriceService is handled
-- Rename `generate` methods to `refresh` to better indicate their purpose
-- If item price isn't found in cache, try to find it and add it
-- Refresh caches prior to returning all flea prices (This is only triggered via a route call, so shouldn't happen often)
-- Remove storage of whether we've generated cache, it should always be done on load, and we dynamically add to it, so it's not necessary to keep track of
Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/334
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-05-20 07:58:13 +00:00
Dev
3163e5cd0c
Added missing IQuestSettings
interface
2024-05-18 14:36:51 +01:00
Refringe
cb169a18b9
Project Code Format
...
Ran the `npm run format` command to bring the entire project in-line with the formatting rules.
2024-05-17 15:32:41 -04:00
TheSparta
f147bb64eb
restructured Notification interfaces...
...
- Restructured notification interfaces
- Added some missing enums
2024-05-15 23:47:37 +01:00
TheSparta
9d127cbb6c
Add missing types for handled match routes
2024-05-15 23:45:48 +01:00
Dev
e0fd7e59e7
Added missing endpoint
2024-05-15 15:43:19 +01:00
Dev
8e78cb0faf
Added missing replyTo
property to Message
2024-05-15 15:42:58 +01:00
Dev
46b630c5ef
Added missing notification types
2024-05-15 15:42:35 +01:00
Dev
c6041514db
Added additional missing endpoints
2024-05-15 14:23:19 +01:00
Dev
5d8d6d7185
Improved accuracy of multiple endpoints
2024-05-15 14:10:06 +01:00
Dev
f45b54a01a
Update to 29997
2024-05-15 10:45:01 +01:00
Alex
f8d1227dfd
Introduced a new ICloner interface with 3 implementations, one of them being a recursive cloner which is faster and more efficient than its counterparts by more than 50% ( !328 )
...
Co-authored-by: clodan <clodan@clodan.com>
Co-authored-by: Dev <dev@dev.sp-tarkov.com>
Co-authored-by: chomp <chomp@noreply.dev.sp-tarkov.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/328
Co-authored-by: Alex <clodan@noreply.dev.sp-tarkov.com>
Co-committed-by: Alex <clodan@noreply.dev.sp-tarkov.com>
2024-05-13 17:58:17 +00:00
Dev
f2c7e938cc
Updated various JSONs
2024-05-13 17:05:04 +01:00
Refringe
ba1ac09b0b
Merge branch '3.8.2-DEV' into 3.9.0-DEV
...
# Conflicts:
# project/src/callbacks/ItemEventCallbacks.ts
# project/src/models/eft/common/IGlobals.ts
# project/src/models/eft/common/ILocation.ts
# project/src/models/eft/common/ILocationBase.ts
# project/src/models/eft/common/tables/ILootBase.ts
# project/src/models/eft/common/tables/ITemplateItem.ts
# project/src/models/eft/weather/IWeatherData.ts
# project/src/models/spt/bots/BotGenerationDetails.ts
# project/src/models/spt/config/IPmcConfig.ts
# project/src/models/spt/config/IWeatherConfig.ts
# project/src/models/spt/server/IDatabaseTables.ts
# project/src/models/spt/server/ILocations.ts
# project/src/servers/http/IHttpListener.ts
2024-05-08 00:21:12 -04:00
Refringe
50c7a26a58
ESLint Pass
...
This is the first pass of ESLint on the codebase.
ESLint formatting is less strict when it comes to line-length and line-breaks then dprint/biome, so if you see formatting that you don't like... fix it! It shouldn't require a configuration change.
- This should merge clean into master (when the time comes).
- This will not merge clean into `3.9.0-DEV`, but the conflicts aren't that bad.
2024-05-07 23:57:08 -04:00