0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-13 08:50:43 -05:00

4302 Commits

Author SHA1 Message Date
Chomp
e8a589a2f8 Check for child items of ammo boxes before adding more prior to mailing 2025-01-16 00:48:27 +00:00
Chomp
24fb4e0578 Added missing quest image 2025-01-15 22:23:13 +00:00
a7198c7f2a
Initial pass for 3.10 profile compatibility (#1085)
Initial pass to add 3.10 profile compatibility, can get into hideout and
seems to work as far as I can tell.
4.0.0-BE-20250115
2025-01-15 19:23:14 +00:00
Chomp
d5797b6f93
Fix save() (#1084)
Fixes `save()` as I forgot to update the for loop when changing profiles
into a `map`
2025-01-15 19:22:31 +00:00
Chomp
566f55c840 Added missing icon 2025-01-15 18:54:44 +00:00
856c943d66 Fix save() 2025-01-15 19:17:43 +01:00
Chomp
40705af401 Fixed some items having their resource value set to 0 2025-01-15 17:40:21 +00:00
Chomp
6e90fb09a3 Updated JSONs
New Quests + trader assort refresh
2025-01-15 17:39:50 +00:00
Chomp
a651681fd6 Added christmas config changes 2025-01-15 15:30:03 +00:00
Chomp
f4180993cb Fixed prestiges not being persisted to profile 2025-01-15 10:29:35 +00:00
6ae0517ca3
Compile mods with CommonJS during full builds this is still used (#1083)
Fixes mods not working properly during full builds.
2025-01-15 09:33:11 +00:00
Lacyway
ead7da160e
Fix incorrect type (#1082)
It was defined with values of string, but the data seems to be boolean
2025-01-15 09:32:58 +00:00
Chomp
d36443d9d1 Improved chatbot functionality
Easier to disable bots via mod
2025-01-14 16:02:42 +00:00
KaenoDev
d32127ba1a Add Cultist clothing and unheard background to account type unheard_edition 2025-01-14 15:01:40 +00:00
Chomp
96c56b34ca Merge branch '4.0.0-DEV' of https://github.com/sp-tarkov/server into 4.0.0-DEV 2025-01-14 13:31:56 +00:00
Chomp
3ed52104be Remove TODO 2025-01-14 13:31:34 +00:00
a285cd3985
Mod fixes (#1080)
Changes the following:

- New targets, module and moduleResolution for mods
- Enables `isolatedModules` as this matches the SPT server.
- Includes user/mods in tsconfig.json to allow for mods to be loaded
when a debugger is attached.
2025-01-14 12:10:31 +00:00
Chomp
4baab4e3f5 Relocated typescript dep to be under dependencies 2025-01-13 23:40:22 +00:00
Chomp
03a88bdf18 Removed unused injection 2025-01-13 21:02:04 +00:00
9a94f12e5f
Resolve lock in cloner if debugger is attached (#1075) 2025-01-13 19:37:41 +00:00
Chomp
bb26db793a Added chance keycards are partially used 2025-01-13 17:43:07 +00:00
Kaeno
93d25d0769 Add unlocked suits to customisationUnlocks in profile fixing suites not persisting on game restart 2025-01-13 17:34:23 +00:00
Chomp
aa6bc48e6c Removed unused class 2025-01-13 17:30:07 +00:00
Chomp
4340d98058 Updated client/trading/customization/storage to better match live 2025-01-13 17:28:55 +00:00
Lacyway
34b5608deb
Add replyTo support (#1074)
- Adds support for ReplyTo in dialogues for modders / chat bots
- Adds `getDialogFromProfile` helper method
- Adds `getMessageToReplyTo` helper method
2025-01-13 15:59:12 +00:00
Chomp
530eb26e32 Fixed typo 2025-01-13 15:19:42 +00:00
Chomp
dea7b0b2fe
Fix up CI cache (#1073)
- Fixes up the CI cache issue by caching node_modules rather than ~/.npm
- Also explicitly forces it to restore against the same cache key, so
that if package.json is changed a new cache will be created.
2025-01-13 09:55:37 +00:00
Lacyway
6800324a96
Add support for 'View Hideout' (#1072)
Adds missing data to the "view profile" endpoint.

NOTE: Causes severe freezes when viewing the hideout, but this happens
when loading your own too. I think this is a live issue.
2025-01-13 09:55:06 +00:00
Chomp
67affbfaa3
Allow FileSystem's writeJson spacing to have more options (#1071)
Does as it says, essentially allows users to fully customize how they
want their JSON files written.
2025-01-13 09:53:42 +00:00
ff85ff7f79 Update CI 2025-01-13 10:36:07 +01:00
Chomp
025d6feefe Cleaned up unused types in QuestRewardHelper 2025-01-12 23:29:33 +00:00
7c3f41f160 Allow FileSystem's writeJson spacing to have more options 2025-01-12 18:28:56 +01:00
aeee1b8446
Further async improvements (#1070)
- Adds a set of asynchronous cloners able to be used in async methods
- Updates setInterval to await the update before processing a new one.
- Updates various BotGen methods to remove nested promises and removing
a few unnecessary for loops.
2025-01-12 17:25:41 +00:00
Chomp
ed0e3d64c3 Add missing return type 2025-01-12 12:03:16 +00:00
Chomp
13be82ea20 Added spt profile examine to commando bot 2025-01-12 10:37:39 +00:00
Chomp
162a0b8dcb
Rename IQuestReward and QuestRewardType to be generic (#1069)
Just a precursor refactor to rename "QuestReward" to just "Reward" in a
couple cases, as rewards are common between Quests and Achievements

Future task will expand on this to centralize reward handling
2025-01-12 09:59:35 +00:00
DrakiaXYZ
bc7935e943 Rename IQuestReward and QuestRewardType to be generic 2025-01-11 22:21:08 -08:00
Chomp
accedf24c9 Added nullguard inside getOffersForBuild when ragfairOfferService.getOffersOfType returns undefined 2025-01-11 11:58:00 +00:00
Chomp
6081a19cab Updated static loot generation to better handle malformed modded items 2025-01-11 09:08:51 +00:00
0b287a831a
Fixes bug in FileSystem copy method
Updates file copying logic to use relative paths to formulate final copy source and destination paths.
2025-01-10 14:17:37 -05:00
Chomp
49286ec146 Blacklisted KOSA from PMCs 2025-01-10 16:22:47 +00:00
Chomp
dae617c0cd
Logform made a breaking change in 2.7.0, fix our call to printf to work with it (#1065) 2025-01-10 09:15:50 +00:00
1d1104a1e8
Refactor SaveServer and the things that interact with it to be async (#1064)
Changes:

- Adds a map for `profiles`
- Changes `onBeforeSaveCallbacks` to be Promises
- Changes `SaveMD5` into `saveSHA1` as the async method for `saveSHA1`
isn't blocking
- Changes all routes and callbacks directly interacting with SaveServer
to be async

---------

Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2025-01-10 09:15:14 +00:00
Chomp
9612ca2834
Default new profile name to launcher username (#1066)
Instead of always naming new profiles "SPTarkov", use the launcher
username as the default.

This improves the UX as you can quickly click through account creation
on multiple accounts without needing to remember to re-enter a new
profile name for each account
2025-01-10 08:54:09 +00:00
DrakiaXYZ
89b292e42b Default new profile name to launcher username 2025-01-09 18:32:00 -08:00
DrakiaXYZ
d2b83f64d8 Logform made a breaking change in 2.7.0, fix our call to printf to work with it 2025-01-09 18:10:12 -08:00
c334855919
Removes Typedoc (#1063)
### This depends on #1062

Actual changes in f940ac72b24951fae5abcf548e0a3d4c77640730

---------

Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2025-01-09 21:54:12 +00:00
a821f1caba
Pins NPM Packages (#1062)
We can't commit our npm lockfile, so this should help lock things down.
2025-01-09 21:53:00 +00:00
Chomp
fb10df25e0
Removes date-fns (#1061)
Removes `date-fns` dependency and replace date formatting with custom
implementation.
2025-01-09 21:21:33 +00:00
73ebeca095
Removes date-fns
Removes `date-fns` dependency and replace date formatting with custom implementation.
2025-01-09 15:54:31 -05:00