Page 1 of 2 12 LastLast
Results 1 to 15 of 25
  1. #1
    Coder.Fail's Avatar
    Join Date
    Jun 2014
    Gender
    male
    Posts
    91
    Reputation
    43
    Thanks
    490

    NPC Telekill, Weapon Teleport..

    Como não estou fazendo muito hackers para ca, vou postar algumas funções ( gambiarras hu3 )
    Eis umas das minhas últimas contribuições com este jogo

    Algumas classes :

    Code:
    class cCharacterFX2
    {
    public:
    	char unknown1[16];
    	__Object* Object; //0x0010
    	char unknown2[44];
    	__int32 IsPlayer; //0x0040
    };//Size=0x05C8
    
    class cObjName
    {
    public:
    	char unknown1[4];
    	char Name[28];
    };
    
    class cBaseFX
    {
    public:
    	char unknown1[16];
    	int* Object; //0x0010
    	D3DXVECTOR3 Pos; //0x0014
    	char unknown2[28];
    	cObjName* gotoObjName; //0x0034
    	char unknown3[8];
    	int NoGun; //0x0040
    	char unknown4[4];
    	BYTE Unknown5;
    	BYTE OwnerID; //0x004C
    	char unknown6[40];
    };//Size=0x0054
    NPC Telekill

    Code:
    void NPCTeleKill( int TelekillNPC, LPDIRECT3DDEVICE9 pDevice )
    {
    	if( TelekillNPC == 1)
    	{
    
    		DWORD posptr, PositionY, dwBack;
    
    		cGameClientShell *pGameClientShell = *(cGameClientShell **)GCS;
    		cSFXMgr* SFXMgr = pGameClientShell->GetSFXMgr();
    		GetPlayerByIndex = (lpGetPlayerByIndex)PlayerByIndex;
    		unsigned long ulThis = *(unsigned long *)ClientInfoMgr;
    		GetLocalPlayer = (lpGetLocalPlayer)LocalPlayer;
    
    		posptr = (DWORD) GetModuleHandle("ClientFX.fxd");
    		posptr += 0x6BF34;
    
    		VirtualProtect( &PositionY, 4, PAGE_EXECUTE_READWRITE, &dwBack );
    		memcpy( &PositionY, (VOID *) (posptr), 4 );
    		VirtualProtect( &PositionY, 4, dwBack, &dwBack );
    
    			if( ValidPointer(SFXMgr) )
    			{
    				for ( int i = 0; i < SFXMgr->SFXList[SFX_CHARACTER].Num; i++ )
    				{
    					cCharacterFX2* NPC = (cCharacterFX2*)SFXMgr->SFXList[SFX_CHARACTER].List[i];
    
    					if( ValidPointer( NPC ) && ValidPointer( NPC->Object ))
    					{
    						if( NPC->IsPlayer )
    							continue;
    
    						D3DXVECTOR3 Pos, Screen;
    
    						Pos	 = MyGetObjectMaxPos( (int*)NPC->Object );
    
    						if( WorldToScreen2( pDevice, Pos, &Screen))
    						{
    							Sleep(1);
    							*(FLOAT *) (PositionY + 0xC8) = NPC->Object->Pos.x + 25.0f;
    						    *(FLOAT *) (PositionY + 0xCC) = NPC->Object->Pos.y;
    						    *(FLOAT *) (PositionY + 0xD0) = NPC->Object->Pos.z;
    					}
    				}
    			}
    		}
    	}
    }


    WeaponTeleport

    Code:
    void PickupESP( int DrawPickup, int DrawDistance, int WeaponTelePort, LPDIRECT3DDEVICE9 pDevice )
    {
    	if( DrawPickup ==  1 || DrawDistance == 1 || WeaponTelePort == 1 )
    	{
    
    		DWORD posptr, PositionY, dwBack;
    
    		cGameClientShell *pGameClientShell = *(cGameClientShell **)GCS;
    		cSFXMgr* SFXMgr = pGameClientShell->GetSFXMgr();
    		GetPlayerByIndex = (lpGetPlayerByIndex)PlayerByIndex;
    		unsigned long ulThis = *(unsigned long *)ClientInfoMgr;
    		GetLocalPlayer = (lpGetLocalPlayer)LocalPlayer;
    
    		posptr = (DWORD) GetModuleHandle("ClientFX.fxd");
    		posptr += 0x6BF34;
    
    		VirtualProtect( &PositionY, 4, PAGE_EXECUTE_READWRITE, &dwBack );
    		memcpy( &PositionY, (VOID *) (posptr), 4 );
    		VirtualProtect( &PositionY, 4, dwBack, &dwBack );
    
    		if( ValidPointer( SFXMgr ) )
    		{
    			for ( int i = 0; i < SFXMgr->SFXList[SFX_PICKUP].Num; i++ )
    			{
    
    				cPlayerInfo *pLocal = GetLocalPlayer(ulThis);
    				cPlayerInfo *pPlayer = GetPlayerByIndex(ulThis, i, 0);
    				cBaseFX* Pickup = (cBaseFX*)SFXMgr->SFXList[SFX_PICKUP].List[i];
    
    				if( ValidPointer( Pickup ) &&ValidPointer( Pickup->Object ) )
    				{
    					D3DXVECTOR3 Pos, Screen;
    
    					Pos	 = MyGetObjectMaxPos( Pickup->Object );
    
    					if( WorldToScreen2( pDevice, Pos, &Screen ) )
    					{
    						char Data2[256];
    						float Dist = GetDistance( pLocal->Object->Pos, Pos );
    
    						if (WeaponTelePort)
    						{
    							Sleep(1);
    							*(FLOAT *) (PositionY + 0xC8) = Pickup->Pos.x;
    						    *(FLOAT *) (PositionY + 0xCC) = Pickup->Pos.y;
    						    *(FLOAT *) (PositionY + 0xD0) = Pickup->Pos.z;
    						}
    
    						if( DrawPickup == 1 && DrawDistance == 0 )
    							PrintText("Weapon", (int)Screen.x, (int)Screen.y, Yellow, pFont);
    
    						else if( DrawDistance == 1 && DrawPickup == 0 )
    						{
    							sprintf( Data2, "D: %.2f", Dist );
    							PrintText(Data2, (int)Screen.x, (int)Screen.y,Yellow, pFont);
    						}
    						else if( DrawPickup == 1 && DrawDistance == 1 )
    						{
    							sprintf( Data2, "Weapon D: %.2f", Dist );
    							PrintText(Data2, (int)Screen.x, (int)Screen.y,Yellow, pFont);
    						}
    					}
    				}
    			}
    		}
    	}
    }


    NPC ESP

    Code:
    void NPCESP( int name, int distance, int boxes, LPDIRECT3DDEVICE9 pDevice )
    {
    	if( name == 1 || distance == 1 || boxes == 1 )
    	{
    		CHAR CDistance[50];
    
    		cGameClientShell *pGameClientShell = *(cGameClientShell **)GCS;
    		cSFXMgr* SFXMgr = pGameClientShell->GetSFXMgr();
    		GetPlayerByIndex = (lpGetPlayerByIndex)PlayerByIndex;
    		unsigned long ulThis = *(unsigned long *)ClientInfoMgr;
    		GetLocalPlayer = (lpGetLocalPlayer)LocalPlayer;
    
    			if( ValidPointer(SFXMgr) )
    			{
    				for ( int i = 0; i < SFXMgr->SFXList[SFX_CHARACTER].Num; i++ )
    				{
    					cCharacterFX2* NPC = (cCharacterFX2*)SFXMgr->SFXList[SFX_CHARACTER].List[i];
    					cPlayerInfo *pPlayer = GetPlayerByIndex(ulThis, i, 0);
    			        cPlayerInfo *pLocal = GetLocalPlayer(ulThis);
    
    					if( ValidPointer( NPC ) && ValidPointer( NPC->Object ))
    					{
    						if( NPC->IsPlayer )
    							continue;
    
    						D3DXVECTOR3 Pos, Screen;
    
    						Pos	 = MyGetObjectMaxPos( (int*)NPC->Object );
    
    						if( WorldToScreen2( pDevice, Pos, &Screen))
    						{
    							if (name)
    								PrintText("NPC", Screen.x, Screen.y, Red, pFont);
    
    							if (distance)
    							{
    								sprintf(CDistance, "%0.0f M", GetDistance(pLocal->Object->Pos, NPC->Object->Pos));
    								PrintText2(CDistance, Screen.x, Screen.y + 33, Red, pFont);
    							}
    
    							if (boxes)
    								// isso e com voces !
    					}
    				}
    			}
    		}
    	}
    }
    Créditos

    fatboy88, Gellin, NeoIII, Gordon, nubzgetkillz, We11ngton, Coder.Fail
    Last edited by Coder.Fail; 12-26-2014 at 08:45 AM.
    Skype : luislokao98

  2. The Following 3 Users Say Thank You to Coder.Fail For This Useful Post:

    Fєηix (12-26-2014),iTz.Cheater (12-26-2014),NIgga* (12-26-2014)

  3. #2
    .*_*.'s Avatar
    Join Date
    Nov 2014
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    Obrigado Cara

  4. #3
    Werner Heisenberg's Avatar
    Join Date
    Dec 2014
    Gender
    male
    Posts
    76
    Reputation
    10
    Thanks
    9
    My Mood
    Blah
    Essa das armas é muito boa, eu lembro de um função parecida no BlackCipher 6

  5. #4
    NeoStryker's Avatar
    Join Date
    Nov 2014
    Gender
    male
    Posts
    187
    Reputation
    10
    Thanks
    18
    Só me falta uma base para usar essas funções... Alguem me ajuda com isso?

  6. #5
    Megaloco's Avatar
    Join Date
    Mar 2013
    Gender
    male
    Posts
    437
    Reputation
    10
    Thanks
    62
    My Mood
    Aggressive
    Quote Originally Posted by NeoStryker View Post
    Só me falta uma base para usar essas funções... Alguem me ajuda com isso?
    O que não falta nesse site e em outros é base.

  7. #6
    NeoStryker's Avatar
    Join Date
    Nov 2014
    Gender
    male
    Posts
    187
    Reputation
    10
    Thanks
    18
    Quote Originally Posted by Megaloco View Post
    O que não falta nesse site e em outros é base.
    Eu literalmente já baixei todas daqui... O problema é que todas estão dando conexão encerrada Na verdade a base não é problema, eu sei criar uma simples, o problema é a detecção da memória que não permite eu fazer hook...

  8. #7
    _ReturnsBR_'s Avatar
    Join Date
    Feb 2014
    Gender
    male
    Posts
    193
    Reputation
    10
    Thanks
    57
    My Mood
    Stressed
    Quote Originally Posted by NeoStryker View Post
    Eu literalmente já baixei todas daqui... O problema é que todas estão dando conexão encerrada Na verdade a base não é problema, eu sei criar uma simples, o problema é a detecção da memória que não permite eu fazer hook...
    tirar o reset de sua base se for a whit e atualiza sua detours problema resolvido ...

  9. #8
    NeoStryker's Avatar
    Join Date
    Nov 2014
    Gender
    male
    Posts
    187
    Reputation
    10
    Thanks
    18
    Quote Originally Posted by _ReturnsBR_ View Post
    tirar o reset de sua base se for a whit e atualiza sua detours problema resolvido ...
    Estou usando present, minha base eu fiz do zero só olhei como fazia o present e estou usando aquela detours mais básica... Estou analisando e acho que encontrei onde é feita a verificação de memória e estou tentando burlar...

  10. #9
    New - Hacker's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    498
    Reputation
    23
    Thanks
    110
    My Mood
    Aggressive
    Quote Originally Posted by NeoStryker View Post
    Estou usando present, minha base eu fiz do zero só olhei como fazia o present e estou usando aquela detours mais básica... Estou analisando e acho que encontrei onde é feita a verificação de memória e estou tentando burlar...
    HWBP funciona até hoje aqui, tente:
    https://www.mpgh.net/forum/showthread.php?t=863451

  11. #10
    Megaloco's Avatar
    Join Date
    Mar 2013
    Gender
    male
    Posts
    437
    Reputation
    10
    Thanks
    62
    My Mood
    Aggressive
    Quote Originally Posted by New - Hacker View Post
    HWBP funciona até hoje aqui, tente:
    https://www.mpgh.net/forum/showthread.php?t=863451
    Delícia de detour...

  12. #11
    Fєηix's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Location
    Brαzil
    Posts
    1,178
    Reputation
    114
    Thanks
    6,891
    My Mood
    Sleepy
    Bom trabalho

    //SetObjectPos: 0xD4

  13. The Following User Says Thank You to Fєηix For This Useful Post:

    Coder.Fail (12-26-2014)

  14. #12
    Coder.Fail's Avatar
    Join Date
    Jun 2014
    Gender
    male
    Posts
    91
    Reputation
    43
    Thanks
    490
    Quote Originally Posted by New - Hacker View Post


    HWBP funciona até hoje aqui, tente:
    https://www.mpgh.net/forum/showthread.php?t=863451
    Aqui não estou conseguindo hookar o EndScene pela d3d9, está detectando.. devo estar fazendo alguma coisa errada --´

    Quote Originally Posted by Megaloco View Post
    Delícia de detour...
    Delícia de detour ?
    Skype : luislokao98

  15. #13
    pDevice's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Location
    d3d9.h
    Posts
    1,306
    Reputation
    15
    Thanks
    420
    My Mood
    Stressed
    Quote Originally Posted by Megaloco View Post
    Delícia de detour...
    Na verdade isso não é uma detour.

    - @Coder.Fail

    A exatamente dois anos eu fiz o NPC Telekill e um pouco antes o Teleport to Weapon:

    https://www.mpgh.net/forum/showthread.php?t=570233
    https://www.mpgh.net/forum/showthread.php?t=564782

    Não me lembro se postei o NPC Telekill mas o esquema é simples parecido com o Teleport to Weapon.



  16. #14
    Coder.Fail's Avatar
    Join Date
    Jun 2014
    Gender
    male
    Posts
    91
    Reputation
    43
    Thanks
    490
    Quote Originally Posted by pDevice View Post

    Na verdade isso não é uma detour.

    - @Coder.Fail

    A exatamente dois anos eu fiz o NPC Telekill e um pouco antes o Teleport to Weapon:

    https://www.mpgh.net/forum/showthread.php?t=570233
    https://www.mpgh.net/forum/showthread.php?t=564782

    Não me lembro se postei o NPC Telekill mas o esquema é simples parecido com o Teleport to Weapon.
    Eu me lembro, sou o HackerFail hu3
    É bem parecido mesmo, no final de tudo você tem apenas de igualar as posições
    Skype : luislokao98

  17. #15
    Megaloco's Avatar
    Join Date
    Mar 2013
    Gender
    male
    Posts
    437
    Reputation
    10
    Thanks
    62
    My Mood
    Aggressive
    Quote Originally Posted by pDevice View Post
    Originally Posted by Megaloco
    Delícia de detour...
    Na verdade isso não é uma detour.
    KKKKKKKKKKK...fiz bagunça nas postagens...

Page 1 of 2 12 LastLast

Similar Threads

  1. [Patched] Nightmare CA[NA] 3.3 | Aimbot | Esps | Telekill | NPC-OPK | Weapon Teleport | +++
    By Nightmare in forum Combat Arms Hacks & Cheats
    Replies: 48
    Last Post: 08-09-2012, 04:27 PM
  2. [Patched] PiKaMucha_Itu v1.4 CANA Npc Opk , Weapon Teleport And more !
    By PikaMucha_Itu in forum Combat Arms Hacks & Cheats
    Replies: 174
    Last Post: 06-23-2012, 11:55 AM
  3. [Patched] Nightmare 1.9 - |Weapon Teleport|NPC-OPK|Telekill|Weapon Vacuun|SemiOPK|D3D FPS|
    By Nightmare in forum Combat Arms Hacks & Cheats
    Replies: 63
    Last Post: 06-05-2012, 09:48 PM
  4. [Patched] Nightmare 1.8|Weapon Teleport|NPC-OPK|Telekill|Weapon Vacuun|SemiOPK - Update
    By Nightmare in forum Combat Arms Hacks & Cheats
    Replies: 98
    Last Post: 06-05-2012, 01:03 PM
  5. [Source Code] NPC OPK | TeleKill | Weapon Teleport
    By Gx4hxR in forum Combat Arms BR Hack Coding/Source Code
    Replies: 32
    Last Post: 01-14-2012, 10:12 AM