Post: Black Ops 2 TypeWriter (C# Function)
01-06-2014, 09:14 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Here is black ops 2 typewriter, I believe this was released on xbox on 1.13 but other then that I havnt seen anything on It but today I spent a while trying to get it working and with some persistence I did. Im deciding to release it because everyone has moved onto ghost anyway so why does it matter :P

Credits
James - Helped me with LevelTime and flags
ItsLollo - HUD Struct
Seb - MW3 Typewriter (Helped Me work out how it was done)

Example On How To Use
     
uint Index, int clientIndex, string text, short font, float fontSize, float x, float y, ushort fxLetterTime, ushort fxDecayStartTime, ushort fxDecayDuration, int r, int g, int b, int a, int r1, int g1, int b1, int a1

Hudelem.HUD.doTypeWriter(2, 0, "Typewriter BO2!", 0, 3, 250, 250, 90, 7500, 1000, 255, 255, 255, 255, 0, 0, 0, 0);


TypeWriter Code

    public void SetMemory(uint Address, byte[] Bytes)
{
DEX.SetMemory(Address, Bytes);
}

public static void GetMemoryHUD(uint Address, ref byte[] Bytes)
{
DEX.GetMemory(Address, Bytes);
}

public byte[] SetText(string Text)
{
byte[] clean = new byte[250];
SetMemory(0x2000000, clean);
SetMemory(0x2000000, Encoding.ASCII.GetBytes(Text + "\0"));
byte[] Patch = new byte[] { 0x48, 0x44, 0xB3, 0x1D, 0x3C, 0x60, 0x00, 0xD8,

0x80, 0x63, 0xBC, 0xD8, 0x2C, 0x03, 0x00, 0x00, 0x40, 0x82, 0x00, 0x7C, 0x3C, 0x60, 0x02, 0x00,
0x30, 0x63, 0x00, 0x00, 0x4B, 0xED, 0xE4, 0xED, 0x3c, 0x80, 0x02, 0x00, 0x90, 0x64, 0x50, 0x00,
0x48, 0x00, 0x00, 0x68, 0x4B, 0xFD, 0x80, 0x61 };
byte[] Unpatch = new byte[] { 0x48, 0x44, 0xB3, 0x1D, 0x3C, 0x60, 0x00,
0xD8, 0x80, 0x63, 0xBC, 0xD8, 0x2C, 0x03, 0x00, 0x00, 0x41, 0x82, 0x00, 0x7C, 0x3C, 0x60, 0x00,
0x39, 0x38, 0x80, 0x00, 0x00, 0x3B, 0xE3, 0x70, 0xE4, 0x63, 0x43, 0x00, 0x00, 0xC3, 0xFF, 0x00,
0x08, 0xFC, 0x20, 0xF8, 0x90, 0x4B, 0xFD, 0x80, 0x61 };
SetMemory(0x03976DC, Patch);
Thread.Sleep(30);
SetMemory(0x03976DC, Unpatch);
byte[] GetX = new byte[4];
GetMemoryHUD(0x2005000, ref GetX);
return GetX;
}

public void doTypeWriter(uint Index, int clientIndex, string text, short font, float fontSize, float x, float y, ushort fxLetterTime, ushort fxDecayStartTime, ushort fxDecayDuration, int r, int g, int b, int a, int r1, int g1, int b1, int a1)
{
string setText = text + "\0";
byte[] TextIndex = SetText(setText);//Converts String To Byte[]
uint elem = 0x15D8400 + ((Convert.ToUInt32(Index)) * 0x8Cool Man (aka Tustin);//Sets Elem Index
byte[] ClientID = ReverseBytes(BitConverter.GetBytes(Convert.ToInt32(clientIndex)));
SetMemory(elem, new byte[0x88]);
SetMemory(elem + 0x6D, ReverseBytes(BitConverter.GetBytes(1)));//Type
SetMemory(elem + 0x79, new byte[] { 0xFF });//Leave This
SetMemory(elem + 0x62, TextIndex);//Set Text
SetMemory(elem + 0xC, ToHexFloat(fontSize));//fontSize
SetMemory(elem + 0x00, ToHexFloat(x));//X
SetMemory(elem + 0x04, ToHexFloat(y));//Y
SetMemory(elem + 0x18, RGBA(r, g, b, a));//Color
SetMemory(elem + 0x44, RGBA(r1, g1, b1, a1));//Glow Color
DEX.Extension.WriteInt16(elem + 0x70, font);//Font
SetMemory(elem + 0x70, new byte[] { 0x01 });//Leave This
SetMemory(elem + 0x7C, ClientID);//Client
//TypeWriter Effect
DEX.Extension.WriteUInt32(elem + 0x4C, DEX.Extension.ReadUInt32(elem + 0x4C) | 0x800);//flags
DEX.Extension.WriteUInt32(elem + 0x48, DEX.Extension.ReadUInt32(0x1602A00 + 0x79Cool Man (aka Tustin));//fxBirthTime
DEX.Extension.WriteUInt16(elem + 0x66, fxLetterTime);//fxLetterTime
DEX.Extension.WriteUInt16(elem + 0x68, fxDecayStartTime);//fxDecayStartTime
DEX.Extension.WriteUInt16(elem + 0x6A, fxDecayDuration);//fxDecayDuration
}


Screenshot
You must login or register to view this content.

Groan me if you want Winky Winky
(adsbygoogle = window.adsbygoogle || []).push({});

The following 6 users say thank you to MrShark for this useful post:

Asian, BoatyMcBoatFace, John, Obris, ThePaaqoHD, Fatality
01-06-2014, 09:17 AM #2
Not Rage
Can’t trickshot me!
Make a quick tool please Upside Down Happy
01-06-2014, 09:19 AM #3
inb4 more hate. :fa:
Good release m8
01-06-2014, 09:20 AM #4
Default Avatar
AzusBDM
Guest
Sexxx
01-06-2014, 11:02 AM #5
VezahMoDz
Do a barrel roll!
Originally posted by MrShark View Post
Here is black ops 2 typewriter, I believe this was released on xbox on 1.13 but other then that I havnt seen anything on It but today I spent a while trying to get it working and with some persistence I did. Im deciding to release it because everyone has moved onto ghost anyway so why does it matter :P

Credits
James - Helped me with LevelTime and flags
ItsLollo - HUD Struct
Seb - MW3 Typewriter (Helped Me work out how it was done)

Example On How To Use
     
uint Index, int clientIndex, string text, short font, float fontSize, float x, float y, ushort fxLetterTime, ushort fxDecayStartTime, ushort fxDecayDuration, int r, int g, int b, int a, int r1, int g1, int b1, int a1

Hudelem.HUD.doTypeWriter(2, 0, "Typewriter BO2!", 0, 3, 250, 250, 90, 7500, 1000, 255, 255, 255, 255, 0, 0, 0, 0);


TypeWriter Code

    public void SetMemory(uint Address, byte[] Bytes)
{
DEX.SetMemory(Address, Bytes);
}

public static void GetMemoryHUD(uint Address, ref byte[] Bytes)
{
DEX.GetMemory(Address, Bytes);
}

public byte[] SetText(string Text)
{
byte[] clean = new byte[250];
SetMemory(0x2000000, clean);
SetMemory(0x2000000, Encoding.ASCII.GetBytes(Text + "\0"));
byte[] Patch = new byte[] { 0x48, 0x44, 0xB3, 0x1D, 0x3C, 0x60, 0x00, 0xD8,

0x80, 0x63, 0xBC, 0xD8, 0x2C, 0x03, 0x00, 0x00, 0x40, 0x82, 0x00, 0x7C, 0x3C, 0x60, 0x02, 0x00,
0x30, 0x63, 0x00, 0x00, 0x4B, 0xED, 0xE4, 0xED, 0x3c, 0x80, 0x02, 0x00, 0x90, 0x64, 0x50, 0x00,
0x48, 0x00, 0x00, 0x68, 0x4B, 0xFD, 0x80, 0x61 };
byte[] Unpatch = new byte[] { 0x48, 0x44, 0xB3, 0x1D, 0x3C, 0x60, 0x00,
0xD8, 0x80, 0x63, 0xBC, 0xD8, 0x2C, 0x03, 0x00, 0x00, 0x41, 0x82, 0x00, 0x7C, 0x3C, 0x60, 0x00,
0x39, 0x38, 0x80, 0x00, 0x00, 0x3B, 0xE3, 0x70, 0xE4, 0x63, 0x43, 0x00, 0x00, 0xC3, 0xFF, 0x00,
0x08, 0xFC, 0x20, 0xF8, 0x90, 0x4B, 0xFD, 0x80, 0x61 };
SetMemory(0x03976DC, Patch);
Thread.Sleep(30);
SetMemory(0x03976DC, Unpatch);
byte[] GetX = new byte[4];
GetMemoryHUD(0x2005000, ref GetX);
return GetX;
}

public void doTypeWriter(uint Index, int clientIndex, string text, short font, float fontSize, float x, float y, ushort fxLetterTime, ushort fxDecayStartTime, ushort fxDecayDuration, int r, int g, int b, int a, int r1, int g1, int b1, int a1)
{
string setText = text + "\0";
byte[] TextIndex = SetText(setText);//Converts String To Byte[]
uint elem = 0x15D8400 + ((Convert.ToUInt32(Index)) * 0x8Cool Man (aka Tustin);//Sets Elem Index
byte[] ClientID = ReverseBytes(BitConverter.GetBytes(Convert.ToInt32(clientIndex)));
SetMemory(elem, new byte[0x88]);
SetMemory(elem + 0x6D, ReverseBytes(BitConverter.GetBytes(1)));//Type
SetMemory(elem + 0x79, new byte[] { 0xFF });//Leave This
SetMemory(elem + 0x62, TextIndex);//Set Text
SetMemory(elem + 0xC, ToHexFloat(fontSize));//fontSize
SetMemory(elem + 0x00, ToHexFloat(x));//X
SetMemory(elem + 0x04, ToHexFloat(y));//Y
SetMemory(elem + 0x18, RGBA(r, g, b, a));//Color
SetMemory(elem + 0x44, RGBA(r1, g1, b1, a1));//Glow Color
DEX.Extension.WriteInt16(elem + 0x70, font);//Font
SetMemory(elem + 0x70, new byte[] { 0x01 });//Leave This
SetMemory(elem + 0x7C, ClientID);//Client
//TypeWriter Effect
DEX.Extension.WriteUInt32(elem + 0x4C, DEX.Extension.ReadUInt32(elem + 0x4C) | 0x800);//flags
DEX.Extension.WriteUInt32(elem + 0x48, DEX.Extension.ReadUInt32(0x1602A00 + 0x79Cool Man (aka Tustin));//fxBirthTime
DEX.Extension.WriteUInt16(elem + 0x66, fxLetterTime);//fxLetterTime
DEX.Extension.WriteUInt16(elem + 0x68, fxDecayStartTime);//fxDecayStartTime
DEX.Extension.WriteUInt16(elem + 0x6A, fxDecayDuration);//fxDecayDuration
}


Screenshot
You must login or register to view this content.

Groan me if you want Winky Winky

Nice release Winky Winky Finally you got it working Happy
01-06-2014, 11:04 AM #6
MegaMister
Former Mega Staff
Originally posted by MrShark View Post
Here is black ops 2 typewriter, I believe this was released on xbox on 1.13 but other then that I havnt seen anything on It but today I spent a while trying to get it working and with some persistence I did. Im deciding to release it because everyone has moved onto ghost anyway so why does it matter :P

Credits
James - Helped me with LevelTime and flags
ItsLollo - HUD Struct
Seb - MW3 Typewriter (Helped Me work out how it was done)

Example On How To Use
     
uint Index, int clientIndex, string text, short font, float fontSize, float x, float y, ushort fxLetterTime, ushort fxDecayStartTime, ushort fxDecayDuration, int r, int g, int b, int a, int r1, int g1, int b1, int a1

Hudelem.HUD.doTypeWriter(2, 0, "Typewriter BO2!", 0, 3, 250, 250, 90, 7500, 1000, 255, 255, 255, 255, 0, 0, 0, 0);


TypeWriter Code

    public void SetMemory(uint Address, byte[] Bytes)
{
DEX.SetMemory(Address, Bytes);
}

public static void GetMemoryHUD(uint Address, ref byte[] Bytes)
{
DEX.GetMemory(Address, Bytes);
}

public byte[] SetText(string Text)
{
byte[] clean = new byte[250];
SetMemory(0x2000000, clean);
SetMemory(0x2000000, Encoding.ASCII.GetBytes(Text + "\0"));
byte[] Patch = new byte[] { 0x48, 0x44, 0xB3, 0x1D, 0x3C, 0x60, 0x00, 0xD8,

0x80, 0x63, 0xBC, 0xD8, 0x2C, 0x03, 0x00, 0x00, 0x40, 0x82, 0x00, 0x7C, 0x3C, 0x60, 0x02, 0x00,
0x30, 0x63, 0x00, 0x00, 0x4B, 0xED, 0xE4, 0xED, 0x3c, 0x80, 0x02, 0x00, 0x90, 0x64, 0x50, 0x00,
0x48, 0x00, 0x00, 0x68, 0x4B, 0xFD, 0x80, 0x61 };
byte[] Unpatch = new byte[] { 0x48, 0x44, 0xB3, 0x1D, 0x3C, 0x60, 0x00,
0xD8, 0x80, 0x63, 0xBC, 0xD8, 0x2C, 0x03, 0x00, 0x00, 0x41, 0x82, 0x00, 0x7C, 0x3C, 0x60, 0x00,
0x39, 0x38, 0x80, 0x00, 0x00, 0x3B, 0xE3, 0x70, 0xE4, 0x63, 0x43, 0x00, 0x00, 0xC3, 0xFF, 0x00,
0x08, 0xFC, 0x20, 0xF8, 0x90, 0x4B, 0xFD, 0x80, 0x61 };
SetMemory(0x03976DC, Patch);
Thread.Sleep(30);
SetMemory(0x03976DC, Unpatch);
byte[] GetX = new byte[4];
GetMemoryHUD(0x2005000, ref GetX);
return GetX;
}

public void doTypeWriter(uint Index, int clientIndex, string text, short font, float fontSize, float x, float y, ushort fxLetterTime, ushort fxDecayStartTime, ushort fxDecayDuration, int r, int g, int b, int a, int r1, int g1, int b1, int a1)
{
string setText = text + "\0";
byte[] TextIndex = SetText(setText);//Converts String To Byte[]
uint elem = 0x15D8400 + ((Convert.ToUInt32(Index)) * 0x8Cool Man (aka Tustin);//Sets Elem Index
byte[] ClientID = ReverseBytes(BitConverter.GetBytes(Convert.ToInt32(clientIndex)));
SetMemory(elem, new byte[0x88]);
SetMemory(elem + 0x6D, ReverseBytes(BitConverter.GetBytes(1)));//Type
SetMemory(elem + 0x79, new byte[] { 0xFF });//Leave This
SetMemory(elem + 0x62, TextIndex);//Set Text
SetMemory(elem + 0xC, ToHexFloat(fontSize));//fontSize
SetMemory(elem + 0x00, ToHexFloat(x));//X
SetMemory(elem + 0x04, ToHexFloat(y));//Y
SetMemory(elem + 0x18, RGBA(r, g, b, a));//Color
SetMemory(elem + 0x44, RGBA(r1, g1, b1, a1));//Glow Color
DEX.Extension.WriteInt16(elem + 0x70, font);//Font
SetMemory(elem + 0x70, new byte[] { 0x01 });//Leave This
SetMemory(elem + 0x7C, ClientID);//Client
//TypeWriter Effect
DEX.Extension.WriteUInt32(elem + 0x4C, DEX.Extension.ReadUInt32(elem + 0x4C) | 0x800);//flags
DEX.Extension.WriteUInt32(elem + 0x48, DEX.Extension.ReadUInt32(0x1602A00 + 0x79Cool Man (aka Tustin));//fxBirthTime
DEX.Extension.WriteUInt16(elem + 0x66, fxLetterTime);//fxLetterTime
DEX.Extension.WriteUInt16(elem + 0x68, fxDecayStartTime);//fxDecayStartTime
DEX.Extension.WriteUInt16(elem + 0x6A, fxDecayDuration);//fxDecayDuration
}


Screenshot
You must login or register to view this content.

Groan me if you want Winky Winky


Good release buddy! :wub:
01-06-2014, 11:39 AM #7
$ticky
Banned
Originally posted by MrShark View Post
Here is black ops 2 typewriter, I believe this was released on xbox on 1.13 but other then that I havnt seen anything on It but today I spent a while trying to get it working and with some persistence I did. Im deciding to release it because everyone has moved onto ghost anyway so why does it matter :P

Credits
James - Helped me with LevelTime and flags
ItsLollo - HUD Struct
Seb - MW3 Typewriter (Helped Me work out how it was done)

Example On How To Use
     
uint Index, int clientIndex, string text, short font, float fontSize, float x, float y, ushort fxLetterTime, ushort fxDecayStartTime, ushort fxDecayDuration, int r, int g, int b, int a, int r1, int g1, int b1, int a1

Hudelem.HUD.doTypeWriter(2, 0, "Typewriter BO2!", 0, 3, 250, 250, 90, 7500, 1000, 255, 255, 255, 255, 0, 0, 0, 0);


TypeWriter Code

    public void SetMemory(uint Address, byte[] Bytes)
{
DEX.SetMemory(Address, Bytes);
}

public static void GetMemoryHUD(uint Address, ref byte[] Bytes)
{
DEX.GetMemory(Address, Bytes);
}

public byte[] SetText(string Text)
{
byte[] clean = new byte[250];
SetMemory(0x2000000, clean);
SetMemory(0x2000000, Encoding.ASCII.GetBytes(Text + "\0"));
byte[] Patch = new byte[] { 0x48, 0x44, 0xB3, 0x1D, 0x3C, 0x60, 0x00, 0xD8,

0x80, 0x63, 0xBC, 0xD8, 0x2C, 0x03, 0x00, 0x00, 0x40, 0x82, 0x00, 0x7C, 0x3C, 0x60, 0x02, 0x00,
0x30, 0x63, 0x00, 0x00, 0x4B, 0xED, 0xE4, 0xED, 0x3c, 0x80, 0x02, 0x00, 0x90, 0x64, 0x50, 0x00,
0x48, 0x00, 0x00, 0x68, 0x4B, 0xFD, 0x80, 0x61 };
byte[] Unpatch = new byte[] { 0x48, 0x44, 0xB3, 0x1D, 0x3C, 0x60, 0x00,
0xD8, 0x80, 0x63, 0xBC, 0xD8, 0x2C, 0x03, 0x00, 0x00, 0x41, 0x82, 0x00, 0x7C, 0x3C, 0x60, 0x00,
0x39, 0x38, 0x80, 0x00, 0x00, 0x3B, 0xE3, 0x70, 0xE4, 0x63, 0x43, 0x00, 0x00, 0xC3, 0xFF, 0x00,
0x08, 0xFC, 0x20, 0xF8, 0x90, 0x4B, 0xFD, 0x80, 0x61 };
SetMemory(0x03976DC, Patch);
Thread.Sleep(30);
SetMemory(0x03976DC, Unpatch);
byte[] GetX = new byte[4];
GetMemoryHUD(0x2005000, ref GetX);
return GetX;
}

public void doTypeWriter(uint Index, int clientIndex, string text, short font, float fontSize, float x, float y, ushort fxLetterTime, ushort fxDecayStartTime, ushort fxDecayDuration, int r, int g, int b, int a, int r1, int g1, int b1, int a1)
{
string setText = text + "\0";
byte[] TextIndex = SetText(setText);//Converts String To Byte[]
uint elem = 0x15D8400 + ((Convert.ToUInt32(Index)) * 0x8Cool Man (aka Tustin);//Sets Elem Index
byte[] ClientID = ReverseBytes(BitConverter.GetBytes(Convert.ToInt32(clientIndex)));
SetMemory(elem, new byte[0x88]);
SetMemory(elem + 0x6D, ReverseBytes(BitConverter.GetBytes(1)));//Type
SetMemory(elem + 0x79, new byte[] { 0xFF });//Leave This
SetMemory(elem + 0x62, TextIndex);//Set Text
SetMemory(elem + 0xC, ToHexFloat(fontSize));//fontSize
SetMemory(elem + 0x00, ToHexFloat(x));//X
SetMemory(elem + 0x04, ToHexFloat(y));//Y
SetMemory(elem + 0x18, RGBA(r, g, b, a));//Color
SetMemory(elem + 0x44, RGBA(r1, g1, b1, a1));//Glow Color
DEX.Extension.WriteInt16(elem + 0x70, font);//Font
SetMemory(elem + 0x70, new byte[] { 0x01 });//Leave This
SetMemory(elem + 0x7C, ClientID);//Client
//TypeWriter Effect
DEX.Extension.WriteUInt32(elem + 0x4C, DEX.Extension.ReadUInt32(elem + 0x4C) | 0x800);//flags
DEX.Extension.WriteUInt32(elem + 0x48, DEX.Extension.ReadUInt32(0x1602A00 + 0x79Cool Man (aka Tustin));//fxBirthTime
DEX.Extension.WriteUInt16(elem + 0x66, fxLetterTime);//fxLetterTime
DEX.Extension.WriteUInt16(elem + 0x68, fxDecayStartTime);//fxDecayStartTime
DEX.Extension.WriteUInt16(elem + 0x6A, fxDecayDuration);//fxDecayDuration
}


Screenshot
You must login or register to view this content.

Groan me if you want Winky Winky

Nice but where is the stuff for struct you get errrors when put into your coding No
01-06-2014, 12:30 PM #8
Fatality
1337 H4x0r
finally Drack

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo