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>2009-04-30 21:51:33 +0400
committerTuck Therebelos <snares@users.sourceforge.net>2009-04-30 21:51:33 +0400
commit4a560b65bb404ae994ffff4e5e3c9c60d81a970b (patch)
treeb2c3479e150f619eed60c0166ea90a52a75a2082 /plugins/dys
parent5c0730e5521a1d4e231e4b27fba7c02075d87e64 (diff)
Dys, gmod, tf2 build updates
Diffstat (limited to 'plugins/dys')
-rw-r--r--plugins/dys/dys.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/dys/dys.cpp b/plugins/dys/dys.cpp
index 91bf4ef53..c922cb838 100644
--- a/plugins/dys/dys.cpp
+++ b/plugins/dys/dys.cpp
@@ -110,19 +110,19 @@ static int trylock() {
// Check if we really have Dystopia running
/*
- position tuple: client.dll+0x4238a0 (x,y,z, float)
- orientation tuple: client.dll+0x423930 (v,h float)
- ID string: client.dll+0x3c947e = "DysObjective@@" (14 characters, text)
- spawn state: client.dll+0x3c6260 (0 when at main menu, 2 when not spawned, 6 when spawned, byte)
+ position tuple: client.dll+0x423990 (x,y,z, float)
+ orientation tuple: client.dll+0x423924 (v,h float)
+ ID string: client.dll+0x3c948e = "DysObjective@@" (14 characters, text)
+ spawn state: client.dll+0x3c6270 (0 when at main menu, 2 when not spawned, 6 when spawned, byte)
*/
char sMagic[14];
- if (!peekProc(mod + 0x3c947e, sMagic, 14) || strncmp("DysObjective@@", sMagic, 14)!=0)
+ if (!peekProc(mod + 0x3c948e, sMagic, 14) || strncmp("DysObjective@@", sMagic, 14)!=0)
return false;
// Remember addresses for later
- posptr = mod + 0x4238a0;
- rotptr = mod + 0x423930;
- stateptr = mod + 0x3c6260;
+ posptr = mod + 0x423990;
+ rotptr = mod + 0x423924;
+ stateptr = mod + 0x3c6270;
float pos[3];
float rot[3];