Post: MoveOverTime (C# Function)
01-05-2014, 10:25 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Since this hasnt been released I thought I would release it, basically what you can do with it is make selected index(s)
Move smoothly to your desired x and y position. You may have seen it in a few menus like Project Malicious.
Groaning Me wont get the thread removed Winky Winky

Credits
ItsLollo - Help With HUD Struct
James - Help With Function
Seb - Functions (ReadFloat etc)

    public uint MoveOverTime(uint ElemIndex, short Time, float X, float Y)
{
uint Elem = 0xD55F88 + (ElemIndex) * 0xB8;
WriteFloat(Elem + 0x60, ReadFloat(Elem + 0x04));//FromX
WriteFloat(Elem + 0x64, ReadFloat(Elem + 0x0Cool Man (aka Tustin));//FromY
WriteInt32(Elem + 0x6C, DEX.Extension.ReadInt32(Elem + 0x2C));//Align Screen
WriteInt32(Elem + 0x68, DEX.Extension.ReadInt32(Elem + 0x2Cool Man (aka Tustin));//AlignOrg
WriteInt32(Elem + 0x74, Time);//MoveTime
WriteInt32(Elem + 0x70, (Int32)ReadUInt32(0xF12C80));//moveStartTime + G_Client
DEX.Extension.WriteFloat(Elem + 0x04, X);//xOffset
DEX.Extension.WriteFloat(Elem + 0x08, Y);//yOffset
return Elem;
}


These Might Come In Handy

    public SByte ReadSByte(UInt32 offset)
{
return (SByte)GetMemory2(offset, 1)[0];
}

public UInt32 ReadUInt32(UInt32 offset)
{
Byte[] uint32 = GetMemory2(offset, 4);
Array.Reverse(uint32, 0, 4);
return BitConverter.ToUInt32(uint32, 0);
}
public void WriteInt16(UInt32 offset, Int16 input)
{
Byte[] int16 = new Byte[2];
BitConverter.GetBytes(input).CopyTo(int16, 0);
Array.Reverse(int16, 0, 2);
SetMemory(offset, int16);
}
public void WriteSByte(UInt32 Offset, SByte input)
{
SetMemory(Offset, new Byte[] { (Byte)input });
}

/// <summary>Write an integer 32 bits.</summary>
public void WriteInt32(UInt32 offset, Int32 input)
{
Byte[] int32 = new Byte[4];
BitConverter.GetBytes(input).CopyTo(int32, 0);
Array.Reverse(int32, 0, 4);
SetMemory(offset, int32);
}
public Single ReadFloat(UInt32 offset)
{
Byte[] single = GetMemory2(offset, 4);
Array.Reverse(single, 0, 4);
return BitConverter.ToSingle(single, 0);
}
public void WriteFloat(UInt32 offset, Single input)
{
Byte[] single = new Byte[4];
BitConverter.GetBytes(input).CopyTo(single, 0);
Array.Reverse(single, 0, 4);
SetMemory(offset, single);
}



The DEX.Extenstion, can be found in Enstones PS3Lib,except you will probably know it as PS3.Extension Smile
(adsbygoogle = window.adsbygoogle || []).push({});

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

{H} | Exception, Asian, hacking247, Mango_Knife, Obris, ThePaaqoHD, TheUnexpected, zZHackzZ
01-14-2014, 07:38 PM #20
Mango_Knife
In my man cave
Originally posted by xfatalitymodz View Post
why you release it !! -__-
Choco Choco


why not?!?!?!
01-15-2014, 10:25 AM #21
gianluca33
Little One
Originally posted by MrShark View Post
Since this hasnt been released I thought I would release it, basically what you can do with it is make selected index(s)
Move smoothly to your desired x and y position. You may have seen it in a few menus like Project Malicious.
Groaning Me wont get the thread removed Winky Winky

Credits
ItsLollo - Help With HUD Struct
James - Help With Function
Seb - Functions (ReadFloat etc)

    public uint MoveOverTime(uint ElemIndex, short Time, float X, float Y)
{
uint Elem = 0xD55F88 + (ElemIndex) * 0xB8;
WriteFloat(Elem + 0x60, ReadFloat(Elem + 0x04));//FromX
WriteFloat(Elem + 0x64, ReadFloat(Elem + 0x0Cool Man (aka Tustin));//FromY
WriteInt32(Elem + 0x6C, DEX.Extension.ReadInt32(Elem + 0x2C));//Align Screen
WriteInt32(Elem + 0x68, DEX.Extension.ReadInt32(Elem + 0x2Cool Man (aka Tustin));//AlignOrg
WriteInt32(Elem + 0x74, Time);//MoveTime
WriteInt32(Elem + 0x70, (Int32)ReadUInt32(0xF12C80));//moveStartTime + G_Client
DEX.Extension.WriteFloat(Elem + 0x04, X);//xOffset
DEX.Extension.WriteFloat(Elem + 0x08, Y);//yOffset
return Elem;
}


These Might Come In Handy

    public SByte ReadSByte(UInt32 offset)
{
return (SByte)GetMemory2(offset, 1)[0];
}

public UInt32 ReadUInt32(UInt32 offset)
{
Byte[] uint32 = GetMemory2(offset, 4);
Array.Reverse(uint32, 0, 4);
return BitConverter.ToUInt32(uint32, 0);
}
public void WriteInt16(UInt32 offset, Int16 input)
{
Byte[] int16 = new Byte[2];
BitConverter.GetBytes(input).CopyTo(int16, 0);
Array.Reverse(int16, 0, 2);
SetMemory(offset, int16);
}
public void WriteSByte(UInt32 Offset, SByte input)
{
SetMemory(Offset, new Byte[] { (Byte)input });
}

/// <summary>Write an integer 32 bits.</summary>
public void WriteInt32(UInt32 offset, Int32 input)
{
Byte[] int32 = new Byte[4];
BitConverter.GetBytes(input).CopyTo(int32, 0);
Array.Reverse(int32, 0, 4);
SetMemory(offset, int32);
}
public Single ReadFloat(UInt32 offset)
{
Byte[] single = GetMemory2(offset, 4);
Array.Reverse(single, 0, 4);
return BitConverter.ToSingle(single, 0);
}
public void WriteFloat(UInt32 offset, Single input)
{
Byte[] single = new Byte[4];
BitConverter.GetBytes(input).CopyTo(single, 0);
Array.Reverse(single, 0, 4);
SetMemory(offset, single);
}



The DEX.Extenstion, can be found in Enstones PS3Lib,except you will probably know it as PS3.Extension Smile

what do this mod?
01-15-2014, 10:25 AM #22
gianluca33
Little One
what do this mod?
01-15-2014, 12:02 PM #23
iBullet1
Treasure hunter
Originally posted by xFatalityMoDz View Post
Why you release it !! -__-
Choco Choco

So you ****s can stop profiting off of a bit of code for a modding a video game.
01-18-2014, 02:30 PM #24
$ticky
Banned
Originally posted by iBullet1 View Post
So you ****s can stop profiting off of a bit of code for a modding a video game.

He released it cause he's a rep whore. None of the stuff he released is his.
01-18-2014, 02:36 PM #25
iBullet1
Treasure hunter
Originally posted by Malicious View Post
He released it cause he's a rep whore. None of the stuff he released is his.

the way people were acting seemed as if he was the one to release it, my bad, still stand by what I said though

The following user thanked iBullet1 for this useful post:

$ticky

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo