Help! GOD MODE both sides in a fighting game

power2020202020

Solid & Active Platinian
Original poster
Nov 3, 2022
58
15
8
34
brazil
Hello, how do I get god mode only for player 1 because my mod menu activates god mode on both sides


DNY OFFSET PROGRAM CODE 0x175A34C

public bool Invincible
{
[Token(Token = "0x6001D97")]
[Address(RVA = "0x175A254", Offset = "0x175A254", VA = "0x175A254")]
get
{
return default(bool);

-----------------------------------------------------------------------


MY MOD MENU

MY PATCHER

hexPatches.GOD = MemoryPatch::createWithHex("libil2cpp.so",0x175A254,"0100A0E31EFF2FE1");


switch (featNum) {
case 0:
feature0 = boolean;
if (feature0) {
hexPatches.GODMODE.Modify();
} else {
hexPatches.GODMODE.Restore();
}



20230916_181832 (online-video-cutter.com) (1) (1).gif

20230916_181832 (online-video-cutter.com) (2).gif
 

mIsmanXP

Approved Modder
Approved Modder
Feb 20, 2022
205
9,709
193
Republic of Indonesia
Bruh, you keep posting the same question

You need to find offset that can differentiate between your player and the other.
You also have too hook the function, that way you can check if the instance that's calling the Invincible method is your player or not, patching it wouldn't work