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

2582 Commits

Author SHA1 Message Date
Chomp
0ae7afb335 Resolved issue where weapon preset had its tpl overwritten with metal fuel containers tpl 2025-02-09 00:14:05 +00:00
Chomp
b1a2f2d2c5 Removed New Beginning quest requirement from prestige via code instead of manual json edit 2025-02-08 18:54:21 +00:00
Chomp
0dbc1979ea Fixed incorrect type on applyEdibleEffect 2025-02-07 12:22:59 +00:00
Chomp
081686e141 Added new response property 2025-02-07 09:49:16 +00:00
Chomp
9f1c0be4df Improvements to setFoundInRaid and RewardHelper 2025-02-04 21:20:32 +00:00
DrakiaXYZ
fc1072c91e
Fix mod sort order (#1104)
Make sure mods are in proper alphabetical order, fsExtra is throwing
special characters last for some reason

---------

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
2025-02-04 21:02:48 +00:00
Chomp
bdeddde1ff Improved FiR handling of weapon/armors from cultist circle 2025-02-04 20:27:51 +00:00
Chomp
661e444f51 Also flag direct rewards as FiR 2025-02-04 11:48:33 +00:00
Chomp
13d6ee4531 Flagged armor/weapon rewards from Cultist circle as found in raid 2025-02-04 11:46:01 +00:00
Chomp
99dcadefd2 Improved obtainPrestige 2025-02-03 18:47:10 +00:00
Chomp
4c2a0a675a Removed duplicate endpoint 2025-02-01 21:04:33 +00:00
Chomp
4bcbca5b04 Fixed addRewardsToCircleContainer adding the reward item to the output object 2025-02-01 21:03:54 +00:00
7f2f270534 Wrap saving in try-catch so that if an error occurs the server will continue to save other profiles 2025-01-31 01:17:06 +01:00
4595c29c15 Add safeguard to prevent a call to save the profile from happening if a save is already underway 2025-01-31 01:16:30 +01:00
Chomp
b746a2ad78 Updated JSON 2025-01-30 12:33:06 +00:00
Chomp
a0c0ef2f2b Fixed payForClothingItems removing entire stack of currency when purchasing clothing 2025-01-29 23:20:04 +00:00
e8a1a8c906 Make customization in the hideout persistent 2025-01-29 18:32:29 +01:00
Chomp
88c1d96527 Improved how items are examined, now handle items from mail window 2025-01-29 09:53:03 +00:00
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