|
You last visited: Today at 19:58
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% |
02/07/2012, 17:07
|
#6391
|
elite*gold: 0
Join Date: Jan 2012
Posts: 20
Received Thanks: 26
|
@UnknownData:
Chams ist nicht detected, sowie "DrawIndexedPrimitive" nicht detected ist.
Das einzige was im moment detected geworden ist, denek Ich ist der HotPatch den hier viele nutzen und vielleicht der Public ReHook Way vom DrawIndexedPrimitive.
|
|
|
02/07/2012, 17:19
|
#6392
|
elite*gold: 297
Join Date: Dec 2010
Posts: 1,129
Received Thanks: 1,687
|
Quote:
Originally Posted by HackLions
@UnknownData:
Chams ist nicht detected, sowie "DrawIndexedPrimitive" nicht detected ist.
Das einzige was im moment detected geworden ist, denek Ich ist der HotPatch den hier viele nutzen und vielleicht der Public ReHook Way vom DrawIndexedPrimitive.
|
Quote:
Originally Posted by __underScore
Man kann IDirect3DDevice9:  rawIndexedPrimitive noch hooken. Sogar ohne Bypass, wenn man denn weiß, wie. HackShield scannt übrigens nach ausnahmslos allen Bytes in der Funktion. Wenn man diese also modifiziert, erhält man Error 10301 "Memory Modification Detected".
Folglich: Man muss hooken / detouren ohne Bytes zu modifizieren.
|
Und übrigens: DrawIndexedPrimitive ständig zu Re-Hooken macht auch keinen Sinn. Das macht es nicht crashfrei.
|
|
|
02/08/2012, 08:39
|
#6393
|
elite*gold: 0
Join Date: Jan 2012
Posts: 20
Received Thanks: 26
|
Im moment denke Ich vielleicht an HwBp detouring ( Hardware Breakpoint ). Sollte möglich sein.
|
|
|
02/08/2012, 09:34
|
#6394
|
elite*gold: 297
Join Date: Dec 2010
Posts: 1,129
Received Thanks: 1,687
|
HWBP steht für Hardware Breakpoint, dein Post ergibt also keinen Sinn. Aber ja, mit Breakpoints ist es auch möglich. Eine von vielen Varianten, Hools zu setzen.
|
|
|
02/09/2012, 20:12
|
#6395
|
elite*gold: 1
Join Date: Oct 2011
Posts: 1,117
Received Thanks: 1,520
|
DinarBot Boot [64 Bit]
Code:
void Boot()
{
if(AutoShot==1)
{
AutoKey(VK_LBUTTON);
AL_Toogle_AutoShot=false;
}else if(AL_Toogle_AutoShot==false)
{
keybd_event(VK_LBUTTON, 0, KEYEVENTF_KEYUP, 0);
AL_Toogle_AutoShot=true;
}
}
//by CyberVeezy
|
|
|
02/09/2012, 20:49
|
#6396
|
elite*gold: 0
Join Date: Jan 2012
Posts: 438
Received Thanks: 511
|
Quote:
Originally Posted by CyberVeezy :)
DinarBot Boot [64 Bit]
Code:
void Boot()
{
if(AutoShot==1)
{
AutoKey(VK_LBUTTON);
AL_Toogle_AutoShot=false;
}else if(AL_Toogle_AutoShot==false)
{
keybd_event(VK_LBUTTON, 0, KEYEVENTF_KEYUP, 0);
AL_Toogle_AutoShot=true;
}
}
//by CyberVeezy
|
Was hat VK_LBUTTON mit DinarBot zu tun?
Da geht doch darum, zu sterben?
Ou man.
|
|
|
02/10/2012, 09:42
|
#6397
|
elite*gold: 31
Join Date: Oct 2011
Posts: 2,276
Received Thanks: 2,029
|
Quote:
Originally Posted by CyberVeezy :)
DinarBot Boot [64 Bit]
Code:
void Boot()
{
if(AutoShot==1)
{
AutoKey(VK_LBUTTON);
AL_Toogle_AutoShot=false;
}else if(AL_Toogle_AutoShot==false)
{
keybd_event(VK_LBUTTON, 0, KEYEVENTF_KEYUP, 0);
AL_Toogle_AutoShot=true;
}
}
//by CyberVeezy
|
ehm ne by Anksel wenn überhaupt hat er aber eh geklaut^^
struct CPlayer
{
char xUnknown1[50236];//0x00
float NoRecoil1;//0xC43C
float NoRecoil2;//0xC440
float NoRecoil3;//0xC444
char xUnknown2[69];//0xC448
BYTE Index;//0xC48D
char xUnknown3[15622];//0xC48E
float Pitch;//0x10194
char xUnknown4[24];//0x10198
float Yaw;//0x101B0
char xUnknown5[12];//0x101B4
float ViewX;//0x101C0
float ViewY;//0x101C4
float ViewZ;//0x101C8
char xUnknown6[12];//0x101CC
WORD Weapon1;//0x101D8
WORD Weapon2;//0x101DA
WORD Weapon3;//0x101DC
char xUnknown7[90];//0x101DE
BYTE PlayerState;//0x10238
char xUnknown8[167];//0x10239
float PosX;//0x102E0
float PosY;//0x102E8
float PosZ;//0x102F0
char xUnknown9[237];//0x102F0
float NoReload;//0x103DD
char xUnknown10[1];//0x103E1
float NoDelay;//0x103E0
};
Credits: CyberRazzer[Addys],BuRn3R | B4ssL!n3[Structs]
|
|
|
02/11/2012, 01:51
|
#6398
|
elite*gold: 0
Join Date: Feb 2012
Posts: 24
Received Thanks: 3
|
where to put ESP?
I tested @ all places there, but it was crashing by activating..
Code:
HRESULT WINAPI myPresent ( LPDIRECT3DDEVICE9 pDevice, CONST RECT* pSourceRect,CONST RECT* pDestRect,HWND hDestWindowOverride,CONST RGNDATA* pDirtyRegion)
{
_asm pushad;
CreateACrossHair(CH_Crosshair,pDevice);
set_menu->InitFont(pDevice);
set_menu->Init();
set_menu->Menu(pDevice);
set_menu->DestroyFont();
DWORD dwDrawIndexedPrimitive = GetAddressPtr(82);
if(memcmp((void*)dwDrawIndexedPrimitive,(void*)(PBYTE)"\x8B\xFF",2)== 0){
{
//pDrawIndexedPrimitive = (oDrawIndexedPrimitive) BADetour((DWORD)dwDrawIndexedPrimitive,(DWORD)myDrawIndexedPrimitive,7);
}
}
_asm popad;
return pPresent(pDevice, pSourceRect, pDestRect, hDestWindowOverride, pDirtyRegion);
}
|
|
|
02/11/2012, 09:58
|
#6399
|
elite*gold: 31
Join Date: Oct 2011
Posts: 2,276
Received Thanks: 2,029
|
@TheOwnerxX.:
HRESULT WINAPI myPresent ( LPDIRECT3DDEVICE9 pDevice, CONST RECT* pSourceRect,CONST RECT* pDestRect,HWND hDestWindowOverride,CONST RGNDATA* pDirtyRegion)
{
_asm pushad;
CreateACrossHair(CH_Crosshair,pDevice);
set_menu->InitFont(pDevice);
set_menu->Init();
set_menu->Menu(pDevice);
//Here your ESP Code.
set_menu->DestroyFont();
}//Close myPresent
DWORD dwDrawIndexedPrimitive = GetAddressPtr(82);
if(memcmp((void*)dwDrawIndexedPrimitive,(void*)(PB YTE)"\x8B\xFF",2)== 0){
{
//pDrawIndexedPrimitive = (oDrawIndexedPrimitive) BADetour((DWORD)dwDrawIndexedPrimitive,(DWORD)myDr awIndexedPrimitive,7);
}
}
_asm popad;
return pPresent(pDevice, pSourceRect, pDestRect, hDestWindowOverride, pDirtyRegion);
}
@TheOwnerxX.:
HRESULT WINAPI myPresent ( LPDIRECT3DDEVICE9 pDevice, CONST RECT* pSourceRect,CONST RECT* pDestRect,HWND hDestWindowOverride,CONST RGNDATA* pDirtyRegion)
{
_asm pushad;
CreateACrossHair(CH_Crosshair,pDevice);
set_menu->InitFont(pDevice);
set_menu->Init();
set_menu->Menu(pDevice);
//Here your ESP Code.
set_menu->DestroyFont();
}//Close myPresent
DWORD dwDrawIndexedPrimitive = GetAddressPtr(82);
if(memcmp((void*)dwDrawIndexedPrimitive,(void*)(PB YTE)"\x8B\xFF",2)== 0){
{
//pDrawIndexedPrimitive = (oDrawIndexedPrimitive) BADetour((DWORD)dwDrawIndexedPrimitive,(DWORD)myDr awIndexedPrimitive,7);
}
}
_asm popad;
return pPresent(pDevice, pSourceRect, pDestRect, hDestWindowOverride, pDirtyRegion);
}
|
|
|
02/11/2012, 10:39
|
#6400
|
elite*gold: 420
Join Date: Jan 2012
Posts: 1,082
Received Thanks: 1,000
|
@burner:
6 klammern auf 8 klammern zu?
if-statements außerhalb von funktionen?
|
|
|
02/11/2012, 11:13
|
#6401
|
elite*gold: 0
Join Date: Feb 2012
Posts: 24
Received Thanks: 3
|
Is Not working.. When i activate it, it is crashing After.
In my Old Base it Works, but why Not Here?
|
|
|
02/11/2012, 13:20
|
#6402
|
elite*gold: 0
Join Date: Dec 2011
Posts: 129
Received Thanks: 82
|
Quote:
#define JUNK_CODE_ONE \
__asm{push eax} \
__asm{xor eax, eax} \
__asm{setpo al} \
__asm{push edx} \
__asm{xor edx, eax} \
__asm{sal edx, 2} \
__asm{xchg eax, edx} \
__asm{pop edx} \
__asm{or eax, ecx} \
__asm{pop eax}
DWORD DetourDIPE8( DWORD SrcVA, DWORD DstVA, DWORD Size )
{
DWORD DetourVA, dwProtect, i;
#define SIZEOF_MOVEAX_JMPEAX 7
JUNK_CODE_ONE
if ( SrcVA && DstVA && Size >= SIZEOF_MOVEAX_JMPEAX )
{
JUNK_CODE_ONE
DetourVA = (DWORD)VirtualAlloc( NULL, Size + SIZEOF_MOVEAX_JMPEAX, MEM_COMMIT, PAGE_EXECUTE_READWRITE);
if ( DetourVA && VirtualProtectEx(GetCurrentProcess(),(void*)SrcVA, Size, PAGE_READWRITE, &dwProtect ))
{
JUNK_CODE_ONE
for ( i=0; i < Size; i++ ) {
JUNK_CODE_ONE
*(BYTE*)( DetourVA + i ) = *(BYTE*)( SrcVA + i );
JUNK_CODE_ONE
}
JUNK_CODE_ONE
*(BYTE*)( DetourVA + Size + 0 ) = 0xB8;
JUNK_CODE_ONE
*(DWORD*)( DetourVA + Size + 1 ) = ( SrcVA + Size );
JUNK_CODE_ONE
*(WORD*)( DetourVA + Size + 5 ) = 0xE0FF;
JUNK_CODE_ONE
*(BYTE*)( SrcVA + 0 ) = 0xB8;
JUNK_CODE_ONE
*(DWORD*)( SrcVA + 1 ) = ( DstVA );
JUNK_CODE_ONE
*(WORD*)( SrcVA + 5 ) = 0xE0FF;
JUNK_CODE_ONE
VirtualProtectEx(GetCurrentProcess(),(void*)SrcVA, Size, dwProtect, &dwProtect );
JUNK_CODE_ONE
VirtualProtectEx(GetCurrentProcess(),(void*)Detour VA, Size + SIZEOF_MOVEAX_JMPEAX, PAGE_EXECUTE_READ, &dwProtect);
JUNK_CODE_ONE
return DetourVA;
}
}
return 0;
}
|
DrawIndexedPrimitve Detour funktioniert ( Bei Mir )
|
|
|
02/11/2012, 13:50
|
#6403
|
elite*gold: 31
Join Date: Oct 2011
Posts: 2,276
Received Thanks: 2,029
|
Quote:
Originally Posted by Yazzn (:
@burner:
6 klammern auf 8 klammern zu?
if-statements außerhalb von funktionen?
|
Ich hab dabei nicht richtig nachgedacht weil sein ReHook und sein myPresent zusammen sind..
|
|
|
02/11/2012, 13:53
|
#6404
|
elite*gold: 0
Join Date: Feb 2012
Posts: 24
Received Thanks: 3
|
Quote:
Originally Posted by _BuRn3R_
Ich hab dabei nicht richtig nachgedacht weil sein ReHook und sein myPresent zusammen sind..
|
Ya its no problem..
you may can help me now ? or via TV?
|
|
|
02/11/2012, 14:12
|
#6405
|
elite*gold: 31
Join Date: Oct 2011
Posts: 2,276
Received Thanks: 2,029
|
Quote:
Originally Posted by TheOwnerxX.:
Ya its no problem..
you may can help me now ? or via TV?
|
HRESULT WINAPI myPresent ( LPDIRECT3DDEVICE9 pDevice, CONST RECT* pSourceRect,CONST RECT* pDestRect,HWND hDestWindowOverride,CONST RGNDATA* pDirtyRegion)
{
_asm pushad;
CreateACrossHair(CH_Crosshair,pDevice);
set_menu->InitFont(pDevice);
set_menu->Init();
set_menu->Menu(pDevice);
set_menu->DestroyFont();
// Here ESP Code
} // Close myPresent
HRESULT CALLBACK HooK(VOID FAR)
{
DWORD dwDrawIndexedPrimitive = GetAddressPtr(82);
if(memcmp((void*)dwDrawIndexedPrimitive,(void*)(PB YTE)"\x8B\xFF",2)== 0)
{
//pDrawIndexedPrimitive = (oDrawIndexedPrimitive) BADetour((DWORD)dwDrawIndexedPrimitive,(DWORD)myDr awIndexedPrimitive,7);
}
_asm popad;
return pPresent(pDevice, pSourceRect, pDestRect, hDestWindowOverride, pDirtyRegion);
}
Now its right
|
|
|
 |
|
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 19:59.
|
|