Solved Modules

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

steb

Jr.Coder
Full Member
Nobleman
Aug 16, 2016
63
383
1
Modules and multiple offsets in one address confuses me

IDK Why this doesnt work.


MyCode
C++:
//HEADER
public static string process = "javaw";
public static int bClient;
public static int aExp = 0x0007A398;

//INSIDE THE HOTKEY
if (GetModuleAddy())
{
int oExp = bClient + aExp;
Memory.WritePointerInt32(process, oExp, new int[5] { 0x3F0, 0x634, 0x300, 0x530, 0x264 }, 300);
}

//OUTSIDE
static bool GetModuleAddy()
{
try
{
Process[] p = Process.GetProcessesByName(process);
if (p.Length > 0)
{
foreach (ProcessModule m in p[0].Modules)
{
if (m.ModuleName == "avutil-ttv-51.dll") 
{
bClient = (int)m.BaseAddress;
return true;
}
}
return true;
}
else
{
return false;
}
}
catch (Exception ex)
{
return false;
}
}
 
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods