with menu? Update your detours to mld32 for example.
i build an hack
but after 5 sec in game its detected
some cant tell me what i need to do ?
with menu? Update your detours to mld32 for example.
its with menu !
how to update mld32 ???
my detours is :
.h
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);
}
.cpp
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdlib.h>
#include "detours.h"
int DetourASMlen(BYTE *src, int minlen) // find out asm instruction length
{
int i,len;
for (len=0; len<minlen; len+=i) {
i=mlde32((void *)src);
if (i<=0) return 0;
src+=i;
}
return len;
}
void *DetourCreate(BYTE *src, const BYTE *dst, int minlen)
{
BYTE *jmp, *org;
DWORD dwBack;
int len;
len=DetourASMlen(src,(minlen<6)?6:minlen);
if (len==0 && minlen>=6) len=minlen;
if (len==0) return 0;
org=jmp = (BYTE*)malloc(len+5+1); // room for nobytes + jmplen + size byte
jmp[0]=len; // save length in first byte
jmp++;
VirtualProtect(src, len, PAGE_EXECUTE_READWRITE, &dwBack);
memcpy(jmp, src, len);
jmp += len;
jmp[0] = 0xE9;
*(DWORD*)(jmp+1) = (DWORD)(src+len - jmp) - 5;
src[0] = 0x68; // different hook, push address ret
*(DWORD*)(src+1) = (DWORD)(dst);
src[5] = 0xc3;
for (int i=6; i<len; i++) src[i] = 0x90;
VirtualProtect(src, len, dwBack, &dwBack);
return &org[1]; // return entry point, byte 0 = length
}
// restore == return value of DetourCreate
void DetourRemove(BYTE *src, BYTE *restore, int len)
{
DWORD dwBack;
len=*(BYTE *)(restore-1); // ignore len parameter, only for backward competability
VirtualProtect(src, len, PAGE_EXECUTE_READWRITE, &dwBack);
memcpy(src, restore, len);
restore[0] = 0xE9;
*(DWORD*)(restore+1) = (DWORD)(src - restore) - 5;
VirtualProtect(src, len, dwBack, &dwBack);
}
Last edited by boncha; 10-09-2009 at 06:45 AM.
THose are the regular detours
Pm me your source (just remove your hacks etc.)
I'll fix 4 you.
You could also try to rename both the injector and the dll file
(If you name the hack 123456, then name the dll file 123456.dll)
Otherwise you could run Ccleaner, if that doesn't work it is probably 100% detected xD
5 bucks on copy and paste code.
If anyone claims to be me via any other source outside of MPGH private or visitor messages, IT'S NOT ME!
They are trying to trick or scam you. Report them immediately and PM me here for verification.
"Don’t confuse my personality with my attitude. My personality is who I am. My attitude depends on who you are." — Frank OceanModerator: 5/2009-10/2009 | GMod: 10/2009-10/2010 | Staff Administrator: 10/2010-Present
I do not do requests via PM. Post in the appropriate section.
Stupid/Pointless Private messages = SPAM, SPAM = BAN.
Hell_Demon (10-10-2009)
I would easily put 50 bucks on that.
Hell_Demon (10-10-2009)
Ill Up you by a factor of 10, 500 bucks >_<
f*ck those low amounts, at least 50 million!
Ah we-a blaze the fyah, make it bun dem!
this might help try a other injector then the one u have build for example OMGZ-injector or perX.
did u try to build a bypass because if ur using tatnium d3d u'll need that.
most tuts about bypasses are VIP so u'll need to pay for it.
got mine injected without getting found lately but my code for the menu is fixed ¬¬ so ill need to build a numpad activator.
@ Anime Section,Otaku/weeabo (orz.) @Graphics Section, Novice DigiArtist
neuest gift from Yura~Chan:
https://bakyurayuu.deviantar*****m/#/d372taw
2nd Place MOTM#9 Theme: CharMods - Combat Arms [No - Thanks] button
come on you know that don't want to push that ordinary button