From 54f523dba431112b31466d15b8bbbe9b959c9b50 Mon Sep 17 00:00:00 2001 From: DeinFreund Date: Sat, 16 May 2020 18:41:24 +0200 Subject: [PATCH 1/2] Update zk_loopback.lua --- LuaMenu/widgets/zk_loopback.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/LuaMenu/widgets/zk_loopback.lua b/LuaMenu/widgets/zk_loopback.lua index 2ebdec0f1..8d2f29c9c 100644 --- a/LuaMenu/widgets/zk_loopback.lua +++ b/LuaMenu/widgets/zk_loopback.lua @@ -161,6 +161,7 @@ local function WrapperOnline(args) config.DefaultServerPort = args.DefaultServerPort config.DefaultServerHost = args.DefaultServerHost config.UserID = args.UserID + config.InstallID = args.InstallID config.IsSteamFolder = args.IsSteamFolder if config.DefaultServerPort == 8202 and config.DefaultServerHost == "test.zero-k.info" then config.ForceDefaultServer = true From e160ca84219125c4be09bbd80f9ad5a5440cd59d Mon Sep 17 00:00:00 2001 From: DeinFreund Date: Sat, 16 May 2020 18:42:39 +0200 Subject: [PATCH 2/2] Update interface_zerok.lua --- libs/liblobby/lobby/interface_zerok.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/liblobby/lobby/interface_zerok.lua b/libs/liblobby/lobby/interface_zerok.lua index e0a77fdf9..05f397de3 100644 --- a/libs/liblobby/lobby/interface_zerok.lua +++ b/libs/liblobby/lobby/interface_zerok.lua @@ -44,6 +44,7 @@ function Interface:Register(userName, password, email, useSteamLogin) PasswordHash = password, SteamAuthToken = steamToken, UserID = (config and config.UserID) or 0, + InstallID = (config and config.InstallID) or 0, } self:_SendCommand("Register " .. json.encode(sendData)) return self @@ -65,6 +66,7 @@ function Interface:Login(user, password, cpu, localIP, lobbyVersion, useSteamLog if steamToken and (not password) and not REVERSE_COMPAT then sendData = { UserID = (config and config.UserID) or 0, + InstallID = (config and config.InstallID) or 0, ClientType = 1, LobbyVersion = lobbyVersion, SteamAuthToken = steamToken, @@ -75,6 +77,7 @@ function Interface:Login(user, password, cpu, localIP, lobbyVersion, useSteamLog Name = user, PasswordHash = password, UserID = (config and config.UserID) or 0, + InstallID = (config and config.InstallID) or 0, ClientType = 1, LobbyVersion = lobbyVersion, SteamAuthToken = steamToken,