fix LiveStats source
easy solution for progression problem
This commit is contained in:
parent
e00fdf473a
commit
00082c2001
@ -99,7 +99,10 @@ namespace unlockall
|
|||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool return_false() { return false; }
|
||||||
|
|
||||||
|
|
||||||
bool bg_unlockedgetchallengeunlockedforindex(game::eModes mode, int32_t controller, uint16_t index, int32_t itemIndex)
|
bool bg_unlockedgetchallengeunlockedforindex(game::eModes mode, int32_t controller, uint16_t index, int32_t itemIndex)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
@ -146,7 +149,9 @@ namespace unlockall
|
|||||||
public:
|
public:
|
||||||
void post_unpack() override
|
void post_unpack() override
|
||||||
{
|
{
|
||||||
utilities::hook::jump(0x1437F6ED0_g, liveinventory_getitemquantity);
|
utilities::hook::jump(0x1438AE2F0_g, return_false); // patch LiveStats data source
|
||||||
|
|
||||||
|
utilities::hook::jump(0x1437F6ED0_g, liveinventory_getitemquantity); // grant every loot item
|
||||||
|
|
||||||
utilities::hook::jump(0x1406BB410_g, bg_unlockedgetchallengeunlockedforindex);
|
utilities::hook::jump(0x1406BB410_g, bg_unlockedgetchallengeunlockedforindex);
|
||||||
utilities::hook::jump(0x1406B5530_g, bg_unlockablesitemoptionlocked);
|
utilities::hook::jump(0x1406B5530_g, bg_unlockablesitemoptionlocked);
|
||||||
|
Loading…
Reference in New Issue
Block a user