Knife OHK problem

Posts 1–15 of 36 · Page 1 of 3
Knife OHK problem
The offsets are taking from DaRk's thread, thanks him.

Code:
Code:
if ( pWeaponMgr )
{
    for ( int i = 0; i < 600; i++ )
    {      
        if ( (*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) != NULL )
	{
            // Speed knife works
	    *(float*) ((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + 0xA2C) = (float) 3.5f;
	    *(float*) ((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + 0xA50) = (float) 3.5f;

            // This code doesn't affect on a game
	    for ( int j = 0; j < 6; j++ )
	    {
	       *(float*) ((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + 0xBBC) = (float) 100.0f;
	       *(float*) ((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + 0xBC8) = (float) 100.0f;
	    }		
	}
    }
}
Ideas?
Quote Originally Posted by OMFGDUDE View Post
The offsets are taking from DaRk's thread, thanks him.

Code:
Code:
if ( pWeaponMgr )
{
    for ( int i = 0; i < 600; i++ )
    {      
        if ( (*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) != NULL )
	{
            // Speed knife works
	    *(float*) ((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + 0xA2C) = (float) 3.5f;
	    *(float*) ((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + 0xA50) = (float) 3.5f;

            // This code doesn't affect on a game
	    for ( int j = 0; j < 6; j++ )
	    {
	       *(float*) ((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + 0xBBC) = (float) 100.0f;
	       *(float*) ((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + 0xBC8) = (float) 100.0f;
	    }		
	}
    }
}
Ideas?
Code:
for ( int y = 0; y < 10; y++ )
	    {
	       *(float*) ((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + 0xBBC) = 200;
	       *(float*) ((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + 0xBC8) = 200;
	    }
Try this.
Quote Originally Posted by darlwis View Post
Code:
for ( int y = 0; y < 10; y++ )
	    {
	       *(float*) ((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + 0xBBC) = 200;
	       *(float*) ((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + 0xBC8) = 200;
	    }
Try this.
Thanks, but same shit. It does't take any affect on a game. I can comment this lines and it gives the same result.
wrong i have a other methode
make it like no recoil
Quote Originally Posted by [G]a[M]e[R] View Post
wrong i have a other methode
Pm me, pls

Quote Originally Posted by Coder[Vb10e] View Post
make it like no recoil
Like this?

for ( int y = 0; y < 10; y++ )
{
*(float*) ((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + 0xBBC) = 200;
*(float*) ((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + 0xBC8) = 200;
}

This way don't works for me, dude.
Quote Originally Posted by OMFGDUDE View Post


Like this?

for ( int y = 0; y < 10; y++ )
{
*(float*) ((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + 0xBBC) = 200;
*(float*) ((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + 0xBC8) = 200;
}

This way don't works for me, dude.
Works here perfectly.
Quote Originally Posted by OMFGDUDE View Post
Pm me, pls


Like this?

for ( int y = 0; y < 10; y++ )
{
*(float*) ((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + 0xBBC) = 200;
*(float*) ((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + 0xBC8) = 200;
}

This way don't works for me, dude.
fast knife + knife OHK

Code:
if (CShell+WeaponMgr)
		 {
for(int i=0; i<560; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
{
for (int j=0; j<9 ; j++)
{
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0xA2C+j*4) = 2.5;//fast
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0xA50 +j*4) = 2.5;//fast
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0xBBC+j*4) = 200;//OHK
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0xBD4+j*4) = 200;//OHK
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0xBC8+j*4) = 200;//OHK
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0xBE0+j*4) = 200;//OHK
	}
}
		 }
	}


---------- Post added at 10:05 AM ---------- Previous post was at 10:04 AM ----------

@Ryuzaki2 this will work for all melee
Quote Originally Posted by Coder[Vb10e] View Post
[FONT="Comic Sans MS"][SIZE="2"][I][B]

---------- Post added at 10:05 AM ---------- Previous post was at 10:04 AM ----------

@Ryuzaki2 this will work for all melee
Yeah I think so, maybe that is caused by my internet connection I am pretty lag when I use the knife. Oh about the fast knife, when I change the value into 2.5, will it still give an error when using normal knife? Because I tried 3.0 it gives error in normal knife but when I use other melee weapon, works perfectly.
Quote Originally Posted by Ryuzaki2 View Post
Yeah I think so, maybe that is caused by my internet connection I am pretty lag when I use the knife. Oh about the fast knife, when I change the value into 2.5, will it still give an error when using normal knife? Because I tried 3.0 it gives error in normal knife but when I use other melee weapon, works perfectly.
i use 2 works with out errors for me
Quote Originally Posted by Coder[Vb10e] View Post


fast knife + knife OHK

Code:
if (CShell+WeaponMgr)
		 {
for(int i=0; i<560; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
{
for (int j=0; j<9 ; j++)
{
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0xA2C+j*4) = 2.5;//fast
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0xA50 +j*4) = 2.5;//fast
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0xBBC+j*4) = 200;//OHK
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0xBD4+j*4) = 200;//OHK
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0xBC8+j*4) = 200;//OHK
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0xBE0+j*4) = 200;//OHK
	}
}
		 }
	}


---------- Post added at 10:05 AM ---------- Previous post was at 10:04 AM ----------

@Ryuzaki2 this will work for all melee
GoodJob
Quote Originally Posted by Coder[Vb10e] View Post


fast knife + knife OHK

Code:
if (CShell+WeaponMgr)
		 {
for(int i=0; i<560; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
{
for (int j=0; j<9 ; j++)
{
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0xA2C+j*4) = 2.5;//fast
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0xA50 +j*4) = 2.5;//fast
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0xBBC+j*4) = 200;//OHK
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0xBD4+j*4) = 200;//OHK
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0xBC8+j*4) = 200;//OHK
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0xBE0+j*4) = 200;//OHK
	}
}
		 }
	}


---------- Post added at 10:05 AM ---------- Previous post was at 10:04 AM ----------

@Ryuzaki2 this will work for all melee
why are you Looping all the 4Offsets?
and why are you looping the speed offsets??
do you actually know how a loop works and wat it does?
....u shouldn't even try to make a hack because u dont even know what ur doing..all u did was C+P
the reason it's not working is very simple..u didn't use the second loop..
Quote Originally Posted by DaRk View Post
....u shouldn't even try to make a hack because u dont even know what ur doing..all u did was C+P
the reason it's not working is very simple..u didn't use the second loop..
yeah, i thought that was a little strange xD
Posts 1–15 of 36 · Page 1 of 3

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us