Skip to content
Permalink
Browse files

Update Borderlands 2 plugin for version 1.8.3

  • Loading branch information...
cheesy authored and mkrautz committed Sep 14, 2014
1 parent ace1917 commit 5e7706ab2c2e4e045190a41887a7ded1b6437f2a
Showing with 9 additions and 1 deletion.
  1. +9 −1 plugins/borderlands2/borderlands2.cpp
@@ -162,6 +162,14 @@ static int trylock(const std::multimap<std::wstring, unsigned long long int> &pi
state_ptr = pModule + 0x1EE21F8;
character_name_ptr_loc = pModule + 0x01EDB5B4;
}
// 1.8.3
else if (peekProc(pModule + 0x1EE63C8, detected_version)
&& VERSION_EQ(detected_version, "WILLOW2-PCCHINA-29-CL827556"))
{
vects_ptr = pModule + 0x1EF2930;
state_ptr = pModule + 0x1EF3248;
character_name_ptr_loc = pModule + 0x01EEC5D4;
}
else
{
generic_unlock();
@@ -186,7 +194,7 @@ static const std::wstring longdesc() {
return std::wstring(L"Supports Borderlands 2. No context support yet.");
}

static std::wstring description(L"Borderlands 2 (v1.7.0)");
static std::wstring description(L"Borderlands 2 (v1.8.3)");
static std::wstring shortname(L"Borderlands 2");

static int trylock1() {

0 comments on commit 5e7706a

Please sign in to comment.
You can’t perform that action at this time.