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
Dev
c710169e3d
Fixed bad error throw
2024-05-28 14:23:01 +01:00
Dev
7cdac4e38b
Added getTrader()
and utilise inside various classes
2024-05-28 14:13:44 +01:00
Dev
fdb7a2b7d8
Updated various classes to use DatabaseService
instead of DatabaseServer
2024-05-28 13:59:19 +01:00
Dev
9f1e0693f5
Make use of DatabaseService
inside ProfileFixerService
and CustomItemService
2024-05-28 12:27:46 +01:00
Dev
4c08d64ca5
Make use of DatabaseService
inside GameControler
and RagfaiServerHelper
2024-05-28 11:17:38 +01:00
Dev
e78087818f
Add DatabaseService
as safer alternate to DatabaseServer
for accessing db
2024-05-28 11:13:27 +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
65f27a7d8c
Fixed various Object is possibly undefined
warnings
2024-05-28 10:25:23 +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
Dev
a37664f43a
Localised various errors
2024-05-27 20:06:10 +01: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
88242238f9
Peppered fillMagazineWithCartridge()
with guards to assist players with finding cause of error
2024-05-26 12:17:47 +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
923a92169d
Fixed multiple ragfair bans being added on profile creation
2024-05-25 15:46:01 +01:00
Dev
ef8307540b
Fixed issue with redeemProfileReward()
not correctly levelling up traders, causing player to only see level 1 trader items until a restart
2024-05-25 15:45:27 +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
eba65cdd83
Added new Tournament
profile. Flea blacklisted. Has special gift code.
2024-05-25 14:45:36 +01:00
Dev
aa03a002ed
Fixed profileChangeEvent Skill
failing when invalid skill passed in
2024-05-25 14:40:49 +01:00
Dev
e505f86137
Fixed sendGiftToPlayer()
not correctly sending profile change events
2024-05-25 14:33:22 +01:00
Dev
18a5c49812
Add trader id to getItemPrices()
2024-05-25 10:40:32 +01:00
Dev
e2dd677b40
Fixed getLocalesGlobal()
not correctly falling back to english when locale not found
2024-05-24 23:23:59 +01:00
Dev
612b1b7940
Localized more warnings
2024-05-24 16:42:42 +01:00
Dev
ed50a89e85
Added localisation to InsuranceController
2024-05-24 15:51:16 +01:00
Dev
36a43f38ab
Updated locales
2024-05-24 15:33:54 +01:00
Dev
6623a86d0f
Improved how PMC difficulty values are generated to improve PMC vs PMC settings
...
Moved difficulty-related into `BotDifficultyHelper`
Made `typeBeingEdited` property in `addBotToEnemyList()` optional
2024-05-24 10:58:55 +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
4081508bf3
Improved accuracy of flea offer creation
...
`user` object of each offer matches live
Added `getPmcNicknameOfMaxLength()` to `botHelper`
2024-05-22 13:26:35 +01:00
Dev
961210f73c
Renamed function to clarify what it does
2024-05-22 12:51:04 +01:00
Dev
2b3ee4f15c
Improved how AID is obtained when generating a flea offer
2024-05-22 12:50:19 +01:00
Dev
2edd1695f6
Improved locale text for modloader-outdated_sptversion_field
2024-05-22 11:23:38 +01: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
Dev
6656c733a3
Added migration path for 3.8.3
profiles into new 3.9.0
structure
2024-05-21 19:47:01 +01: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