0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-13 09:30:45 -05:00

2564 Commits

Author SHA1 Message Date
Chomp
22d10d6a66 Added more christmas headwear to christmasEventItems 2025-01-28 12:45:37 +00:00
Chomp
faba521553 Expanded generateRandomisedItemsAndAddToRewardPool logging 2025-01-28 09:14:35 +00:00
Chomp
e37a8ad4e8 Flagged BARTER_OLIVIER_SALAD_BOX as christmas related 2025-01-27 13:43:51 +00:00
Chomp
e261429d7d Flagged BARTER_JAR_OF_PICKLES as christmas event 2025-01-27 13:42:50 +00:00
Chomp
12831d3a5a Added more items to christmas blacklist 2025-01-27 12:43:12 +00:00
Chomp
421811d7c2 Added HEADWEAR_ELF_HAT to christmas items 2025-01-27 12:17:05 +00:00
Chomp
68b9ad64b7 Updated JSONs 2025-01-25 16:48:57 +00:00
Chomp
6e20a023c3 Skip code when data not found 2025-01-25 12:09:35 +00:00
Chomp
f2e554206d Typo fixes 2025-01-25 12:09:12 +00:00
Chomp
772d8b4e77 Fixed typo 2025-01-25 12:08:51 +00:00
Chomp
1ffa0678e9 Fixed randomiseArmorInsertsDurabilities not removing plate slots that have been chosen to be removed from fence armors 2025-01-24 14:05:33 +00:00
Chomp
a7bc9c9849 Fixed typo AlwaysKeepFoundInRaidOnRaidEnd
Fixed incorrect log message
2025-01-23 22:26:53 +00:00
Chomp
85158a0f8a Added craft clone system to hideout config
Create lootbox crafts with it
Auto-unlock some crafts on server start
2025-01-21 17:13:20 +00:00
Chomp
bc30f06142 Flagged BARTER_SHYSHKA_CHRISTMAS_TREE_LIFE_EXTENDER as christmas item 2025-01-21 13:19:46 +00:00
Chomp
01aa874a57 Flagged "Christmas event fuel` as christmas event 2025-01-21 11:58:15 +00:00
Chomp
8caa80b224 Updated ITraderPurchaseData to be an interface 2025-01-20 10:04:14 +00:00
Chomp
c9631e30a1 Improved emulation of flea,
Added `sellSum + notSellSum` values to profiles + wired up
2025-01-20 09:48:26 +00:00
Chomp
fa31006761
Fix launcher thinking profile deletion failed (#1095)
The launcher currently thinks all profile deletions fail. This should
fix it

Testing:
- Create new profile (No need to log in)
- Delete new profile

Reasoning:
We need to invert the returned value of the `exists` call, which means
we need to actually await it instead of trying to return the inverse of
the promise
I did a quick search over the codebase for other places we have
Promise<boolean> return types, and didn't see any other similar issues
elsewhere
2025-01-20 09:21:08 +00:00
DrakiaXYZ
b541c04bac Refactor quest and achievement reward handling to be more centralized
- Create a new RewardHelper class that contains the majority of shared reward handling
- Move a lot of methods from QuestRewardHelper into RewardHelper
- Fix a bug in `applyMoneyBoost` that could result in compounding money boost being applied across characters
- Route achievement reward handling through RewardHelper
2025-01-19 22:41:17 -08:00
DrakiaXYZ
5bb9bd3fb1 Fix launcher thinking profile deletion failed 2025-01-19 16:26:04 -08:00
Chomp
ad782e5906 Replicated Mechanic sending player a measuring tape on profile creation 2025-01-19 19:16:23 +00:00
Chomp
bef38fddca updated `getOfferByid return type to be nullable 2025-01-19 18:18:42 +00:00
Chomp
80a0d1acf2 Changed logging inside getAgressorBonusByDifficulty to debug 2025-01-19 18:18:02 +00:00
Chomp
0995e0c014 Fixed 30round FDE mag conflict 2025-01-19 11:56:24 +00:00
d5acce2b71 Migrate suits from 3.10 profile 2025-01-17 14:07:52 +01:00
Chomp
d078d10268 include cyber background customisation on dev profiles 2025-01-17 12:26:54 +00:00
Chomp
5c29c898b6 Renamed functions to better match their purpose 2025-01-17 12:22:06 +00:00
Chomp
de00ac3ef2 Fixed incorrect globals interface and related code (fixes christmas error) 2025-01-17 10:44:04 +00:00
Chomp
f07ba3fec4 Added nullguard to hideoutCustomizationSetMannequinPose 2025-01-17 10:09:55 +00:00
TetrisGG
d64cde21bf Fixes Prestige rewards not persisting through Prestige
Whenever we prestige we have to add all previous prestige rewards to the fresh profile, not only the current one.
Fixes #1090
2025-01-17 09:55:46 +01:00
Chomp
7a9a06e6e3 Fixed processItemsBeforeAddingToMail compile error 2025-01-16 10:35:21 +00:00
Chomp
91f12715fb Small refactor of armor plate selection code 2025-01-16 10:35:00 +00:00
acidphantasm
6cbd650330
Expand filterPlateModsForSlotByLevel to attempt other plate class levels before falling back to default plates (#1086)
Instead of automatically falling back to default plates, this change
will allow the bot to attempt the next level higher armor class up to 3
times before falling back to defaults.

Through testing this prevents falling back to defaults roughly 95% of
the time and retains the ability to roll the lowest level available
armor class if the initial armor class level selected is too low for the
armor.

---------

Co-authored-by: acidphantasm <acidphantasm@acidphantasm.com>
2025-01-16 09:38:30 +00:00
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.
2025-01-15 19:23:14 +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
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
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
Kaeno
93d25d0769 Add unlocked suits to customisationUnlocks in profile fixing suites not persisting on game restart 2025-01-13 17:34:23 +00:00