SendToServer, SetObjectPos

Posts 1–15 of 15 · Page 1 of 1
SendToServer, SetObjectPos
Olá amigos, como muitos não estavam dando conta de utilizar o NPC OPK e o Weapon VAC por causa que o offset mudou fiz o update dele, apreciem ...

Code:
//Generated using ReClass 2011 by DrUnKeN ChEeTaH

class CLTClient;
class CObject;

class CLTClient
{
public:
char _0x0000[336];
	unsigned int(WINAPI *SendToServer)(int Message, unsigned int flags); //0x0150 
};//Size=0x015C 

class CTransform
{
public:
   D3DXVECTOR3 Pos; // 0x0000 
char _0x0000[MAX_PATH]; // 0x0004
}; //Size=0x0008

VOID WINAPIV SetObjectPos(INT *Object, D3DXVECTOR3 Position)
{
	__asm
	{
		MOV ECX, DWORD PTR DS:[LTClientDLL]
		MOV EDX, DWORD PTR DS:[ECX]
		PUSH 0
		LEA EAX, DWORD PTR DS:[Position]
		PUSH EAX
		PUSH Object
		MOV EDX, DWORD PTR DS:[EDX + 0xB8]
		CALL EDX		
	}
}

INT Teleport[1];

VOID TeleportObjects(VOID)
{
	CGameClientShell *GameClientShell = (CGameClientShell *)ADDR_GCS;
	CSFXMgr *SFXMgr = GameClientShell->GetSFXMgr();

	if( ValidPointer( SFXMgr ) )
	{
		CTransform TransForm[1];

		for( INT Index = 0; Index <= SFXMgr->SFXList[0x18].Num; Index++ )
		{
			CCharacterFX *CharacterFX = (CCharacterFX *)SFXMgr->SFXList[0x18].List[Index];

			if( Teleport[0] ) // NPC O.P.K
			{
				if( !CharacterFX->IsPlayer )
				{
					TransForm[0].Pos = MyGetObjectMaxPos( pLocal->Object );
					TransForm[0].Pos.x -= 50.0f;
					TransForm[0].Pos.y += 50.0f;
					SetObjectPos( Object, TransForm[0].Pos );
				}
			}
		}

		for( INT Index = 0; Index <= SFXMgr->SFXList[0x17].Num; Index++ )
		{
			CCharacterFX *CharacterFX = (CCharacterFX *)SFXMgr->SFXList[0x17].List[Index];

			if( Teleport[1] ) // Weapon V.A.C
			{
				if( !CharacterFX->IsPlayer )
				{
					TransForm[1].Pos = MyGetObjectMaxPos( pLocal->Object );
					TransForm[1].Pos.x -= 10.0f * Index;
					TransForm[1].Pos.y += 50.0f;
					SetObjectPos( Object, TransForm[0].Pos );
				}
			}
		}
	}
}
o ultimo hack que utilizei o weapom vac. foi no LGH
será que agora vão fazer + com essa função
Ajuda muito os noob de m16
Quote Originally Posted by ulquiorraj View Post
o ultimo hack que utilizei o weapom vac. foi no LGH
será que agora vão fazer + com essa função
Ajuda muito os noob de m16
É só na LGH e Code64 que estava tendo essa função....
Agora todo mundo tem!!
Quote Originally Posted by kssiobr View Post

É só na LGH e Code64 que estava tendo essa função....
Agora todo mundo tem!!
Todo mundo ja tinha isso lol
Quote Originally Posted by kssiobr View Post

É só na LGH e Code64 que estava tendo essa função....
Agora todo mundo tem!!
eu tambem , e uma função boa .-. porem não gosto vlw @luizimloko
É agora todo mundo tinha....
Quote Originally Posted by kssiobr View Post
É agora todo mundo tinha....
KKKK, é só o cara postar, que todo mundo fala que já tinha --´
Can anyone post in English ??
O que falar para uma pessoa dessas ?

Quote Originally Posted by experthack View Post
O que falar para uma pessoa dessas ?

Fica a Questão: Quem é o mais retardado ?
Quote Originally Posted by experthack View Post
O que falar para uma pessoa dessas ?
ahueahueahue
Yahoo respostas só tem gente bizarra, nunk me esqueço desse mlk

Poderia Melhor Tópico -.-' Como Adc Isso ! e Esta Faltando Coisa
Quote Originally Posted by ILoadingl.PX View Post
Poderia Melhor Tópico -.-' Como Adc Isso ! e Esta Faltando Coisa
aqui o que importa é o CONTEÚDO, e não a FORMATAÇÃO DO TÓPICO
Quote Originally Posted by ILoadingl.PX View Post
Poderia Melhor Tópico -.-' Como Adc Isso ! e Esta Faltando Coisa
Rapaz ai você terá que por a cabeça para funcionar também se todo mundo for encinar aonde adicionar a função e tals todo mundo terá essa função no hack e poucos postaram os devidos creditos então é isso ai estude a função vefirique oque você fez de errado ao adicionar ela não custa nada você aprender mais sobre hacks! existe um velho ditado aprender nunca é demais!
Posts 1–15 of 15 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?