Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - bysnoby

Pages: [1]
1
Mount and Blade / some questions find help,please come MrMedic
« on: June 02, 2015, 11:06:50 am »
i have a wallhack ,it workd well but chams dosen't work . and this wallhack seems very crappy :icon_biggrin2.i want to know how to distinguish what model is a player and what's the others?

i try to find this ,but I failed. so does anyone can give me a way to do it. my idea may be wrong ,because I 've been looking for rendering differences between the characters and scenes.

Code: [Select]
HRESULT WINAPI HkDrawIndexedPrimitive(LPDIRECT3DDEVICE9 m_Device, D3DPRIMITIVETYPE type,INT BaseVertexIndex,UINT MinVertexIndex,UINT NumVertices,UINT startIndex,UINT primCount)
{
HRESULT result = S_OK;
IDirect3DVertexBuffer9* pStreamData = NULL;
UINT  iOffsetInBytes,iStride;
if (m_Device->GetStreamSource(0, &pStreamData, &iOffsetInBytes, &iStride) == D3D_OK)
pStreamData->Release();

if (ModleConfirm == TRUE)
{
m_Device->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
}
return Orginal_DrawIndexedPrimitive(m_Device, type, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
    return result;
}


ULONG_PTR GetDrawIndexedPrimitiveaddss()
{
HANDLE Is_hwnd = GetModuleHandle(L"d3d9.dll");
if (Is_hwnd != INVALID_HANDLE_VALUE)
return NULL;
return (ULONG_PTR)Is_hwnd + 0x27651;  // just windows server 2008
}

bool HookDrawIndexedPrimitive()
{
ULONG_PTR addss = GetDrawIndexedPrimitiveaddss();
jmpback = addss + 5;
DWORD odProtect = 0;
if (VirtualProtect((LPVOID)address, 5, PAGE_EXECUTE_READWRITE, &odProtect))
{
DWORD value = (DWORD)HkDrawIndexedPrimitive - addss - 5;
_asm
{
mov eax, addss
mov byte ptr[eax], 0xe9
add eax, 1
mov ebx, value
mov dword ptr[eax], ebx
}
VirtualProtect((LPVOID)addss, 5, odProtect, &odProtect);
}
return true;


this is part of my code , it can work in windows 2008 , bool ModleConfirm  is used to identify the player model ,so can you help me how to do it . thank you :icon_rolleyes2

2
OpenGL/Direct3D / hello everyone question from wallhack
« on: May 28, 2015, 08:53:01 am »
yes i write my code ,a wallhack ,but at now There is a very strange question,wallhack working veery well ,but the dyeing dont work,i hook the DrawIndexedPrimitive and the endscene ,but dyeing dosent work .dos anyone can help me  :icon_biggrin2thank you 

3
Mount and Blade / Request,wallhack production help
« on: August 18, 2014, 01:25:04 pm »
I try to make a wallhack but try many times can't use, so I want to ask you to help me, thank you very much :icon_cry2

4
Mount and Blade / a question with block anyone
« on: August 06, 2014, 08:52:19 am »
I try to learn ce,od and modify memory,But I found that after the modification can only stop the enemy,it is not working for a friend,you know this is dangerous for teamkill,so i want to find some help  thank you

Pages: [1]