|
You last visited: Today at 10:53
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/24/2010, 14:12
|
#661
|
elite*gold: 0
Join Date: Apr 2010
Posts: 3,935
Received Thanks: 6,301
|
Quote:
Originally Posted by CyberRazzer
Detour by Microsoft ;o
|
100% von King7
|
|
|
12/24/2010, 14:14
|
#662
|
elite*gold: 0
Join Date: Nov 2010
Posts: 326
Received Thanks: 35
|
hat jemand Addys niemand antwortet -.-
|
|
|
12/24/2010, 14:25
|
#663
|
elite*gold: 0
Join Date: Apr 2010
Posts: 101
Received Thanks: 13
|
Quote:
Originally Posted by kilgut12
wo hast du fehler stell dein source hier rein oder PN me
|
Den Fehler hab ich eben schon gepostet
Quote:
Originally Posted by dsgreha
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 hkEndScene(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 hkEndScene(LPDIRECT3DDEVICE9 pDevice)
{
pEndScene = ( EndScene_t )DetourFunc((PBYTE) 0x4FDD71B0,(PBYTE)hkEndScene, 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, 14:36
|
#664
|
elite*gold: 900
Join Date: Apr 2009
Posts: 14,981
Received Thanks: 11,403
|
Quote:
Originally Posted by dsgreha
Den Fehler hab ich eben schon gepostet
|
Du benutzt einen Alten Code.. hier im Forum müsste es neuere Geben(Guck nach Hack Tutorials...)
|
|
|
12/24/2010, 14:52
|
#665
|
elite*gold: 0
Join Date: Apr 2010
Posts: 101
Received Thanks: 13
|
Ich hab schon mehrmals gesucht und leider nichts gefunden. Aber warum kommt denn überhaupt der Fehler?
|
|
|
12/24/2010, 15:39
|
#666
|
elite*gold: 1
Join Date: Jun 2010
Posts: 2,843
Received Thanks: 3,724
|
WTW --> ASM
int WTWFUNK = 0;
#define ASM_WTW 0x008BA377
BYTE WTWON[] = {0x90,0x90,0x90};
BYTE WTWOFF[] = {0xD8,0x4A,0x08};
void WriteAsm( void* pxAddress, BYTE *code, int size )
{
unsigned long Protection;
VirtualProtect((void*)pxAddress, size, PAGE_READWRITE, &Protection);
memcpy((void*)pxAddress, (const void*)code, size);
VirtualProtect((void*)pxAddress, size, Protection, 0);
}
if (WTWFUNK==0)
{
WriteAsm((void *)ASM_WTW,WTWOFF,3);
}
if (WTWFUNK==1)
{
WriteAsm((void *)ASM_WTW,WTWON,3);
}
Addy + Bytes by CyberRazzer
|
|
|
12/24/2010, 15:45
|
#667
|
elite*gold: 2
Join Date: Jul 2009
Posts: 1,447
Received Thanks: 923
|
Quote:
Originally Posted by CyberRazzer
int WTWFUNK = 0;
#define ASM_WTW 0x008BA377
BYTE WTWON[] = {0x90,0x90,0x90};
BYTE WTWOFF[] = {0xD8,0x4A,0x08};
void WriteAsm( void* pxAddress, BYTE *code, int size )
{
unsigned long Protection;
VirtualProtect((void*)pxAddress, size, PAGE_READWRITE, &Protection);
memcpy((void*)pxAddress, (const void*)code, size);
VirtualProtect((void*)pxAddress, size, Protection, 0);
}
if (WTWFUNK==0)
{
WriteAsm((void *)ASM_WTW,WTWOFF,3);
}
if (WTWFUNK==1)
{
WriteAsm((void *)ASM_WTW,WTWON,3);
}
Addy + Bytes by CyberRazzer
|
Witz: Die Bytes sind immer noch gleich wie in der TTHC Base und die is von 2009 (D3D8 Time Regelt.)
|
|
|
12/24/2010, 16:25
|
#668
|
elite*gold: 1
Join Date: Jun 2010
Posts: 2,843
Received Thanks: 3,724
|
Quote:
|
Witz: Die Bytes sind immer noch gleich wie in der TTHC Base und die is von 2009 (D3D8 Time Regelt.)
|
Du bist der Witz, ich habe die Bytes mit Cheat Engine selber gescannt und ausprobiert:
-->Workz
|
|
|
12/24/2010, 16:39
|
#669
|
elite*gold: 0
Join Date: May 2010
Posts: 423
Received Thanks: 285
|
hat jemand aktuelle detour und einen rehook pls PN me oder post hier rein! bekommt auch thx weil ich es sehr dringend gebrauche!
|
|
|
12/24/2010, 16:49
|
#670
|
elite*gold: 17
Join Date: Apr 2010
Posts: 1,174
Received Thanks: 839
|
Ich glaube nicht das jemand einfach so eine Detour postet ....
|
|
|
12/24/2010, 19:05
|
#671
|
elite*gold: 0
Join Date: Dec 2009
Posts: 127
Received Thanks: 278
|
hat jemand neue CPlayerInfo structs?
|
|
|
12/24/2010, 19:21
|
#672
|
elite*gold: 0
Join Date: Mar 2010
Posts: 191
Received Thanks: 26
|
kann mir einer pls die source von auto F sagen? Danke
|
|
|
12/24/2010, 19:34
|
#673
|
elite*gold: 900
Join Date: Apr 2009
Posts: 14,981
Received Thanks: 11,403
|
Quote:
Originally Posted by poikl1
kann mir einer pls die source von auto F sagen? Danke
|
Code:
void AutoKey (int KEY)
{
keybd_event(KEY, 0, 0, 0);
}
Code:
bool Toogle_KeyF=true;
if(AutoF== 1)
{
AutoKey(0x46);
Toogle_KeyF=false;
}
else if(Toogle_KeyF==false)
{
keybd_event(0x46, 0, KEYEVENTF_KEYUP, 0);
Toogle_KeyF=true;
}
Das ewirkt dass die taste f solange gedrückt wird, bis man die funktion wieder ausschält
|
|
|
12/24/2010, 19:52
|
#674
|
elite*gold: 0
Join Date: Mar 2010
Posts: 191
Received Thanks: 26
|
Quote:
Originally Posted by #Infraction
Code:
void AutoKey (int KEY)
{
keybd_event(KEY, 0, 0, 0);
}
Code:
bool Toogle_KeyF=true;
if(AutoF== 1)
{
AutoKey(0x46);
Toogle_KeyF=false;
}
else if(Toogle_KeyF==false)
{
keybd_event(0x46, 0, KEYEVENTF_KEYUP, 0);
Toogle_KeyF=true;
}
Das ewirkt dass die taste f solange gedrückt wird, bis man die funktion wieder ausschält
|
?
ich kann das i wie nicht habe zwar autoshoot geschaft aber das kapiere ich nicht xD
muss nicht irgend wo hinkommen (CH_KeyF)?
kannst du mir das so machen das ich nur c&p machen muss dann kapiere ich das besser xD
|
|
|
12/24/2010, 23:39
|
#675
|
elite*gold: 6
Join Date: Mar 2010
Posts: 1,184
Received Thanks: 834
|
Code:
{
{
if (Items.norecoil==1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(float*)dwPlayerPtr+0x01C) = 0;
*(float*)(dwPlayerPtr+0x020) = 0;
*(float*)(dwPlayerPtr+0x024) = 0;
}
}
}
}
kommt diese fehlermeldung:
" error C2447: '{': Funktionsheader fehlt - Parameterliste im alten Stil?"
was ist falsch?!
|
|
|
 |
|
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 10:54.
|
|