|
You last visited: Today at 18:39
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% |
12/23/2010, 13:50
|
#646
|
elite*gold: 0
Join Date: Mar 2010
Posts: 483
Received Thanks: 96
|
Habe ne Detour also eine die geht
aber wie beu cih die in einen NoMenuhack ein??
habs probirt aber nciht geschaft pls help
|
|
|
12/23/2010, 14:02
|
#647
|
elite*gold: 0
Join Date: May 2010
Posts: 423
Received Thanks: 285
|
was ist detour und rehhook???
|
|
|
12/23/2010, 14:06
|
#648
|
elite*gold: 1
Join Date: Jun 2010
Posts: 2,843
Received Thanks: 3,724
|
D3D9 Base
Rehook
Detours
Addys
___
Das Braucht ihr für D3D HAck
|
|
|
12/23/2010, 14:42
|
#649
|
elite*gold: 0
Join Date: Mar 2010
Posts: 483
Received Thanks: 96
|
Quote:
Originally Posted by CyberRazzer
D3D9 Base
Rehook
Detours
Addys
___
Das Braucht ihr für D3D HAck
|
hab cih alles
hab auch D3D 2 Sourcen nur beide funzen cniht so ganz
wie baut man den eine Detour und den Rehook in einen NoMenuhack ein
dann akn der Hackja garnichtmehr abstürzen
|
|
|
12/23/2010, 18:34
|
#650
|
elite*gold: 0
Join Date: Apr 2010
Posts: 3,935
Received Thanks: 6,301
|
Zombie opk ftw (Credits to google.de)
Quote:
void RebuildMenu(void)
{
Electrified->AddFolder("[Broken Sunset]", Moptfolder, &Folders.folder1, 2);
if(Folders.folder1)
{
Electrified->AddItem(" TeleAmmo" , Moptonoff , &BS_Tammo ,2 );
Electrified->AddItem(" TeleHealth" , Moptonoff , &BS_Thealth ,2 );
}
Electrified->AddFolder("[Blind Bullet]", Moptfolder, &Folders.folder2, 2);
if (Folders.folder2)
{
Electrified->AddItem(" TeleAmmo" , Moptonoff , &BB_Tammo ,2 );
Electrified->AddItem(" TeleHealth" , Moptonoff , &BB_Thealth ,2 );
}
}
//ZOMBIE MAIN FUNCTION==//
void zombiehacks()
{
if(BS_Tammo == 1)
{
BS_Thealth=0;
BB_Tammo=0;
BB_Thealth=0;
for(int i = 0; i < 32; i++)
{
CPlayer* pPlayerA = g_pBase->player[i];
g_pBase->local->posx = 3082.593994;//You
g_pBase->local->posy = 619.957275;//You
g_pBase->local->posz = 3054.222900;//You
pPlayerA->posx=3118.52563;//Zombie
pPlayerA->posy=619.921448;//Zombie
pPlayerA->posz=2871.032227;//Zombie
}
}
if(BS_Thealth == 1)
{
BS_Tammo=0;
BB_Tammo=0;
BB_Thealth=0;
for(int i = 0; i < 32; i++)
{
CPlayer* pPlayerA = g_pBase->player[i];
g_pBase->local->posx = 3509.982422;//You
g_pBase->local->posy = 485.238129;//You
g_pBase->local->posz = 3335.100342;//You
pPlayerA->posx=3307.300537;//Zombie
pPlayerA->posy=485.238129;//Zombie
pPlayerA->posz=3359.312988;//Zombie
}
}
if(BB_Tammo == 1)
{
BS_Thealth=0;
BS_Tammo=0;
BB_Thealth=0;
for(int i = 0; i < 32; i++)
{
CPlayer* pPlayerA = g_pBase->player[i];
g_pBase->local->posx = 3976.559082;//You
g_pBase->local->posy = 113.563644;//You
g_pBase->local->posz = 4167.127441;//You
pPlayerA->posx=4157.811035;//Zombie
pPlayerA->posy=104.577545;//Zombie
pPlayerA->posz=4390.444824;//Zombie
}
}
if(BB_Thealth == 1)
{
BS_Tammo=0;
BS_Thealth=0;
BB_Tammo=0;
for(int i = 0; i < 32; i++)
{
CPlayer* pPlayerA = g_pBase->player[i];
g_pBase->local->posx = 3768.513916;//You
g_pBase->local->posy = 104.562576;//You
g_pBase->local->posz = 3549.922119;//You
pPlayerA->posx=4090.905518;//Zombie
pPlayerA->posy=104.562576;//Zombie
pPlayerA->posz=3704.818848;//Zombie
}
}
}
|
|
|
|
12/23/2010, 18:45
|
#651
|
elite*gold: 900
Join Date: Apr 2009
Posts: 14,981
Received Thanks: 11,403
|
Quote:
Originally Posted by >Fearskills<
Zombie opk ftw (Credits to google.de)
|
Da braucht man aber Structs dafür
|
|
|
12/24/2010, 12:26
|
#652
|
elite*gold: 0
Join Date: May 2010
Posts: 423
Received Thanks: 285
|
eine frage könnt ihr mir pls source schreiben die für nobounds mit 3 addy´s
es gibt ein thx!!
|
|
|
12/24/2010, 12:35
|
#653
|
elite*gold: 0
Join Date: Nov 2010
Posts: 326
Received Thanks: 35
|
Hmm ich habe eine frage ich will ein D3D9 Hack erstellen und wie sind die neusten Addys??
Der jenige bekommt ein Thx
|
|
|
12/24/2010, 12:37
|
#654
|
elite*gold: 0
Join Date: Apr 2010
Posts: 101
Received Thanks: 13
|
Code:
Code:
#include "stdafx.h"
#include "D3DHack.h"
#include <windows.h>
#include <cstdio>
#include <d3d9.h>
#include <d3dx9.h>
typedef HRESULT(__stdcall* EndScene_t)(LPDIRECT3DDEVICE9);
EndScene_t pEndScene;
const D3DCOLOR txtPink = D3DCOLOR_ARGB(255, 255, 0, 255); // Alpha, Rot, Grün, Blau
HRESULT __stdcall EndScene(LPDIRECT3DDEVICE9 pDevice);
void DrawRect (LPDIRECT3DDEVICE9 Device_t, int X, int Y, int L, int H, D3DCOLOR color);
void *DetourFunc(BYTE *src, const BYTE *dst, const int len);
void InitHook(){
HMODULE hModule = NULL;
while( !hModule ){
hModule = GetModuleHandleA( "d3d9.dll" ); // Handle zur DLL holen
Sleep( 100 ); // 100ms warten
}
}
void *DetourFunc(BYTE *src, const BYTE *dst, const int len){
BYTE *jmp = (BYTE*)malloc(len+5);
DWORD dwback;
VirtualProtect(src, len, PAGE_READWRITE, &dwback);
memcpy(jmp, src, len); jmp += len;
jmp[0] = 0xE9;
*(DWORD*)(jmp+1) = (DWORD)(src+len - jmp) - 5;
src[0] = 0xE9;
*(DWORD*)(src+1) = (DWORD)(dst - src) - 5;
VirtualProtect(src, len, dwback, &dwback);
return (jmp-len);
}
HRESULT __stdcall EndScene(LPDIRECT3DDEVICE9 pDevice)
{
pEndScene = ( EndScene_t )DetourFunc((PBYTE) 0x4FDD71B0,(PBYTE)EndScene, 5);
DrawRect ( pDevice, 10, 10, 200, 200, txtPink);
return pEndScene(pDevice);
}
void DrawRect (LPDIRECT3DDEVICE9 Device_t, int X, int Y, int L, int H, D3DCOLOR color)
{
D3DRECT rect = {X, Y, X+L, Y+H};
Device_t->Clear(1, &rect, D3DCLEAR_TARGET, color, 0, 0); // bei Google gibt’s näheres
}
int WINAPI DllMain(HINSTANCE hInst,DWORD reason,LPVOID reserved){
switch(reason){
case DLL_PROCESS_ATTACH:
CreateThread(0, 0, (LPTHREAD_START_ROUTINE) InitHook, 0, 0, 0);
break;
}
return true;
}
Fehler:
Code:
1>c:\Users\JanTimon\Desktop\D3DHack\D3DHack\D3DHack.cpp : warning C4747: Aufruf von "_DllMain@12" (verwaltet): Verwalteter Code darf nicht unter der Loadersperre, einschließlich des DLL-Einstiegspunkts und Aufrufen, die vom DLL-Einstiegspunkt eingehen, ausgeführt werden.
Was mache ich falsch?
|
|
|
12/24/2010, 13:04
|
#655
|
elite*gold: 0
Join Date: Mar 2010
Posts: 483
Received Thanks: 96
|
dsgreha nur so es wird warschienlich so wie so cnihts du brauchst aktuelle detour
etc und um das zu bekommen brauch man zeit
|
|
|
12/24/2010, 13:31
|
#656
|
elite*gold: 0
Join Date: Apr 2010
Posts: 3,935
Received Thanks: 6,301
|
Triggerbot!
Quote:
bool triggerstop;
void TriggerBot()
{
DWORD ActivePL = *(DWORD*)ADR_TRIGGER;
if( ActivePL == 0x2){
mouse_event( MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0 );
triggerstop=true;
}
else
{
if (triggerstop){
mouse_event( MOUSEEVENTF_LEFTUP, 0, 0, 0, 0 );
triggerstop=false;
}
if (GetAsyncKeyState(VK_LBUTTON)&0x8000)
{
if (triggerstop){
mouse_event( MOUSEEVENTF_LEFTUP, 0, 0, 0, 0 );
triggerstop=false;
}
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0 );
}else{
if (triggerstop){
mouse_event( MOUSEEVENTF_LEFTUP, 0, 0, 0, 0 );
triggerstop=false;
}
mouse_event( MOUSEEVENTF_LEFTUP, 0, 0, 0, 0 );
}
}
}
useage: if(CH_TRIGGER){if(DwPlayerPtr != 0){TriggerBot();}}
|
+ Detour by KIng7
PHP Code:
void *DetourFunc(BYTE *src, const BYTE *dst, const int len)
{
BYTE *jmp = (BYTE*)malloc(len+5);
DWORD dwback;
VirtualProtect(src, len, PAGE_READWRITE, &dwback);
memcpy(jmp, src, len); jmp += len;
jmp[0] = 0xE9;
*(DWORD*)(jmp+1) = (DWORD)(src+len - jmp) - 5;
src[0] = 0xE9;
*(DWORD*)(src+1) = (DWORD)(dst - src) - 5;
VirtualProtect(src, len, dwback, &dwback);
return (jmp-len);
}
|
|
|
12/24/2010, 13:40
|
#657
|
elite*gold: 1
Join Date: Jun 2010
Posts: 2,843
Received Thanks: 3,724
|
Quote:
void *DetourFunc(BYTE *src, const BYTE *dst, const int len)
{
BYTE *jmp = (BYTE*)malloc(len+5);
DWORD dwback;
VirtualProtect(src, len, PAGE_READWRITE, &dwback);
memcpy(jmp, src, len); jmp += len;
jmp[0] = 0xE9;
*(DWORD*)(jmp+1) = (DWORD)(src+len - jmp) - 5;
src[0] = 0xE9;
*(DWORD*)(src+1) = (DWORD)(dst - src) - 5;
VirtualProtect(src, len, dwback, &dwback);
return (jmp-len);
}
|
Detour by Microsoft ;o
|
|
|
12/24/2010, 13:51
|
#658
|
elite*gold: 0
Join Date: Nov 2010
Posts: 326
Received Thanks: 35
|
hat von euch niemand die neusten Addys ?
|
|
|
12/24/2010, 14:00
|
#659
|
elite*gold: 0
Join Date: Apr 2010
Posts: 101
Received Thanks: 13
|
Quote:
Originally Posted by joki4444
dsgreha nur so es wird warschienlich so wie so cnihts du brauchst aktuelle detour
etc und um das zu bekommen brauch man zeit
|
Immoment geht es mri nicht um eine Detour, sondern um den Fehler... Kann mir da denn keiner helfen
|
|
|
12/24/2010, 14:05
|
#660
|
elite*gold: 0
Join Date: May 2010
Posts: 423
Received Thanks: 285
|
wo hast du fehler stell dein source hier rein oder PN me
|
|
|
 |
|
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 18:41.
|
|