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

625 Commits

Author SHA1 Message Date
Chomp
96605479cf Cleaned up prestige related types 2024-12-29 14:19:25 +00:00
Chomp
411925654b Updated JSONs
Regenerated production quest ids + item tpls
2024-12-29 14:08:59 +00:00
Chomp
446dffba49 Added type to prestige endpoint 2024-12-28 10:09:42 +00:00
Chomp
b77c2825e3 Cleaned up type duplication inside locationbase 2024-12-28 09:55:19 +00:00
Chomp
1f01bea20a Updated location path data 2024-12-28 09:49:14 +00:00
Chomp
cf9a901d69
Fixed typo 2024-12-27 20:45:40 -05:00
Chomp
c349bc4f63
Update location base JSONs + added new location property 2024-12-27 20:42:38 -05:00
Chomp
b8bb6b921f
Expanded new endpoints
# Conflicts:
#	project/src/callbacks/CustomizationCallbacks.ts
#	project/src/callbacks/HideoutCallbacks.ts
#	project/src/controllers/CustomizationController.ts
#	project/src/controllers/HideoutController.ts
2024-12-27 20:42:08 -05:00
Chomp
5d08bd501c
Stubbed out hideoutCustomizationApply event 2024-12-27 20:40:03 -05:00
Chomp
d2b71aedbd
Updated IHideout with Customization property 2024-12-27 20:39:47 -05:00
Chomp
d0259c5a93
include new enum 2024-12-27 20:39:34 -05:00
Chomp
98dbdbe003
Store exit taken on raid end and store in app context for future use 2024-12-27 20:39:28 -05:00
Chomp
04207555b9
Updated transit-related properties - TODO: check if request.transition is hydrated now
# Conflicts:
#	project/src/models/eft/match/IStartLocalRaidResponseData.ts
2024-12-27 20:38:59 -05:00
Chomp
df70af797e
Updated item enums + Added overrides for new items
# Conflicts:
#	project/src/models/enums/ItemTpl.ts
2024-12-27 20:37:10 -05:00
Chomp
d2aadf3c9d
Added dogtag data to profiles 2024-12-27 20:29:27 -05:00
Chomp
0de84e4760
Add new type 2024-12-27 20:28:46 -05:00
Chomp
912a718e43
Added new client/customization/storage endpoint 2024-12-27 20:15:37 -05:00
Chomp
6ff1916653
Updated JSONS and matching interfaces
updated ragman clothing

Updated quests

Updated trader assorts

Updated location servcies

Added new prestige data + new classes to handle new endpoints

Added new hideout customisation endpoint

# Conflicts:
#	project/src/models/eft/common/IGlobals.ts
#	project/src/models/eft/common/ILocationBase.ts
#	project/src/models/spt/config/IInventoryConfig.ts
#	project/src/models/spt/hideout/IHideout.ts
#	project/src/models/spt/templates/ITemplates.ts
2024-12-27 20:15:03 -05:00
Chomp
863738087f Moved deprioritisedContainers data into config as deprioritisedMoneyContainers 2024-12-22 21:30:21 +00:00
Chomp
30d620d346 Improved simulation of AI player scavs, their 'pmc' name + game edtion is correctly passed to client
Pulled pscav code out of `generateUniqueBotNickname` and into its own function `simulatePlayerScavName`
2024-12-22 16:35:15 +00:00
Chomp
c40a4aa7cb Added system to allow overriding flea prices via config 2024-12-22 15:35:15 +00:00
Chomp
7caec6efad Added system to insert items into bot storage areas during seasonal events - Used to add Christmas items to scavs 2024-12-18 23:51:25 +00:00
Chomp
fc09a3ff53 Added comments to interface 2024-12-17 17:26:52 +00:00
ef14ad27e1
Profile Backups (#983)
Here's a jumping off point for the profile backup feature. Included some
basic configuration options. Currently backup runs on server start-up
(before the profiles are loaded into memory) and on a configurable
interval.

I think it still needs work.
- [x] The folder name dates should be used to detect which old backups
should be removed
- [x] Not sure about the interval implementation...
- [x] Could make the clean method thinner
- [x] Remove VFS; I don't believe it's needed for copy operations
- [x] Save a list of active mods used by the backed up profiles

---------

Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
Co-authored-by: Chomp <dev@dev.sp-tarkov.com>
2024-12-14 10:20:45 +00:00
Chomp
571819906e made eventId property inside IWsNotificationEvent optional + cleaned up TODO 2024-12-14 09:49:34 +00:00
DrakiaXYZ
4614c890a6 Implement basic friends list functionality
This commit implements basic friends list functionality including adding, auto accepting, and removing friends. As well as storing the list in the profile and providing the friends list back to the client on login.
This is a one-way implementation, the target profile will not have the source account added to its friends list.

This is primarily useful in combination with the recent favorites fixes, to allow users to inspect favorited weapons on other profiles to "copy" weapon builds between their profiles
2024-12-13 21:25:32 -08:00
Chomp
32c0bc0348 Added 5 missing properties to quest.json file 2024-12-12 14:02:52 +00:00
Chomp
2abf216a07 Using live data, improved emulation accuracy of repeatable quest system 2024-12-09 23:23:31 +00:00
Chomp
b41d8683b3 Added array to config to allow ignoring of item types from rewards, wired up function in itemFilterService to return values + Added built in inserts to blacklist 2024-12-09 14:41:42 +00:00
be88a2224e
Merge branch '3.10.2-dev' 2024-12-07 13:52:24 -05:00
21939dcf38
Biome Format
Ran the `npm run style:fix` command. These are the code-formatting fixes.
2024-12-07 13:50:09 -05:00
Chomp
3867ff336e Moved circle-specific types into correct location in project + renamed them for clarity 2024-12-07 10:05:32 +00:00
Chomp
d2b7baa8b6
Cultist circle improvements (#973)
Brings Cultist Cicle rewards closer to live behavior.

---------

Co-authored-by: Bob S <shibdib@users.noreply.github.com>
Co-authored-by: Chomp <dev@dev.sp-tarkov.com>
2024-12-06 17:15:06 +00:00
DrakiaXYZ
d34eca32bb
Further favorite item/weapon functionality and fixes (#974)
- Resolve issue where we were storing favorites in the incorrect format,
resulting in a client error on game load
- Resolve issue where we were clearing favorites when they were meant to
be saved
- On login, fix any previously corrupted favorites array
- Properly implement favorite data in `getOtherProfile`, now shows your
favorites when viewing your profile

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2024-12-06 17:14:19 +00:00
Chomp
e5fb672579 Fixed price discrepancy between trader and flea price for trader items, resolves #968 2024-12-03 11:53:22 +00:00
DeadLeavez
4de4b42b1b Add comments to ILocationBase, Information extracted using DNSPY on assembly 2024-12-02 15:19:55 +01:00
Chomp
464fa27758 Removed unused effects property from client/hideout/workout endpoint 2024-11-27 12:04:08 +00:00
Chomp
92c2b11f71 Regenerated ItemTpl enum 2024-11-24 18:22:02 +00:00
Dev
269174fc6d Updated interface with new property + Updated JSONs 2024-11-22 18:07:18 +00:00
Dev
9632238fab Added removeInvalidTradersFromProfile to core.json config to allow cleanup of incorrect trader data in profile 2024-11-20 10:49:18 +00:00
Dev
0c5ecefc41 Refactored scavcase reward code to use correct data and interfaces 2024-11-20 09:48:42 +00:00
Dev
eafa390c72 Fixed survey not implemented errors 2024-11-18 10:13:47 +00:00
Dev
d6a5c25b20 Cleanup of survival state code
Moved hard coded fence rep values into trader config
Improved outcome debug logging
2024-11-16 20:22:24 +00:00
Dev
d8be5f71a6 Removed property that client no longer sends - updated corrisponding code that used it (fixes 0 rep gain on successful scav raid)
Only apply rep gain when current rep is below max (15)
2024-11-16 19:57:27 +00:00
Dev
d88e705c86 Fixed questConfig.profileWhitelist causing quests to not be shown when accepting a quest
reversed `questConfig.profileWhitelist` to have quest id as key and allowed game versions as value
2024-11-14 14:01:54 +00:00
Dev
14b8985851 Reworked exp/agressor bonus/standing for kill values to accept dictionaries keyed by bot difficulty
Requires regeneration of bot jsons
2024-11-14 11:58:12 +00:00
Dev
060c7f0988 Added system to replace hostility settings for an event 2024-11-11 21:18:41 +00:00
Dev
dce5c2ad76 Added property to store 'non' maps in config 2024-11-11 21:16:58 +00:00
Dev
84f8bb8711 Stored last location player was on when transiting - Fixed map transits not sending player to correct infil point
Limitation - only keeps track of one transit
2024-11-11 20:19:53 +00:00
Dev
6a5cbd0549 Repair buff changes:
Capitalize item buff properties to match live
tofixed(2) the bonus value to match live
2024-11-05 15:11:20 +00:00