Dev
584eade530
Added getLocation()
to databaseService
and made use of it across various classes
2024-05-28 14:28:26 +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
4c08d64ca5
Make use of DatabaseService
inside GameControler
and RagfaiServerHelper
2024-05-28 11:17:38 +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
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
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
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
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
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
961210f73c
Renamed function to clarify what it does
2024-05-22 12:51:04 +01: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
Dev
a48e130f1b
Localized various warning messages
2024-05-21 14:28:52 +01:00
Dev
139b139581
Localised various error messages
2024-05-21 12:40:16 +01: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
Tyfon
66cac910c3
Add scav profile support to InventoryController.swapItem ( !341 )
...
Resolves https://dev.sp-tarkov.com/SPT-AKI/Issues/issues/664
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/341
Co-authored-by: Tyfon <tyfon7@outlook.com>
Co-committed-by: Tyfon <tyfon7@outlook.com>
2024-05-19 12:25:56 +00: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
9d127cbb6c
Add missing types for handled match routes
2024-05-15 23:45:48 +01:00
Dev
2696a2dff2
Linted files edited in previous commit
2024-05-15 19:43:39 +01:00
Dev
d95423b0f1
Merge branch 'master' of https://dev.sp-tarkov.com/SPT-AKI/Server into 3.9.0-DEV
...
# Conflicts:
# project/assets/configs/core.json
# project/package.json
# project/src/models/eft/common/IGlobals.ts
# project/src/routers/dynamic/BundleDynamicRouter.ts
2024-05-15 16:39:41 +01:00
Dev
5d8d6d7185
Improved accuracy of multiple endpoints
2024-05-15 14:10:06 +01:00
Dev
ed6e81ab52
Expanded input parameters for getBotGenerationDetailsForWave()
and include change inside returnSingleBotFromCache()
2024-05-14 11:34:09 +01:00
Dev
81c7b8751b
Extracted 2 functions from generateBotsFirstTime()
to allow easier overriding for mod authors
2024-05-14 11:23:02 +01:00
Refringe
14e8f8fa19
Take your brackets back!
...
I don't want em'. Grumble. Ahem...
This change allows for "extra" parentheses to be added in situations where, without them, the code could possibly, potentially be seen as maybe a little-bit, tiny confusing.
Also, fixes a bunch of other ESLint errors. Mostly down to naming warnings now. Mostly.
2024-05-13 17:04:23 -04: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
aeee99bae5
updated removeResourceFromArea()
to get FiR status for a fuel item without a upd
property
2024-05-10 14:51:23 +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
Refringe
735624eb9c
Merge branch '3.8.2-DEV' into 3.9.0-DEV
2024-05-06 21:52:21 -04:00
Dev
fa76578880
Updated insurance tests
...
Added logging of items attachments that are being removed
Only add items with a price to weight dictionary
2024-05-06 19:33:44 +01:00
Dev
77a5b0a4b4
Reworked how insurance picks attachments to delete before return
...
Now has a chance to not pick any to remove (default 10%)
Now only removes attachments that are above a rouble price (default 2000)
Stores attachments in a dictionary weighted by rouble price
Picks random amount of attachments to remove and then picks from pool by price, removing items from pool as they're picked
2024-05-06 15:54:29 +01:00
Dev
509e208fb9
Merge branch '3.8.1-DEV' of https://dev.sp-tarkov.com/SPT-AKI/Server into 3.9.0-DEV
...
# Conflicts:
# project/assets/configs/pmc.json
# project/src/helpers/ItemHelper.ts
# project/src/models/spt/config/IPmcConfig.ts
2024-05-04 21:41:44 +01:00
TheSparta
d2e1624618
dialogs-profiles-refresh ( !320 )
...
This PR updates a few interfaces and consequently a few functions returned data,
it also handles 2 new routes:
`/client/friend/request/decline`
`/client/friend/request/accept-all`
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/320
Co-authored-by: TheSparta <thesparta@noreply.dev.sp-tarkov.com>
Co-committed-by: TheSparta <thesparta@noreply.dev.sp-tarkov.com>
2024-05-03 22:54:48 +00:00
Dev
096c8471dc
Fixed incorrectly logging insurance mesage
2024-05-03 20:04:29 +01:00
Dev
06b35ddde8
Improved how Level specific PMC levels are handled, not included min and max - stored in pmc.json
2024-04-30 23:21:52 +01:00
Dev
297e35a1ff
Added system to set min level for PMCs spawned on sandbox_high to 20
2024-04-30 21:52:26 +01:00
Dev
267efdc7ea
Merge branch '3.8.1-DEV' of https://dev.sp-tarkov.com/SPT-AKI/Server into 3.9.0-DEV
2024-04-29 21:50:12 +01:00
Dev
995d50dba4
made use of function addUpdObjectToItem()
2024-04-28 22:50:39 +01:00
Dev
b9973e609f
Fixed issue with water bottles having no upd
object in rare cases killing client
2024-04-28 22:39:17 +01:00
Alex
2172c29640
First iteration of async work on callbacks ( !311 )
...
Co-authored-by: clodan <clodan@clodan.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/311
Co-authored-by: Alex <clodan@noreply.dev.sp-tarkov.com>
Co-committed-by: Alex <clodan@noreply.dev.sp-tarkov.com>
2024-04-28 13:45:36 +00:00
Dev
9dff3e0790
Merge branch '3.8.1-DEV' of https://dev.sp-tarkov.com/SPT-AKI/Server into 3.9.0-DEV
2024-04-27 22:58:05 +01:00
Dev
dd6d7e192f
Fixed coop exit usage not updating scav profile fence rep value in a similar way to car extracts do
2024-04-26 14:06:18 +01:00
kiobu
001def56a5
feat: add /client/game/mode handling ( !308 )
...
add `/client/game/mode` endpoint handling. gets into main menu
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/308
Co-authored-by: kiobu <kiobu@sdf.org>
Co-committed-by: kiobu <kiobu@sdf.org>
2024-04-26 07:37:42 +00:00
Dev
f07637cf63
Merge branch '3.8.1-DEV' of https://dev.sp-tarkov.com/SPT-AKI/Server into 3.9.0-DEV
2024-04-24 21:23:14 +01:00