Author Topic: Red Orchestra ostfront wallhack  (Read 905 times)

0 Members and 1 Guest are viewing this topic.

feldmarschall

  • Online Villain
  • ***
  • Posts: 244
  • Strategist
    • View Profile
Red Orchestra ostfront wallhack
« on: September 16, 2014, 08:26:25 pm »
Hi
I want to make wallhack or chams for Red Orchestra Ostfront but i dont know how to start. I also havent much time so i checked wallhack creator made by Medic but it doesnt work for this game( menu doesnt show). Its Unreal 2.5 game like i think Killing Floor. Thanks for any help
"Strategy is a system of expedients; it is more than a mere scholarly discipline. It is the translation of knowledge to practical life, the improvement of the original leading thought in accordance with continually changing situations."

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: Red Orchestra ostfront wallhack
« Reply #1 on: September 17, 2014, 12:36:53 am »
Code: [Select]
class cD3dev
{
public:
char _0x0000[20];
    DWORD HkDev; //0x0016

    DWORD GetDevice(int Index)
    {
        if ( !HkDev ) return 0;
        DWORD dwPointer = *(DWORD*)HkDev;
        if(!dwPointer) return 0;
        
        return dwPointer + ( 4*Index );
    }
};
cD3dev* p_d3d = NULL;

p_d3d = (cD3dev*)(*(PDWORD)Dw3dBase);

DWORD HookOffset( DWORD Fpointer, DWORD dwHook)
{
    DWORD dwOld = NULL;
    VirtualProtect((void*)Fpointer, 4, PAGE_EXECUTE_READWRITE, &dwOld);

    DWORD p_d3d_orig = *(PDWORD)Fpointer;
    *(PDWORD)Fpointer = (DWORD)dwHook;

    VirtualProtect((void*)Fpointer, 4, dwOld, &dwOld);

    return p_d3d_orig;
}

bool ishooked(DWORD Fpointer, DWORD dummyhook)
{
    if(*(PDWORD)Fpointer != dummyhook)return true;
    return false;
}

DWORD WINAPI D3DHook( )
{
    while(true)
    {
        if(p_d3d && p_d3d->HkDev)
        {
            if(ishooked(p_d3d->GetDevice(42),(DWORD)&presenthook))oPresent = (tPresent)HookOffset(p_d3d->GetDevice(42),(DWORD)&presenthook);
            if(ishooked(p_d3d->GetDevice(16),(DWORD)&resethook))oReset = (tReset)HookOffset(p_d3d->GetDevice(16),(DWORD)&resethook);
        }
    }

    Sleep(800);
    return 1;
}  
oldcode , should still work on any unreal engine.
find the pointer for d3d and check the return.
took out indexedprim  
« Last Edit: September 17, 2014, 12:44:24 am by MrMedic »
EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157

feldmarschall

  • Online Villain
  • ***
  • Posts: 244
  • Strategist
    • View Profile
Re: Red Orchestra ostfront wallhack
« Reply #2 on: September 18, 2014, 08:02:17 pm »
"find the pointer for d3d and check the return"
Can you tell me how to do it? I have poor knowledge about that
"Strategy is a system of expedients; it is more than a mere scholarly discipline. It is the translation of knowledge to practical life, the improvement of the original leading thought in accordance with continually changing situations."

ZOldDude

  • The Unknown Rank!
  • Administrator
  • MasstKer
  • *
  • Posts: 20874
  • Old School TKC
    • View Profile
    • Admin
Re: Red Orchestra ostfront wallhack
« Reply #3 on: September 18, 2014, 09:13:17 pm »

*While we crash and burn, small, low tech, agrarian societies such as the Hmong in the mountains of Laos will continue on without so much as blinking an eye.*