|
You last visited: Today at 23:45
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% |
06/10/2012, 12:44
|
#7201
|
elite*gold: 420
Join Date: Jan 2012
Posts: 1,082
Received Thanks: 1,000
|
Lass dir mal die Werte anzeigen...
|
|
|
06/10/2012, 13:57
|
#7202
|
elite*gold: 0
Join Date: May 2012
Posts: 67
Received Thanks: 70
|
wieso funktioniert mein CrossHair nicht ?
if (Cross==1)
{
int x = ( GetSystemMetrics( 0 ) / 2);
int y = ( GetSystemMetrics( 1 ) / 2);
D3DRECT rec = { x - 10, y, x + 10, y + 1};
D3DRECT rec2 = { x, y - 10, x + 1, y + 10};
pDevice->Clear(1, &rec, D3DCLEAR_TARGET, D3DCOLOR_ARGB(255, 255, 0, 0), 0, 0);
pDevice->Clear(1, &rec2, D3DCLEAR_TARGET, D3DCOLOR_ARGB(255, 255, 0, 0), 0, 0);
}
|
|
|
06/10/2012, 18:30
|
#7203
|
elite*gold: 15
Join Date: Nov 2011
Posts: 556
Received Thanks: 1,002
|
also bei mir reicht es c440 auf 0 zu setzten für norecoil .. was nutzt du denn für offsets?
|
|
|
06/10/2012, 18:31
|
#7204
|
elite*gold: 0
Join Date: Dec 2010
Posts: 30
Received Thanks: 12
|
Kann jmd mir sagen, wie ich Nachrichten im Spiel anzeige. Also diese Ingame Nachrichten, wie sie z.b. CyberTurk hatte? (direkt nach dem Login)
Danke im vorraus.
|
|
|
06/10/2012, 19:33
|
#7205
|
elite*gold: 0
Join Date: Dec 2009
Posts: 51
Received Thanks: 8
|
#REQUEST
All coordinates u have for teleport bombs / bases cqc
|
|
|
06/10/2012, 21:13
|
#7206
|
elite*gold: 2
Join Date: Jun 2010
Posts: 748
Received Thanks: 170
|
Suche Quick Plant / Defuse Source.
|
|
|
06/11/2012, 13:23
|
#7207
|
elite*gold: 52
Join Date: Nov 2010
Posts: 1,208
Received Thanks: 292
|
Suche die Chams source .
Biete Auto Ammo source :
void AutoAmmo ()
{
*(DWORD*) (ADR_FAST_AMMO) = 99999999;
*(BYTE*) (ADR_AutoAmmo) = 99999999;
}
|
|
|
06/11/2012, 14:14
|
#7208
|
elite*gold: 77
Join Date: May 2012
Posts: 137
Received Thanks: 176
|
Quote:
Originally Posted by Donrevallo
Suche die Chams source .
Biete Auto Ammo source :
void AutoAmmo ()
{
*(DWORD*) (ADR_FAST_AMMO) = 99999999;
*(BYTE*) (ADR_AutoAmmo) = 99999999;
}
|
Chams Source by CyberRazzer, Azorbix und Sinner.
( Source with full undetected DrawIndexedPrimitive! )
Main.cpp
Code:
#include "Main.h"
VOID WINAPI DrawIndexedPrimitive_Main(LPDIRECT3DDEVICE9 pDevice,D3DPRIMITIVETYPE Type,INT BaseVertexIndex,UINT MinIndex,UINT NumVertices,UINT StartIndex,UINT PrimitiveCount)
{
LPDIRECT3DVERTEXBUFFER9 Stream;
UINT Stride;
UINT Offset;
if ( pDevice->GetStreamSource(0,&Stream,&Offset,&Stride) == D3D_OK )
{
Stream->Release();
}
DrawIndexedPrimitive_CheckPtr = TRUE;
if ( Stride == 32 || Stride == 36 )
{
pDevice->SetRenderState(D3DRS_ZENABLE,FALSE);
pDevice->SetRenderState(D3DRS_AMBIENT,0xFFFF0000);
DrawIndexedPrimitive_Pointer(pDevice,Type,BaseVertexIndex,MinIndex,NumVertices,StartIndex,PrimitiveCount);
pDevice->SetRenderState(D3DRS_ZENABLE,TRUE);
pDevice->SetRenderState(D3DRS_AMBIENT,0xFF00FF00);
}
DrawIndexedPrimitive_CheckPtr = FALSE;
}
__declspec(naked)VOID WINAPI DrawIndexedPrimitive_Call()
{
if ( DrawIndexedPrimitive_Check == TRUE )
{
pTools->WriteMemory((LPVOID)DrawIndexedPrimitive_Hook,(LPBYTE)DrawIndexedPrimitive_Bytes,5);
DrawIndexedPrimitive_Breakpoint();
DrawIndexedPrimitive_Check = FALSE;
}
__asm
{
MOV EDI,DWORD PTR SS:[EBP+0x8]
XOR EBX,EBX
PUSHFD
PUSHAD
MOV EDX,[DrawIndexedPrimitive_CheckPtr]
CMP EDX,0x0
JG Jump
PUSH [EBP+0x20]
PUSH [EBP+0x1C]
PUSH [EBP+0x18]
PUSH [EBP+0x14]
PUSH [EBP+0x10]
PUSH [EBP+0xC]
PUSH [EBP+0x8]
CALL [DrawIndexedPrimitive_Main]
Jump:
POPAD
POPFD
CMP EDI,EBX
JMP [DrawIndexedPrimitive_Jump]
}
}
LONG WINAPI DrawIndexedPrimitive_Exception(EXCEPTION_POINTERS* ExceptionInfo)
{
if ( ExceptionInfo->ExceptionRecord->ExceptionCode == EXCEPTION_SINGLE_STEP && (DWORD)ExceptionInfo->ExceptionRecord->ExceptionAddress == DrawIndexedPrimitive_Hook )
{
ExceptionInfo->ContextRecord->Eip = (DWORD)DrawIndexedPrimitive_Call;
return ( EXCEPTION_CONTINUE_EXECUTION );
}
return ( EXCEPTION_CONTINUE_SEARCH );
}
VOID WINAPI DrawIndexedPrimitive_Breakpoint()
{
AddVectoredExceptionHandler((rand()%0xFFFFFF),DrawIndexedPrimitive_Exception);
CONTEXT Context = {CONTEXT_DEBUG_REGISTERS};
Context.Dr0 = DrawIndexedPrimitive_Hook;
Context.Dr7 = 0x1;
SetThreadContext(GetCurrentThread(),&Context);
}
VOID WINAPI DirectX9Main()
{
PDWORD dwD3DVTable;
do
{
*(DWORD*)&dwD3DVTable = *(DWORD*)pTools->D3D9VTable();
}
while ( !dwD3DVTable );
/* This Hook Is For Windows 7 and Windows Vista */
if ( pTools->CheckWindowsVersion(6,1,VER_NT_WORKSTATION) || pTools->CheckWindowsVersion(6,0,VER_NT_WORKSTATION) )
{
DrawIndexedPrimitive_Hook = ( dwD3DVTable[82] + 0x2D );
DrawIndexedPrimitive_Jump = ( DrawIndexedPrimitive_Hook + 0x7 );
*(PDWORD)(&DrawIndexedPrimitive_Pointer) = (DWORD)dwD3DVTable[82];
pTools->WriteMemory((LPVOID)DrawIndexedPrimitive_Bytes,(LPBYTE)DrawIndexedPrimitive_Hook,5);
pTools->WriteJump((DWORD)DrawIndexedPrimitive_Call,(DWORD)DrawIndexedPrimitive_Hook);
}
/* You Want A Hook For Windows XP ? - Add A Midfunction For Windows XP And A Check Here */
else
{
MessageBoxA(GetActiveWindow(),"CoderName >> Your System Is Not Supported","<Error>",MB_OK);
ExitProcess(0);
}
}
BOOL WINAPI DllMain(HMODULE hModule,DWORD dwReason,LPVOID lpReserved)
{
UNREFERENCED_PARAMETER(lpReserved);
if ( dwReason == DLL_PROCESS_ATTACH )
{
pTools->HideModule(hModule);
CreateThread(0,0,(LPTHREAD_START_ROUTINE)DirectX9Main,0,0,0);
}
return ( TRUE );
}
Main.h
Code:
#pragma comment(lib, "d3dx9.lib")
#pragma comment(lib, "d3d9.lib")
#include <windows.h>
#include <d3dx9.h>
#include <d3d9.h>
#include "Tools.h"
ToolsBase* pTools;
BYTE DrawIndexedPrimitive_Bytes[5];
BOOL DrawIndexedPrimitive_Check = TRUE;
DWORD DrawIndexedPrimitive_Hook = 0x00;
DWORD DrawIndexedPrimitive_Jump = 0x00;
BOOL DrawIndexedPrimitive_CheckPtr = FALSE;
VOID WINAPI DrawIndexedPrimitive_Breakpoint();
LONG WINAPI DrawIndexedPrimitive_Exception(EXCEPTION_POINTERS* ExceptionInfo);
HRESULT (WINAPI* DrawIndexedPrimitive_Pointer)(LPDIRECT3DDEVICE9,D3DPRIMITIVETYPE,INT,UINT,UINT,UINT,UINT);
Tools.cpp
Code:
#include "Tools.h"
DWORD WINAPI ToolsBase::D3D9VTable()
{
DWORD dwObjBase = (DWORD)LoadLibraryA("D3D9.DLL");
while ( dwObjBase++ < dwObjBase + 0x127850 )
{
if ( (*(WORD*)(dwObjBase + 0x00)) == 0x06C7 && (*(WORD*)(dwObjBase + 0x06)) == 0x8689 && (*(WORD*)(dwObjBase + 0x0C)) == 0x8689 )
{
dwObjBase += 2;
break;
}
}
return ( dwObjBase );
}
VOID WINAPI ToolsBase::WriteJump(DWORD dwFunction,DWORD dwAddress)
{
BYTE DetourBytes[5] = {0xE9,0x00,0x00,0x00,0x00};
*(DWORD*)(&DetourBytes[1]) = ( dwFunction - dwAddress ) - 0x5;
WriteMemory((LPVOID)dwAddress,(LPBYTE)DetourBytes,5);
}
BOOL WINAPI ToolsBase::CheckWindowsVersion(DWORD dwMajorVersion,DWORD dwMinorVersion,DWORD dwProductType)
{
OSVERSIONINFOEX VersionInfo;
ZeroMemory(&VersionInfo,sizeof(OSVERSIONINFOEX));
VersionInfo.dwOSVersionInfoSize = sizeof(VersionInfo);
GetVersionEx((OSVERSIONINFO*)&VersionInfo);
if ( VersionInfo.dwMajorVersion == dwMajorVersion )
{
if ( VersionInfo.dwMinorVersion == dwMinorVersion )
{
if ( VersionInfo.wProductType == dwProductType )
{
return ( TRUE );
}
}
}
return ( FALSE );
}
VOID WINAPI ToolsBase::WriteMemory(LPVOID lpAddress,LPBYTE lpBuffer,DWORD dwLengh)
{
LPBYTE pAddress = (LPBYTE)lpAddress;
LPBYTE pBuffer = (LPBYTE)lpBuffer;
MEMORY_BASIC_INFORMATION MBI;
VirtualQuery(lpAddress,&MBI,sizeof(MBI));
VirtualProtect(MBI.BaseAddress,MBI.RegionSize,PAGE_EXECUTE_READWRITE,&MBI.Protect);
while ( dwLengh-- > 0 )
{
*pAddress++ = *pBuffer++;
}
VirtualProtect(MBI.BaseAddress,MBI.RegionSize,MBI.Protect,&MBI.Protect);
FlushInstructionCache(GetCurrentProcess(),lpAddress,dwLengh);
}
VOID WINAPI ToolsBase::HideModule(HMODULE hModule)
{
DWORD dwPEB_LDR_DATA = 0;
__asm
{
MOV EAX,FS:[0x30]
MOV EAX,[EAX+0xC]
MOV EAX,[EAX+0xC]
MOV DWORD PTR [EAX+0x20],0xFFFFFFFF
}
__asm
{
PUSHAD
PUSHFD
MOV EAX, FS:[30h]
MOV EAX, [EAX+0Ch]
MOV dwPEB_LDR_DATA, EAX
InLoadOrderModuleList:
MOV ESI, [EAX+0Ch]
MOV EDX, [EAX+10h]
LoopInLoadOrderModuleList:
LODSD
MOV ESI, EAX
MOV ECX, [EAX+18h]
CMP ECX, hModule
JNE SkipA
MOV EBX, [EAX]
MOV ECX, [EAX+4]
MOV [ECX], EBX
MOV [EBX+4], ECX
JMP InMemoryOrderModuleList
SkipA:
CMP EDX, ESI
JNE LoopInLoadOrderModuleList
InMemoryOrderModuleList:
MOV EAX, dwPEB_LDR_DATA
MOV ESI, [EAX+14h]
MOV EDX, [EAX+18h]
LoopInMemoryOrderModuleList:
LODSD
MOV ESI, EAX
MOV ECX, [EAX+10h]
CMP ECX, hModule
JNE SkipB
MOV EBX, [EAX]
MOV ECX, [EAX+4]
MOV [ECX], EBX
MOV [EBX+4], ECX
JMP InInitializationOrderModuleList
SkipB:
CMP EDX, ESI
JNE LoopInMemoryOrderModuleList
InInitializationOrderModuleList:
MOV EAX, dwPEB_LDR_DATA
MOV ESI, [EAX+1Ch]
MOV EDX, [EAX+20h]
LoopInInitializationOrderModuleList:
LODSD
MOV ESI, EAX
MOV ECX, [EAX+08h]
CMP ECX, hModule
JNE SkipC
MOV EBX, [EAX]
MOV ECX, [EAX+4]
MOV [ECX], EBX
MOV [EBX+4], ECX
JMP Finished
SkipC:
CMP EDX, ESI
JNE LoopInInitializationOrderModuleList
Finished:
POPFD;
POPAD;
}
}
Tools.h
Code:
#include <windows.h>
class ToolsBase
{
public:
DWORD WINAPI D3D9VTable();
BOOL WINAPI CheckWindowsVersion(DWORD dwMajorVersion,DWORD dwMinorVersion,DWORD dwProductType);
VOID WINAPI WriteJump(DWORD dwFunction,DWORD dwAddress);
VOID WINAPI WriteMemory(LPVOID lpAddress,LPBYTE lpBuffer,DWORD dwLengh);
VOID WINAPI HideModule(HMODULE hModule);
};
|
|
|
06/11/2012, 17:43
|
#7209
|
elite*gold: 31
Join Date: Oct 2011
Posts: 2,276
Received Thanks: 2,029
|
Quote:
Originally Posted by xCrazia
Chams Source by CyberRazzer, Azorbix und Sinner.
( Source with full undetected DrawIndexedPrimitive! )
Main.cpp
Code:
#include "Main.h"
VOID WINAPI DrawIndexedPrimitive_Main(LPDIRECT3DDEVICE9 pDevice,D3DPRIMITIVETYPE Type,INT BaseVertexIndex,UINT MinIndex,UINT NumVertices,UINT StartIndex,UINT PrimitiveCount)
{
LPDIRECT3DVERTEXBUFFER9 Stream;
UINT Stride;
UINT Offset;
if ( pDevice->GetStreamSource(0,&Stream,&Offset,&Stride) == D3D_OK )
{
Stream->Release();
}
DrawIndexedPrimitive_CheckPtr = TRUE;
if ( Stride == 32 || Stride == 36 )
{
pDevice->SetRenderState(D3DRS_ZENABLE,FALSE);
pDevice->SetRenderState(D3DRS_AMBIENT,0xFFFF0000);
DrawIndexedPrimitive_Pointer(pDevice,Type,BaseVertexIndex,MinIndex,NumVertices,StartIndex,PrimitiveCount);
pDevice->SetRenderState(D3DRS_ZENABLE,TRUE);
pDevice->SetRenderState(D3DRS_AMBIENT,0xFF00FF00);
}
DrawIndexedPrimitive_CheckPtr = FALSE;
}
__declspec(naked)VOID WINAPI DrawIndexedPrimitive_Call()
{
if ( DrawIndexedPrimitive_Check == TRUE )
{
pTools->WriteMemory((LPVOID)DrawIndexedPrimitive_Hook,(LPBYTE)DrawIndexedPrimitive_Bytes,5);
DrawIndexedPrimitive_Breakpoint();
DrawIndexedPrimitive_Check = FALSE;
}
__asm
{
MOV EDI,DWORD PTR SS:[EBP+0x8]
XOR EBX,EBX
PUSHFD
PUSHAD
MOV EDX,[DrawIndexedPrimitive_CheckPtr]
CMP EDX,0x0
JG Jump
PUSH [EBP+0x20]
PUSH [EBP+0x1C]
PUSH [EBP+0x18]
PUSH [EBP+0x14]
PUSH [EBP+0x10]
PUSH [EBP+0xC]
PUSH [EBP+0x8]
CALL [DrawIndexedPrimitive_Main]
Jump:
POPAD
POPFD
CMP EDI,EBX
JMP [DrawIndexedPrimitive_Jump]
}
}
LONG WINAPI DrawIndexedPrimitive_Exception(EXCEPTION_POINTERS* ExceptionInfo)
{
if ( ExceptionInfo->ExceptionRecord->ExceptionCode == EXCEPTION_SINGLE_STEP && (DWORD)ExceptionInfo->ExceptionRecord->ExceptionAddress == DrawIndexedPrimitive_Hook )
{
ExceptionInfo->ContextRecord->Eip = (DWORD)DrawIndexedPrimitive_Call;
return ( EXCEPTION_CONTINUE_EXECUTION );
}
return ( EXCEPTION_CONTINUE_SEARCH );
}
VOID WINAPI DrawIndexedPrimitive_Breakpoint()
{
AddVectoredExceptionHandler((rand()%0xFFFFFF),DrawIndexedPrimitive_Exception);
CONTEXT Context = {CONTEXT_DEBUG_REGISTERS};
Context.Dr0 = DrawIndexedPrimitive_Hook;
Context.Dr7 = 0x1;
SetThreadContext(GetCurrentThread(),&Context);
}
VOID WINAPI DirectX9Main()
{
PDWORD dwD3DVTable;
do
{
*(DWORD*)&dwD3DVTable = *(DWORD*)pTools->D3D9VTable();
}
while ( !dwD3DVTable );
/* This Hook Is For Windows 7 and Windows Vista */
if ( pTools->CheckWindowsVersion(6,1,VER_NT_WORKSTATION) || pTools->CheckWindowsVersion(6,0,VER_NT_WORKSTATION) )
{
DrawIndexedPrimitive_Hook = ( dwD3DVTable[82] + 0x2D );
DrawIndexedPrimitive_Jump = ( DrawIndexedPrimitive_Hook + 0x7 );
*(PDWORD)(&DrawIndexedPrimitive_Pointer) = (DWORD)dwD3DVTable[82];
pTools->WriteMemory((LPVOID)DrawIndexedPrimitive_Bytes,(LPBYTE)DrawIndexedPrimitive_Hook,5);
pTools->WriteJump((DWORD)DrawIndexedPrimitive_Call,(DWORD)DrawIndexedPrimitive_Hook);
}
/* You Want A Hook For Windows XP ? - Add A Midfunction For Windows XP And A Check Here */
else
{
MessageBoxA(GetActiveWindow(),"CoderName >> Your System Is Not Supported","<Error>",MB_OK);
ExitProcess(0);
}
}
BOOL WINAPI DllMain(HMODULE hModule,DWORD dwReason,LPVOID lpReserved)
{
UNREFERENCED_PARAMETER(lpReserved);
if ( dwReason == DLL_PROCESS_ATTACH )
{
pTools->HideModule(hModule);
CreateThread(0,0,(LPTHREAD_START_ROUTINE)DirectX9Main,0,0,0);
}
return ( TRUE );
}
Main.h
Code:
#pragma comment(lib, "d3dx9.lib")
#pragma comment(lib, "d3d9.lib")
#include <windows.h>
#include <d3dx9.h>
#include <d3d9.h>
#include "Tools.h"
ToolsBase* pTools;
BYTE DrawIndexedPrimitive_Bytes[5];
BOOL DrawIndexedPrimitive_Check = TRUE;
DWORD DrawIndexedPrimitive_Hook = 0x00;
DWORD DrawIndexedPrimitive_Jump = 0x00;
BOOL DrawIndexedPrimitive_CheckPtr = FALSE;
VOID WINAPI DrawIndexedPrimitive_Breakpoint();
LONG WINAPI DrawIndexedPrimitive_Exception(EXCEPTION_POINTERS* ExceptionInfo);
HRESULT (WINAPI* DrawIndexedPrimitive_Pointer)(LPDIRECT3DDEVICE9,D3DPRIMITIVETYPE,INT,UINT,UINT,UINT,UINT);
Tools.cpp
Code:
#include "Tools.h"
DWORD WINAPI ToolsBase::D3D9VTable()
{
DWORD dwObjBase = (DWORD)LoadLibraryA("D3D9.DLL");
while ( dwObjBase++ < dwObjBase + 0x127850 )
{
if ( (*(WORD*)(dwObjBase + 0x00)) == 0x06C7 && (*(WORD*)(dwObjBase + 0x06)) == 0x8689 && (*(WORD*)(dwObjBase + 0x0C)) == 0x8689 )
{
dwObjBase += 2;
break;
}
}
return ( dwObjBase );
}
VOID WINAPI ToolsBase::WriteJump(DWORD dwFunction,DWORD dwAddress)
{
BYTE DetourBytes[5] = {0xE9,0x00,0x00,0x00,0x00};
*(DWORD*)(&DetourBytes[1]) = ( dwFunction - dwAddress ) - 0x5;
WriteMemory((LPVOID)dwAddress,(LPBYTE)DetourBytes,5);
}
BOOL WINAPI ToolsBase::CheckWindowsVersion(DWORD dwMajorVersion,DWORD dwMinorVersion,DWORD dwProductType)
{
OSVERSIONINFOEX VersionInfo;
ZeroMemory(&VersionInfo,sizeof(OSVERSIONINFOEX));
VersionInfo.dwOSVersionInfoSize = sizeof(VersionInfo);
GetVersionEx((OSVERSIONINFO*)&VersionInfo);
if ( VersionInfo.dwMajorVersion == dwMajorVersion )
{
if ( VersionInfo.dwMinorVersion == dwMinorVersion )
{
if ( VersionInfo.wProductType == dwProductType )
{
return ( TRUE );
}
}
}
return ( FALSE );
}
VOID WINAPI ToolsBase::WriteMemory(LPVOID lpAddress,LPBYTE lpBuffer,DWORD dwLengh)
{
LPBYTE pAddress = (LPBYTE)lpAddress;
LPBYTE pBuffer = (LPBYTE)lpBuffer;
MEMORY_BASIC_INFORMATION MBI;
VirtualQuery(lpAddress,&MBI,sizeof(MBI));
VirtualProtect(MBI.BaseAddress,MBI.RegionSize,PAGE_EXECUTE_READWRITE,&MBI.Protect);
while ( dwLengh-- > 0 )
{
*pAddress++ = *pBuffer++;
}
VirtualProtect(MBI.BaseAddress,MBI.RegionSize,MBI.Protect,&MBI.Protect);
FlushInstructionCache(GetCurrentProcess(),lpAddress,dwLengh);
}
VOID WINAPI ToolsBase::HideModule(HMODULE hModule)
{
DWORD dwPEB_LDR_DATA = 0;
__asm
{
MOV EAX,FS:[0x30]
MOV EAX,[EAX+0xC]
MOV EAX,[EAX+0xC]
MOV DWORD PTR [EAX+0x20],0xFFFFFFFF
}
__asm
{
PUSHAD
PUSHFD
MOV EAX, FS:[30h]
MOV EAX, [EAX+0Ch]
MOV dwPEB_LDR_DATA, EAX
InLoadOrderModuleList:
MOV ESI, [EAX+0Ch]
MOV EDX, [EAX+10h]
LoopInLoadOrderModuleList:
LODSD
MOV ESI, EAX
MOV ECX, [EAX+18h]
CMP ECX, hModule
JNE SkipA
MOV EBX, [EAX]
MOV ECX, [EAX+4]
MOV [ECX], EBX
MOV [EBX+4], ECX
JMP InMemoryOrderModuleList
SkipA:
CMP EDX, ESI
JNE LoopInLoadOrderModuleList
InMemoryOrderModuleList:
MOV EAX, dwPEB_LDR_DATA
MOV ESI, [EAX+14h]
MOV EDX, [EAX+18h]
LoopInMemoryOrderModuleList:
LODSD
MOV ESI, EAX
MOV ECX, [EAX+10h]
CMP ECX, hModule
JNE SkipB
MOV EBX, [EAX]
MOV ECX, [EAX+4]
MOV [ECX], EBX
MOV [EBX+4], ECX
JMP InInitializationOrderModuleList
SkipB:
CMP EDX, ESI
JNE LoopInMemoryOrderModuleList
InInitializationOrderModuleList:
MOV EAX, dwPEB_LDR_DATA
MOV ESI, [EAX+1Ch]
MOV EDX, [EAX+20h]
LoopInInitializationOrderModuleList:
LODSD
MOV ESI, EAX
MOV ECX, [EAX+08h]
CMP ECX, hModule
JNE SkipC
MOV EBX, [EAX]
MOV ECX, [EAX+4]
MOV [ECX], EBX
MOV [EBX+4], ECX
JMP Finished
SkipC:
CMP EDX, ESI
JNE LoopInInitializationOrderModuleList
Finished:
POPFD;
POPAD;
}
}
Tools.h
Code:
#include <windows.h>
class ToolsBase
{
public:
DWORD WINAPI D3D9VTable();
BOOL WINAPI CheckWindowsVersion(DWORD dwMajorVersion,DWORD dwMinorVersion,DWORD dwProductType);
VOID WINAPI WriteJump(DWORD dwFunction,DWORD dwAddress);
VOID WINAPI WriteMemory(LPVOID lpAddress,LPBYTE lpBuffer,DWORD dwLengh);
VOID WINAPI HideModule(HMODULE hModule);
};
|
Nur mal so, der DIP kann nie detected werden  Es kann nur der Hook detected werden. Und meintest du nicht das Cyber es nur kopier hat? Fail. Da sieht man schon das man dir nichts glauben darf.
Anti:
Quick P/D
*(float*)(Addy) = 20.0F;
|
|
|
06/11/2012, 22:17
|
#7210
|
elite*gold: 678
Join Date: Sep 2011
Posts: 877
Received Thanks: 2,492
|
Quote:
Originally Posted by xBioK1ngz
Code:
VOID WINAPI NoWeaponRecoil()
{
__asm
{
MOV EAX,DWORD PTR DS:[0xA30A04]
CMP EAX,0
JNZ InGame
InGame:
MOV DWORD PTR DS:[EAX+0xC43C],0
MOV DWORD PTR DS:[EAX+0xC440],0
MOV DWORD PTR DS:[EAX+0xC444],0
}
}
Ich bekomme beim starten von WarRock einen Absturz ..
|
Das JNZ ist unnötig , weil wenn es not zero ist springt es zu ingame , es geht aber auch bei nichterfüllung der bedingung der reihe nach weiter also kommt es auch bei ingame raus.
|
|
|
06/11/2012, 22:24
|
#7211
|
elite*gold: 0
Join Date: Aug 2010
Posts: 972
Received Thanks: 1,583
|
Wenn ich verweisen darf:
Quote:
Probiers mal so
Quote:
VOID WINAPI NoWeaponRecoil()
{
__asm
{
MOV EAX,DWORD PTR DS:[0xA30A04]
CMP EAX,0
JZ NotInGame
MOV DWORD PTR DS:[EAX+0xC43C],0
MOV DWORD PTR DS:[EAX+0xC440],0
MOV DWORD PTR DS:[EAX+0xC444],0
NotIngame:
}
}
|
|
|
|
|
06/11/2012, 22:25
|
#7212
|
elite*gold: 0
Join Date: Jul 2011
Posts: 152
Received Thanks: 76
|
#Request Chams für einen NoMenu Hack...
Bitte per PM! Bekommt ein THX und kommt in meinen Credits rein
|
|
|
06/12/2012, 14:21
|
#7213
|
elite*gold: 2
Join Date: Jun 2010
Posts: 748
Received Thanks: 170
|
Suche NoSpawn Wait Source, die auch funktioniert, ich hab diese:
void Spawn()
{
long t=0;
unsigned long Protection;
VirtualProtect((void*)ADR_NOSPAWNWAIT1, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_NOSPAWNWAIT1, &t , sizeof(t));
VirtualProtect((void*)ADR_NOSPAWNWAIT1, sizeof(t), Protection, 0);
VirtualProtect((void*)ADR_NOSPAWNWAIT2, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_NOSPAWNWAIT2, &t , sizeof(t));
VirtualProtect((void*)ADR_NOSPAWNWAIT2, sizeof(t), Protection, 0);
VirtualProtect((void*)ADR_NOSPAWNWAIT3, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_NOSPAWNWAIT3, &t , sizeof(t));
VirtualProtect((void*)ADR_NOSPAWNWAIT3, sizeof(t), Protection, 0);
}
Die funktioniert allerdings bei mir nicht. Denke ich kann das 3. Nospawnwait rausmachen, aber trotzdem gehts nicht
|
|
|
06/12/2012, 14:43
|
#7214
|
elite*gold: 0
Join Date: Jul 2011
Posts: 152
Received Thanks: 76
|
Quote:
Originally Posted by head12344
Suche NoSpawn Wait Source, die auch funktioniert, ich hab diese:
void Spawn()
{
long t=0;
unsigned long Protection;
VirtualProtect((void*)ADR_NOSPAWNWAIT1, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_NOSPAWNWAIT1, &t , sizeof(t));
VirtualProtect((void*)ADR_NOSPAWNWAIT1, sizeof(t), Protection, 0);
VirtualProtect((void*)ADR_NOSPAWNWAIT2, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_NOSPAWNWAIT2, &t , sizeof(t));
VirtualProtect((void*)ADR_NOSPAWNWAIT2, sizeof(t), Protection, 0);
VirtualProtect((void*)ADR_NOSPAWNWAIT3, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_NOSPAWNWAIT3, &t , sizeof(t));
VirtualProtect((void*)ADR_NOSPAWNWAIT3, sizeof(t), Protection, 0);
}
Die funktioniert allerdings bei mir nicht. Denke ich kann das 3. Nospawnwait rausmachen, aber trotzdem gehts nicht
|
void Spawn ()
{long t=0;
unsigned long Protection;
VirtualProtect((void*)ADR_QUICKSPAWN1, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_QUICKSPAWN1, &t , sizeof(t));
VirtualProtect((void*)ADR_QUICKSPAWN1, sizeof(t), Protection, 0);
VirtualProtect((void*)ADR_QUICKSPAWN2, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_QUICKSPAWN2, &t , sizeof(t));
VirtualProtect((void*)ADR_QUICKSPAWN2, sizeof(t), Protection, 0);}
Versuch mal diese... die geht aber nur in BG und UO weil die erst beim 2 Spawn geht...
|
|
|
06/12/2012, 21:39
|
#7215
|
elite*gold: 77
Join Date: May 2012
Posts: 137
Received Thanks: 176
|
Quote:
Originally Posted by Fischii26
#Request Chams für einen NoMenu Hack...
Bitte per PM! Bekommt ein THX und kommt in meinen Credits rein 
|
Schau mal bitte eine Seite zurück, da habe ich sie geposted!
|
|
|
 |
|
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 23:45.
|
|