MoveObject

Posts 115 of 15 · Page 1 of 1
MoveObject
Move Object Position


Code :
Code:
#define LTClient_EU 0x377a1178 // EU
#define LtClient_NA 0x377A0198 // NA not sure 

void __cdecl MoveObject(int* Object , D3DXVECTOR3 Pos)
{
	_asm
	{
		MOV ECX,DWORD PTR DS:[LTClient_??]
		MOV EDX,DWORD PTR DS:[ECX]
		PUSH 1
		LEA EAX,Pos
		PUSH EAX
		PUSH Object
		MOV EDX,DWORD PTR DS:[EDX + 0xC4]
		CALL EDX
	}
}
~Mo3ad001
OMG YOU ROCK! EPICNESS IF THIS WORKS!
Quote Originally Posted by bazookaboy View Post
OMG YOU ROCK! EPICNESS IF THIS WORKS!
ofc it should work
what function is at LTC + 0xC4?

nvm

SetObjectPos(HLOCALOBJ hObj, LTVector* vPos, float fUnk); //0x00C4
Quote Originally Posted by Gellin
The SetObjectPos function is patched.
just use LTVector
So, I am assuming that OPK would look something like
Code:
cSFXMgr* SFXMgr = GCS->GetSFXMgr();

if( Valid( SFXMgr ) )
{
	for ( int i = 0; i < SFXMgr->SFXList[0x18].Num; i++ )
	{
	cCharacterFX* fx = (cCharacterFX*)SFXMgr->SFXList[0x18].List[i];
		if( Valid( fx->Object ) )
		{
LTC->SetObjectPos( fx->Object, LocalPos, true);
		}
	}
}
@Gordon`

Quote Originally Posted by fck3 View Post


just use LTVector
Are you referring to
Code:
 class LTVector
{
public:
    float x, y,z;

    LTVector (){}

    LTVector (float x2, float y2, float z2)
    {
        x = x2;
        y = y2;
        z = z2;
    }
};
from FEAR?
Quote Originally Posted by _Fk127_ View Post
So, I am assuming that OPK would look something like
Code:
cSFXMgr* SFXMgr = GCS->GetSFXMgr();

if( Valid( SFXMgr ) )
{
	for ( int i = 0; i < SFXMgr->SFXList[0x18].Num; i++ )
	{
	cCharacterFX* fx = (cCharacterFX*)SFXMgr->SFXList[0x18].List[i];
		if( Valid( fx->Object ) )
		{
LTC->SetObjectPos( fx->Object, LocalPos, true);
		}
	}
}
@Gordon`



Are you referring to
Code:
 class LTVector
{
public:
    float x, y,z;

    LTVector (){}

    LTVector (float x2, float y2, float z2)
    {
        x = x2;
        y = y2;
        z = z2;
    }
};
from FEAR?
fear SDK is your friend
or try to references it like
SetObjectPos(int* Obj, D3DXVECTOR3& Position, int Unknown);//0x00C4
You realize this is useless. You can just do :
Object->Position = LTVector(x, y, z);
can it be used to move players? (OPK u.u)
Quote Originally Posted by Sixx93 View Post
can it be used to move players? (OPK u.u)
Actually when I saw it ,I thought it was only for the players , because it was push player object and push transform .... , but it's work for Other objects
Quote Originally Posted by mo3ad001 View Post
Actually when I saw it ,I thought it was only for the players , because it was push player object and push transform .... , but it's work for Other objects
u mean u can move everything in the map? D:
Quote Originally Posted by Sixx93 View Post
can it be used to move players? (OPK u.u)
yes it can. u can do so much shit when u hook SetObjectPos
Movie Object? Never seen that before. It will be awesome, if it gets published in MPGH for free.

-The Joker.
so can this be used to move any object?
for example, can it be used to create weaponVAC?
will be really useful if it can lol.
ill go all COD and start lobbing nades back at 'em lol
Posts 115 of 15 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Need help?