From 6d658819936f179e3b8f718637af3d5a25091fc6 Mon Sep 17 00:00:00 2001 From: Oleg Trofimov Date: Tue, 29 Oct 2024 16:07:26 +0300 Subject: [PATCH 1/6] ALTV-469 Add interface for protected HWID --- objects/IPlayer.h | 1 + script-objects/IConnectionInfo.h | 1 + 2 files changed, 2 insertions(+) diff --git a/objects/IPlayer.h b/objects/IPlayer.h index 8cf1a13..ac9cc82 100644 --- a/objects/IPlayer.h +++ b/objects/IPlayer.h @@ -91,6 +91,7 @@ namespace alt virtual std::string GetSocialClubName() const = 0; virtual uint64_t GetHwidHash() const = 0; virtual uint64_t GetHwidExHash() const = 0; + virtual std::string GetHwidProtHash() const = 0; virtual std::string GetAuthToken() const = 0; virtual int64_t GetDiscordId() const = 0; diff --git a/script-objects/IConnectionInfo.h b/script-objects/IConnectionInfo.h index 14562d9..0470015 100644 --- a/script-objects/IConnectionInfo.h +++ b/script-objects/IConnectionInfo.h @@ -20,6 +20,7 @@ namespace alt virtual std::string GetSocialName() const = 0; virtual uint64_t GetHwIdHash() const = 0; virtual uint64_t GetHwIdExHash() const = 0; + virtual std::string GetHwidProtHash const = 0; virtual std::string GetAuthToken() const = 0; virtual bool GetIsDebug() const = 0; virtual std::string GetBranch() const = 0; From cf46bf816bdc8a0736c2ee64edf1c4de03359415 Mon Sep 17 00:00:00 2001 From: Oleg Trofimov Date: Tue, 29 Oct 2024 18:08:54 +0300 Subject: [PATCH 2/6] ALTV-469 fixed build --- script-objects/IConnectionInfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script-objects/IConnectionInfo.h b/script-objects/IConnectionInfo.h index 0470015..683dcf0 100644 --- a/script-objects/IConnectionInfo.h +++ b/script-objects/IConnectionInfo.h @@ -20,7 +20,7 @@ namespace alt virtual std::string GetSocialName() const = 0; virtual uint64_t GetHwIdHash() const = 0; virtual uint64_t GetHwIdExHash() const = 0; - virtual std::string GetHwidProtHash const = 0; + virtual std::string GetHwidProtHash() const = 0; virtual std::string GetAuthToken() const = 0; virtual bool GetIsDebug() const = 0; virtual std::string GetBranch() const = 0; From b175210d752c0e7834e33cdc97aa1a6e3d4264b9 Mon Sep 17 00:00:00 2001 From: Oleg Trofimov Date: Wed, 30 Oct 2024 09:51:22 +0300 Subject: [PATCH 3/6] ALTV-469 fixed GetHwIdProtHash --- script-objects/IConnectionInfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script-objects/IConnectionInfo.h b/script-objects/IConnectionInfo.h index 683dcf0..752332d 100644 --- a/script-objects/IConnectionInfo.h +++ b/script-objects/IConnectionInfo.h @@ -20,7 +20,7 @@ namespace alt virtual std::string GetSocialName() const = 0; virtual uint64_t GetHwIdHash() const = 0; virtual uint64_t GetHwIdExHash() const = 0; - virtual std::string GetHwidProtHash() const = 0; + virtual std::string GetHwIdProtHash() const = 0; virtual std::string GetAuthToken() const = 0; virtual bool GetIsDebug() const = 0; virtual std::string GetBranch() const = 0; From 3abb758d40bfc86048fcba818397490afe1e76fe Mon Sep 17 00:00:00 2001 From: Oleg Trofimov Date: Wed, 30 Oct 2024 11:55:46 +0300 Subject: [PATCH 4/6] ALTV-469 changed GetHwidProtHash() to Gethwid3() --- objects/IPlayer.h | 2 +- script-objects/IConnectionInfo.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/objects/IPlayer.h b/objects/IPlayer.h index ac9cc82..e0107f7 100644 --- a/objects/IPlayer.h +++ b/objects/IPlayer.h @@ -91,7 +91,7 @@ namespace alt virtual std::string GetSocialClubName() const = 0; virtual uint64_t GetHwidHash() const = 0; virtual uint64_t GetHwidExHash() const = 0; - virtual std::string GetHwidProtHash() const = 0; + virtual std::string Gethwid3() const = 0; virtual std::string GetAuthToken() const = 0; virtual int64_t GetDiscordId() const = 0; diff --git a/script-objects/IConnectionInfo.h b/script-objects/IConnectionInfo.h index 752332d..f07d841 100644 --- a/script-objects/IConnectionInfo.h +++ b/script-objects/IConnectionInfo.h @@ -20,7 +20,7 @@ namespace alt virtual std::string GetSocialName() const = 0; virtual uint64_t GetHwIdHash() const = 0; virtual uint64_t GetHwIdExHash() const = 0; - virtual std::string GetHwIdProtHash() const = 0; + virtual std::string Gethwid3() const = 0; virtual std::string GetAuthToken() const = 0; virtual bool GetIsDebug() const = 0; virtual std::string GetBranch() const = 0; From 1f9e3d6d92d667979459c362f2fb3890ddbe1eb7 Mon Sep 17 00:00:00 2001 From: Oleg Trofimov Date: Wed, 30 Oct 2024 12:18:27 +0300 Subject: [PATCH 5/6] ALTV-469 fixed "h" to "H" --- objects/IPlayer.h | 2 +- script-objects/IConnectionInfo.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/objects/IPlayer.h b/objects/IPlayer.h index e0107f7..988f21f 100644 --- a/objects/IPlayer.h +++ b/objects/IPlayer.h @@ -91,7 +91,7 @@ namespace alt virtual std::string GetSocialClubName() const = 0; virtual uint64_t GetHwidHash() const = 0; virtual uint64_t GetHwidExHash() const = 0; - virtual std::string Gethwid3() const = 0; + virtual std::string GetHwid3() const = 0; virtual std::string GetAuthToken() const = 0; virtual int64_t GetDiscordId() const = 0; diff --git a/script-objects/IConnectionInfo.h b/script-objects/IConnectionInfo.h index f07d841..cbcf3f6 100644 --- a/script-objects/IConnectionInfo.h +++ b/script-objects/IConnectionInfo.h @@ -20,7 +20,7 @@ namespace alt virtual std::string GetSocialName() const = 0; virtual uint64_t GetHwIdHash() const = 0; virtual uint64_t GetHwIdExHash() const = 0; - virtual std::string Gethwid3() const = 0; + virtual std::string GetHwid3() const = 0; virtual std::string GetAuthToken() const = 0; virtual bool GetIsDebug() const = 0; virtual std::string GetBranch() const = 0; From c2a577d2b6faa3e365dd794b1293d10fc641b2ac Mon Sep 17 00:00:00 2001 From: Oleg Trofimov Date: Wed, 30 Oct 2024 12:33:16 +0300 Subject: [PATCH 6/6] ALTV-469 fixed "i" to "I" --- objects/IPlayer.h | 2 +- script-objects/IConnectionInfo.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/objects/IPlayer.h b/objects/IPlayer.h index 988f21f..c4a1eca 100644 --- a/objects/IPlayer.h +++ b/objects/IPlayer.h @@ -91,7 +91,7 @@ namespace alt virtual std::string GetSocialClubName() const = 0; virtual uint64_t GetHwidHash() const = 0; virtual uint64_t GetHwidExHash() const = 0; - virtual std::string GetHwid3() const = 0; + virtual std::string GetHwId3() const = 0; virtual std::string GetAuthToken() const = 0; virtual int64_t GetDiscordId() const = 0; diff --git a/script-objects/IConnectionInfo.h b/script-objects/IConnectionInfo.h index cbcf3f6..d03729c 100644 --- a/script-objects/IConnectionInfo.h +++ b/script-objects/IConnectionInfo.h @@ -20,7 +20,7 @@ namespace alt virtual std::string GetSocialName() const = 0; virtual uint64_t GetHwIdHash() const = 0; virtual uint64_t GetHwIdExHash() const = 0; - virtual std::string GetHwid3() const = 0; + virtual std::string GetHwId3() const = 0; virtual std::string GetAuthToken() const = 0; virtual bool GetIsDebug() const = 0; virtual std::string GetBranch() const = 0;