Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuck Therebelos <snares@users.sourceforge.net>2010-07-11 07:01:18 +0400
committerTuck Therebelos <snares@users.sourceforge.net>2010-07-11 07:01:18 +0400
commit25e833bd9ac691d37683550c39bf7ae76b3abba8 (patch)
treeb4c7c45f9d4870711e573860cc54652a74e08f06 /plugins/gmod
parent10cd5c535380491427f2ff10091524a9acd4cb42 (diff)
Source plugin updates; BFBC2 update, works with Steam now
Diffstat (limited to 'plugins/gmod')
-rw-r--r--plugins/gmod/gmod.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/gmod/gmod.cpp b/plugins/gmod/gmod.cpp
index 4aaddbfa0..c030fda8a 100644
--- a/plugins/gmod/gmod.cpp
+++ b/plugins/gmod/gmod.cpp
@@ -134,14 +134,14 @@ static int trylock(const std::multimap<std::wstring, unsigned long long int> &pi
*/
// Remember addresses for later
- posptr = pModule + 0x4DB708;
- rotptr = pModule + 0x48F1A4;
- stateptr = pModule + 0x474B34;
- hostptr = mod_engine + 0x3C2A84;
+ posptr = pModule + 0x504D70;
+ rotptr = pModule + 0x4B1B7C;
+ stateptr = pModule + 0x49BC5C;
+ hostptr = mod_engine + 0x3D1C34;
// Gamecheck
char sMagic[9];
- if (!peekProc(pModule + 0x4A3330, sMagic, 9) || strncmp("garrysmod", sMagic, 9)!=0)
+ if (!peekProc(pModule + 0x4CB1D8, sMagic, 9) || strncmp("garrysmod", sMagic, 9)!=0)
return false;
// Check if we can get meaningful data from it
@@ -159,10 +159,10 @@ static int trylock(const std::multimap<std::wstring, unsigned long long int> &pi
}
static const std::wstring longdesc() {
- return std::wstring(L"Supports Gmod 11 build 4104. No identity support yet.");
+ return std::wstring(L"Supports Gmod 11 build 4231. No identity support yet.");
}
-static std::wstring description(L"Garry's Mod 11 (Build 4104)");
+static std::wstring description(L"Garry's Mod 11 (Build 4231)");
static std::wstring shortname(L"Garry's Mod 11");
static int trylock1() {