|
You last visited: Today at 14:49
Advertisement
Warrock - Code Snippets
Discussion on Warrock - Code Snippets within the WarRock forum part of the Shooter category.
01/27/2013, 14:40
|
#661
|
elite*gold: 0
Join Date: Dec 2012
Posts: 39
Received Thanks: 18
|
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
cheats.h
Code:
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;
}
}
Variablen.h
Code:
bool InviciblePatch;
bool Invisible;
|
|
|
01/27/2013, 16:53
|
#662
|
elite*gold: 0
Join Date: Aug 2010
Posts: 972
Received Thanks: 1,583
|
C:\Nexon\WarRock EU\data\Weapons.txt
|
|
|
01/27/2013, 22:15
|
#663
|
elite*gold: 0
Join Date: Dec 2012
Posts: 39
Received Thanks: 18
|
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.
Code:
/* AutoAmmo/Medic BG & A.I. */
WritePatch<float>((void*)ADR_Automedic_Ammo,9999);
|
|
|
01/28/2013, 14:41
|
#664
|
elite*gold: 0
Join Date: Jan 2013
Posts: 2
Received Thanks: 1
|
Quote:
Originally Posted by xXxNoMenuxXx
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.
Code:
/* AutoAmmo/Medic BG & A.I. */
WritePatch<float>((void*)ADR_Automedic_Ammo,9999);
|
MedicAmmoDistance Credits : CyberRazzer
|
|
|
01/28/2013, 20:41
|
#665
|
elite*gold: 0
Join Date: Sep 2012
Posts: 35
Received Thanks: 0
|
Hey, you see I have a problem. Patterns want to pull a dump but I have this error:
|
|
|
01/29/2013, 05:56
|
#666
|
elite*gold: 0
Join Date: Nov 2012
Posts: 51
Received Thanks: 21
|
Quote:
Originally Posted by ignorehax
Hey, you see I have a problem. Patterns want to pull a dump but I have this error:

|
Dumped Incorrectly or your Antivirus.
|
|
|
01/30/2013, 16:05
|
#667
|
elite*gold: 0
Join Date: Dec 2012
Posts: 39
Received Thanks: 18
|
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
|
#668
|
elite*gold: 0
Join Date: Jan 2013
Posts: 161
Received Thanks: 38
|
BOXES (ESP)
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
|
#669
|
elite*gold: 297
Join Date: Dec 2010
Posts: 1,129
Received Thanks: 1,687
|
Quote:
Originally Posted by -.-Anna-Lena-.-
VB 2008?
|
Wenn du es schaffst, neuartige Methoden für Remote Code Injection zu schreiben...
Quote:
Originally Posted by -.-Anna-Lena-.-
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
|
#670
|
elite*gold: 0
Join Date: Jan 2013
Posts: 161
Received Thanks: 38
|
Quote:
Originally Posted by __underScore
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
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
|
|
|
01/31/2013, 11:10
|
#671
|
elite*gold: 297
Join Date: Dec 2010
Posts: 1,129
Received Thanks: 1,687
|
Quote:
Originally Posted by -.-Anna-Lena-.-
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
|
#672
|
elite*gold: 0
Join Date: Jul 2011
Posts: 3,812
Received Thanks: 1,840
|
Quote:
Originally Posted by -.-Anna-Lena-.-
Hoppla! Ich meinte naturlich Visual C++ nicht VB2008 das wäre zu hart
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 
|
Immer diese 385 pr0 Coder 
Ich meine , ist es sooo schwer
Code:
if (GetAsyncKeyState(VK_BLABLA))
statt
zu schreiben?
Es gibt keinen Unterschied zwischen NoMenu und Menu. (Außer halt das Menü  )
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
|
#673
|
elite*gold: 0
Join Date: Jan 2013
Posts: 161
Received Thanks: 38
|
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
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
|
#674
|
elite*gold: 0
Join Date: Jul 2011
Posts: 3,812
Received Thanks: 1,840
|
Quote:
Originally Posted by -.-Anna-Lena-.-
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
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 
Ich meine , ist es sooo schwer
Code:
if (GetAsyncKeyState(VK_BLABLA))
statt
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
|
#675
|
elite*gold: 0
Join Date: Nov 2012
Posts: 51
Received Thanks: 21
|
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?
|
|
|
Similar Threads
|
WarRock EU - Code Snippets
07/12/2012 - WarRock - 7490 Replies
Hi Leute,
in diesem Thread könnt ihr:
-> Nach Sourcecodes fragen(Beispiel unten)
-> Eure Sourcecodes posten(Wenn sie nicht von euch sind mit Credits!)
-> Fragen ob eure Source evtl. einen Fehler hat
-> Fragen was welcher Fehler bedeuted
-> Sourcecodes entnehmen(Bitte beim Release dann Credits angeben!)
|
All times are GMT +1. The time now is 14:51.
|
|