Warrock - Code Snippets

01/27/2013 14:40 xXxNoMenuxXx#661
hat vielleicht jemand die Weapon list aus warrock?
Benötige die , weil ich einen sniper rifle check für always crosshair einbauen will.
brauche also nur alle sniper rifle nummern.
Ach, und die Nummern für die A.I. Weapons und T-Bomb und AW50_F, Mk_1s,HK_69.
Danke im vorraus

€:
Invisible NoMenu
01/27/2013 16:53 NikM#662
C:\Nexon\WarRock EU\data\Weapons.txt
01/27/2013 22:15 xXxNoMenuxXx#663
Habe eine kleine liste gefunden, aber wisst ihr warum das nicht funktioniert?
Da sind zwar nicht alle SniperRifles aber workt i*wie trotzdem nicht.
Code:
if ((pp+OFS_WEAPON)==166 ||(pp+OFS_WEAPON)==167 ||(pp+OFS_WEAPON)==57 ||(pp+OFS_WEAPON)==56 ||(pp+OFS_WEAPON)==55 ||(pp+OFS_WEAPON)==54 ||(pp+OFS_WEAPON)==53 ||(pp+OFS_WEAPON)==58||(pp+OFS_WEAPON)==59 ||(pp+OFS_WEAPON)==60)
*(DWORD*)( ADR_AlwaysCross1 ) = ( *(DWORD*)( ADR_AlwaysCross2) / 2 );
AutoMedic A.I. and BG
Keine Ahnung wer die funktion als erstes erstellt hat.
01/28/2013 14:41 ~ xLavax3 ~#664
Quote:
Originally Posted by xXxNoMenuxXx View Post
Habe eine kleine liste gefunden, aber wisst ihr warum das nicht funktioniert?
Da sind zwar nicht alle SniperRifles aber workt i*wie trotzdem nicht.
Code:
if ((pp+OFS_WEAPON)==166 ||(pp+OFS_WEAPON)==167 ||(pp+OFS_WEAPON)==57 ||(pp+OFS_WEAPON)==56 ||(pp+OFS_WEAPON)==55 ||(pp+OFS_WEAPON)==54 ||(pp+OFS_WEAPON)==53 ||(pp+OFS_WEAPON)==58||(pp+OFS_WEAPON)==59 ||(pp+OFS_WEAPON)==60)
*(DWORD*)( ADR_AlwaysCross1 ) = ( *(DWORD*)( ADR_AlwaysCross2) / 2 );
AutoMedic A.I. and BG
Keine Ahnung wer die funktion als erstes erstellt hat.
MedicAmmoDistance Credits : CyberRazzer
01/28/2013 20:41 ignorehax#665
Hey, you see I have a problem. Patterns want to pull a dump but I have this error:
[Only registered and activated users can see links. Click Here To Register...]
01/29/2013 05:56 Lazl07#666
Quote:
Originally Posted by ignorehax View Post
Hey, you see I have a problem. Patterns want to pull a dump but I have this error:
[Only registered and activated users can see links. Click Here To Register...]
Dumped Incorrectly or your Antivirus.
01/30/2013 16:05 xXxNoMenuxXx#667
cheats.h
Code:
#include <Windows.h>
#include "Addys.h"
#include "2012Patch.h"
#include "Variablen.h"


DWORD *ingame = (DWORD*)ADR_PLAYERPOINTER;
DWORD *outgame = (DWORD*)ADR_SERVERPOINTER;

void PlayerHacks()
{
    DWORD pp = *(DWORD*)ADR_PLAYERPOINTER;
    if(pp != 0)
    {
  

		/* SuperJump*/
  if (GetAsyncKeyState(VK_UP)&1) superjump += 500;
  if (GetAsyncKeyState(VK_DOWN)&1) superjump -= 500;
  if (superjump<500) superjump = 500;
  if (GetAsyncKeyState(VK_CONTROL)&0x8000)
  *(float*)(pp+OFS_Z) = superjump;

/*RealSuperJump*/
if (GetAsyncKeyState(VK_NUMPAD3))
*(float*)ADR_SuperJump = 600;
if (GetAsyncKeyState(VK_NUMPAD2))
*(float*)ADR_SuperJump = 180;

  	   /* Speed */
	   if (GetAsyncKeyState(VK_RIGHT)&1) speed +=96;
	   if (GetAsyncKeyState(VK_LEFT)&1) speed -=96;
	   if (speed<96) speed=96;
	   WritePatch<double>((void*)ADR_SPEED,speed);
   
	   //CQC_Prone
	   if (GetAsyncKeyState('c')&0x8000)
	   {
		   *(int*)CQC_PRONE = 2;
	   }
         /* DIG */
		if(GetAsyncKeyState(VK_MENU) &0x8000)
		*(float*)(pp+OFS_Z)=-1000; 

		/* NFD */
        *(float*)(pp + OFS_NFD) = -20000;

		//glasswalls
		if (GetAsyncKeyState(VK_NUMPAD8))
			*(int*)ADR_GlassWalls = 0;
	    if (GetAsyncKeyState(VK_NUMPAD9))
			*(int*)ADR_GlassWalls = 1;

		/* No Recoil */
if ( (pp+OFS_WEAPON)!=0)
{ 
*(float*)(pp + OFS_NORECOIL1) = 0; 
*(float*)(pp + OFS_NORECOIL2) = 0; 
*(float*)(pp + OFS_NORECOIL3) = 0; 
}  

		/* SuperNoSpread */
if (GetAsyncKeyState(VK_NUMPAD5)) supernospread = true;
if (GetAsyncKeyState(VK_NUMPAD4)) supernospread = false;
if (supernospread==true)
WritePatch<double>((void*)ADR_SUPERNOSPREAD,0);
if (supernospread==false)
WritePatch<double>((void*)ADR_SUPERNOSPREAD,5);


	     /* Teleport */
	    if(GetAsyncKeyState(VK_F2)) 
            {
                CoordX = *(float*)(pp+OFS_X);
                CoordY = *(float*)(pp+OFS_Y);
                CoordZ = *(float*)(pp+OFS_Z);
            }

            if (GetAsyncKeyState(VK_F3))
            {
                *(float*)(pp + OFS_X) = CoordX;
                *(float*)(pp + OFS_Y) = CoordY;
                *(float*)(pp + OFS_Z) = CoordZ+1;
            }

			if ((ADR_NoBounds1!=0)&&(ADR_NoBounds2!=0)&&(ADR_NoBounds3!=0))
			{
			*(int*)ADR_NoBounds1 = 0;
			*(int*)ADR_NoBounds2 = 0;
			*(int*)ADR_NoBounds3 = 0;
			}
			/* Fast Stuff */
			*(float*)ADR_FASTREPAIR = 99;
			*(float*)ADR_FASTAMMO = 99;
			*(float*)ADR_FASTMEDIC = 99;


			*(DWORD*)( ADR_AlwaysCross1 ) = ( *(DWORD*)( ADR_AlwaysCross2) / 2 );


			/* AutoAmmo/Medic BG & A.I. */
       WritePatch<float>((void*)ADR_Automedic_Ammo,9999);


    }
}
void ServerHacks()
{
    DWORD sp = *(DWORD*)ADR_SERVERPOINTER;
    if(sp != 0)
    {        
		      /* Slots */
            *(int*)(sp + OFS_SLOT5) = 1;
            *(int*)(sp + OFS_SLOT6) = 1;
            *(int*)(sp + OFS_SLOT7) = 1;
            *(int*)(sp + OFS_SLOT8) = 1;
         
			
if (GetAsyncKeyState(VK_NUMPAD1)) Invisible = true;
if (GetAsyncKeyState(VK_NUMPAD0)) Invisible = false;

if (Invisible==true)
{
if (!InviciblePatch)
{
*(long*)(sp+OFS_INVISIBLE) -= 2;
InviciblePatch = true;
}
}
else
{
if (InviciblePatch)
{
*(long*)(sp+OFS_INVISIBLE) += 2;
InviciblePatch = false;
}
}
			/* Premium */
          	*(int*)(sp+OFS_PREMIUM) = 3;
			*(float*)(sp+OFS_PREMIUM2) = 1;
    }
}
01/31/2013 04:18 -.-Anna-Lena-.-#668
Kann mir jemand sagen wie ich D3D Boxes oder einfach einen Punk auf dem Gegner mitlaufen lassen kann in VB 2008?

Ich code einen NOMENU Hack also bitte im NOMENU Format.

Danke im Voraus :)
01/31/2013 05:46 Raz9r#669
Quote:
Originally Posted by -.-Anna-Lena-.- View Post
VB 2008?
Wenn du es schaffst, neuartige Methoden für Remote Code Injection zu schreiben...

Quote:
Originally Posted by -.-Anna-Lena-.- View Post
Ich code einen NOMENU Hack also bitte im NOMENU Format.
Es gab nie einen Unterschied. Es ist einfach ein und dasselbe, wenn man mal davon absieht, dass man bei der Variante mit Menu ein Menu zeichnet auf dem Bildschirm.

Vielleicht solltest du "Hack Coder" diesem Topic eher fern bleiben.
01/31/2013 09:52 -.-Anna-Lena-.-#670
Quote:
Originally Posted by __underScore View Post
Wenn du es schaffst, neuartige Methoden für Remote Code Injection zu schreiben...


Es gab nie einen Unterschied. Es ist einfach ein und dasselbe, wenn man mal davon absieht, dass man bei der Variante mit Menu ein Menu zeichnet auf dem Bildschirm.

Vielleicht solltest du "Hack Coder" diesem Topic eher fern bleiben.
Hoppla! Ich meinte naturlich Visual C++ nicht VB2008 das wäre zu hart :D

Und mit NOMENU Format meine ich dass ich nicht weis wie ich ein MENU ESP in NOMENU ESP umschreiben kann...

Bitte daher um Hilfe!

Danke im Voraus :D
01/31/2013 11:10 Raz9r#671
Quote:
Originally Posted by -.-Anna-Lena-.- View Post
Und mit NOMENU Format meine ich dass ich nicht weis wie ich ein MENU ESP in NOMENU ESP umschreiben kann...
Es gab noch nie in auch nur irgendeiner Hinsicht einen Unterschied zwischen zwei Funktionen, ob durch ein Menu oder durch einen Hotkey aktiviert.

Sämtliche ESP Funktionen laufen etwa so ab:
1.) Man setzt einen Hook auf eine Funktion, in der man etwas auf den Screen zeichnen kann und als Parameter den Devicepointer bekommt. Diese Funktionen können zum Beispiel IDirect3DDevice9::Present oder IDirect3DDevcice9::EndScene sein.
2.) In diesen Funktionen iteriert man über die Spieler im Spiel und zeigt jeweils an deren Position - die man in eine Position auf dem Bildschirm umrechnen muss - entsprechende Informationen.

Diese Informationen sind ausreichend um etwas solches selbst zu schreiben. Um die Spielerposition auf den Display ("World To Screen") zu projizieren, schaut man sich am besten die Dokumentationen der Direct3D9 Bibliothek im MSDN an.

Da ich fest davon ausgehe, dass du damit nichts anfangen kannst: Tu mir bitte den Gefallen, so etwas nicht mehr hier zu posten. Das ist einfach nur Spam und nicht hilfreich. Vielleicht solltest du bei den Basics anfangen, das wäre doch schon mal was.
01/31/2013 13:59 xRoute66x#672
Quote:
Originally Posted by -.-Anna-Lena-.- View Post
Hoppla! Ich meinte naturlich Visual C++ nicht VB2008 das wäre zu hart :D

Und mit NOMENU Format meine ich dass ich nicht weis wie ich ein MENU ESP in NOMENU ESP umschreiben kann...

Bitte daher um Hilfe!

Danke im Voraus :D
Immer diese 385 pr0 Coder :D
Ich meine , ist es sooo schwer
Code:
if (GetAsyncKeyState(VK_BLABLA))
statt
Code:
if (Esp.Health)
zu schreiben?
Es gibt keinen Unterschied zwischen NoMenu und Menu. (Außer halt das Menü :awesome:)
Du kannst alle funktionen , so wie du sie in einem D3D-Menu Cheat findest genau so abkopieren und einfügen.
02/01/2013 03:39 -.-Anna-Lena-.-#673
Code:
void Draw3DBox(D3DXVECTOR3 Pos,IDirect3DDevice9 *pDevice)
{
	pDevice->GetTransform(D3DTS_WORLD, &SavedMatrices );

	D3DXMatrixTranslation(&ObjWorldMatrices,  Pos.x, Pos.y, Pos.z);
	pDevice->SetTransform(D3DTS_WORLD, &ObjWorldMatrices);
	pDevice->SetRenderState( D3DRS_FILLMODE, D3DFILL_WIREFRAME);
	pDevice->SetRenderState( D3DRS_ALPHABLENDENABLE, TRUE );
	pDevice->SetRenderState( D3DRS_DESTBLEND, D3DBLEND_INVSRCALPHA );
	pDevice->SetRenderState( D3DRS_FOGENABLE, false );
	pBoxMesh->DrawSubset(0);

	pDevice->SetTransform(D3DTS_WORLD, &SavedMatrices );
}

void SetupMatrices(D3DXVECTOR3 Pos,IDirect3DDevice9 *pDevice)
{
float x=Pos.x,y=Pos.y,z=Pos.z,r=D3DX_PI/2.0;
float world=5.0f;
D3DXMATRIX matWorld;
D3DXMATRIX matTemp;
D3DXMATRIX* D3DXMatrixTranslation( D3DXMATRIX &matWorld, float x, float y, float z );
D3DXMATRIX* D3DXMatrixRotationY( D3DXMATRIX &matTemp, float r );
D3DXMATRIX* D3DXMatrixMultiply( D3DXMATRIX &matWorld, float world, D3DXMATRIX &matTemp );
D3DXMATRIX* D3DXMatrixTranslation( D3DXMATRIX &matTemp, float x, float y, float z );
D3DXMATRIX* D3DXMatrixMultiply( D3DXMATRIX &matWorld, float world, D3DXMATRIX &matTemp );
pDevice->SetTransform( D3DTS_WORLD, &matWorld );
}

D3DXCreateBox( pDevice,15,38,15, &pBoxMesh, 0); 
D3DXCreateTextureFromFileInMemory(pDevice, (LPCVOID)&bRed   , sizeof(bRed)   , &fRed   ); 
D3DXCreateTextureFromFileInMemory(pDevice, (LPCVOID)&bBlue  , sizeof(bBlue)  , &fBlue  ); 

LPDIRECT3DTEXTURE9 fRed     = NULL;
LPDIRECT3DTEXTURE9 fBlue    = NULL;

const BYTE bRed[]    = {0x42, 0x4D, 0x3A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
			0x36, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00, 0x01, 0x00,
			0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x18, 0x00,
			0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00,
			0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
			0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x00};

const BYTE bBlue[]    = {0x42, 0x4D, 0x3A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
			 0x36, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00, 0x01, 0x00,
			 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x18, 0x00,
			 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00,
			 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
			 0x00, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00};


    if( cEsp.CH_BoxEsp3D) 
    { 
        Draw3DBox(PlayerView,pDevice); 
    }
Das ist ja genau was ich brauche leider verstehe ich mit meinem momentanen Status nur BAHNHOF :confused: :(

Kann mir jemand sagen wie dieser Code im NOMENU Stype aussehen würde?

Ich nehme ja schon Unterricht allerdings nur 2 mal in der Woche weil ich nicht viel Zeit habe und ich habe auch schon ziemlich viele Funktionen im Hack aber ESP wäre mein krönender Abschluss!
02/01/2013 06:46 xRoute66x#674
Quote:
Originally Posted by -.-Anna-Lena-.- View Post
Code:
void Draw3DBox(D3DXVECTOR3 Pos,IDirect3DDevice9 *pDevice)
{
	pDevice->GetTransform(D3DTS_WORLD, &SavedMatrices );

	D3DXMatrixTranslation(&ObjWorldMatrices,  Pos.x, Pos.y, Pos.z);
	pDevice->SetTransform(D3DTS_WORLD, &ObjWorldMatrices);
	pDevice->SetRenderState( D3DRS_FILLMODE, D3DFILL_WIREFRAME);
	pDevice->SetRenderState( D3DRS_ALPHABLENDENABLE, TRUE );
	pDevice->SetRenderState( D3DRS_DESTBLEND, D3DBLEND_INVSRCALPHA );
	pDevice->SetRenderState( D3DRS_FOGENABLE, false );
	pBoxMesh->DrawSubset(0);

	pDevice->SetTransform(D3DTS_WORLD, &SavedMatrices );
}

void SetupMatrices(D3DXVECTOR3 Pos,IDirect3DDevice9 *pDevice)
{
float x=Pos.x,y=Pos.y,z=Pos.z,r=D3DX_PI/2.0;
float world=5.0f;
D3DXMATRIX matWorld;
D3DXMATRIX matTemp;
D3DXMATRIX* D3DXMatrixTranslation( D3DXMATRIX &matWorld, float x, float y, float z );
D3DXMATRIX* D3DXMatrixRotationY( D3DXMATRIX &matTemp, float r );
D3DXMATRIX* D3DXMatrixMultiply( D3DXMATRIX &matWorld, float world, D3DXMATRIX &matTemp );
D3DXMATRIX* D3DXMatrixTranslation( D3DXMATRIX &matTemp, float x, float y, float z );
D3DXMATRIX* D3DXMatrixMultiply( D3DXMATRIX &matWorld, float world, D3DXMATRIX &matTemp );
pDevice->SetTransform( D3DTS_WORLD, &matWorld );
}

D3DXCreateBox( pDevice,15,38,15, &pBoxMesh, 0); 
D3DXCreateTextureFromFileInMemory(pDevice, (LPCVOID)&bRed   , sizeof(bRed)   , &fRed   ); 
D3DXCreateTextureFromFileInMemory(pDevice, (LPCVOID)&bBlue  , sizeof(bBlue)  , &fBlue  ); 

LPDIRECT3DTEXTURE9 fRed     = NULL;
LPDIRECT3DTEXTURE9 fBlue    = NULL;

const BYTE bRed[]    = {0x42, 0x4D, 0x3A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
			0x36, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00, 0x01, 0x00,
			0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x18, 0x00,
			0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00,
			0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
			0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x00};

const BYTE bBlue[]    = {0x42, 0x4D, 0x3A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
			 0x36, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00, 0x01, 0x00,
			 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x18, 0x00,
			 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00,
			 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
			 0x00, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00};


    if( cEsp.CH_BoxEsp3D) 
    { 
        Draw3DBox(PlayerView,pDevice); 
    }
Das ist ja genau was ich brauche leider verstehe ich mit meinem momentanen Status nur BAHNHOF :confused: :(

Kann mir jemand sagen wie dieser Code im NOMENU Stype aussehen würde?

Ich nehme ja schon Unterricht allerdings nur 2 mal in der Woche weil ich nicht viel Zeit habe und ich habe auch schon ziemlich viele Funktionen im Hack aber ESP wäre mein krönender Abschluss!

Quote:
Originally Posted by xRoute66x™ :)
Immer diese 385 pr0 Coder :D
Ich meine , ist es sooo schwer
Code:
if (GetAsyncKeyState(VK_BLABLA))
statt
Code:
if (Esp.Health)
zu schreiben?
...

Nicht böse gemeint, aber ich glaube du solltest uns allen einen gefallen tun, und dich einfach von C++ fernhalten.

Ich habe es dir oben beschrieben, und wenn du es immer noch nicht verstehst...

Code:
    if(GetAsyncKeyState(VK_---)) 
    { 
        Draw3DBox(PlayerView,pDevice); 
    }
Wenn man nicht einmal schafft, eine Funktion auf ein Key zu setzen, dann bist du hier meiner Meinung nach total falsch.
02/01/2013 08:55 Lazl07#675
My ESP didnt got drawed in Windows XP.

i call ESP in myPresent and i hook SetTransform im Using GetScreenCoordFromWorld

pSetTransform = (oSetTransform)DetourCreateE9((DWORD)VTable[44],(DWORD)nSetTransform,5);

any idea?