TetrisGG
386b93e7e6
Handle Softinsertslots when insuring armor ( !401 )
...
fixes SPT/Issues#765
Tested with Uptodate Bleedingedge
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/401
Co-authored-by: TetrisGG <dmiller2606@gmail.com>
Co-committed-by: TetrisGG <dmiller2606@gmail.com>
2024-08-23 16:35:17 +00:00
Dev
8d9a396914
Added back missing singleplayer/settings/raid/menu
endpoint
2024-08-23 17:08:14 +01:00
Dev
7a1b15e193
Updated to 32197
2024-08-23 16:05:40 +01:00
Dev
8fc2428239
Added helper function handleInsuredItemLostEvent()
2024-08-23 10:35:41 +01:00
Dev
3d1aa5e4fc
Removed unused singleplayer/settings/raid/endstate
endpoint
2024-08-23 10:19:23 +01:00
Dev
b988977894
Updated loot data JSONs - only using fresh 0.15 data
2024-08-22 20:46:34 +01:00
Dev
24cd94abd3
Expanded pmcConfig.maxBackpackLootTotalRub
to work per PMC level
...
non-PMC backpack loot is no longer limited to 150,000 roubles
2024-08-22 20:42:47 +01:00
Dev
9df2c90285
Further adjustments to PMC difficulty values
2024-08-22 20:39:43 +01:00
Dev
0d152b6988
Updated PMC jsons to better match BSGs data
2024-08-22 19:13:50 +01:00
Dev
607189926a
Removed chanceSameSideIsHostilePercent
config property and code that uses it, now implemented inside every maps base.json
2024-08-22 19:08:40 +01:00
Dev
6d7c4d95b6
Added further progress on cultist circle - now rewards items upon completion
...
Now handles `HideoutDeleteProductionCommand` event, Deletes sacrificed items on craft start
Set craft time to 30 secs for debugging
2024-08-22 17:48:39 +01:00
Dev
eccf4ee969
Further improvements to cultist circle
2024-08-22 16:32:27 +01:00
Dev
c5793f1724
Fixed incorrect VALID_REASONS_TO_ADD_ENEMY
inside shooterBTR
bot
2024-08-22 15:00:52 +01:00
Dev
38d2f88e0c
Fixed circle craft not registering correctly
2024-08-22 12:43:30 +01:00
Dev
c6877f998b
Updated StartTimestamp
to be stored as a string
2024-08-22 12:34:54 +01:00
Dev
d9b8825b14
Updated trader assort and base data
2024-08-22 12:19:04 +01:00
Dev
472c258187
Fix cultist circle craft not progressing due to lack of recipe
2024-08-22 11:05:32 +01:00
Dev
47fcff1338
Added further work to circle of sacrifice area
2024-08-22 10:32:35 +01:00
Dev
f24318603f
Fixed flea market not showing items
2024-08-21 21:34:50 +01:00
Dev
846960d8bb
Updated map location paths
2024-08-21 20:47:53 +01:00
Dev
dc43574cad
Updated static containers
2024-08-21 20:39:21 +01:00
Dev
3d8d09cc18
Expanded implementation of circleOfCultistProductionStart
2024-08-21 19:56:29 +01:00
Dev
f15992b532
Updated to 32160
2024-08-21 19:11:08 +01:00
Dev
4a10dfc397
Updated GZ high statics data
2024-08-21 18:02:54 +01:00
Dev
409d146fa9
Added new properties to profile templates + updated some interfaces to match live
2024-08-21 17:50:12 +01:00
Dev
7316e6377d
Added equipment preset area to addUpdateinventoryItemToProfile
blacklist
2024-08-21 17:05:38 +01:00
Dev
88e682de9c
Fixed Incorrect difficulty values
2024-08-21 17:05:04 +01:00
Dev
a68dc0e1f4
Added more difficulty fixes
2024-08-21 15:56:53 +01:00
Dev
4cba53b744
Updated JSONs
2024-08-21 15:40:48 +01:00
Dev
1aa8233b4c
Updated itemtpl enum
2024-08-21 15:34:55 +01:00
Dev
64c007199c
Updated broken JSON
2024-08-21 15:26:12 +01:00
Dev
121ad8270b
Updated bot JSONs
2024-08-21 15:22:49 +01:00
Dev
471c606e12
Updated production recipe interface to match live
2024-08-21 14:43:19 +01:00
Dev
b209c0728c
Updated quests JSON
2024-08-21 13:56:31 +01:00
Dev
f4d1ac9097
Added TODO inside circleOfCultistProductionStart
2024-08-21 13:45:03 +01:00
Dev
0a7394c2e3
Added timestamp to IHideoutCircleOfCultistProductionStartRequestData
2024-08-21 13:39:14 +01:00
Dev
726e4f4b2c
Stubbed out HIDEOUT_CIRCLE_OF_CULTIST_PRODUCTION_START
event
2024-08-21 13:36:51 +01:00
Dev
858026b5b9
Handled edge case handling for adding an item to a hideout area
2024-08-21 13:28:30 +01:00
Kaeno
87ac190b37
Update Wildspawntypenumber to add new boss
2024-08-21 13:26:55 +01:00
Kaeno
d4cc41d3fc
Fix Dev profiles not having access to Weapon wall and Cultist stash
2024-08-21 13:26:10 +01:00
Dev
0839f34b9b
Updated addContainerImprovementToProfile
to better handle cultist circle
2024-08-21 13:05:59 +01:00
Dev
391273e7fb
Fixed incorrect value assignment
2024-08-21 12:32:32 +01:00
Dev
b67c1be6f1
Updated bot jsons
2024-08-21 12:31:25 +01:00
Dev
06ab0fd07b
Updated PMC json difficulty values
2024-08-21 12:26:52 +01:00
Dev
0e054c0af7
Updated bot JSONs
2024-08-21 12:20:11 +01:00
Dev
605a868c86
Added missing quest images
2024-08-21 11:29:27 +01:00
Dev
6a2ba8e3d8
Fixed various botgen errors + added hear to PMCs
2024-08-20 23:53:02 +01:00
Dev
502fdb918f
Added M60E4 to PMCs
2024-08-20 23:26:14 +01:00
Dev
02ec4fe143
Added Desert eagle to PMCs
2024-08-20 23:17:08 +01:00
Dev
dd9e293ee5
Updated various other map base jsons
2024-08-20 22:56:52 +01:00
Dev
c6e6b52baa
Updated some map base jsons
2024-08-20 22:46:38 +01:00
Dev
68945c901d
Added bossPartisan json
2024-08-20 22:45:33 +01:00
Dev
23875045c9
Updated factory base json + interfaces
2024-08-20 22:20:16 +01:00
Dev
75feed2c24
Added bossPartisan
to bot config jsons
2024-08-20 22:02:54 +01:00
Dev
60c844cfd6
Updated quest json + added new images
2024-08-20 21:57:34 +01:00
Dev
dee8abda36
Updated dev profiles
2024-08-20 21:32:24 +01:00
Dev
ce06efdaf5
Added new areas to profile templates
2024-08-20 21:26:55 +01:00
Dev
c45f4c5f4b
Added s to Improvement
...
Updated hideout area enum
2024-08-20 21:19:00 +01:00
Dev
8e4c4e4a0f
Updated various JSON files + interfaces
2024-08-20 20:58:46 +01:00
Dev
95609f4eef
Updated version value to: 32128
2024-08-20 16:13:50 +01:00
Dev
10dfb89787
Fixed incorrect IRestrictionsInRaid
interface
2024-08-19 18:35:06 +01:00
Dev
531ffc7fad
Fixed 2 quest reward scopes not having the correct parentid
...
(cherry picked from commit ef8c3d30cf
)
2024-08-19 17:17:54 +01:00
DrakiaXYZ
bd5d4bfb66
Fix fuel ticks returning fuel to the player instead of removing it ( !397 )
...
Resolves the issue of incorrect fuel usage by using relative percentages for both the profile bonus and hideout management bonus
Add a sanity check to make sure we never return fuel to the player (No negative fuel consumption)
2024-08-19 16:58:45 +01:00
Alex McAuliffe
79f0949610
Updated bot tests
2024-08-19 16:55:11 +01:00
Alex McAuliffe
9e9baf49b3
Add types for variables on global scope. ( !398 )
...
Adds a type definition for the variables added to the global scope.
Personally i'd probably stick them in an object off the route and drop the G_prefix but didn't want to make any major changes with no reason.
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/398
Co-authored-by: Alex McAuliffe <alex@romanx.co.uk>
Co-committed-by: Alex McAuliffe <alex@romanx.co.uk>
(cherry picked from commit 18d39224a9
)
2024-08-19 16:54:06 +01:00
Dev
68e24fc8fd
Updated locales
...
(cherry picked from commit a0c79ac6bc
)
2024-08-19 16:53:51 +01:00
Dev
63ab9f2c79
Updated locales
...
(cherry picked from commit 27f6d1ee4b
)
2024-08-19 16:52:42 +01:00
Dev
5ffedfa91a
Attempted to fix issue with calculateItemWorth()
failing on child items without a upd object
...
Clone children when returned to prevent modification + add missing upd object to child before calculating price
2024-08-18 09:52:13 +01:00
Dev
1b9a3c46f9
Temp fixed birdeye sometimes generating bad M4s
2024-08-16 23:20:49 +01:00
Dev
c0cd8d699f
Added additional gas blocks to PMCs
2024-08-16 23:20:04 +01:00
Dev
52d9fbaeb6
Improved weapon mod selection when a default mod is desired but is incompatible with weapon
...
Introduced a `Set` into request object that holds conflicting items instead of constantly recalculating them when needed
2024-08-16 23:19:07 +01:00
Dev
931c567fc2
Further repeatable quest adjustments
...
(cherry picked from commit 5cad2639db
)
2024-08-15 20:39:38 +01:00
Dev
2e8e91385e
Fixed bad variable use
...
(cherry picked from commit daf70ea67f
)
2024-08-15 20:17:18 +01:00
Dev
37fb49bffa
Fixed issue that would cause repeatable completion quests to get stuck in an infinite loop
...
Improved performance of completion quests picking items to return
(cherry picked from commit f04382c9bb
)
2024-08-15 20:17:10 +01:00
Dev
093afe002c
#747 Fixed items added to ragfair configs custom blacklist still be sellable on flea by player
...
Moved confusing `isValidItem()` check out of `isItemOnCustomFleaBlacklist()` and into main function
Removed redundant blacklist check from flea item generation as its already covered in `isValidItem()`
(cherry picked from commit f46694a169
)
2024-08-15 20:16:35 +01:00
Archangel
a4a3c8c89a
Skip items that are listed in the custom blacklist from being set as sellable ( !396 )
...
Fixes issue #747
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/396
Co-authored-by: Archangel <jesse@archangel.wtf>
Co-committed-by: Archangel <jesse@archangel.wtf>
(cherry picked from commit 5017b01938
)
2024-08-15 20:16:09 +01:00
Dev
9c2333c351
Adjusted repeatable quest type choice values based on feedback and playtesting
...
(cherry picked from commit d736ad43ff
)
2024-08-14 23:27:03 +01:00
Dev
4582bb6fe2
Improved handling of bot stock generation.
...
Moved code into own function
Expanded force stock check to look for any child items instead of ones for slot `mod_stock`
Expanded check to include additional slot names
2024-08-12 17:43:42 +01:00
Dev
08d66d9e42
Fixed PK Zenit PT-2 "Klassika" stock
having incorrect pistolgrip mods
...
(cherry picked from commit ead2741513
)
2024-08-12 17:11:19 +01:00
Dev
85d29c5869
Fixed missing SKS rear sights
...
Fixed recursive issue with `FAST MT Super High Cut helmet (Urban Tan)` being inside its own nvg slot
2024-08-12 17:06:01 +01:00
Dev
ef950058bd
Fixed calculateItemWorth()
not handling child items lacking a upd object
...
(cherry picked from commit ebe1bc021f
)
2024-08-11 18:34:28 +01:00
Dev
77c98a4cd4
Fixed invalid check inside getBonusValueFromProfile()
2024-08-09 22:05:07 +01:00
Dev
8d0dfc1cf8
Added various event quests
...
Updated JSONs
2024-08-09 19:24:26 +01:00
Dev
8014bdd06f
Updated water filtering system to correctly check the craft progress against the ProductionTime
value stored in the profile instead of the base ProductionTime
value in the hideout json.
...
This is because the base value doesn't take into account any craft bonuses the profile has
After collecting a product from a continious craft, `ProductionTime` in the profiles craft data will be refreshed, this resolves issues with adjusting the `production.json` craft times not applying to continuous crafts
2024-08-09 16:04:43 +01:00
TetrisGG
7b835f1501
Fix Bonuses in various Services using Find and not filter.
2024-08-09 15:03:50 +01:00
Dev
2a52af1275
Improved logic of getBonusValueFromProfile()
2024-08-08 22:36:32 +01:00
Dev
1066a138ac
Added function getBonusValueFromProfile
to profileHelper
...
(cherry picked from commit d97e717f76
)
2024-08-08 18:31:04 +01:00
Cj
967dc15564
ProfileFixerService Refactor ( !391 )
...
Refactor to remove legacy code that bloats the `ProfileFixerService` class. Most of which is old profile porting code, some being old profile fixes. Organizes code in the class so that public members are at the top (as they should be). Finally break out some code into their own methods so they're not in the primary method for the class `checkForAndFixPmcProfileIssues`.
I have tested this with a developer profile, an EOD profile and a Standard profile. I've encountered no issues in my own testing.
Co-authored-by: Cj <161484149+CJ-SPT@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/391
Co-authored-by: Cj <cj@noreply.dev.sp-tarkov.com>
Co-committed-by: Cj <cj@noreply.dev.sp-tarkov.com>
2024-08-08 17:09:52 +00:00
Dev
2fbcee22bd
Fixed container errors due to biome
2024-08-07 22:09:46 +01:00
Dev
23af7e1d9b
Updated trader assorts
2024-08-04 16:33:36 +01:00
Dev
bd7e6fecb5
Updated PMC names
...
(cherry picked from commit e4ba92b4a6
)
2024-08-04 09:39:32 +01:00
Dev
fc8769ba30
Basic implementation of pocket tpl quest reward handling
2024-08-03 23:10:54 +01:00
Dev
19d2527e37
Added quests:
...
Thirsty - Hounds
Circulate
Thirsty - Hounds
Friend among strangers
What's your evidence?
Immunity
Special Offer
Quality Standard
Airmail
The Good Times - Part 2
Minute of Fame
Viewer
Serious Allegations
Camera Action
Proper Comeback
2024-08-03 22:51:43 +01:00
Dev
aa03e5e805
Added quests:
...
Thirsty - Hounds
Circulate
Thirsty - Hounds
Friend among strangers
What's your evidence?
Immunity
Special Offer
Quality Standard
Airmail
The Good Times - Part 2
Minute of Fame
Viewer
Serious Allegations
Camera Action
Proper Comeback
2024-08-03 22:51:29 +01:00
Dev
6d5f58c9db
Added 2 additional flags to compiler options
2024-08-03 22:24:32 +01:00
Dev
e15bf4245b
Added quest Test Drive - Part 4
...
Updated `Counteraction` dogtag requirement
(cherry picked from commit f0b302a119
)
2024-08-03 22:24:02 +01:00
Dev
18158bb4dc
Fixed FiR status persisting after death for items inside secure container
2024-08-02 15:54:39 +01:00
Dev
f94985f3f2
Updated seasonDates
to fix gaps in coverage - extended summer 2 months
2024-08-02 09:55:02 +01:00
Dev
532491bc91
Updated packages
2024-08-01 09:17:24 +01:00
Dev
8b293b29d8
Added fuel to dev profile inventory
2024-08-01 09:01:00 +01:00
Dev
6c4b53f95e
Fixed broken tests
2024-08-01 08:45:37 +01:00
静穏靄
45b29731dc
Bump server version ( !392 )
...
Got confused when I generated types, this fixes NPM reporting 3.9.0.
Before and after:
![image](/attachments/056fdd66-c98f-4be3-bcb2-c3b4cfc5bd01)
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/392
Co-authored-by: 静穏靄 <seionmoya@noreply.dev.sp-tarkov.com>
Co-committed-by: 静穏靄 <seionmoya@noreply.dev.sp-tarkov.com>
2024-08-01 07:12:28 +00:00
Dev
5473f73e2a
Reduced mp7/mp9 spawn chances on PMCs + reduced all AK chances
2024-07-31 20:30:02 +01:00
witek
59308604fa
Fix logs paths ( !390 )
...
When compiled natively to linux, logfiles are saved in main SPT folder instead of default location. It's caused by file paths being hardcoded as text.
This patch fixes logs location on linux build.
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/390
Co-authored-by: witek <falls-toluene.0q@icloud.com>
Co-committed-by: witek <falls-toluene.0q@icloud.com>
(cherry picked from commit 3edf0f2ff9
)
2024-07-31 20:14:20 +01:00
MadByte
a52c81e270
Changed mod path for loading bundles from the server to be relative ( !389 )
...
**Before merging: Please test on a real Windows installation if possible!**
I tested this on Linux as well as inside a Windows VM hosted on Linux, but wasn't able to test it on a real Windows installation.
This commit fixes an issue with loading bundles from a native Linux server:
When compiling the server natively for Linux & installing some mods, everything works except for mods trying to load bundles from the server. Reason is a malformed path to the bundle:
```ts
2024-07-30 23:48:16.968 +02:00|0.14.9.1.30626|Error|Default|
EXCEPTION: System.IO.DirectoryNotFoundException: Could not find a part of the path "C:\home\USER\Games\escape-from-tarkov\drive_c\SPTarkov\user\mods\Bloody-Bullet-Wounds\bundles\assets\systems\effects\particlesystems\effects.bundle".
```
`process.cwd()` returns the linux-agnostic path of course, but for some reason it also returns `C:`.
Changing the line to `modpath.slice(0, -1).replace(/\\/g, "/");` seems to work and the bundles seem to get loaded without issues (did a quick test raid), even without passing the absolute path to the mod.
I tried to check why that is, and I think node is able to [get the cwd and resolve the relative path](4d1d88118b/src/path.cc (L101)
) by itself..
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/389
Co-authored-by: MadByte <madbyte@noreply.dev.sp-tarkov.com>
Co-committed-by: MadByte <madbyte@noreply.dev.sp-tarkov.com>
(cherry picked from commit 6f010acfca
)
2024-07-31 20:14:12 +01:00
Dev
a3935d13a6
Lowered PMC spawn chance of following weapons:
...
ADAR, MP7,MP9, P226
(cherry picked from commit 52a0373deb
)
2024-07-31 20:13:56 +01:00
Dev
a1fe93cab6
Updated PMC max level to match player max
2024-07-30 15:25:08 +01:00
Dev
8f67f75930
Improved how generateMultipleBotsAndCache()
and returnSingleBotFromCache()
handles missing raid settings from AppContext
2024-07-30 12:09:28 +01:00
Dev
5697bd8783
updated globals json
2024-07-30 11:39:03 +01:00
DrakiaXYZ
e295cda571
Fix issue in BotLevelGenerator when high level ( !388 )
...
Previously `highestValue` could be lower than `lowestValue`, resulting in an exception. These values are now generated in the same method and clamped
Add a catch to the botgen promise await so we get more useful errors if botgen fails
Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/388
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
(cherry picked from commit ee1eb7d690
)
2024-07-30 08:29:04 +01:00
RomanxTheLast
f12c650774
Add async to the handleRequest chain in HttpServer ( !387 )
...
The httpListeners are promise based but they aren't awaited when handling the request.
I found this while implementing another version of HttpServer in a mod but couldn't actually find where this would cause an issue so feel free to close this if you think it's not worth it.
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/387
Co-authored-by: RomanxTheLast <alex@romanx.co.uk>
Co-committed-by: RomanxTheLast <alex@romanx.co.uk>
(cherry picked from commit 398bf43444
)
2024-07-28 14:45:25 +01:00
Dev
c114d4285f
Removed redundant function
2024-07-28 13:19:52 +01:00
Dev
852157aabf
Fixed an issue where revolvers/rpd/ppsh would not properly filter out cartridges during ammo selection
2024-07-28 13:19:34 +01:00
Dev
2f412641b2
Further improvements to weapon mod generation
2024-07-28 11:42:45 +01:00
Dev
af33625a5c
Improved pickWeaponModTplForSlotFromPool()
, now pre-sorts mod pool prior to adding it to exhaustableModPool
and processing
2024-07-28 00:12:04 +01:00
Dev
0c42a38306
Add null protection to playerHasRecievedMaxNumberOfGift()
2024-07-25 23:18:28 +01:00
Dev
0cb179f8e1
Make use of SideType.SAVAGE
enum
2024-07-25 19:12:26 +01:00
Dev
42451c69a4
Adjusted ragfair pack chance and max size values
2024-07-25 13:47:31 +01:00
Dev
4a1a5d924c
Added item reward pools for Unlocked supply create (x)
...
Added item reward pools for `Unlocked equipment create (x)`
Added support for weapon/armor presets inside `getRandomLootContainerLoot()`
Expanded pool for `Unlocked valuables crate (x)",` by 8 items
2024-07-25 12:17:40 +01:00
Dev
797d75fd4f
Added a weighting bias to the level chosen for bots, favors the higher value
2024-07-25 10:34:54 +01:00
Dev
adcd0194bf
Improved bot generation comments
...
(cherry picked from commit e7f56edf0c
)
2024-07-25 09:38:59 +01:00
Dev
d522e7d5a8
Further changes to locale text
...
(cherry picked from commit 6cde96a710
)
2024-07-24 17:39:44 +01:00
Dev
6569aca2c3
Fixed incorrect english locale text
...
(cherry picked from commit eb3ba0ef80
)
2024-07-24 17:38:07 +01:00
Dev
de53abf002
Rounded flea offers requirementsCost
to nearest int
2024-07-24 09:26:08 +01:00
Dev
7be6b47e23
Fixed various Biome issues
2024-07-23 17:30:20 +01:00
Refringe
5740774a46
Apply Biome Formatting
...
This is the result of running `npm run format` which applies the Biome formatting rules. Rejoice!
2024-07-23 11:12:53 -04:00
Refringe
7c76342ee2
Merge remote-tracking branch 'origin/310-dev'
2024-07-23 11:03:32 -04:00
Dev
8e31cd9950
Added locations formatted to ignore
2024-07-23 14:32:56 +01:00
Dev
951655e846
Removed redundant rating check now it has been moved to ProfileFixerService
2024-07-23 13:16:54 +01:00
Dev
6d1bde60ca
Adjusted EDITPROFILE
gift to have 50 uses
2024-07-23 09:57:27 +01:00
Dev
3820b97531
Added null protected to playerLevelFulfillsQuestRequirement()
...
(cherry picked from commit c90b8670f2
)
2024-07-23 09:07:26 +01:00
Dev
8c23a32755
Merge branch '310-dev'
...
# Conflicts:
# project/.eslintrc.json
# project/assets/configs/core.json
# project/assets/configs/ragfair.json
# project/assets/database/locations/bigmap/base.json
# project/assets/database/locations/factory4_day/base.json
# project/assets/database/locations/interchange/base.json
# project/assets/database/locations/lighthouse/base.json
# project/assets/database/locations/sandbox/base.json
# project/assets/database/locations/sandbox_high/base.json
# project/assets/database/locations/shoreline/base.json
# project/assets/database/locations/tarkovstreets/base.json
# project/assets/database/locations/woods/base.json
# project/package.json
# project/src/controllers/BotController.ts
# project/src/controllers/GameController.ts
# project/src/routers/static/InraidStaticRouter.ts
2024-07-22 23:14:47 +01:00
Dev
8895e2e82f
Added DB to biome ignore list
2024-07-22 22:42:09 +01:00
Refringe
ed8dbbd195
Adds Biome - Removes ESLint & Prettier ( !383 )
...
Boogidy, boogidy, boogidy. Let's go racing! 🏎️
Removes the over-complicated and super-slow setup we had with ESLint & Prettier in favour of Biome. The largest change with the formatting is moving from Allman braces to 1TBS braces. Other than that, it's *pretty much* the same. Ah, and that Biome runs formatting and linting on the entire project about x10 faster than the old system ran formatting on one file. Seriously, the guy who came up with that last solution should be fired. :runs:
I've kept all of the formatting and linting commands the same as before, with the main mamma-jamma being: `npm run format`, which applies formatting and linting changes to the entire project.
Formatting-on-save works (quickly!) by (1) ensuring that you're working within the VSC workspace (as you should be), and (2) have the recommended Biome VSC extension installed. The link to the Biome extension is in the README.
This limits our options on code formatting going forward; Biome, like prettier, is very opinionated with very few formatting options available. But I see this as a good thing. I'd rather spend my time arguing about which gun in Tarkov is the best, rather than coding brace styles...
...It's the TOZ, and it always will be. Don't DM me.
Co-authored-by: chomp <chomp@noreply.dev.sp-tarkov.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/383
Co-authored-by: Refringe <me@refringe.com>
Co-committed-by: Refringe <me@refringe.com>
2024-07-22 21:15:57 +00:00
Dev
4c1de3682c
Blacklisted Mark of The Unheard
from reward items pool
...
(cherry picked from commit 5771f1f567
)
2024-07-22 15:09:35 +01:00
Dev
5771f1f567
Blacklisted Mark of The Unheard
from reward items pool
2024-07-22 15:08:21 +01:00
Dev
817d339104
Updated PMC names
...
(cherry picked from commit 416780d9f9
)
2024-07-22 13:34:04 +01:00
Dev
416780d9f9
Updated PMC names
2024-07-22 13:33:51 +01:00
Dev
b5416ceba7
Added missing localization message
...
(cherry picked from commit 18e0deb109
)
2024-07-22 13:26:15 +01:00
Dev
4a4d65ee4c
Added guard against missing trader insuranceStart
mesages inside sendInsuredItems()
...
(cherry picked from commit 0d9bd9a6d3
)
2024-07-22 13:26:09 +01:00
Dev
18e0deb109
Added missing localization message
2024-07-22 13:25:45 +01:00
Dev
0d9bd9a6d3
Added guard against missing trader insuranceStart
mesages inside sendInsuredItems()
2024-07-22 13:24:00 +01:00
Dev
c1c74c726a
Added GP coin limits to airdrops - this prevents mods that override the stack limit adding 100s of thousands of coins to airdrops
...
(cherry picked from commit 7d57a80e20
)
2024-07-22 09:40:55 +01:00
Dev
7d57a80e20
Added GP coin limits to airdrops - this prevents mods that override the stack limit adding 100s of thousands of coins to airdrops
2024-07-22 09:39:46 +01:00
Dev
4c9e5c258f
Removed unnecessary scope
...
(cherry picked from commit 201df756a9
)
2024-07-21 22:59:01 +01:00
Dev
bdc167a10e
Merge branch '310-dev' of https://dev.sp-tarkov.com/SPT/Server into 310-dev
2024-07-21 22:09:12 +01:00
Dev
201df756a9
Removed unnecessary scope
2024-07-21 22:08:36 +01:00
CWX
0e85e55ced
add missing props on models, add additional info to miniprofiles
2024-07-21 20:41:46 +01:00
Dev
2be14850a9
Fixed bad injection caps
...
(cherry picked from commit 8e17673d0d
)
2024-07-21 20:40:04 +01:00
Dev
8e17673d0d
Fixed bad injection caps
2024-07-21 20:39:47 +01:00
Dev
9df6357f62
Improved formatting of repeatable charisma bonus application
...
(cherry picked from commit 9af480f625
)
2024-07-21 16:24:55 +01:00
Dev
9af480f625
Improved formatting of repeatable charisma bonus application
2024-07-21 16:24:05 +01:00
Dev
10b8cedc42
Refactored new offer checking code
...
(cherry picked from commit cd803c8e8b
)
2024-07-21 16:17:40 +01:00
Dev
632a5f3656
Merge branch 'master' of https://dev.sp-tarkov.com/SPT/Server
2024-07-21 16:17:33 +01:00
HiddenCirno
4144fccbd1
Complete issues #667 (Possible issue with flea buying) ( !382 )
...
Now when a profile create a new offer and another profile buy it, it can work correctly(For example profile A create a offer and profile B buy this offer, now A will receive money from profile B)
and set RagfairOfferHelper.completeOffer to public because TradeHelper now use it to resolve trade between 2 profiles on ragfair
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/382
Co-authored-by: HiddenCirno <2301697863@qq.com>
Co-committed-by: HiddenCirno <2301697863@qq.com>
(cherry picked from commit f555c24709
)
2024-07-21 16:17:29 +01:00
Dev
cd803c8e8b
Refactored new offer checking code
2024-07-21 16:16:57 +01:00
HiddenCirno
f555c24709
Complete issues #667 (Possible issue with flea buying) ( !382 )
...
Now when a profile create a new offer and another profile buy it, it can work correctly(For example profile A create a offer and profile B buy this offer, now A will receive money from profile B)
and set RagfairOfferHelper.completeOffer to public because TradeHelper now use it to resolve trade between 2 profiles on ragfair
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/382
Co-authored-by: HiddenCirno <2301697863@qq.com>
Co-committed-by: HiddenCirno <2301697863@qq.com>
2024-07-21 15:05:48 +00:00
Alex
85bef99608
removed null style check that was slowing down file processing ( !381 )
...
Co-authored-by: clodan <clodan@clodan.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/381
Co-authored-by: Alex <clodan@noreply.dev.sp-tarkov.com>
Co-committed-by: Alex <clodan@noreply.dev.sp-tarkov.com>
(cherry picked from commit 130b12879e
)
2024-07-21 15:19:54 +01:00
Alex
130b12879e
removed null style check that was slowing down file processing ( !381 )
...
Co-authored-by: clodan <clodan@clodan.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/381
Co-authored-by: Alex <clodan@noreply.dev.sp-tarkov.com>
Co-committed-by: Alex <clodan@noreply.dev.sp-tarkov.com>
2024-07-21 14:18:43 +00:00
HiddenCirno
8ff9f6f945
Fix that charisma skill cannot deduct repeatable quest change cost ( !380 )
...
add discount caculation for repeatable quest change, not it can deduct cost with player's charisma skil level(per level 0.1%)
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/380
Co-authored-by: HiddenCirno <2301697863@qq.com>
Co-committed-by: HiddenCirno <2301697863@qq.com>
(cherry picked from commit 7e06517c8c
)
2024-07-21 13:02:05 +01:00
HiddenCirno
7e06517c8c
Fix that charisma skill cannot deduct repeatable quest change cost ( !380 )
...
add discount caculation for repeatable quest change, not it can deduct cost with player's charisma skil level(per level 0.1%)
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/380
Co-authored-by: HiddenCirno <2301697863@qq.com>
Co-committed-by: HiddenCirno <2301697863@qq.com>
2024-07-21 12:01:12 +00:00
Dev
3f43e3f118
Localised error message
...
(cherry picked from commit 335806bfd8
)
2024-07-21 09:10:24 +01:00
HiddenCirno
7a05acacdd
fix free change still deduct trader standing ( !379 )
...
Fix that free change repeatable chance quest still deduct trader standing, now it will deduct when player have no access to free change or have no free change counts
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/379
Co-authored-by: HiddenCirno <2301697863@qq.com>
Co-committed-by: HiddenCirno <2301697863@qq.com>
(cherry picked from commit dcb98f7d1b
)
2024-07-21 09:03:12 +01:00
HiddenCirno
dcb98f7d1b
fix free change still deduct trader standing ( !379 )
...
Fix that free change repeatable chance quest still deduct trader standing, now it will deduct when player have no access to free change or have no free change counts
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/379
Co-authored-by: HiddenCirno <2301697863@qq.com>
Co-committed-by: HiddenCirno <2301697863@qq.com>
2024-07-21 08:02:44 +00:00
Dev
776a41499f
Added nullguard to showQuestItemHandoverMatchError()
...
(cherry picked from commit 014826e683
)
2024-07-21 00:14:51 +01:00
Dev
014826e683
Added nullguard to showQuestItemHandoverMatchError()
2024-07-21 00:14:33 +01:00
Tyfon
ed3e16a94f
Add support for flea market dogtag barter requirements ( !378 )
...
Trader offers with dogtag barter requirements are currently missing the `level` and `side` properties necessary to qualify them. This data already exists in the assorts, just needed to be sent along with the offer.
I considered updating the `side` property of `Requirement` in `IAddOfferRequestData.ts`, but that field is never used, and the client appears to pass 0 for both (even though 0 is not a valid `side`).
Not sure if this should be going to `master` or `310-dev`?
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/378
Co-authored-by: Tyfon <tyfon7@outlook.com>
Co-committed-by: Tyfon <tyfon7@outlook.com>
(cherry picked from commit ec76a8897f
)
2024-07-20 23:41:39 +01:00
Tyfon
ec76a8897f
Add support for flea market dogtag barter requirements ( !378 )
...
Trader offers with dogtag barter requirements are currently missing the `level` and `side` properties necessary to qualify them. This data already exists in the assorts, just needed to be sent along with the offer.
I considered updating the `side` property of `Requirement` in `IAddOfferRequestData.ts`, but that field is never used, and the client appears to pass 0 for both (even though 0 is not a valid `side`).
Not sure if this should be going to `master` or `310-dev`?
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/378
Co-authored-by: Tyfon <tyfon7@outlook.com>
Co-committed-by: Tyfon <tyfon7@outlook.com>
2024-07-20 21:45:42 +00:00
Dev
335806bfd8
Localised error message
2024-07-20 13:44:48 +01:00
Dev
d0d10ac15c
Updated package json version
2024-07-19 17:26:36 +01:00
Dev
804e973124
Added quest Import Control
2024-07-19 16:10:37 +01:00
Dev
a00a810f0e
Reduced pack chance to 9%
2024-07-19 14:05:51 +01:00
Dev
fb56aa914a
Updated flea prices
2024-07-19 14:00:04 +01:00
Dev
dd185be7a9
Updated version
2024-07-19 13:50:03 +01:00
Dev
ccc4974fa2
Improved accuracy when creating flea offer - store single item price in `` property
...
Made `unlimited` property optional as its only used by traders
Slightly reduced pack offer chance + made them have more items
2024-07-19 13:47:30 +01:00
Dev
727ba83273
Improved accuracy when creating flea offer - store single item price in `` property
...
Made `unlimited` property optional as its only used by traders
Slightly reduced pack offer chance + made them have more items
2024-07-19 13:45:34 +01:00
Dev
e5a5bf2ee2
Added comments to functions
...
(cherry picked from commit 59ffc9d886
)
2024-07-18 15:54:11 +01:00
Dev
5447203bf4
Added check for stack count below 1 and resets to 1 when handling single items being passed into unstackOfferItems()
...
(cherry picked from commit 78f6fad21b
)
2024-07-18 09:25:23 +01:00
Dev
665778eaf1
Safely exit returnPlayerOffer()
when no profile is found
...
(cherry picked from commit af6d138f3c
)
2024-07-18 09:25:13 +01:00
Dev
3f7f357bff
Improved getTotalStackCountSize
...
(cherry picked from commit bd5e7b1e62
)
2024-07-18 09:25:04 +01:00
Dev
78f6fad21b
Added check for stack count below 1 and resets to 1 when handling single items being passed into unstackOfferItems()
2024-07-18 09:19:44 +01:00
Dev
af6d138f3c
Safely exit returnPlayerOffer()
when no profile is found
2024-07-18 09:18:33 +01:00
Dev
bd5e7b1e62
Improved getTotalStackCountSize
2024-07-17 20:17:12 +01:00
Dev
4b8b3b77a7
Remove unsued properties + improved how user data is stored/generated
2024-07-17 19:30:17 +01:00
Dev
43d7e05f21
31124
2024-07-17 15:45:32 +01:00
Dev
5e3899c426
Improved fillMagazineWithRandomCartridge()
logging
...
(cherry picked from commit f406918bb8
)
2024-07-17 12:44:24 +01:00
Dev
f406918bb8
Improved fillMagazineWithRandomCartridge()
logging
2024-07-17 11:48:57 +01:00
Dev
63420f7a7b
Removed debug data
...
(cherry picked from commit 13abd077dd
)
2024-07-16 21:31:48 +01:00
Dev
13abd077dd
Removed debug data
2024-07-16 21:31:23 +01:00
Dev
373f194a25
Fixed items with a stack count > 1 not selling as expected
...
(cherry picked from commit fd34e7bc84
)
2024-07-16 21:09:08 +01:00
Dev
fd34e7bc84
Fixed items with a stack count > 1 not selling as expected
2024-07-16 21:08:43 +01:00
Dev
59ffc9d886
Added comments to functions
2024-07-16 16:54:39 +01:00
Kaeno
fcdf537c3b
Update JSONs
2024-07-16 15:49:49 +01:00
Kaeno
5bc9a81e0a
Update raid times for maps ( !377 )
...
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/377
2024-07-16 13:48:53 +00:00
Dev
bf8a403372
Removed redundant check on unlocking hideout crafts
...
(cherry picked from commit 433ea6566a
)
2024-07-16 11:59:01 +01:00
Dev
b72e6da22e
increased GP coin rewards for daily/weeklies
...
(cherry picked from commit fe5099883a
)
2024-07-16 11:58:48 +01:00
Dev
fe5099883a
increased GP coin rewards for daily/weeklies
2024-07-16 11:36:19 +01:00
Dev
433ea6566a
Removed redundant check on unlocking hideout crafts
2024-07-16 11:32:46 +01:00
Dev
8781c595fa
Added quest icon for Gendarmerie District Patrol
...
(cherry picked from commit 9b216c2a00
)
2024-07-16 11:27:30 +01:00
Dev
9b216c2a00
Added quest icon for Gendarmerie District Patrol
2024-07-16 11:27:15 +01:00
Cj
00fffa7845
Add method for capping skill progress ( !376 )
...
Adds a check to the `ProfileFixerService` to cap skill progress at 5100. This prevents users from going over the cap with applications like profile editor, resulting in potential negative crafting times and other oddities.
Co-authored-by: Cj <161484149+CJ-SPT@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/376
Co-authored-by: Cj <cj@noreply.dev.sp-tarkov.com>
Co-committed-by: Cj <cj@noreply.dev.sp-tarkov.com>
2024-07-15 19:34:26 +00:00
DrakiaXYZ
c46cdaeb18
Don't allow production timers to be reduced below 5 seconds ( !375 )
...
This should avoid potential issues when mods drastically increase the crafting skill level, or otherwise modify the profile in ways that cause negative production times
Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/375
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-07-15 19:33:38 +00:00
Dev
3dcb65cf41
Updated version string
2024-07-15 19:25:48 +01:00
chomp
50bafeb100
Fix flea selling issues ( !374 )
...
Co-authored-by: Dev <dev@dev.sp-tarkov.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/374
(cherry picked from commit 4fd113d00d
)
2024-07-15 19:24:53 +01:00
chomp
4fd113d00d
Fix flea selling issues ( !374 )
...
Co-authored-by: Dev <dev@dev.sp-tarkov.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/374
2024-07-15 18:24:23 +00:00
trippy
6f3a674fd8
Change methods to public ( !373 )
...
Change generateBotsFirstTime and returnSingleBotFromCache methods to public.
The generate method that call these methods is overridden in Fika.
Co-authored-by: trippyone <137233897+trippyone@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/373
Co-authored-by: trippy <trippy@noreply.dev.sp-tarkov.com>
Co-committed-by: trippy <trippy@noreply.dev.sp-tarkov.com>
2024-07-15 15:29:33 +00:00
Dev
77da49bb9e
Added common weapon crate
...
(cherry picked from commit 9e1c3304f0
)
2024-07-15 11:31:28 +01:00
Dev
815e6e238c
Expanded weapon crate fix to include common/rare creates
...
(cherry picked from commit 111b75d1ab
)
2024-07-15 11:31:20 +01:00
Dev
9e1c3304f0
Added common weapon crate
2024-07-15 11:30:58 +01:00
Dev
111b75d1ab
Expanded weapon crate fix to include common/rare creates
2024-07-15 11:30:03 +01:00
Dev
1762f1637d
Added exit when flea offer type is not found
...
(cherry picked from commit c2ccadf110
)
2024-07-14 19:49:41 +01:00
Dev
0629958b92
Added getOfferType()
to ragfairController
...
(cherry picked from commit e67f000602
)
2024-07-14 19:49:34 +01:00
Dev
c2ccadf110
Added exit when flea offer type is not found
2024-07-14 19:48:52 +01:00
Dev
e67f000602
Added getOfferType()
to ragfairController
2024-07-14 19:21:11 +01:00
Dev
d4164d05c3
Added null protection around RagfairInfo
on game start
2024-07-14 17:23:20 +01:00
Dev
35daf8710f
Added null protected around RagfairInfo
on profile login
2024-07-14 17:21:12 +01:00
Kaeno
b101cd8eed
Update Difficulty settings to ignore Loyality. PMC's will no longer be friendly to scavs with +6 rep ( !372 )
...
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/372
(cherry picked from commit 83b4ecc176
)
2024-07-14 09:06:58 +01:00
Kaeno
83b4ecc176
Update Difficulty settings to ignore Loyality. PMC's will no longer be friendly to scavs with +6 rep ( !372 )
...
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/372
2024-07-14 08:04:34 +00:00
Dev
22e5da9e61
Update package.json
2024-07-13 18:23:00 +01:00
Dev
dc84ee5d80
Adjusted GP Coin
values inside currencyStackSize
...
(cherry picked from commit 1fd66bafe8
)
2024-07-13 14:23:52 +01:00
Dev
1fd66bafe8
Adjusted GP Coin
values inside currencyStackSize
2024-07-13 14:23:12 +01:00
Dev
073797a294
Fixed issue with itemFitsInto1By2Slot()
classifying all items as unsuitable for a 1x2 slot
...
(cherry picked from commit d92ec20e9c
)
2024-07-13 12:57:40 +01:00
Dev
d92ec20e9c
Fixed issue with itemFitsInto1By2Slot()
classifying all items as unsuitable for a 1x2 slot
2024-07-13 12:54:34 +01:00
Dev
2ea6b658fd
Fixed getBTC()
failing when Production
area cannot be found
...
(cherry picked from commit 77b42bfb2f
)
2024-07-13 10:59:03 +01:00
Dev
77b42bfb2f
Fixed getBTC()
failing when Production
area cannot be found
2024-07-13 10:58:46 +01:00
Dev
92eb0478bd
Removed dupe keys from bot JSONs
...
(cherry picked from commit 28fb1a2fc9
)
2024-07-13 10:00:41 +01:00
Dev
6823858020
Blacklisted Decrypted flash drive
from PMC loot pools
...
(cherry picked from commit 93bd7543e7
)
2024-07-13 10:00:12 +01:00
Dev
11837c05a2
Changes from master
2024-07-13 09:59:11 +01:00
Dev
11278b8930
Updated server locales with data from Crowdin
...
(cherry picked from commit fb52594f8b
)
2024-07-13 09:57:47 +01:00
Dev
28fb1a2fc9
Removed dupe keys from bot JSONs
2024-07-13 09:53:02 +01:00
Dev
93bd7543e7
Blacklisted Decrypted flash drive
from PMC loot pools
2024-07-13 09:48:13 +01:00
Dev
6a348fa5c9
Added additional PMC names of contributors
2024-07-13 09:44:39 +01:00
Dev
fb52594f8b
Updated server locales with data from Crowdin
2024-07-13 09:39:49 +01:00
Dev
b4a6ee682c
Added workaround for Ref
repeatables not having any description text - force him to use Prapor
text instead
...
(cherry picked from commit 034c7142fc
)
2024-07-13 09:33:27 +01:00
Dev
034c7142fc
Added workaround for Ref
repeatables not having any description text - force him to use Prapor
text instead
2024-07-13 09:33:04 +01:00
Dev
61313dce25
Remove deprecated registerCommandoCommand()
...
(cherry picked from commit c705127007
)
2024-07-12 22:21:15 +01:00
Dev
bf507a766c
Removed deprecated ICommandoCommand
...
(cherry picked from commit 28593d3e9b
)
2024-07-12 22:21:01 +01:00
Dev
c705127007
Remove deprecated registerCommandoCommand()
2024-07-12 22:19:57 +01:00
Dev
731295b4b4
Updated spt version
2024-07-12 22:19:18 +01:00
Dev
28593d3e9b
Removed deprecated ICommandoCommand
2024-07-12 22:19:04 +01:00
Dev
537819dda0
Fixed invalid json
2024-07-12 21:47:28 +01:00
Dev
1298022600
Fixed endpoint casing
2024-07-12 21:16:33 +01:00
Dev
442d00c959
Fixed minor typo
2024-07-12 17:20:54 +01:00
Dev
0412a8285d
Fixed ravangezryachiyevent
missing soft inserts
...
(cherry picked from commit baba8d16d6
)
2024-07-12 17:16:56 +01:00
Dev
baba8d16d6
Fixed ravangezryachiyevent
missing soft inserts
2024-07-12 17:16:30 +01:00
Dev
ddabe22e4f
Fixed comma
2024-07-12 16:37:28 +01:00
CWX
4eeedc4257
Removed unused code and repurposed save endpoint for scav profile saving
2024-07-12 16:29:21 +01:00
Dev
124e23b8f6
Cleaned up scavRaidTimeSettings
data to reduce the scav raid times slight less + added sandbox_high
...
(cherry picked from commit c44f5b2ca9
)
2024-07-12 16:10:11 +01:00
Dev
c44f5b2ca9
Cleaned up scavRaidTimeSettings
data to reduce the scav raid times slight less + added sandbox_high
2024-07-12 16:09:08 +01:00
Dev
9bee5a377d
Added missing bots to ItemSpawnLimits
...
(cherry picked from commit d3c20624a7
)
2024-07-12 13:19:47 +01:00
Dev
d3c20624a7
Added missing bots to ItemSpawnLimits
2024-07-12 13:19:02 +01:00
Dev
4af74ebc86
Added DSP to usec dev profile
2024-07-12 11:18:29 +01:00
Dev
5c716afb34
Updated sandbox raid times to match live
...
(cherry picked from commit 49006b6065
)
2024-07-12 10:34:41 +01:00
Dev
49006b6065
Updated sandbox raid times to match live
2024-07-12 10:34:14 +01:00
Dev
0eab5ea561
31073
2024-07-12 09:58:35 +01:00
Dev
a3b97ff3ef
Added nullguards to giveProfileMoney()
...
(cherry picked from commit f7a617d621
)
2024-07-12 09:49:11 +01:00
Dev
f7a617d621
Added nullguards to giveProfileMoney()
2024-07-12 09:48:30 +01:00
Dev
de4b3ac180
Protected randomiseArmorInsertsDurabilities()
from missing mod errors
...
(cherry picked from commit 64f8e7b7e8
)
2024-07-11 12:11:45 +01:00
Dev
648bce9529
Added pmcUSEC/pmcBEAR
roles to possible pmc types
...
(cherry picked from commit 201684d200
)
2024-07-11 11:41:03 +01:00
Dev
201684d200
Added pmcUSEC/pmcBEAR
roles to possible pmc types
2024-07-11 11:40:48 +01:00
Dev
64f8e7b7e8
Protected randomiseArmorInsertsDurabilities()
from missing mod errors
2024-07-11 11:11:09 +01:00
Dev
e88521fe54
Added ability to blacklist profile from being created in launcher
...
(cherry picked from commit 5260b16a18
)
2024-07-11 09:59:14 +01:00
Dev
5260b16a18
Added ability to blacklist profile from being created in launcher
2024-07-11 09:58:54 +01:00
Dev
0b9e61dcdc
Added comments
2024-07-11 09:45:59 +01:00
Dev
f15a0e6f17
Add type to selectedMemberCategory
2024-07-11 09:35:27 +01:00
静穏靄
d31c5f6f09
Add missing property to IUserDialogDetails ( !371 )
...
The property is used for Unheard edition accounts to retain their icon on reloading the dialog.
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/371
Co-authored-by: 静穏靄 <seionmoya@noreply.dev.sp-tarkov.com>
Co-committed-by: 静穏靄 <seionmoya@noreply.dev.sp-tarkov.com>
(cherry picked from commit d0f11fd073
)
2024-07-11 09:30:10 +01:00
Dev
b0a65cac7f
Fixed server build errors from previously merged PR
...
(cherry picked from commit e1ca9dedc9
)
2024-07-11 09:29:16 +01:00
Dev
e1ca9dedc9
Fixed server build errors from previously merged PR
2024-07-11 09:28:37 +01:00
静穏靄
d0f11fd073
Add missing property to IUserDialogDetails ( !371 )
...
The property is used for Unheard edition accounts to retain their icon on reloading the dialog.
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/371
Co-authored-by: 静穏靄 <seionmoya@noreply.dev.sp-tarkov.com>
Co-committed-by: 静穏靄 <seionmoya@noreply.dev.sp-tarkov.com>
2024-07-10 23:11:23 +00:00
Dev
6a12a3f04d
Fixed incorrect starting hp value inside getLowestHpBody()
2024-07-10 16:46:53 +01:00
Dev
392d3bd8aa
updated to 31020
2024-07-10 15:34:03 +01:00
Dev
a916f60c56
Set Skier
event boss to 4% on customs
2024-07-10 15:31:49 +01:00
Dev
4f636d3061
Set Skier
event boss to 4% on customs
2024-07-10 15:31:26 +01:00
Dev
cdb523be6b
Added reward data for Unlocked valuables сrate common/rare/epic
2024-07-10 14:23:11 +01:00
Dev
ef24256e0d
Added reward data for Unlocked valuables сrate common/rare/epic
2024-07-10 14:22:15 +01:00
Dev
134a4a1ff7
Fixed unlocked weapon reward box
from hideout craft returning an error when opened
2024-07-10 14:20:35 +01:00
Dev
44e6735f80
Fixed unlocked weapon reward box
from hideout craft returning an error when opened
2024-07-10 14:19:48 +01:00
Dev
a53eea239c
FIx
...
Fixed `openRandomLootContainer()` failing when no config values are found for desired random container
2024-07-10 13:48:00 +01:00
Dev
49e5e8413a
FIx
...
Fixed `openRandomLootContainer()` failing when no config values are found for desired random container
2024-07-10 13:46:09 +01:00
Dev
007bdccd6c
Improved pack + multi-item player flea offer handling
...
(cherry picked from commit e9d8c02ac2
)
2024-07-10 11:40:12 +01:00
Dev
e9d8c02ac2
Improved pack + multi-item player flea offer handling
2024-07-10 11:39:11 +01:00
Dev
4e047c48ec
Increased stash row command limit to 15
...
(cherry picked from commit 0ab1395355
)
2024-07-10 10:32:46 +01:00
Dev
0ab1395355
Increased stash row command limit to 15
2024-07-10 10:32:01 +01:00
Dev
ec6c4b05d9
Updated ItemTpl overrides and regenerated enum
2024-07-09 15:11:18 +01:00
Dev
c218051ff3
Cleaned up JSONs
2024-07-09 14:55:30 +01:00
Kaeno
96a40eb301
Enable Quest saving when leaving raid as pmc. Modify maxbotpve caps instead of maxbot cap
2024-07-09 14:52:35 +01:00
Dev
121387aa69
Deleted unused endpoints + code
2024-07-09 14:51:57 +01:00
Dev
1c601cc33e
Removed unused endpoint + related service
2024-07-09 14:22:01 +01:00
Dev
08c955aa8a
Updated scav difficulty values
2024-07-09 14:06:48 +01:00
Dev
177f7cd5d8
Updated shooterBTR bot to use correct gear
2024-07-09 14:06:28 +01:00
Dev
5333048579
Updated PMCs to use additional difficulty values
2024-07-09 13:38:37 +01:00
Dev
dd56749ae1
Generate player scav with lowest Hp bodyparts
2024-07-09 12:35:37 +01:00
Kaeno
18af98e86d
Remove trailing spaces and fix isPlayerScav check to generate correct health pool
2024-07-09 10:25:24 +01:00
Dev
28b3afef8a
Renamed function to improve readability insuranceDictionaryExists()
2024-07-09 10:19:08 +01:00
Dev
82330f17be
Removed dupe PMC names
2024-07-09 09:56:37 +01:00
Dev
2050880c91
Cleanup of getOwnerInventoryItems()
2024-07-09 09:56:18 +01:00
Kaeno
bb50998e04
Skip moving item if item cannot be found.
2024-07-09 09:52:58 +01:00
Dev
e662020f9a
Removed debug bot logging
2024-07-08 21:13:53 +01:00
Dev
d956400315
Added missing bot equipment settings for skier/peacemaker
...
(cherry picked from commit 1d407f8787
)
2024-07-08 21:12:40 +01:00
Dev
1d407f8787
Added missing bot equipment settings for skier/peacemaker
2024-07-08 21:12:23 +01:00
Dev
2941ae10e0
Implemented mongoid-js
for hashUtil.generate()
2024-07-08 21:11:58 +01:00
Dev
a0a9b4cf29
Updated itemTpl enum
2024-07-08 19:08:57 +01:00
Dev
02fbc4f044
Added reputation saving to post raid code
2024-07-08 16:06:59 +01:00
Dev
872212f651
Removed unused endpoint + config
2024-07-08 15:15:48 +01:00
Dev
7a0f0e8297
Add missing bot types to presetBatch
...
(cherry picked from commit f8f0f1fdb0
)
2024-07-08 14:48:41 +01:00
Dev
f8f0f1fdb0
Add missing bot types to presetBatch
2024-07-08 14:47:18 +01:00
Dev
007b1d4789
Fixed accepting a quest bringing in blacklisted event quests
...
(cherry picked from commit fe614ad73f
)
2024-07-08 09:56:34 +01:00
Dev
fe614ad73f
Fixed accepting a quest bringing in blacklisted event quests
2024-07-08 09:55:56 +01:00
Dev
3288c04a25
Improved post-raid handling of scav raids + btr item service
2024-07-07 21:51:24 +01:00
Dev
6cac4394c1
Depreciated functions
2024-07-07 21:17:10 +01:00
Dev
ac4c8ff0b3
Implemented insurance returns
2024-07-07 20:57:41 +01:00
Dev
bda69a5563
Added getMoneyTpls()
2024-07-07 19:43:32 +01:00
Dev
6378ee5ee7
Fixed dynamic loot code choosing blacklisted items - credit to Drakia for solution
...
(cherry picked from commit 7497f0d40f
)
2024-07-07 18:57:15 +01:00
Dev
7497f0d40f
Fixed dynamic loot code choosing blacklisted items - credit to Drakia for solution
2024-07-07 18:55:36 +01:00
Kaeno
f6c0b877b7
Fix Valens gift
...
(cherry picked from commit 831bc58b6a
)
2024-07-07 17:08:44 +01:00
Dev
ef5d72f06b
Implemented coop and car extract handling
2024-07-07 17:06:45 +01:00
Kaeno
831bc58b6a
Fix Valens gift
2024-07-07 16:53:39 +01:00
Dev
aa90d8fa52
Merge branch 'master' of https://dev.sp-tarkov.com/SPT/Server into 310-dev
2024-07-07 16:36:49 +01:00
Kaeno
c3de305175
Prevent Enabling Block group invites from bricking profile from loading. ( !370 )
...
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/370
2024-07-07 15:34:31 +00:00
Dev
57100544c9
Merge branch 'master' of https://dev.sp-tarkov.com/SPT/Server into 310-dev
...
# Conflicts:
# project/assets/database/globals.json
2024-07-07 14:13:35 +01:00
Dev
7377a68a9e
Added missing type to iTemplateItem
2024-07-07 14:07:53 +01:00
Kaeno
fba0f4703a
Setup route to allow switching of profile icon. ( !369 )
...
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/369
2024-07-07 13:07:36 +00:00
Dev
291edbb75b
Added ability to choose to show as EoD when using unheard edition
2024-07-07 14:05:34 +01:00
Dev
c765cc688e
Fixed maxinraid
value inside globals JSON
2024-07-07 09:39:31 +01:00
Dev
87947bedd3
Regenerated loot
2024-07-06 21:37:59 +01:00
Dev
002209a992
Added Key to salvation
to event blacklist
2024-07-06 19:39:42 +01:00
Dev
b760b35aaf
Merge branch 'master' of https://dev.sp-tarkov.com/SPT/Server into 310-dev
2024-07-06 17:56:56 +01:00
Dev
b794ace544
Updated streets raid time based on feedback
2024-07-06 17:55:31 +01:00
Dev
0991572eff
Further improvements to bot caching
2024-07-06 16:58:48 +01:00
Dev
4d167568fb
Added bot cache count when generating. Will only add more bots to cache when below desired amount
2024-07-06 16:42:47 +01:00
Dev
47edbbcd98
Merge branch 'master' of https://dev.sp-tarkov.com/SPT/Server into 310-dev
2024-07-06 15:01:57 +01:00
Dev
2c57f2d1a7
Updated map times to 40 mins
2024-07-06 15:01:13 +01:00
Dev
665580a5c4
Adjusted woods/streets raid times
2024-07-06 14:45:19 +01:00
Dev
d0d3685da0
Add Hustle
to event quest list
2024-07-06 14:38:52 +01:00
Dev
ca52f6d549
Created new LocationLifecycleService
service. Moved raid start/end code into it.
...
Created temp `LegacyLocationLifecycleService` class to hold old raid start/end code until we can safely delete it
2024-07-06 14:36:48 +01:00
Dev
1c3fb5f926
Move location generation code into matchcontroller
2024-07-06 14:04:51 +01:00
Dev
494fd66f51
Renamed LocationGenerator
to LocationLootGenerator
2024-07-06 13:54:04 +01:00
Dev
d71bf2c2c0
Removed dead endpoints
2024-07-06 13:47:56 +01:00
Dev
1f76ce5d10
Refactored airdrop loot code
2024-07-06 13:39:56 +01:00
Dev
4cf1c10c51
Added IGetAirdropLootResponse
2024-07-06 12:59:47 +01:00
Dev
cdcc105f6a
Added quests:
...
Invisible hand
The Good Times - Part 1
Establish Contact
2024-07-06 11:41:18 +01:00
Dev
0017a100b2
30985
2024-07-06 10:46:40 +01:00
Dev
27daac3145
Adjusted btr bot to have no visible gear
2024-07-06 10:17:12 +01:00
Dev
0ac8fbfe8e
Regenerated pscav data on raid end
...
Moved pmc code into own function
2024-07-06 09:41:40 +01:00
Dev
61da90f33d
Merge branch '310-dev' of https://dev.sp-tarkov.com/SPT/Server into 310-dev
2024-07-06 09:21:14 +01:00
Dev
cfb1cb3e39
Stubbed out handlePostRaidPlayerScav()
2024-07-06 09:21:00 +01:00
CWX
7d6721d47b
update comment for airdrop enum, allow airdrop loot to work
2024-07-06 09:17:32 +01:00
Dev
6ff7408a9c
Updated flea prices
2024-07-06 08:43:22 +01:00
Dev
ad1d481069
Remove unused interface
2024-07-05 22:39:24 +01:00
Dev
2febdb2c41
Update map loot JSONs
2024-07-05 21:47:01 +01:00