Register for your free account! | Forgot your password?

Go Back   elitepvpers > Shooter > WarRock
You last visited: Today at 14:43

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



WarRock EU - Code Snippets

Discussion on WarRock EU - Code Snippets within the WarRock forum part of the Shooter category.

View Poll Results: Wie findet ihr diesen Thread
Klasse! 78 60.94%
Geht so 17 13.28%
Sinnlos, braucht keiner 33 25.78%
Voters: 128. You may not vote on this poll

Closed Thread
 
Old 04/02/2011, 11:42   #3016
 
•~•Pr0Sk1ll•~•'s Avatar
 
elite*gold: 1
Join Date: Nov 2008
Posts: 576
Received Thanks: 166
hier is ne DrawCrosshairSource grade selbstgecodet:
Code:
void DrawCrosshair(int size,int size2, DWORD Color)
{
int x = ( GetSystemMetrics( 0 ) / 2);
int y = ( GetSystemMetrics( 1 ) / 2);
D3DRECT rec = { x - size, y, x + size2, y + size};
D3DRECT rec2 = { x, y - size, x + size2, y + size};
pDevice->Clear(1, &rec, D3DCLEAR_TARGET, Color,0,0); 
pDevice->Clear(1, &rec2, D3DCLEAR_TARGET, Color,0,0);
}
Müsste klappen habs grad in c++ geguckt keine Fehler
•~•Pr0Sk1ll•~• is offline  
Old 04/02/2011, 12:14   #3017
 
elite*gold: 0
Join Date: Feb 2011
Posts: 12
Received Thanks: 3
Post

Bitte, eine neue Struktur auf der Packung telekilu.
ist eine alte struct.

Ändern oder geben dank der neuen

Code:
struct CStuff
{
  float fast_repair;        //0x0000
  char unk_char0[4];        //0x0004
  float fast_ammo;        //0x0008
  float fast_health;        //0x000C
  char unk_char1[4];        //0x0010
  float fast_flag;        //0x0014
};

struct CServer
{
  char unk_char0[1404];    //0x0000
  __int32 premium;        //0x057C
};

struct CPlayerInfo //
{
  char nickname[20]; //0x0000  
  char unk_char0[1004]; //0x0014  
  char playerip[16]; //0x0400  
  char unk_char1[140]; //0x0410  
  __int32 exp; //0x049C  
  char unk_char2[12]; //0x04A0  
  __int32 dinar; //0x04AC  
  char unk_char3[64]; //0x04B0  
  char loginname[20]; //0x04F0  
  char unk_char4[492]; //0x0504  
  char nickname_[16]; //0x06F0  
  char unk_char5[4504]; //0x0700  
  __int32 points; //0x1898  
  char unk_char6[24]; //0x189C   
  __int32 kills; //0x18AC       
  __int32 deaths; //0x18B0   
  DWORD dwFix1;
  DWORD dwFix2;  //+0x8 ^^
  __int32 flags; //0x18B4  
  __int32 health; //0x18B8 
  char unk_char7[8]; //0x18BC  
  __int32 weapon; //0x18C4   
  char unk_char8[292]; //0x18C8
  __int32 identify; //19EC
  BYTE index; //0x19F0  
  BYTE unk_byte0; //0x19F1  
  BYTE unk_byte1; //0x19F2  
  BYTE unk_byte2; //0x19F3  
  BYTE team; //0x19F4  
};


struct CVehicle
{
  char unk_char0[80]; //0x0000
  char name[18]; //0x0050   
};
struct CPlayer
{
  char unk_char0[24]; //0x0000  
  float recoil1; //0x0018  
  float recoil2; //0x001C  
  float recoil3; //0x0020  
  char unk_char1[50304]; //0x0024  
  CVehicle* pVehicle; //0xC4A4  
  char unk_char2[15448]; //0xC4A8  
  DWORD weapon; //0x10100  
  char unk_char3[180]; //0x10104  
  float xx; //0x101B8  <-Seems like a coordinate to me
  float zz; //0x101BC  <-Seems like a coordinate to me
  float yy; //0x101C0  <-Seems like a coordinate to me
  char unk_char4[104]; //0x101C4 
  DWORD dwFix;
  BYTE state; //0x1022C + 4
  BYTE state2; //0x1022D  + 4
  char unk_char5[162]; //0x1022E + 4 
  float x; //0x102D0 + 4  <-Seems like a coordinate to me
  float z; //0x102D4 + 4  <-Seems like a coordinate to me
  float y; //0x102D8 + 4  <-Seems like a coordinate to me
  char unk_char6[192]; //0x102DC + 4
  DWORD dwFix2;
  float nofalldamage; //0x1039C + 8
};
struct CLocal
{
  char unk_char0[32];        //0x0000
  float x;                //0x0020
  float z;                //0x0024
  float y;                //0x0028
  char unk_char1[36];        //0x002C
  float pitch;                //0x0050
  float yaw;            //0x0054
  float roll;                //0x0058
};

struct CBase
{
  CPlayer* local;         //0000
  char unknown0[72];         //0004
  CPlayer** player;         //004C
};
BlackKruk is offline  
Old 04/02/2011, 13:43   #3018
 
elite*gold: 0
Join Date: Jul 2008
Posts: 18
Received Thanks: 1
Exclamation Chams = | over again

Also,
da bei meinen beiden Chams-Mothode das Spiel abstürzt, wollt ich mal wissen wer laufende Chams hat und wie er dies Programmtechnisch umgesetzt hat.

Mothode 1[(1.Funktion "mySetStreamSource"=Stride auslesen);(2.Funktion "myDrawIndexedPrimitive"=Texturen Zeichnen und auf pDevice anwenden)]:

Methode 2[(1.Funktion "myDrawIndexedPrimitive"=mit "GetStreamSource" Stride auslesen & Texturen Zeichnen und auf pDevice anwenden)]:
Mit den beiden Methoden stürtzt mein hack immer ab ... Meine Frage an die,die es geschafft haben, wie habt ihr das konkret gelöst ? Ich verzweifel langsam ... weil ich so nah dran bin (es funktioniert alles > aber nicht ingame) !
Verson is offline  
Old 04/02/2011, 14:28   #3019

 
xxfabbelxx's Avatar
 
elite*gold: 900
Join Date: Apr 2009
Posts: 14,981
Received Thanks: 11,403
Quote:
Originally Posted by Verson View Post
Also,
da bei meinen beiden Chams-Mothode das Spiel abstürzt, wollt ich mal wissen wer laufende Chams hat und wie er dies Programmtechnisch umgesetzt hat.

Mothode 1[(1.Funktion "mySetStreamSource"=Stride auslesen);(2.Funktion "myDrawIndexedPrimitive"=Texturen Zeichnen und auf pDevice anwenden)]:

Methode 2[(1.Funktion "myDrawIndexedPrimitive"=mit "GetStreamSource" Stride auslesen & Texturen Zeichnen und auf pDevice anwenden)]:
Mit den beiden Methoden stürtzt mein hack immer ab ... Meine Frage an die,die es geschafft haben, wie habt ihr das konkret gelöst ? Ich verzweifel langsam ... weil ich so nah dran bin (es funktioniert alles > aber nicht ingame) !
Du musst die DIP mit einer Detour hooken. Dann stürzt es nimmer ab
xxfabbelxx is offline  
Thanks
3 Users
Old 04/02/2011, 15:02   #3020
 
elite*gold: 0
Join Date: Apr 2011
Posts: 365
Received Thanks: 11
Quote:
Originally Posted by Scroll[RU] View Post
Könnte mir wern D3D hack machen mit...
GPS (Nur Meter (Blau)
NoSpawnwait
NoRecoil
Infinit Stamnia
NFD
5Sloth....
PX items
bitte
Spider~Man is offline  
Old 04/02/2011, 15:19   #3021
 
elite*gold: 0
Join Date: Jul 2008
Posts: 18
Received Thanks: 1
Thumbs up Chams

@Scroll[RU] 1.: Verwende die Sufu (derartige Hacks gibt es zu hauf ... (meist fehlt jedoch Unl.Stamina -.-[des wurde patched und geht nur noch über "Umwege"])
2.: Das ist die falsche section
3.: Wenn ich mit meinem Problem weiter komme kannste gerne meinen hack haben^^:
Der hat:
GPS (Nur Meter (Blau)) [Kommt nach den Chams]
- NoSpawnwait
- NoRecoil
Infinit Stamnia [erst mal nicht ^^]
- NFD
- 5Sloth....
- PX items

So und jetzt zu meinem Problem:
@[R]eload hey vielen Dank für diese kompetente Antwort. Ich glaube jedoch dass ich die DIP schon mit einer Detour hooke:
Code:
pSetStreamSource = (oSetStreamSource)nClass.DetourCreatePre(dwDevProto[100],(DWORD)mySetStreamSource,5); //Wird nur für methode 1 benötigt
pDrawIndexedPrimitive = (oDrawIndexedPrimitive)nClass.DetourCreatePre(dwDevProto[82],(DWORD)myDrawIndexedPrimitive,5);
Mein Detour:

Ist da was veraltet ?
Verson is offline  
Old 04/02/2011, 15:38   #3022
 
elite*gold: 0
Join Date: Apr 2011
Posts: 365
Received Thanks: 11
Ich möchte kene GMS Die Crashen also die meter anzeige soll Blau sein :O oder farbe änderbar sein
Spider~Man is offline  
Old 04/02/2011, 19:29   #3023
 
elite*gold: 0
Join Date: Nov 2010
Posts: 2,406
Received Thanks: 2,917
PHP Code:
// FFA Quick Spawn

#define ADR_FFASPAWN 0x00B31CF8

int CH_FFASPAWN =0;

if (
CH_FFASPAWN == 1)
{
*(
int*)ADR_FFASPAWN 0;
}

// ColorShot

#define ADR_COLORSHOT1             0x00B04828
#define ADR_COLORSHOT2              0x00B0482C
#define ADR_COLORSHOT3              0x00B04830

int CH_ColorShot =0;

if(
CH_ColorShot==1)
{
*(
float*)ADR_COLORSHOT1=3800;
*(
float*)ADR_COLORSHOT2=3800;
*(
float*)ADR_COLORSHOT3=3800;
}
else
{
*(
float*)ADR_COLORSHOT1=0;
*(
float*)ADR_COLORSHOT2=0;
*(
float*)ADR_COLORSHOT3=0;
}

//Cqc Prone

int CH_CQCPRONE =0;

#define ADR_CQCPRONE 0x00A220B8

if (CH_CQCPRONE == 1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
DWORD dwServerPointer = *(DWORD*)ADR_SERVERPOINTER;
if (
dwPlayerPtr != && dwServerPointer != 0)
{
*(
int*)0x00A220B82;
}

_TradEmArk_˜ is offline  
Old 04/02/2011, 22:44   #3024
 
elite*gold: 0
Join Date: Nov 2010
Posts: 2,582
Received Thanks: 183
Hätte wer vllt ein kompletten Hack Code für ein Hack mit nur Chams?? Farben egal^^
Oder könnte mir jemand eine Projektmappe schicken wo ich halt nur noch falls nötig die Addys ändern muss?? Würde mich extrem freuen und gibt natürlich ein Thanks
Dustin22 is offline  
Old 04/02/2011, 22:49   #3025
 
BlackLegend™'s Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 2,527
Received Thanks: 4,404
Quote:
Originally Posted by Dustin22 View Post
Hätte wer vllt ein kompletten Hack Code für ein Hack mit nur Chams?? Farben egal^^
Oder könnte mir jemand eine Projektmappe schicken wo ich halt nur noch falls nötig die Addys ändern muss?? Würde mich extrem freuen und gibt natürlich ein Thanks
Chams NoMenü base:

Download:

Virustotal:

Credits:
ΣLΣXTrO
karraka
Croner
Brain.exe

Detour müsst ihr selber adden
BlackLegend™ is offline  
Thanks
3 Users
Old 04/02/2011, 23:08   #3026
 
elite*gold: 0
Join Date: Nov 2010
Posts: 2,582
Received Thanks: 183
Hmm, hast du vllt SKype? Hätte da ein paar Fragen weil bin echt ziemlich neu in den Bereich und wollte fragen woher ich Detour Codes bekommen b.z.w was ist das genau???
Dustin22 is offline  
Old 04/03/2011, 12:21   #3027
 
elite*gold: 0
Join Date: Jul 2008
Posts: 18
Received Thanks: 1
Unhappy Non Menü Chams

@Dustin22: Guck mal auf die 1.Seite -.-

Quote:
Originally Posted by BlackLegend™ View Post
Chams NoMenü base:

Download:

Virustotal:

Credits:
ΣLΣXTrO
karraka
Croner
Brain.exe

Detour müsst ihr selber adden
Debug:
Code:
1>base.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__DestroyWindow@4" in Funktion ""void * __cdecl D3Ddiscover(void *,int)" (?D3Ddiscover@@YAPAXPAXH@Z)".
1>base.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__ShowWindow@8" in Funktion ""void * __cdecl D3Ddiscover(void *,int)" (?D3Ddiscover@@YAPAXPAXH@Z)".
1>base.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__CreateWindowExA@48" in Funktion ""void * __cdecl D3Ddiscover(void *,int)" (?D3Ddiscover@@YAPAXPAXH@Z)".
1>base.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__GetSystemMetrics@4" in Funktion ""long __stdcall myDrawIndexedPrimitive(struct IDirect3DDevice9 *,enum _D3DPRIMITIVETYPE,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int)" (?myDrawIndexedPrimitive@@YGJPAUIDirect3DDevice9@@W4_D3DPRIMITIVETYPE@@IIIII@Z)".
1>.\Debug/Release.dll : fatal error LNK1120: 4 nicht aufgelöste externe Verweise.
Verson is offline  
Old 04/03/2011, 16:20   #3028
 
elite*gold: 0
Join Date: Mar 2011
Posts: 263
Received Thanks: 291
Compaile als Release
CyberRazzor is offline  
Thanks
1 User
Old 04/03/2011, 18:34   #3029
 
Лузифер's Avatar
 
elite*gold: 0
Join Date: Mar 2011
Posts: 47
Received Thanks: 42
Quote:
Originally Posted by _TradEmArk_™ View Post
PHP Code:
// FFA Quick Spawn

#define ADR_FFASPAWN 0x00B31CF8

int CH_FFASPAWN =0;

if (
CH_FFASPAWN == 1)
{
*(
int*)ADR_FFASPAWN 0;
}

// ColorShot

#define ADR_COLORSHOT1             0x00B04828
#define ADR_COLORSHOT2              0x00B0482C
#define ADR_COLORSHOT3              0x00B04830

int CH_ColorShot =0;

if(
CH_ColorShot==1)
{
*(
float*)ADR_COLORSHOT1=3800;
*(
float*)ADR_COLORSHOT2=3800;
*(
float*)ADR_COLORSHOT3=3800;
}
else
{
*(
float*)ADR_COLORSHOT1=0;
*(
float*)ADR_COLORSHOT2=0;
*(
float*)ADR_COLORSHOT3=0;
}

//Cqc Prone

int CH_CQCPRONE =0;

#define ADR_CQCPRONE 0x00A220B8

if (CH_CQCPRONE == 1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
DWORD dwServerPointer = *(DWORD*)ADR_SERVERPOINTER;
if (
dwPlayerPtr != && dwServerPointer != 0)
{
*(
int*)0x00A220B82;
}

*(int*)0x00A220B8= 2;

Wieso definierste überhaupt die Addy,wenn du es nicht benutzt xD
Лузифер is offline  
Old 04/04/2011, 11:38   #3030
 
elite*gold: 0
Join Date: Jul 2008
Posts: 18
Received Thanks: 1
Talking "Compaile als Release"?

Quote:
Originally Posted by CyberRazzor View Post
Compaile als Release
Was darf ich darunter verstehen ?/Wie mache ich das bei der deutschen 2008 Extended Version ?

Ok wenn du nicht antwortest ... dann deute ich des mal als ^^
Verson is offline  
Closed Thread


Similar Threads Similar Threads
WTB Flyff Source code snippets
04/01/2012 - Flyff Trading - 0 Replies
Hellow I posted this because I wanted to buy a fix scroll of unbinding.Which removes soul-link of an item.If you have its code snippets PM me.Don't sell me a code which is release because all of them are not working.I wanted to buy a fix one and a non-buggy code Payment:via Paypal
[Autoit] Youtube Code Snippets
07/29/2011 - AutoIt - 5 Replies
Tag Zusammen. Wie wohl die meisten von euch mitbekommen haben, bieten derzeit sehr viele User hier sogenannte Youtube Services an, bei denen man Abos, Likes, Dislikes etc. kaufen kann. Doch wer wirklich Erfolg haben will, braucht natürlich viele Abonnenten und Likes, was per Hand Tage dauern würde. Deshalb werden hier in letzter Zeit immer mehr Youtube Bots verkauft. Was, wie ich finde, ein ziemliche Abzocke ist, da das meist nur sehr schlechte Bots sind, die lediglich den Internet...
Some Code-Snippets[PSERVER]
07/15/2011 - Kal Hacks, Bots, Cheats & Exploits - 17 Replies
This is the code of the hack which Fremo released.. I got new methods so I dont need this anymore & maybe it'll help some people... G31 Adult Skill if(comboBox4->Text=="Panther'crit'") { KC->Chat(255," Panther Skill ON"); KC->Threads=1; KC->lasttime = timeGetTime()-15000; } else if(comboBox4->Text=="Tiger'otp'")
[Release] Code Snippets Manager
01/21/2011 - Coding Releases - 0 Replies
Code Snippets Manager http://upit.cc/images/1d47d78e.jpg Hab mich heute mal rangesetzt, und einen kleinen Manager für Code-Snippets(Code-Fetzen) gecodet, da ich alles sortiert in einer Anwendung wollte. Da es sicherlich jemand nützlich finden wird, lad ich es hier mal hoch.



All times are GMT +1. The time now is 14:43.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.