is my source exactly
Hi everyone, i'm new to write cheat.
I have been attached my dll to crossfire (i am using open source from phonix-cf).
i try to add some feature like shot throught the wall.
I found some string and code
in my dll. i calculated base is address_of_base= cshell_base_ + 0x19CB37C; (F11b37c-base=0x19CB37C). and guess three offet is.568 56c 570
my code i use to hack is:
but it does not work. please tell me what is wrong
I have been attached my dll to crossfire (i am using open source from phonix-cf).
i try to add some feature like shot throught the wall.
I found some string and code
___:109880A8 aPerfectwallsho db 'PerfectWallShotEnabled',0
___:109880BF align 10h
___:109880C0 aWallshotenable db 'WallShotEnabled',0
___:109880D0 aEdgeshotenable db 'EdgeShotEnabled',0
___:109880BF align 10h
___:109880C0 aWallshotenable db 'WallShotEnabled',0
___:109880D0 aEdgeshotenable db 'EdgeShotEnabled',0
Code:
___:0DA8D7B2 push offset aPerfectwallsho ; "PerfectWallShotEnabled" ___:0DA8D7B7 push eax ___:0DA8D7B8 call sub_DFAB870 ___:0DA8D7BD add esp, 8 ___:0DA8D7C0 cmp eax, ebx ___:0DA8D7C2 jz short loc_DA8D7E0 ___:0DA8D7C4 mov ecx, [eax+4] ___:0DA8D7C7 mov edx, [ecx+4] ___:0DA8D7CA mov eax, [edx+4] ___:0DA8D7CD push eax ___:0DA8D7CE call ebp ; dword_E0786C4 ___:0DA8D7D0 mov ecx, dword_F11B37C (F11b37c-base=0x19CB37C) ___:0DA8D7D6 add esp, 4 ___:0DA8D7D9 mov [esi+ecx+570h], eax
my code i use to hack is:
Code:
for (int i=0; i < 0x3F; i++)
{
int n = i * 0x594;
if ((address_of_base) + n)
{
*(bool*)(this->address_of_wall + n + 0x568) = 1;
*(bool*)(this->address_of_wall + n + 0x56c) = 1;
*(bool*)(this->address_of_wall + n + 0x570) = 1;
}
}
