Code:
WriteFloat(Base + Offset, 300);
WriteFloat(Base + Offset + 4, 300);
WriteFloat(Base + Offset + 8, 300);
Base = Cshell + PlayerInfo (B0CEA98)
Offset One = 0x88
Offset Two = 0x8C
Offset Three = 0x90
And the value does get written without crash but i cant see any effect ingame?
Iv seen a seeghost source but their first offset is 0x80
Shouldnt we be using
Code:
CharacterHiddenAlpha 0x88
CharacterHiddenWalkAlpha 0x8C
CharacterHiddenRunAlpha 0x90
Cause offset 0x80 is C4DefuseTime and i cant see that having anything to do with ghosts.
Im scanning for PlayerInfo and also the base offset.
Logs are correct
Code:
PlayerInfo Offset BBEA98
Cshell + PlayerInfo B0CEA98
First Offset 88
Cshell + PlayerInfo + Offset B0CEB20
Hack Value 300
Default Value 0
Patterns if anyone is interested
Code:
if (GetAddy("PlayerInfo") == -1)
{
int tmp = AobScan(ShellBase + 0x100000, 0xF0000, "90E8????????8B0D????????8B15????????83C4", 0);
if (tmp != -1)
{
SetAddy("PlayerInfo", BitConverter.ToInt32(ReadBytes(tmp + 8, 4), 0) + 4);
int tmpG = AobScan(ShellBase + 0x100000, 0xF0000, "D99C08????????", 0);
if (tmpG != -1)
SetAddy("Ghost", BitConverter.ToInt32(ReadBytes(tmpG + 3, 4), 0));
}
}
Any ideas, maybe im doing something wrong but i cant see what.