aee391ec1d
Null checks first pass ( !353 )
...
Co-authored-by: clodan <clodan@clodan.com>
Reviewed-on: SPT/Server#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
d13e86ba46
Rebranding to SPT ( !345 )
...
Rebranded src code and scripts to SPT
Co-authored-by: clodan <clodan@clodan.com>
Reviewed-on: SPT-AKI/Server#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
66cac910c3
Add scav profile support to InventoryController.swapItem ( !341 )
...
Resolves SPT-AKI/Issues#664
Reviewed-on: SPT-AKI/Server#341
Co-authored-by: Tyfon <tyfon7@outlook.com>
Co-committed-by: Tyfon <tyfon7@outlook.com>
2024-05-19 12:25:56 +00:00
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
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
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
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: SPT-AKI/Server#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
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
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
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
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: SPT-AKI/Server#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
2172c29640
First iteration of async work on callbacks ( !311 )
...
Co-authored-by: clodan <clodan@clodan.com>
Reviewed-on: SPT-AKI/Server#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
001def56a5
feat: add /client/game/mode handling ( !308 )
...
add `/client/game/mode` endpoint handling. gets into main menu
Reviewed-on: SPT-AKI/Server#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
Dev
a3c8faaaaa
Remove core from getAllBotDifficulties()
2024-04-24 13:05:37 +01:00
Dev
60eb6bfe80
Improve data returned from getAllBotDifficulties()
2024-04-24 10:09:37 +01:00
Dev
6e262a228f
Add optional param to ignore raid settings chosen by player during getAllBotDifficulties()
2024-04-23 22:41:00 +01:00
Dev
d49bf4a378
Replace single letter variables with better names
2024-04-23 21:07:34 +01:00
Dev
57557d6063
Migrate loot generation code to use per-map static data - ONLY WORKS WITH CUSTOMS (other maps to follow later)
2024-04-23 10:27:09 +01:00
Dev
bba169127c
Merge branch '3.8.1-DEV' of https://dev.sp-tarkov.com/SPT-AKI/Server into 3.9.0-DEV
...
# Conflicts:
# project/assets/configs/bot.json
# project/assets/configs/core.json
# project/assets/database/bots/types/arenafighterevent.json
# project/assets/database/bots/types/assault.json
# project/assets/database/bots/types/bear.json
# project/assets/database/bots/types/bossboar.json
# project/assets/database/bots/types/bossboarsniper.json
# project/assets/database/bots/types/bossbully.json
# project/assets/database/bots/types/bossgluhar.json
# project/assets/database/bots/types/bosskilla.json
# project/assets/database/bots/types/bossknight.json
# project/assets/database/bots/types/bosskojaniy.json
# project/assets/database/bots/types/bosskolontay.json
# project/assets/database/bots/types/bosssanitar.json
# project/assets/database/bots/types/bosstagilla.json
# project/assets/database/bots/types/bosszryachiy.json
# project/assets/database/bots/types/exusec.json
# project/assets/database/bots/types/followerbigpipe.json
# project/assets/database/bots/types/followerbirdeye.json
# project/assets/database/bots/types/followerboar.json
# project/assets/database/bots/types/followerboarclose1.json
# project/assets/database/bots/types/followerboarclose2.json
# project/assets/database/bots/types/followerbully.json
# project/assets/database/bots/types/followergluharassault.json
# project/assets/database/bots/types/followergluharscout.json
# project/assets/database/bots/types/followergluharsecurity.json
# project/assets/database/bots/types/followerkojaniy.json
# project/assets/database/bots/types/followerkolontayassault.json
# project/assets/database/bots/types/followerkolontaysecurity.json
# project/assets/database/bots/types/followerzryachiy.json
# project/assets/database/bots/types/gifter.json
# project/assets/database/bots/types/marksman.json
# project/assets/database/bots/types/peacefullzryachiyevent.json
# project/assets/database/bots/types/pmcbot.json
# project/assets/database/bots/types/ravangezryachiyevent.json
# project/assets/database/bots/types/sectantpriest.json
# project/assets/database/bots/types/sectantwarrior.json
# project/assets/database/bots/types/shooterbtr.json
# project/assets/database/bots/types/usec.json
# project/assets/database/globals.json
# project/assets/database/locales/global/ch.json
# project/assets/database/locales/global/cz.json
# project/assets/database/locales/global/en.json
# project/assets/database/locales/global/es-mx.json
# project/assets/database/locales/global/es.json
# project/assets/database/locales/global/fr.json
# project/assets/database/locales/global/ge.json
# project/assets/database/locales/global/hu.json
# project/assets/database/locales/global/it.json
# project/assets/database/locales/global/jp.json
# project/assets/database/locales/global/kr.json
# project/assets/database/locales/global/pl.json
# project/assets/database/locales/global/po.json
# project/assets/database/locales/global/ro.json
# project/assets/database/locales/global/ru.json
# project/assets/database/locales/global/sk.json
# project/assets/database/locales/global/tu.json
# project/assets/database/templates/achievements.json
# project/assets/database/templates/handbook.json
# project/src/generators/BotLootGenerator.ts
# project/src/generators/LootGenerator.ts
# project/src/models/eft/common/tables/IBotType.ts
# project/src/models/spt/bots/IBotLootCache.ts
# project/src/servers/HttpServer.ts
# project/src/services/BotLootCacheService.ts
# project/src/services/FenceService.ts
# project/tests/controllers/InsuranceController.test.ts
2024-04-20 23:29:54 +01:00
Dev
f63da802b2
Fix addPlayer
not correctly assigning location value
2024-04-20 15:23:24 +01:00