You are viewing our Forum Archives. To view or take place in current topics click here.
#61. Posted:
Wilez
  • TTG Addict
Status: Offline
Joined: Apr 29, 201113Year Member
Posts: 2,192
Reputation Power: 99
Status: Offline
Joined: Apr 29, 201113Year Member
Posts: 2,192
Reputation Power: 99
For some reason, my menu won't open?
I don't know if anyone else is having this issue?
Anyway, any idea on when part 5 will be ready?
#62. Posted:
Nissan
  • Ultra Gifter
Status: Offline
Joined: Sep 20, 201212Year Member
Posts: 2,136
Reputation Power: 312
Status: Offline
Joined: Sep 20, 201212Year Member
Posts: 2,136
Reputation Power: 312
Wilez wrote
For some reason, my menu won't open?
I don't know if anyone else is having this issue?
Anyway, any idea on when part 5 will be ready?

yer i am having the same problem
#63. Posted:
Dave
  • TTG Natural
Status: Offline
Joined: Dec 14, 201211Year Member
Posts: 921
Reputation Power: 39
Status: Offline
Joined: Dec 14, 201211Year Member
Posts: 921
Reputation Power: 39
thanks for the tut mate really helped.
#64. Posted:
Seed
  • TTG Senior
Status: Offline
Joined: Mar 18, 201311Year Member
Posts: 1,555
Reputation Power: 2504
Status: Offline
Joined: Mar 18, 201311Year Member
Posts: 1,555
Reputation Power: 2504
Thanks this video was a big help
#65. Posted:
-Futurestic
  • Resident Elite
Status: Offline
Joined: Sep 24, 201212Year Member
Posts: 227
Reputation Power: 11
Status: Offline
Joined: Sep 24, 201212Year Member
Posts: 227
Reputation Power: 11
Great Tutuorial

Helped Me a Lot

<3
#66. Posted:
Adamu
  • Gold Gifter
Status: Offline
Joined: Feb 02, 201311Year Member
Posts: 5,477
Reputation Power: 335
Status: Offline
Joined: Feb 02, 201311Year Member
Posts: 5,477
Reputation Power: 335
Nice tut bro keep the good work up
#67. Posted:
Hugh
  • Prospect
Status: Offline
Joined: Apr 13, 201212Year Member
Posts: 628
Reputation Power: 36
Status: Offline
Joined: Apr 13, 201212Year Member
Posts: 628
Reputation Power: 36
for those who want to make a mw3 all client menu

i belive mw3 button monitoring: ((a few))

0x80800 - LT
0x1 - RT
0x2002 - LS
0x4000004 - RS
0x20 - X
0x400 - A
0x200 - CROUCHED
0x100 - PRONED
0x400000 - GRENADE LAUNCHER
0x8000 - LB
0x4000 - RB



for those that need mw3 hud elem:


public static class HElems
{
public static uint
locString = 0x8226E020,
material = 0x8226E100,
elem = 0x8223D1E0,
xOffset = 0x08,
yOffset = 0x04,
textOffset = 0x84,
fontOffset = 0x24,
fontSizeOffset = 0x14,
colorOffset = 0x30,
relativeOffset = 0x2c,
widthOffset = 0x44,
heightOffset = 0x48,
shaderOffset = 0x4c,
GlowColor = 0x8C,
alignOffset = 0x30;
}
public uint createElem(int client)
{
return Jtag.Call(HElems.elem, client, 0);
}

public uint spawnElem(int client, uint elemAddress)
{
Jtag.SetMemory(elemAddress + 0xA8, ReverseBytes(BitConverter.GetBytes(client)));

return elemAddress;
}

public uint createText(string text)
{
return Jtag.Call(HElems.locString, text);
}

public uint getMaterialIndex(string material)
{
return Jtag.Call(HElems.material, material);
}

public byte[] uintBytes(uint input)
{
byte[] data = BitConverter.GetBytes(input);
Array.Reverse(data);
return data;
}

public byte[] ReverseBytes(byte[] inArray)
{
byte temp;
int highCtr = inArray.Length - 1;

for (int ctr = 0; ctr < inArray.Length / 2; ctr++)
{
temp = inArray[ctr];
inArray[ctr] = inArray[highCtr];
inArray[highCtr] = temp;
highCtr -= 1;
}
return inArray;
}

public void setIcon(uint elem, uint shader, int width, int height, float x, float y, uint align, float sort = 0, int r = 255, int g = 255, int b = 255, int a = 255)
{
Jtag.SetMemory(elem, new byte[] { 0x00, 0x00, 0x00, 0x04 });

Jtag.SetMemory(elem + HElems.relativeOffset, uintBytes(0x05));
Jtag.SetMemory(elem + HElems.relativeOffset - 4, uintBytes(0x06));
Jtag.SetMemory(elem + HElems.shaderOffset, uintBytes(shader));
Jtag.SetMemory(elem + HElems.heightOffset, ReverseBytes(BitConverter.GetBytes(height)));
Jtag.SetMemory(elem + HElems.widthOffset, ReverseBytes(BitConverter.GetBytes(width)));
Jtag.SetMemory(elem + HElems.alignOffset, uintBytes(align));
Jtag.SetMemory(elem + HElems.colorOffset, new byte[] { BitConverter.GetBytes(r)[0], BitConverter.GetBytes(g)[0], BitConverter.GetBytes(b)[0], BitConverter.GetBytes(a)[0] });
Jtag.SetMemory(elem + HElems.textOffset + 4, ReverseBytes(BitConverter.GetBytes(sort)));
Jtag.SetMemory(elem + HElems.xOffset, ReverseBytes(BitConverter.GetBytes(x)));
Jtag.SetMemory(elem + HElems.yOffset, ReverseBytes(BitConverter.GetBytes(y)));
}

public void setText(uint elem, byte[] text, uint font, float fontScale, float x, float y, uint align, int r = 255, int g = 255, int b = 255, int a = 255)
{
Jtag.SetMemory(elem, new byte[] { 0x00, 0x00, 0x00, 0x01 });

Jtag.SetMemory(elem + HElems.textOffset, text);
Jtag.SetMemory(elem + HElems.relativeOffset, uintBytes(0x05));
Jtag.SetMemory(elem + HElems.relativeOffset - 4, uintBytes(0x06));
Jtag.SetMemory(elem + HElems.fontOffset, uintBytes(font));
Jtag.SetMemory(elem + HElems.alignOffset, uintBytes(align));
Jtag.SetMemory(elem + HElems.textOffset + 4, new byte[] { 0x40, 0x00 });
Jtag.SetMemory(elem + HElems.fontSizeOffset, ReverseBytes(BitConverter.GetBytes(fontScale)));
Jtag.SetMemory(elem + HElems.xOffset, ReverseBytes(BitConverter.GetBytes(x)));
Jtag.SetMemory(elem + HElems.yOffset, ReverseBytes(BitConverter.GetBytes(y)));
Jtag.SetMemory(elem + HElems.colorOffset, new byte[] { BitConverter.GetBytes(r)[0], BitConverter.GetBytes(g)[0], BitConverter.GetBytes(b)[0], BitConverter.GetBytes(a)[0] });


}


Just thought i would help out with anyone wanting to do this for mw3......
And im sure i already posted this but oh well "Nice tutorial, will help alot of people out"



EDIT: i would also like to point out in the OP you put two "Part 2's" instad of part2 and 3
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.