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
ece45f0788
Ignored various property naming lint issues
2024-05-25 15:53:49 +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
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
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
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
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
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
TheSparta
cd5179bf39
fixed autoimport resolved wrong path
...
- vscode fumbled my previous commit
2024-05-07 15:14:49 +01:00
Refringe
735624eb9c
Merge branch '3.8.2-DEV' into 3.9.0-DEV
2024-05-06 21:52:21 -04: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
Dev
99444c7237
Added config to not included secure container loot in PMCs - set to false by default
2024-05-03 21:31:24 +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
8ff241b7b9
Add new map to Interface
2024-04-30 20:54:48 +01: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
Alex
a1e48ca245
Added profile and trader commands to commando ( !309 )
...
Added new spt commands for commando to alter profile levels and skill, as well as trader rep and money spent.
Co-authored-by: clodan <clodan@clodan.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/309
Co-authored-by: Alex <clodan@noreply.dev.sp-tarkov.com>
Co-committed-by: Alex <clodan@noreply.dev.sp-tarkov.com>
2024-04-27 16:56:28 +00: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
b305ffdc24
Add currency
to generation configuration for each bot
...
Fix various missing properties in some bot jsons
2024-04-18 11:56:45 +01:00
Dev
8cbc51d20e
Revert "Merge branch '3.9.0-DEV' into 3.8.1-DEV"
...
This reverts commit 6121e65b4e0fde2d9e797cab9b271db6096ff0ce, reversing
changes made to 10b1b2b3aa3ee549738c5ad9a27c70ec9c7639d7.
2024-04-15 09:00:52 +01:00
chomp
687436ab8b
update 3.9.0 with 3.8.1 changes ( !289 )
...
Co-authored-by: Refringe <me@refringe.com>
Co-authored-by: Dev <dev@dev.sp-tarkov.com>
Co-authored-by: Terkoiz <terkoiz@spt.dev>
Co-authored-by: Refringe <refringe@noreply.dev.sp-tarkov.com>
Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/289
2024-04-15 07:59:33 +00:00
chomp
6121e65b4e
Merge branch '3.9.0-DEV' into 3.8.1-DEV
2024-04-15 07:57:24 +00:00
Dev
a9d89695f0
Added new service ProfileActivityService
...
Maintains a timestamp of when each profile was last active on the server.
Timestamp is refreshed on two events: `game/start and `game/keepalive`
Timestamp is used to determine if a profiles hideout should be processed. If a profile has a timestamp older than 90 minutes, it is not processed. (could be set lower but its a conservative value)
This has the side effects of not adjusting the `sptUpdateLastRunTimestamp` property, resulting in `saveProfile()` not running for every profile.
My testing shows a 20x perf increase for every profile in SPT not in use.
Service could likely be used in other scenarios to avoid doing unnecessary work
2024-04-13 12:46:43 +01:00
Dev
73a1dd9511
Split out static/dynamic magazine fill options in config
...
set static mag fill to 0%
2024-04-12 23:05:27 +01:00
Dev
d60cdb6be2
Separate out address used by backend to assist with users who have locked down local machines and cannot connect to a local http server
...
Remove unsed ip/port property assignment on server start that wasn't used anywhere
2024-04-12 09:27:15 +01:00
Dev
e48362ae6e
Added setting to allow/deny player wiping a profile via launcher - default true
2024-04-10 22:49:26 +01:00
Dev
46d48c7531
Added system to filter out ammos from fence by its penetration value
...
Removed redundant hard-coded ammos from blacklist
2024-04-09 10:29:12 +01:00
Dev
64ddca4124
Improved handling of fence assort item refresh. Duplicate stacks should be much less common
...
Stacked items can now be partially reduced instead of all or nothing
2024-04-08 20:01:51 +01:00
Dev
ef2442178a
Implement weights for food/drink on bots
2024-04-08 12:31:51 +01:00
Dev
afa5700076
Improved IArmorPlateWeights
type
2024-04-08 08:56:05 +01:00
Dev
35e48add20
Added ability to override hideout craft times via config
2024-04-06 20:25:57 +01:00
Dev
61dbc2b1d0
Add season handling
2024-04-06 11:25:09 -04:00
Dev
41391a841d
Add WsReconnectionDelays
property
2024-04-06 11:25:08 -04:00
Dev
6690704208
29577
2024-04-06 11:25:04 -04:00
Dev
18b28a6d0b
Remove unused /singleplayer/settings/weapon/durability
endpoint
2024-04-06 11:23:57 -04:00
Refringe
f9d22f409c
Style fixes
2024-03-30 14:29:08 -04:00
Dev
c05347279b
Added variable hideout update() check times when in and out of raid
2024-03-30 15:15:06 +00:00
Dev
3c96a98a29
Remove persistPurchaseDataInProfile
from trader config - causes too many issues when disabled
...
By default profiles keep track of purchased items
2024-03-30 12:59:56 +00:00
Leaves
0bb7d1d350
Fix error when created multiple items with the same unique ID ( !269 )
...
Fixes issue #592
https://dev.sp-tarkov.com/SPT-AKI/Issues/issues/592
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/269
Co-authored-by: Leaves <mwarciel@gmail.com>
Co-committed-by: Leaves <mwarciel@gmail.com>
2024-03-25 08:32:01 +00:00
Dev
cf490c841e
Create centralised reward blacklist
2024-03-23 10:42:43 +00:00
DrakiaXYZ
a29902b980
Add a new allExtracts
property to locations database, and use it for daily quest generation ( !266 )
...
- Dumped from the client using an aki-debugging patch
- Contains all extracts according to the map data, with a side indicator
- Cleaned up ILocation vs ILocationData duplication
Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/266
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-03-20 09:43:51 +00:00
Dev
5d59e4c36e
Fix issue with using LogTextColor.GRAY
2024-03-18 20:34:23 +00:00
Dev
2ffe44d153
Made ragfair run interval time dynamic based on players current location:
...
Player in raid = longer time between checks (60 secs)
Player out of raid = shorter time between checks (8 secs)
Original value was 45 secs
2024-03-17 12:27:24 +00:00
Dev
95f5a49c5c
Update trader refresh times to use a min and max value
2024-03-16 22:12:03 +00:00