Register for your free account! | Forgot your password?

Go Back   elitepvpers > Shooter > WarRock
You last visited: Today at 01:40

  • 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 02/21/2011, 23:54   #2071
 
elite*gold: 2
Join Date: Jul 2009
Posts: 1,447
Received Thanks: 923
Quote:
Originally Posted by CyberRazzer View Post
Ich Poste die Adressen die ich will Kiddy


Nur weil du C&P Kinq heiss auf meine Vip addys bist....
Du Benutzt immerhin Yazzn & Meine Base also Schh :<

Und, was soll das *Privat*, leute, der hat die Addys net, will sie mit *Privat* vertuschen, bzw angeben, das er sie hat, und ihr meint er is super kuhl und hat alles.
.Crasy is offline  
Old 02/22/2011, 13:51   #2072

 
xxfabbelxx's Avatar
 
elite*gold: 900
Join Date: Apr 2009
Posts: 14,981
Received Thanks: 11,403
Senseless Spam & Insult reported

@Crasy (Y)
xxfabbelxx is offline  
Old 02/22/2011, 14:48   #2073
 
elite*gold: 1
Join Date: Jun 2010
Posts: 2,843
Received Thanks: 3,724
Quote:
Du Benutzt immerhin Yazzn & Meine Base also Schh :<

Und, was soll das *Privat*, leute, der hat die Addys net, will sie mit *Privat* vertuschen, bzw angeben, das er sie hat, und ihr meint er is super kuhl und hat alles.
Jo ich use eure Base und habe die erlaubnis von yazzn.
ich gebe es auch zu.
und warum angeben?
haha?
ich habe die addys
allserver und fastreload gehen nicht sonst alle tested kid.


Scheiss auf Bann.
Pass maul auf möchte gern
ob ich jetzt

ADR_Playerpointer 0x00..
poste oder
ADR_playerpointer 0x00
adr_wtw *Privat*

Ist kein regel bruch

nächste mal poste ich einfach alle adddys und die privaten lösche ich komplett möchtegern.
CyberRazzer is offline  
Old 02/22/2011, 16:15   #2074


 
elite*gold: 1091
Join Date: Jun 2007
Posts: 19,836
Received Thanks: 7,180
CyberRazer, bitte bleib beim Thema und fixiere dich nicht auf irgendwelche Flames. Hier soll sich konstruktiv über Addys/Sourcecodes oder dergleichen unterhalten werden.

Flamen gehört übrigens auch dazu...
Mostey is offline  
Thanks
2 Users
Old 02/22/2011, 16:31   #2075
 
NikM's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 972
Received Thanks: 1,583
Exclamation

So ich werde jetzt endgültig aufhören Hacks für WarRock zu coden !
Ich hatte das eigentlich schon lange vor aber habe es aufgrund bestimmter Faktoren doch nicht getan

Als zeichen meines guten Willens und kompletter Verachtung gegenüber WarRock werde ich nun eine Menge Sachen public machen

So let's start :

Ich beginne mit einem nicht sonderlich tollen Code :

main.cpp
Code:
#include <windows.y>
#include "targetver.h"
#include "Addys.h"



//An aus: Bool
bool OnOff = false;


//Funktion
void TheFunk ()
{
    while(OnOff == true)
    {
	DWORD niksPlayer = *(DWORD*)Playerpointer;
	if (niksPlayer != 0)
	{
		if(GetAsyncKeyState(VK_CONTROL) &1)
		{
			*(float)(niksPlayer+OFS_Z) = 110;
		}

		*(float)(niksPlayer+OFS_NFD) = 100000;

	}
        SetCursorPos(450,90);
        Sleep(100);
        mouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,0);
        Sleep(100);
        mouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0);
        Sleep(100);
        keybd_event(0x11, 0, 0, 0);
        keybd_event(0x0D, 0, 0, 0);
		
	if (GetsyncKeyState(VK_F5) &1)
	{
		OnOff = OnOff == false;
	}
     }
	if (GetsyncKeyState(VK_F5) &1)
	{
		OnOff = OnOff == false;
	}
}



//Hauptfunktion
void HackThread()
{
    for( ; ; )
    {
        TheFunk ();
        Sleep (30);
    }
}


//DLL Main
BOOL WINAPI DllMain(HINSTANCE mod, DWORD DWORD_GRUND, LPVOID res)
{
    Switsch(DWORD_GRUND)
    {
    case 1:

        MsgBoxA(NULL,"Coded by NikM\n\n\nBot Starten/Beenden: F5\n\n","Credits:",MB_OK);
        ShellExecuteA(NULL,"Open","http://chf-board.co.de/",NULL,NULL,1);
        CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread , 0, 0, 0);
    break;
    case 2:
    break;
    }
    return TRUE;
}
Addys.h
Code:
#define Playerpointer 0x00
#define OFS_Z 0x00
#define OFS_NFD 0x00
targetever.h
Code:
#pragma once
#ifndef WINVER                         
#define WINVER 0x0600          
#endif

#ifndef _WIN32_WINNT          
#define _WIN32_WINNT 0x0600   
#endif

#ifndef _WIN32_WINDOWS        
#define _WIN32_WINDOWS 0x0410 
#endif

#ifndef _WIN32_IE                
#define _WIN32_IE 0x0700      
#endif

Dann habe ich noch einen WTW Code für alle die, die kein ASM WTW hinbekommen
Code:
void WTW ()
{
    if (GetAsyncKeyState(VK_NUMPAD6) &1)
    {
        *(float*)(dwPlayerPtr+OFS_X) = (*(float*)(dwPlayerPtr+OFS_X) +10);
    }

    if (GetAsyncKeyState(VK_NUMPAD4) &1)
    {
        *(float*)(dwPlayerPtr+OFS_X) = (*(float*)(dwPlayerPtr+OFS_X) -10);
    }


    if (GetAsyncKeyState(VK_NUMPAD8) &1)
    {
        *(float*)(dwPlayerPtr+OFS_Y) = (*(float*)(dwPlayerPtr+OFS_Y) +10);
    }

    if (GetAsyncKeyState(VK_NUMPAD5) &1)
    {
        *(float*)(dwPlayerPtr+OFS_Y) = (*(float*)(dwPlayerPtr+OFS_Y) -10);
    }
}
Als nächstes Stelle ich euch meinen S.V.P. Code zur Verfügung:

Code:
void SniperVantagePoint ()
{
    if (SVP == 1)
    {
        for (int i=0;i<32;i++)
        {
            CPlayer *pPlayerA = g_pBase->player[i];
            pPlayerA->pos1=(i*50);
            pPlayerA->pos2=0;
            pPlayerA->pos3=0;
        }
    }
}

Und schweren Herzens hier mein Menü:

Code:
void D3D9Menu::Boarders(LPDIRECT3DDEVICE9 pDevice,ID3DXFont* pFont)
{
    DrawBox(pDevice,0,10,175,Mmax*Mysize+80,GREY);
    DrawRectangle(pDevice,0,10,175,Mmax*Mysize+80,1,BLACK);
    DrawBox(pDevice,10,20,155,20,BLACK);
    DrawRectangle(pDevice,10,20,155,20,1,BLACK);
    DrawBox(pDevice,10,55,155,Mmax*Mysize+20,BLACK);
    DrawRectangle(pDevice,10,55,155,Mmax*Mysize+20 ,1,BLACK);
}
Und hier Ein NoMenu Example:

main.cpp

Code:
#include <windows.h>
#include "CHack.h"
#include "Targetever.h"

CWarSuxHax Hax;

void WarSuxHacks ()
{
        for ( ; ; )
        {
                Hax.PlayerHax (1);
                Hax.ServerHax (1);
                Sleep (200);
        }
}


BOOL WINAPI DllMain (HINSTANCE mod, DWORD DWORD_GRUND, LPVOID res)
{
        switch (DWORD_GRUND)
        {
        case 1:
                {
                        MessageBoxA (NULL, "NikM NoMenu Example", "Creditz", MB_OK);
                        ShellExecuteA (NULL, "Open", "http://warsux.net/", NULL, NULL, 1);
                        CreateThread (0, 0, (LPTHREAD_START_ROUTINE) WarSuxHacks, 0, 0, 0);
                }break;

        case 2:
                {
                }break;
        }

        return TRUE;
}

CHack.h

Code:
class CWarSuxHax
{
private:
        //Player Variablen
        int SuperJump;
        //Server Variablen
        int Slot;

public:
        void PlayerHax (int SuperJump);
        void ServerHax (int Slot);

};


CHack.cpp
Code:
#include <windows.h>
#include "CHack.h"
#include "Addys.h"

void CWarSuxHax::PlayerHax (int SuperJump)
{
        DWORD niksPlayer = *(DWORD*)Playerpointer;
        if (niksPlayer != 0)
        {
                if (SuperJump == 1)
                {
                        if (GetAsyncKeyState (VK_CONTROL) &1)
                        {
                                *(float*) (niksPlayer + Z_Axis) = 500.0f;
                        }
                }
        }
}

void CWarSuxHax::ServerHax (int Slot)
{
        DWORD niksServer = *(DWORD*)Serverpointer;
        if (niksServer != 0)
        {
                if (Slot == 1)
                {
                        *(int*) (niksServer + Slot5) = 1;
                }
        }
}


Addys.h

Code:
//Pointers//
#define Playerpointer 0x00
#define Serverpointer 0x00

//Adresses//

//Offsets//
#define Slot5         0x00
#define Z_Axis        0x00


Targetever.h

Code:
#pragma once
#ifndef WINVER                  
#define WINVER 0x0600    
#endif

#ifndef _WIN32_WINNT        
#define _WIN32_WINNT 0x0600 
#endif

#ifndef _WIN32_WINDOWS      
#define _WIN32_WINDOWS 0x0410 
#endif

Zuletzt für alle die, die verzweifelt Pattern suchen:

Code:
//Pointer//
DWORD dwPlayerPointer = FindPattern((PBYTE)"\x8B\x0D\x00\x00\x00\x00\x66\x83\xB9};", "xx????xxx", 2, true);
DWORD dwServerPointer = FindPattern((PBYTE)"\xA1\x00\x00\x00\x00\x66\x8B\x80};", "x????xxx", 1, true);
DWORD dwBasePointer = FindPattern((PBYTE)"\x8D\xBB\x00\x00\x00\x00\x57};", "xx????x", 2, true);
DWORD dwHealthPointer = FindPattern((PBYTE)"\x8B\xB0\x00\x00\x00\x00\xE8};", "xx????x", 2, true);
DWORD dwWeaponPointer = FindPattern((PBYTE)"\x66\xA1\x00\x00\x00\x00\x56};", "xx????x", 2, true);
DWORD dwUserPointer = FindPattern((PBYTE)"\x8B\x0D\x00\x00\x00\x00\x3B\xCB};", "xx????xx", 2, true);

//Addys//
DWORD dwFastAmmo = FindPattern((PBYTE) "\xA1\x00\x00\x00\x00\x80\x7D;}", "x????xx", 1, true);
DWORD dwFastRepair = dwFastAmmo + 0x4;
DWORD dwFastHealth = dwFastAmmo + 0x8;
DWORD dwFastFlag = dwFastAmmo + 0xC;
DWORD dwBounds1 = FindPattern((PBYTE)"\xD9\x1D\x00\x00\x00\x00\x33\xC6;}", "xx????xx", 2, true);
DWORD dwBounds2 = dwBounds1 + 0x4;
DWORD dwBounds3 = dwBounds1 + 0x8;
DWORD dwSpawn1 = FindPattern((PBYTE)"\x2B\x05\x00\x00\x00\x00\x3D;}", "xx????x", 2, true);
DWORD dwSpawn2 = dwSpawn1 + 0x4;
DWORD dwSpawn3 = dwSpawn1 + 0x8;
DWORD dwNoWater = FindPattern((PBYTE)"\x8B\x0D\x00\x00\x00\x00\xB8;}", "xx????x", 2, true);
DWORD dwWuW = FindPattern((PBYTE)"\x8B\x0D\x00\x00\x00\x00\x33\xC8;}", "xx????xx", 2, true);
DWORD dwSpread = FindPattern((PBYTE)"\xA1\x00\x00\x00\x00\x89\x47;}", "x????xx", 1, true);
DWORD dwSpeed = FindPattern((PBYTE)"\xD8\x0D\x00\x00\x00\x00\x5E\xC2;}", "xx????xx", 2, true);
DWORD dwWaterColor1 = FindPattern ((PBYTE)"\x68\x00\x00\x00\x00\x83\xEC;}", "x????xx" , 1, true);
DWORD dwWaterColor2 = dwWaterColor1 + 0x4;
DWORD dwWaterColor3 = dwWaterColor1 + 0x8;
DWORD dwFullBright1 = FindPattern ((PBYTE)"\xD8\x05\x00\x00\x00\x00\x8D\x45;}", "xx????xx", 2, true);
DWORD dwFullBright2 = dwFullBright1 + 0x4;
DWORD dwFullBright3 = dwFullBright1 + 0x8;
DWORD dwNearFog = FindPattern ((PBYTE)"\xA1\x00\x00\x00\x00\x33\xC1;}", "x????xx", 1, true);
DWORD dwFarFog = dwNearFog + 0x4;
DWORD dwGlassWalls = dwNearFog - 0x100;
DWORD dwCQC_Prone = FindPattern((PBYTE)"\x8B\x0D\x00\x00\x00\x00\x83\xF9};", "xx????xx", 2, true);
DWORD dwPing = FindPattern ((PBYTE)"\x8B\xB0\x00\x00\x00\x00\x56;}", "xx????x", 2, true);
DWORD dwName = FindPattern ((PBYTE)"\x8D\x80\x00\x00\x00\x00\x50;}", "xx????x", 2, true);
DWORD dwBranche = FindPattern ((PBYTE)"\x8B\x89\x00\x00\x00\x00\x0F\xBF\x96;}", "xx????xxx", 2, true);
DWORD dwHealth = FindPattern ((PBYTE)"\x8B\xB0\x00\x00\x00\x00\xE8;}", "xx????x", 2, true);
DWORD dwCQCSpawn = FindPattern ((PBYTE)"\xA3\x00\x00\x00\x00\x89\x86", "x????xx", 1, true);

//Offsets//
DWORD dwSlot1 = FindPattern((PBYTE)"\x8A\x84\x08\x00\x00\x00\x00\x8B\x0F;}", "xxx????xx", 3, true);
DWORD dwSlot2 = dwSlot1 +0x1;
DWORD dwSlot3 = dwSlot1 +0x2;
DWORD dwSlot4 = dwSlot1 +0x3;
DWORD dwSlot5 = dwSlot1 +0x4;
DWORD dwSlot6 = dwSlot1 +0x5;
DWORD dwSlot7 = dwSlot1 +0x6;
DWORD dwSlot8 = dwSlot1 +0x7;
DWORD dwPositionX = FindPattern((PBYTE)"\x8B\x8E\x00\x00\x00\x00\xB8;}", "xx????x", 2, true);
DWORD dwPositionY = dwPositionX + 0x8;
DWORD dwPositionZ = dwPositionX + 0x4;
DWORD dwGravZ = FindPattern ((PBYTE)"\xD9\x9E\x00\x00\x00\x00\x8B\xCE;}", "xx????xx", 2, true);
DWORD dwGravY = dwGravZ + 0x4;
DWORD dwGravX = dwGravZ - 0x4;
DWORD dwLevel = FindPattern ((PBYTE)"\x8B\x89\x00\x00\x00\x00\x89\x88;}", "xx????xx", 2, true);
DWORD dwDinar = dwLevel + 0x10;
DWORD dwRoomMaster = FindPattern ((PBYTE)"\x8B\x88\x00\x00\x00\x00\x3B\x88;}", "xx????xx", 2, true);
DWORD dwPremium1 = FindPattern ((PBYTE)"\x8B\x89\x00\x00\x00\x00\x3B\x48;}", "xx????xx", 2, true);
DWORD dwPremium2 = dwPremium1 + 0x4;
DWORD dwSniperAmmo = FindPattern ((PBYTE)"\x88\x1D\x00\x00\x00\x00\x38\x1D", "xx????xx", 2, true);
DWORD dwExtraAmmo1 = dwSniperAmmo - 0x2;
DWORD dwExtraAmmo2 = dwSniperAmmo - 0x1;
DWORD dwAssaultAmmo = dwSniperAmmo + 0x2;
DWORD dwBandage = dwSniperAmmo + 0x4;

//ASM//
DWORD dwWtW = FindPattern ((PBYTE)"\xD8\x4A\x00\xD9\x44\x24\x00\xD8\x81\x00\x00\x00\x00;}", "xx?xxx?xx????", 0, 0);
DWORD dwStamina5 = FindPattern ((PBYTE)"\x74\x00\x33\xC0\x40\xC3;}", "x?xxxx", 0, 0);
Viel Spaß beim Kopieren und Einfügen
Enjoy

No Support !!

Cya Guys
MfG NikM

PS: Ich werde die meisten Leute aus meiner Skypekontaktliste löschen !!
NikM is offline  
Thanks
7 Users
Old 02/22/2011, 16:35   #2076
 
elite*gold: 1
Join Date: Jun 2010
Posts: 2,843
Received Thanks: 3,724
remove stamina PLS
CyberRazzer is offline  
Old 02/22/2011, 16:37   #2077
 
NikM's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 972
Received Thanks: 1,583
nein warum sollte ich
NikM is offline  
Thanks
1 User
Old 02/22/2011, 16:49   #2078
 
ShaD :)'s Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 378
Received Thanks: 285
Lass es drin Nik, da dürfen sich so C&P Kinder drüber freuen, so welche wie Cyber.
ShaD :) is offline  
Thanks
2 Users
Old 02/22/2011, 16:56   #2079

 
xxfabbelxx's Avatar
 
elite*gold: 900
Join Date: Apr 2009
Posts: 14,981
Received Thanks: 11,403
Quote:
Originally Posted by CyberRazzer View Post
remove stamina PLS
Ist das nicht seine Entscheidung?
xxfabbelxx is offline  
Old 02/22/2011, 17:00   #2080
 
elite*gold: 1
Join Date: Jun 2010
Posts: 2,843
Received Thanks: 3,724
Okay so besonders ist es auch nicht k...
habe mehr als nikm also psssst.
aber das weiss nim, bitte bleib
CyberRazzer is offline  
Old 02/22/2011, 17:04   #2081
 
NikM's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 972
Received Thanks: 1,583
du hast die, die ich hier geposted hab von mir
NikM is offline  
Old 02/22/2011, 17:13   #2082
 
elite*gold: 1
Join Date: Jun 2010
Posts: 2,843
Received Thanks: 3,724
Jooo?
Laber kein scheiss?
Wasn jetzt kapput?
Ich benutzte vlt 5 von dir
CyberRazzer is offline  
Old 02/22/2011, 17:18   #2083
 
ShaD :)'s Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 378
Received Thanks: 285
5 von 6 :'D
ShaD :) is offline  
Old 02/22/2011, 17:19   #2084
 
•~•Pr0Sk1ll•~•'s Avatar
 
elite*gold: 1
Join Date: Nov 2008
Posts: 576
Received Thanks: 166
Cyber 1. bin ich net C&P ich mach grad eigenes Design + sources für xKarraKas base
2. lol was will ich mi DEINEN *hust* Addys ich kenn jmd der gibt mir ALLE
NikM i <3 u du bist der beste
wäre seeeehr nett von dir wende mich skype addest(itzy0urandy)
weil hier keiner bei meinem Problem hilft und du übelst gut bist

THX<3 NikM wenn man was tun kann sags mir

Falls mir ijmd helfen will schreib ichs nochma
also xKarraKas base öffnets menu net ich glaube die detour is falsch/alt
wenn ich meine wprking einbaue kommen fehler mit #if und #endif
wär net wenn jmd hilft THX

MFG
Andy
•~•Pr0Sk1ll•~• is offline  
Old 02/22/2011, 17:31   #2085
 
elite*gold: 1
Join Date: Jun 2010
Posts: 2,843
Received Thanks: 3,724
Quote:
5 von 6 :'D
Nein
CyberRazzer 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 01:40.


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.