You are viewing our Forum Archives. To view or take place in current topics click here.
MW2 Red Box DLL
Posted:

MW2 Red Box DLLPosted:

Flixar
  • TTG Natural
Status: Offline
Joined: Jan 31, 201212Year Member
Posts: 919
Reputation Power: 57
Status: Offline
Joined: Jan 31, 201212Year Member
Posts: 919
Reputation Power: 57
I'm making a MW2 all client menu for mw2 and this is my first DLL, I have made loads of prgrams but C# is way different from C++ and I'm having trouble figuring it out.

So the program red boxes is:

if (activate)
{
Jtag.xbCon.DebugTarget.SetMemory(this.getPlayerState(clientid) + 0x13, 1, new byte[] { 0x10 }, out hax);
}
else if (!activate)
{
Jtag.xbCon.DebugTarget.SetMemory(this.getPlayerState(clientid) + 0x13, 1, new byte[1], out hax);
}


I have tried many things in my DLL like:

*(byte *)(client + 0x13) = 0x10;
*(byte *)(client + 0x13);
*(byte *)((client) + 0x13) = 0x10;


Nothing seems to be working and just dashboards me when i click it, any help would be great, thanks

- Flixar
#2. Posted:
chrispro1994
  • Powerhouse
Status: Offline
Joined: Jan 03, 201113Year Member
Posts: 408
Reputation Power: 17
Status: Offline
Joined: Jan 03, 201113Year Member
Posts: 408
Reputation Power: 17
On:

memset((void *)(getPlayerState(client) + 0x13),16,1)


Off:

memset((void *)(getPlayerState(client) + 0x13),0,1)


You're welcome

EDIT: And btw I highly suggest learning C++ completely because C# was a downgrade from me so simple, its all basically the same just different ways of writing the code.
#3. Posted:
Flixar
  • Christmas!
Status: Offline
Joined: Jan 31, 201212Year Member
Posts: 919
Reputation Power: 57
Status: Offline
Joined: Jan 31, 201212Year Member
Posts: 919
Reputation Power: 57
chrispro1994 wrote On:

memset((void *)(getPlayerState(client) + 0x13),16,1)


Off:

memset((void *)(getPlayerState(client) + 0x13),0,1)



You're welcome

EDIT: And btw I highly suggest learning C++ completely because C# was a downgrade from me so simple, its all basically the same just different ways of writing the code.


Thanks a lot man, i really owe you one, do you have skype or aim?
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.