diff --git a/project/src/context/ContextVariableType.ts b/project/src/context/ContextVariableType.ts index ad54aae7..e2049954 100644 --- a/project/src/context/ContextVariableType.ts +++ b/project/src/context/ContextVariableType.ts @@ -3,7 +3,7 @@ export enum ContextVariableType { SESSION_ID = 0, /** Currently acive raid information */ RAID_CONFIGURATION = 1, - /** Timestamp when client first connected */ + /** SessionID + Timestamp when client first connected, has _ between values */ CLIENT_START_TIMESTAMP = 2, /** When player is loading into map and loot is requested */ REGISTER_PLAYER_REQUEST = 3, diff --git a/project/src/controllers/GameController.ts b/project/src/controllers/GameController.ts index 6df1bd8e..b7cd42b1 100644 --- a/project/src/controllers/GameController.ts +++ b/project/src/controllers/GameController.ts @@ -95,7 +95,10 @@ export class GameController { */ public gameStart(_url: string, _info: IEmptyRequestData, sessionID: string, startTimeStampMS: number): void { // Store client start time in app context - this.applicationContext.addValue(ContextVariableType.CLIENT_START_TIMESTAMP, startTimeStampMS); + this.applicationContext.addValue( + ContextVariableType.CLIENT_START_TIMESTAMP, + `${sessionID}_${startTimeStampMS}`, + ); this.profileActivityService.setActivityTimestamp(sessionID);