Skip to content

Commit 8017a01

Browse files
davidebeatricimkrautz
authored andcommitted
l4d2: Plugin update for latest game version
Support for Left 4 Dead 2 version 2.1.4.4
1 parent 80d0354 commit 8017a01

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

plugins/l4d2/l4d2.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@ static int trylock(const std::multimap<std::wstring, unsigned long long int> &pi
8888
context: same as state appearantly
8989
9090
*/
91-
posptr = pModule + 0x818950;
92-
rotptr = pModule + 0x7D0D18;
93-
stateptr = pModule + 0x8169BC;
94-
contextptr = pModule + 0x8169BC;
91+
posptr = pModule + 0x8217D0;
92+
rotptr = pModule + 0x762E04;
93+
stateptr = pModule + 0x81CB4C;
94+
contextptr = pModule + 0x81CB4C;
9595

9696
float pos[3];
9797
float rot[3];
@@ -165,10 +165,10 @@ static int fetch(float *avatar_pos, float *avatar_front, float *avatar_top, floa
165165
}
166166

167167
static const std::wstring longdesc() {
168-
return std::wstring(L"Supports L4D2 version 2.1.3.5 with context support. No identity support yet.");
168+
return std::wstring(L"Supports L4D2 version 2.1.4.4 with context support. No identity support yet.");
169169
}
170170

171-
static std::wstring description(L"Left 4 Dead 2 (version 2.1.3.5)");
171+
static std::wstring description(L"Left 4 Dead 2 (version 2.1.4.4)");
172172
static std::wstring shortname(L"Left 4 Dead 2");
173173

174174
static int trylock1() {

0 commit comments

Comments
 (0)