Skip to content

Commit 68f7897

Browse files
committed
VERSION{v1.8.5.2}
Fix
1 parent ad56d1d commit 68f7897

3 files changed

Lines changed: 20 additions & 8 deletions

File tree

LuaMenu/widgets/chobby/components/chat_windows.lua

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,14 @@ function ChatWindows:RedactMessage(msg)
605605
msg = string.sub(msg, 0, UserIDPos) .. "REDACTED" .. string.sub(msg, endPos)
606606
end
607607
end
608+
local installIDPos = string.find(msg, [["InstallID":"]])
609+
if installIDPos then
610+
installIDPos = installIDPos + 12
611+
local endPos = string.find(msg, [["]], installIDPos + 1)
612+
if endPos then
613+
msg = string.sub(msg, 0, installIDPos) .. "REDACTED" .. string.sub(msg, endPos)
614+
end
615+
end
608616
return msg
609617
end
610618

LuaMenu/widgets/gui_steam_release_notifier.lua

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -157,14 +157,15 @@ end
157157
--------------------------------------------------------------------------------
158158
-- Widget Interface
159159

160-
function widget:Initialize()
161-
CHOBBY_DIR = LUA_DIRNAME .. "widgets/chobby/"
162-
VFS.Include(LUA_DIRNAME .. "widgets/chobby/headers/exports.lua", nil, VFS.RAW_FIRST)
163-
end
160+
--function widget:Initialize()
161+
-- CHOBBY_DIR = LUA_DIRNAME .. "widgets/chobby/"
162+
-- VFS.Include(LUA_DIRNAME .. "widgets/chobby/headers/exports.lua", nil, VFS.RAW_FIRST)
163+
--end
164+
--
165+
--function widget:Update()
166+
-- WG.Delay(SteamCheckPopup, 2)
167+
-- widgetHandler:RemoveCallIn("Update")
168+
--end
164169

165-
function widget:Update()
166-
WG.Delay(SteamCheckPopup, 2)
167-
widgetHandler:RemoveCallIn("Update")
168-
end
169170
--------------------------------------------------------------------------------
170171
--------------------------------------------------------------------------------

libs/liblobby/lobby/interface_zerok.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ function Interface:Register(userName, password, email, useSteamLogin)
4444
PasswordHash = password,
4545
SteamAuthToken = steamToken,
4646
UserID = (config and config.UserID) or 0,
47+
InstallID = (config and config.InstallID) or 0,
4748
}
4849
self:_SendCommand("Register " .. json.encode(sendData))
4950
return self
@@ -65,6 +66,7 @@ function Interface:Login(user, password, cpu, localIP, lobbyVersion, useSteamLog
6566
if steamToken and (not password) and not REVERSE_COMPAT then
6667
sendData = {
6768
UserID = (config and config.UserID) or 0,
69+
InstallID = (config and config.InstallID) or 0,
6870
ClientType = 1,
6971
LobbyVersion = lobbyVersion,
7072
SteamAuthToken = steamToken,
@@ -75,6 +77,7 @@ function Interface:Login(user, password, cpu, localIP, lobbyVersion, useSteamLog
7577
Name = user,
7678
PasswordHash = password,
7779
UserID = (config and config.UserID) or 0,
80+
InstallID = (config and config.InstallID) or 0,
7881
ClientType = 1,
7982
LobbyVersion = lobbyVersion,
8083
SteamAuthToken = steamToken,

0 commit comments

Comments
 (0)