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

4284 Commits

Author SHA1 Message Date
Chomp
1048d23f64 Added missing hideout icon 2025-01-20 09:48:40 +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
Chomp
855c305c29
Refactor quest and achievement reward handling to be more centralized (#1097)
- 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-20 09:20:34 +00:00
Chomp
67887e7d66
Merge branch '4.0.0-DEV' into feat-rewardrefactor 2025-01-20 09:20:26 +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
KaenoDev
4a019d2130 Make MechanicGiftDay1 Gift be found in raid like live 2025-01-20 01:14:19 +00: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 4.0.0-BE-20250119 2025-01-19 11:56:24 +00:00
Chomp
0dfc6a7c4c Regenerated trader assort data 2025-01-19 10:04:08 +00:00
Chomp
4839547e6d Blacklisted 67408903268737ef6908d432-contraband box from reward pool 2025-01-19 10:03:03 +00:00
Chomp
c1cbb66a73 Updated quests
added `Hot Wheels - Lets Try Again`
2025-01-19 10:02:41 +00:00
Chomp
d4336863fb Updated JSONs 2025-01-19 09:47:54 +00:00
Chomp
58e30bb70f Updated server start text 2025-01-18 23:25:35 +00:00
Chomp
1ebce6f24a 34568 2025-01-18 22:36:28 +00:00
Chomp
fa043ec60d
Migrate suits from 3.10 profile (#1092)
Migrates clothing items from 3.10 profile, if modded items are found
these are removed as we cannot verify them.
2025-01-17 13:57:46 +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
Chomp
aae4f50848 Merge branch '4.0.0-DEV' of https://github.com/sp-tarkov/server into 4.0.0-DEV 2025-01-17 10:08:32 +00:00
Chomp
df4c6c19f4 Added missing mannequin image 2025-01-17 10:08:24 +00:00
Chomp
40c39314b9
1090 Prestige 1 rewards re-locked after prestiging a 2nd time. (#1091)
https://github.com/sp-tarkov/server/issues/1090
Fix for this issue, by awarding all Prestige rewards up to and including
the current prestige level
2025-01-17 10:05:21 +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
743a78c5c9 Blacklisted prestige armbands from rewards 2025-01-16 18:27:25 +00: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.
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