WarRock EU - Code Snippets

02/12/2011 16:17 Blue <3'#1786
Quote:
Originally Posted by Produx6 View Post
gibts seid heute neue Addys
wenn ya kannse jmd posten plox
Ein paar Seiten davor wurden sie geposted von Yazzn!

Quote:
Originally Posted by Yazzn! View Post
Code:
DWORD dwADR_PLAYERPOINTER                 =       0xBC3228;
DWORD dwADR_SERVERPOINTER                 =       0xABDE08;
DWORD dwADR_BASEPOINTER                   =       0xAF8400;
DWORD dwADR_DEVICEPOINTER                 =       0xA439A0;
DWORD dwADR_NOSPREAD                      =       0xA44868;
DWORD dwADR_NOBOUNDS1                     =       0xA6F088;
DWORD dwADR_NOBOUNDS2                     =       0xA6F08C;
DWORD dwADR_NOBOUNDS3                     =       0xA6F090;
DWORD dwADR_FASTLOCKON                    =       0xA44874;
DWORD dwADR_FASTAMMO                      =       0xA47D14;
DWORD dwADR_FASTHEALTH                    =       0xA47D18;
DWORD dwADR_FASTFLAG                      =       0xA47D20;
DWORD dwADR_FASTREPAIR                    =       0xA47D1C;
DWORD dwADR_IMDRUNK                       =       0xA73E98;
DWORD dwADR_SPEED                         =       0x8F2F3C;
DWORD dwADR_NOWATER                       =       0x968028;
DWORD dwADR_NOSPAWN1                      =       0xA77C90;
DWORD dwADR_NOSPAWN2                      =       0xA77C94;
DWORD dwADR_NOSPAWN3                      =       0xA77C98;
DWORD dwADR_WATERCOLOR1                   =       0x968040;
DWORD dwADR_WATERCOLOR2                   =       0x96803C;
DWORD dwADR_WATERCOLOR3                   =       0x968038;
DWORD dwADR_CROSSHAIRS                    =       0x967FE4;
DWORD dwADR_VIEWANGLES                    =       0xA4399C;
DWORD dwADR_SCOPE                         =       0x967F80;
DWORD dwADR_SCOPESIZE                     =       0x967F88;
DWORD dwADR_FULLBRIGHT1                   =       0xA4A6D0;
DWORD dwADR_FULLBRIGHT2                   =       0xA4A6CC;
DWORD dwADR_FULLBRIGHT3                   =       0xA4A6C8;
DWORD dwADR_NOSPAWNCQC                    =       0x967F70;
DWORD dwADR_UNLIMITED_AMMO                =       0x90;
DWORD dwADR_VIRTUALJUMP                   =       0x8E2C94;
DWORD dwADR_WALKUNDERWATER                =       0xA4A760;
DWORD dwADR_STAM5_ASM                     =       0x41B9FB;
DWORD dwADR_STAM10_ASM                    =       0x41BA2B;
DWORD dwADR_PLANTANYWHERE_MEM             =       0xA44840;
DWORD dwADR_EXTRCLIP1_MEM                 =       0xA4484C;
DWORD dwADR_EXTRCLIP2_MEM                 =       0xA4484D;
DWORD dwADR_SNIPER2X_MEM                  =       0xA4484E;
DWORD dwADR_ASSAULT2X_MEM                 =       0xA44850;
DWORD dwADR_BANDAGE_MEM                   =       0xA44852;
DWORD dwADR_USER_NAME                     =       0xAF8DC4;
DWORD dwADR_PRONE_CQC_MEM                 =       0x967F70;
DWORD dwADR_PRONE_CQC                     =       0x4EF60E;
DWORD dwADR_WTW                           =       0x78DB67;
DWORD dwADR_STW                           =       0x5D5FA0;
DWORD dwADR_D3D_NAME                      =       0xAF8DC4;
DWORD dwADR_D3D_IP                        =       0xAF8AD4;
DWORD dwADR_D3D_PING                      =       0xAF8ABC;
DWORD dwADR_D3D_POINTS                    =       0xAF9F6C;
DWORD dwADR_D3D_HEALTH                    =       0xAF9F94;
DWORD dwADR_D3D_TEAM                      =       0xAFA0D0;
DWORD dwADR_D3D_BRANCH                    =       0xAF9FA0;
DWORD dwOFS_X                             =       0x102D4;
DWORD dwOFS_Y                             =       0x102DC;
DWORD dwOFS_Z                             =       0x102D8;
DWORD dwOFS_NORECOIL1                     =       0x0001C;
DWORD dwOFS_NORECOIL2                     =       0x00020;
DWORD dwOFS_NORECOIL3                     =       0x00024;
DWORD dwOFS_GRAVITY_X                     =       0x0C498;
DWORD dwOFS_GRAVITY_Z                     =       0x0C49C;
DWORD dwOFS_GRAVITY_Y                     =       0x0C4A0;
DWORD dwOFS_NFD                           =       0x103A8;
DWORD dwOFS_PREMIUM1                      =       0x0057C;
DWORD dwOFS_PREMIUM2                      =       0x00580;
DWORD dwOFS_LEVEL                         =       0x11A610;
DWORD dwOFS_DINAR                         =       0x11A620;
DWORD dwOFS_1SLOT                         =       0x1021A0;
DWORD dwOFS_2SLOT                         =       0x1021A1;
DWORD dwOFS_3SLOT                         =       0x1021A2;
DWORD dwOFS_4SLOT                         =       0x1021A3;
DWORD dwOFS_5SLOT                         =       0x1021A4;
DWORD dwOFS_6SLOT                         =       0x1021A5;
DWORD dwOFS_7SLOT                         =       0x1021A6;
DWORD dwOFS_8SLOT                         =       0x1021A7;
DWORD dwOFS_WEAPON1                       =       0x00;
DWORD dwOFS_WEAPON2                       =       0x0101D0;
DWORD dwOFS_WEAPON3                       =       0x0101D2;
DWORD dwOFS_PLAYERSLOT                    =       0x011BB6C;
DWORD dwOFS_MAXPLAYERS                    =       0x0FCD1C;
DWORD dwOFS_FORCEKICK                     =       0x0F99B8;
02/12/2011 16:19 •~•Pr0Sk1ll•~•#1787
Quote:
Originally Posted by Blue <3' View Post
Ein paar Seiten davor wurden sie geposted von Yazzn!
sagn wirs so genau die habe ich
die funktionieren nicht mehr -.-"
02/12/2011 16:20 *Luzifer*#1788
Quote:
Originally Posted by Produx6 View Post
sagn wirs so genau die habe ich
die funktionieren nicht mehr -.-"
Doch...::D
02/12/2011 16:23 Blue <3'#1789
Quote:
Originally Posted by Produx6 View Post
sagn wirs so genau die habe ich
die funktionieren nicht mehr -.-"
Bist du dir sicher.
Ich meine das die Addys noch funktionieren. Vielleicht sind deine Detours DT :rolleyes:
02/12/2011 16:24 •~•Pr0Sk1ll•~•#1790
dann müsst ihr euch mal meine speed source anguckn dann stimmt da was net
Code:
*removed selber gelöst xP
Quote:
Bist du dir sicher.
Ich meine das die Addys noch funktionieren. Vielleicht sind deine Detours DT
ich hab n funktionierenden bypass und beide funktionierenden detours daran liegts nicht
und wenn meine detours dt wären würd mein menu auf"ploppen" <= mag des Wort xD
02/12/2011 19:20 bammes#1791
hab mein problem gelöst^^
02/12/2011 20:22 Staminastick#1792
Addys by Technology!

02/12/2011 20:48 NikM#1793
lol stamina 0x28
und dinar 1,2 und 3 :D und jedesmal dieselbe addresse :D

hier:
//Pointer
#define Playerpointer 0x00BC3228
#define Serverpointer 0x00ABDE08
#define Basepointer 0x00AF8400
#define Healthpointer 0x00AF9F94

//Addys//
#define FastAmmo 0x00A47D14
#define FastRepair FastAmmo + 0x4
#define FastHealth FastRepair + 0x4
#define FastFlag FastHealth + 0x4
#define Speed_Player 0x00
#define Map_Bounds1 0x00A6F080
#define Map_Bounds2 Map_Bounds1 + 0x4
#define Map_Bounds3 Map_Bounds2 + 0x4
#define Spawnwait1 0x00A77C90
#define Spawnwait2 Spawnwait1 + 0x4
#define Spawnwait3 Spawnwait2 + 0x4
#define No_Water 0x00968028
#define WalkUnderWater 0x00A4A760
#define Fullbright1 0x00A4A6C8
#define Fullbright2 Fullbright1 + 0x4
#define Fullbright3 Fullbright2 + 0x4
#define Nearfog 0x00A4A768
#define Farfog Nearfog + 0x4
#define Glasswalls 0x00A4A668
#define UnlAmmo 0x00A7C298
#define Drunken 0x00A73E98
#define Scope 0x00967F80
#define Spread 0x00A44868
#define Angelview 0x00A4399C

//Offsets//
#define Slot1_Ofs 0x001021A0
#define Slot2_Ofs Slot1_Ofs + 0x1
#define Slot3_Ofs Slot2_Ofs + 0x1
#define Slot4_Ofs Slot3_Ofs + 0x1
#define Slot5_Ofs Slot4_Ofs + 0x1
#define Slot6_Ofs Slot5_Ofs + 0x1
#define Slot7_Ofs Slot6_Ofs + 0x1
#define Slot8_Ofs Slot7_Ofs + 0x1
#define Gravity_Ofs 0x0000C49C
#define X_Axis 0x000102D4
#define Y_Axis 0x000102DC
#define Z_Axis 0x000102D8
#define NoFallDamage_Ofs 0x000103A8
#define Recoil1_Ofs 0x0000001C
#define Recoil2_Ofs 0x00000020
#define Recoil3_Ofs 0x00000024
#define Premium1_Ofs 0x0000057C
#define Premium2_Ofs 0x00000580
#define Level_Ofs 0x0011A610
#define Dinar_Ofs 0x0011A620
#define Roommaster_Ofs 0x00
#define Supermaster_Ofs 0x00

Addys by Me :D
02/12/2011 22:25 bammes#1794
hey ich mach grad des d3d hooking tut von purple.d1amond und habe als erstes um zu testen obs geht den code kopiert und versucht zu testen.

problem is nur, dass warrock crasht direkt nachdem ich beim patcher auf spiel starten geklickt habe.

weis einer, warum es nicht geht?

PS die endscene adresse habe ich die richtige reingemacht.

code:
-->
->
>

PHP Code:
#pragma once
#pragma comment(lib, "d3d9.lib")
#pragma comment(lib, "d3dx9.lib")

#include <windows.h>
#include <d3d9.h>
#include <d3dx9.h>

typedef HRESULT (WINAPItEndScene)(LPDIRECT3DDEVICE9 pDevice);
tEndScene pEndScene NULL;


D3DCOLOR txtPink D3DCOLOR_ARGB(255,2550255);


void Funktionen();
void *DetourFunc(BYTE *src, const BYTE *dst, const int len);


void Rechteck (LPDIRECT3DDEVICE9 Device_tint Xint Yint Lint HD3DCOLOR color)
{
D3DRECT rect = {XYX+LY+H};
Device_t->Clear(1, &rectD3DCLEAR_TARGETcolor00); 
}


HRESULT WINAPI hkEndScene(LPDIRECT3DDEVICE9 pDevice)
{  

    
Rechteck (pDevice1010200200txtPink);


    return 
pEndScene(pDevice); 
}
 
void Funktionen()
{
        
HMODULE hModule NULL;
        while( !
hModule )
        {
                
hModule GetModuleHandleA"d3d9.dll" );
                
Sleep100 );                            
        }
      
        
pEndScene = (tEndScene )DetourFunc((PBYTE)  0x7542CE09 ,(PBYTE)hkEndScene5); 
}

int WINAPI DllMain(HINSTANCE hInst,DWORD reason,LPVOID reserved
{
        switch(
reason)
        {
        case 
DLL_PROCESS_ATTACH:

                
CreateThread(00, (LPTHREAD_START_ROUTINEFunktionen000); 
                
                break;
        }
        return 
true;
}

void *DetourFunc(BYTE *src, const BYTE *dst, const int len)
{                                                            
    
BYTE *jmp = (BYTE*)malloc(len+5);
    
DWORD dwback;
    
VirtualProtect(srclenPAGE_READWRITE, &dwback);
    
memcpy(jmpsrclen); jmp += len;
        
jmp[0] = 0xE9;
    *(
DWORD*)(jmp+1) = (DWORD)(src+len jmp) - 5;
    
src[0] = 0xE9;
    *(
DWORD*)(src+1) = (DWORD)(dst src) - 5;
    
VirtualProtect(srclendwback, &dwback);
    return (
jmp-len);

02/12/2011 22:42 *Luzifer*#1795
Quote:
Originally Posted by Staminastick View Post
Addys by Technology!


Alta...Wo haste die her?
Der regt sich so auf ,das du die Public machen mustest...
Finde das voll assozial von dir.:rtfm::rtfm::rtfm:
02/12/2011 22:57 CyberRazzer#1796
1.DAS SIND NICHT DIE ADDYS VON TECHNO ODER WAT !!!
2.DAS SIND DIE ADDYS AUS DEN DONOR BEREICH VON WARHAX ALSO REMOVE!!!
02/12/2011 23:10 Norbert8#1797
Quote:
Originally Posted by bammes View Post
hey ich mach grad des d3d hooking tut von purple.d1amond und habe als erstes um zu testen obs geht den code kopiert und versucht zu testen.

problem is nur, dass warrock crasht direkt nachdem ich beim patcher auf spiel starten geklickt habe.

weis einer, warum es nicht geht?

PS die endscene adresse habe ich die richtige reingemacht.

code:
-->
->
>

PHP Code:
#pragma once
#pragma comment(lib, "d3d9.lib")
#pragma comment(lib, "d3dx9.lib")

#include <windows.h>
#include <d3d9.h>
#include <d3dx9.h>

typedef HRESULT (WINAPItEndScene)(LPDIRECT3DDEVICE9 pDevice);
tEndScene pEndScene NULL;


D3DCOLOR txtPink D3DCOLOR_ARGB(255,2550255);


void Funktionen();
void *DetourFunc(BYTE *src, const BYTE *dst, const int len);


void Rechteck (LPDIRECT3DDEVICE9 Device_tint Xint Yint Lint HD3DCOLOR color)
{
D3DRECT rect = {XYX+LY+H};
Device_t->Clear(1, &rectD3DCLEAR_TARGETcolor00); 
}


HRESULT WINAPI hkEndScene(LPDIRECT3DDEVICE9 pDevice)
{  

    
Rechteck (pDevice1010200200txtPink);


    return 
pEndScene(pDevice); 
}
 
void Funktionen()
{
        
HMODULE hModule NULL;
        while( !
hModule )
        {
                
hModule GetModuleHandleA"d3d9.dll" );
                
Sleep100 );                            
        }
      
        
pEndScene = (tEndScene )DetourFunc((PBYTE)  0x7542CE09 ,(PBYTE)hkEndScene5); 
}

int WINAPI DllMain(HINSTANCE hInst,DWORD reason,LPVOID reserved
{
        switch(
reason)
        {
        case 
DLL_PROCESS_ATTACH:

                
CreateThread(00, (LPTHREAD_START_ROUTINEFunktionen000); 
                
                break;
        }
        return 
true;
}

void *DetourFunc(BYTE *src, const BYTE *dst, const int len)
{                                                            
    
BYTE *jmp = (BYTE*)malloc(len+5);
    
DWORD dwback;
    
VirtualProtect(srclenPAGE_READWRITE, &dwback);
    
memcpy(jmpsrclen); jmp += len;
        
jmp[0] = 0xE9;
    *(
DWORD*)(jmp+1) = (DWORD)(src+len jmp) - 5;
    
src[0] = 0xE9;
    *(
DWORD*)(src+1) = (DWORD)(dst src) - 5;
    
VirtualProtect(srclendwback, &dwback);
    return (
jmp-len);

Du hast keine Ahung!!!
Du kopierst einen text tust den bei dir in den Compiler einfügen. Und weißt nicht was diese befehle überhaupt bedeudten!!!( c&p... )

Kauf dir ein buch lern c++ oder lass dir von googel helfen.
aber schreib nicht immer deine probleme rein...

oder kauf dir eine base!!!
der fehler ist doch offensichtlich... :facepalm:

danke
MfG.
02/12/2011 23:22 bammes#1798
was bringt es, wenn ich es lerne und es am ende nciht geht?

will am anfang nur sicher sein, DASS es geht.
02/13/2011 08:50 .Eragon#1799
Quote:
Originally Posted by Norbert8 View Post
Du hast keine Ahung!!!
Du kopierst einen text tust den bei dir in den Compiler einfügen. Und weißt nicht was diese befehle überhaupt bedeudten!!!( c&p... )

Kauf dir ein buch lern c++ oder lass dir von googel helfen.
aber schreib nicht immer deine probleme rein...

oder kauf dir eine base!!!
der fehler ist doch offensichtlich... :facepalm:

danke
MfG.
Naja....du könntest ihm ja auch gleich den Fehler sagen....
Da dieser Thread ja aufgemacht wurde um anderen Leuten zu helfen!
02/13/2011 09:31 •~•Pr0Sk1ll•~•#1800
omg alle nub das sind die addys
von techno er hat sie selbst public gestellt
auf wr-vip.com NUBS!Staminastick lass
dich net unterbringen du hast recht =)

kann jmd die superjump menü source geben
meine ist richtig! aber mein teil spinnt und es sieht fehler
die nicht da sind