mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 06:50:43 -05:00
Merge branch 'master' of https://dev.sp-tarkov.com/SPT/Server into 310-dev
# Conflicts: # project/assets/database/globals.json
This commit is contained in:
commit
57100544c9
@ -168,6 +168,13 @@
|
||||
"season": "None",
|
||||
"startTimestamp": 1341615600000,
|
||||
"endTimestamp": "",
|
||||
"yearly": false
|
||||
},
|
||||
"6672ec2a2b6f3b71be794cc5": {
|
||||
"name": "Key to salvation",
|
||||
"season": "None",
|
||||
"startTimestamp": 1341615600000,
|
||||
"endTimestamp": "",
|
||||
"yearly": false
|
||||
}
|
||||
},
|
||||
|
BIN
project/assets/database/locations/bigmap/looseLoot.json
(Stored with Git LFS)
BIN
project/assets/database/locations/bigmap/looseLoot.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/bigmap/staticAmmo.json
(Stored with Git LFS)
BIN
project/assets/database/locations/bigmap/staticAmmo.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/bigmap/staticContainers.json
(Stored with Git LFS)
BIN
project/assets/database/locations/bigmap/staticContainers.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/bigmap/staticLoot.json
(Stored with Git LFS)
BIN
project/assets/database/locations/bigmap/staticLoot.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/factory4_day/looseLoot.json
(Stored with Git LFS)
BIN
project/assets/database/locations/factory4_day/looseLoot.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/factory4_day/staticAmmo.json
(Stored with Git LFS)
BIN
project/assets/database/locations/factory4_day/staticAmmo.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/factory4_day/staticContainers.json
(Stored with Git LFS)
BIN
project/assets/database/locations/factory4_day/staticContainers.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/factory4_day/staticLoot.json
(Stored with Git LFS)
BIN
project/assets/database/locations/factory4_day/staticLoot.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/interchange/looseLoot.json
(Stored with Git LFS)
BIN
project/assets/database/locations/interchange/looseLoot.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/interchange/staticAmmo.json
(Stored with Git LFS)
BIN
project/assets/database/locations/interchange/staticAmmo.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/interchange/staticContainers.json
(Stored with Git LFS)
BIN
project/assets/database/locations/interchange/staticContainers.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/interchange/staticLoot.json
(Stored with Git LFS)
BIN
project/assets/database/locations/interchange/staticLoot.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/laboratory/looseLoot.json
(Stored with Git LFS)
BIN
project/assets/database/locations/laboratory/looseLoot.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/laboratory/staticAmmo.json
(Stored with Git LFS)
BIN
project/assets/database/locations/laboratory/staticAmmo.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/laboratory/staticContainers.json
(Stored with Git LFS)
BIN
project/assets/database/locations/laboratory/staticContainers.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/laboratory/staticLoot.json
(Stored with Git LFS)
BIN
project/assets/database/locations/laboratory/staticLoot.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/lighthouse/looseLoot.json
(Stored with Git LFS)
BIN
project/assets/database/locations/lighthouse/looseLoot.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/lighthouse/staticAmmo.json
(Stored with Git LFS)
BIN
project/assets/database/locations/lighthouse/staticAmmo.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/lighthouse/staticContainers.json
(Stored with Git LFS)
BIN
project/assets/database/locations/lighthouse/staticContainers.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/lighthouse/staticLoot.json
(Stored with Git LFS)
BIN
project/assets/database/locations/lighthouse/staticLoot.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/rezervbase/looseLoot.json
(Stored with Git LFS)
BIN
project/assets/database/locations/rezervbase/looseLoot.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/rezervbase/staticAmmo.json
(Stored with Git LFS)
BIN
project/assets/database/locations/rezervbase/staticAmmo.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/rezervbase/staticContainers.json
(Stored with Git LFS)
BIN
project/assets/database/locations/rezervbase/staticContainers.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/rezervbase/staticLoot.json
(Stored with Git LFS)
BIN
project/assets/database/locations/rezervbase/staticLoot.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/sandbox/looseLoot.json
(Stored with Git LFS)
BIN
project/assets/database/locations/sandbox/looseLoot.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/sandbox/staticAmmo.json
(Stored with Git LFS)
BIN
project/assets/database/locations/sandbox/staticAmmo.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/sandbox/staticContainers.json
(Stored with Git LFS)
BIN
project/assets/database/locations/sandbox/staticContainers.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/sandbox/staticLoot.json
(Stored with Git LFS)
BIN
project/assets/database/locations/sandbox/staticLoot.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/sandbox_high/looseLoot.json
(Stored with Git LFS)
BIN
project/assets/database/locations/sandbox_high/looseLoot.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/sandbox_high/staticAmmo.json
(Stored with Git LFS)
BIN
project/assets/database/locations/sandbox_high/staticAmmo.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/sandbox_high/staticContainers.json
(Stored with Git LFS)
BIN
project/assets/database/locations/sandbox_high/staticContainers.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/sandbox_high/staticLoot.json
(Stored with Git LFS)
BIN
project/assets/database/locations/sandbox_high/staticLoot.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/shoreline/looseLoot.json
(Stored with Git LFS)
BIN
project/assets/database/locations/shoreline/looseLoot.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/shoreline/staticAmmo.json
(Stored with Git LFS)
BIN
project/assets/database/locations/shoreline/staticAmmo.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/shoreline/staticContainers.json
(Stored with Git LFS)
BIN
project/assets/database/locations/shoreline/staticContainers.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/shoreline/staticLoot.json
(Stored with Git LFS)
BIN
project/assets/database/locations/shoreline/staticLoot.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/tarkovstreets/looseLoot.json
(Stored with Git LFS)
BIN
project/assets/database/locations/tarkovstreets/looseLoot.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/tarkovstreets/staticAmmo.json
(Stored with Git LFS)
BIN
project/assets/database/locations/tarkovstreets/staticAmmo.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/tarkovstreets/staticContainers.json
(Stored with Git LFS)
BIN
project/assets/database/locations/tarkovstreets/staticContainers.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/tarkovstreets/staticLoot.json
(Stored with Git LFS)
BIN
project/assets/database/locations/tarkovstreets/staticLoot.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/woods/looseLoot.json
(Stored with Git LFS)
BIN
project/assets/database/locations/woods/looseLoot.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/woods/staticAmmo.json
(Stored with Git LFS)
BIN
project/assets/database/locations/woods/staticAmmo.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/woods/staticContainers.json
(Stored with Git LFS)
BIN
project/assets/database/locations/woods/staticContainers.json
(Stored with Git LFS)
Binary file not shown.
BIN
project/assets/database/locations/woods/staticLoot.json
(Stored with Git LFS)
BIN
project/assets/database/locations/woods/staticLoot.json
(Stored with Git LFS)
Binary file not shown.
@ -27560,7 +27560,7 @@
|
||||
"LastTimePlayedAsSavage": 0,
|
||||
"Level": 1,
|
||||
"LowerNickname": "__REPLACEME__",
|
||||
"MemberCategory": 1024,
|
||||
"MemberCategory": 1026,
|
||||
"isMigratedSkills": false,
|
||||
"SelectedMemberCategory": 1024,
|
||||
"NeedWipeOptions": [],
|
||||
@ -31900,7 +31900,7 @@
|
||||
"LastTimePlayedAsSavage": 0,
|
||||
"Level": 1,
|
||||
"LowerNickname": "__REPLACEME__",
|
||||
"MemberCategory": 1024,
|
||||
"MemberCategory": 1026,
|
||||
"isMigratedSkills": false,
|
||||
"SelectedMemberCategory": 1024,
|
||||
"NeedWipeOptions": [],
|
||||
|
@ -167,10 +167,10 @@ export class ProfileCallbacks
|
||||
url: string,
|
||||
info: IGetProfileSettingsRequest,
|
||||
sessionId: string,
|
||||
): IGetBodyResponseData<string>
|
||||
): IGetBodyResponseData<boolean>
|
||||
{
|
||||
this.profileController.setChosenProfileIcon(sessionId, info);
|
||||
return this.httpResponse.emptyResponse();
|
||||
|
||||
return this.httpResponse.getBody(this.profileController.setChosenProfileIcon(sessionId, info));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -489,14 +489,15 @@ export class ProfileController
|
||||
/**
|
||||
* Handle client/profile/settings
|
||||
*/
|
||||
public setChosenProfileIcon(sessionId: string, request: IGetProfileSettingsRequest): void
|
||||
public setChosenProfileIcon(sessionId: string, request: IGetProfileSettingsRequest): boolean
|
||||
{
|
||||
const profileToUpdate = this.profileHelper.getPmcProfile(sessionId);
|
||||
if (!profileToUpdate)
|
||||
{
|
||||
return;
|
||||
return false;
|
||||
}
|
||||
|
||||
profileToUpdate.Info.SelectedMemberCategory = request.memberCategory;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
@ -483,6 +483,7 @@ export interface Slot
|
||||
export interface SlotProps
|
||||
{
|
||||
filters: SlotFilter[]
|
||||
MaxStackCount?: number
|
||||
}
|
||||
|
||||
export interface SlotFilter
|
||||
@ -505,7 +506,7 @@ export interface StackSlot
|
||||
_max_count: number
|
||||
_props: StackSlotProps
|
||||
_proto: string
|
||||
upd: any
|
||||
upd?: any
|
||||
}
|
||||
|
||||
export interface StackSlotProps
|
||||
|
@ -126,7 +126,7 @@ export class ProfileStaticRouter extends StaticRouter
|
||||
info: any,
|
||||
sessionID: string,
|
||||
output: string,
|
||||
): Promise<IGetBodyResponseData<string>> =>
|
||||
): Promise<IGetBodyResponseData<boolean>> =>
|
||||
{
|
||||
return this.profileCallbacks.getProfileSettings(url, info, sessionID);
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user