DWORD theptr = 0;
DWORD dwDCall = 0x4F5DC2;
__declspec(naked) void NoDelayMemory()
{
__asm
{
mov ecx, [esp+4]
mov eax, [ecx+102B4h]
test eax, eax
jnz Jnz1
mov eax, [ecx+102B8h]
Jnz1:
movzx edx, word ptr [eax+92h]
mov eax, [ecx+103F8h]
shr eax, 0Ah
pushad;
}
if(!CH_W_0Delay)
{
__asm
{
popad;
test al, 1
jz Jz1
pushad;
}
}
__asm
{
popad;
mov eax, dword ptr ds:[ADR_SERVER_POINTER]//place your server pointer address here
test eax, eax
jz Jz1
cmp dword ptr [eax+0C17E0h], 2
jnz Jz1
movsx eax, dx
push 0
push eax
movsx eax, word ptr [ecx+1036Eh]
push eax
mov eax, [esp+0Ch+8]
mov eax, [eax];
push eax
call dwDCall
add esp, 10h
Jz1:
retn 8
}
}
if(Ch_ZeroDelay==1)
{
if(*(DWORD*)0x862700)
*(DWORD*)0x862700 = (DWORD)NoDelayMemory;
}
DWORD dwJumpBack = 0;//global
__declspec(naked) void NoReloadMemory()
{
__asm
{
push ebp //original code
mov ebp, esp
push ebx
mov ebx, [ebp+8]
pushad; //save the stack
}
if(!CH_W_NoReload) //check if no reload is off in the menu
{
__asm
{
popad; //restore the stack
test byte ptr [ebx+103F8h], 10h //again original code
mov dwJumpBack,0x4FE7D3; //move the jump offset into the global and jump to it
jmp dwJumpBack;
}
}
__asm
{
popad; //restore the stack
push esi
push edi
mov dwJumpBack,0x4FE7DB; //move the jump offset into the global and jump to it
jmp dwJumpBack;
}
}
if(*(DWORD*)0x85D784) *(DWORD*)0x85D784 = (DWORD)NoReloadMemory;
if (ASM_Bandage == 0)
{
memcpy((void *)(0x5B181F), (void *)"x75", 1);
}
if (ASM_Bandage == 1)
{
memcpy((void *)(0x5B181F), (void *)"x90\x90", 2);
}
#define ASM_BANDAGEPX 0x5B181F
if ( CH_BandageItem == TRUE )
{
WriteMemory((LPVOID)(ASM_BANDAGEPX),(LPBYTE)("\xEB\x4E"),2);
}
else if ( CH_BandageItem == FALSE )
{
WriteMemory((LPVOID)(ASM_BANDAGEPX),(LPBYTE)("\x75\x4E"),2);
}
#define EnableIngameMouse_Mem 0x00A30570 *(int*)(EnableIngameMouse_Mem) = 0;
Das ist die Plantanywhere source mit der DEFanywhere addy.Quote:
immer wen ich DefuseAnyWhere an mache crasht es weis wer wieso??
if (CH_DEFUSEANYWHERE)
{
*(BYTE*)(ADR_DEFUSEANYWHERE) = 0x1;
}
ADR_DEFUSEANYWHERE 0x8F2860
So sieht dann die richtige Source für die Adresse aus.Quote:
Hier, über MEM:
*(WORD*)MEM_DEFUSEANYWHERE = 0x1;
Das andere ist auch "MEM"Quote:
Hier, über MEM: