From 03839a7de6e92a96fa612e083ab51782061751f3 Mon Sep 17 00:00:00 2001 From: Mr_Goldberg Date: Sat, 1 Feb 2020 13:46:05 -0500 Subject: [PATCH] Use the same steam pipe/user numbers that the real steam dll uses because some games actually depend on it. --- dll/defines.h | 4 ++-- dll/steam_client.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dll/defines.h b/dll/defines.h index dbad7dc..b7d98c9 100644 --- a/dll/defines.h +++ b/dll/defines.h @@ -1,6 +1,6 @@ //TODO: put these in a common .h -#define CLIENT_HSTEAMUSER 12 -#define SERVER_HSTEAMUSER 13 +#define CLIENT_HSTEAMUSER 1 +#define SERVER_HSTEAMUSER 1 #define DEFAULT_NAME "Goldberg" #define PROGRAM_NAME "Goldberg SteamEmu" diff --git a/dll/steam_client.h b/dll/steam_client.h index 5812881..c0a633a 100644 --- a/dll/steam_client.h +++ b/dll/steam_client.h @@ -136,7 +136,7 @@ public: std::thread background_keepalive; bool steamclient_server_inited = false; - unsigned steam_pipe_counter = 2; + unsigned steam_pipe_counter = 1; std::map steam_pipes; Steam_Client();