Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21
  1. #16
    _corn_'s Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    0x0C482BF2
    Posts
    673
    Reputation
    13
    Thanks
    294
    My Mood
    Brooding
    Quote Originally Posted by giniyat202 View Post
    does this ring something @_corn_??
    there is two addys
    0x24A8
    0x24AC
    Thanks @giniyat202

    Where did you get the second addy from?

    Code:
    void FastKnife()
    {
        DWORD CShell = NULL;
        do
        {
            CShell = (DWORD)GetModuleHandle("CShell.dll");
            Sleep(100);
        } while(CShell == NULL);
    
        while (1)
        {
            for(int i=0; i<445; i++)
            {
                if((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i)) ) != NULL)
                    *(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8)) +(4*i))) + 0x24A8) = 100.0f;
                    *(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8)) +(4*i))) + 0x24AC) = 100.0f;
            }
            Sleep(100);
        }
    }
    I have added those addys in. What is wrong with this code, it crashes cross fire.
    Last edited by _corn_; 08-30-2011 at 12:12 AM.

  2. #17
    giniyat202's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in my house
    Posts
    286
    Reputation
    9
    Thanks
    258
    My Mood
    Cheerful
    Quote Originally Posted by _corn_ View Post
    Thanks @giniyat202

    Where did you get the second addy from?

    Code:
    #define knives ((i==0x5) || (i==0x23) || (i==0x4A) || (i==0x55) || (i==0x60) || (i==0x78) || (i==0x84) || (i==0xB0) || (i=0xB1) || (i==0xB2) || (i==0xB6) || (i==0xBD) || (i==0xC3) || (i==0xC4) || (i==0xC5) || (i==0xC6) || (i==0xC7) || (i==0xDF) || (i==0xE1) || (i==0xE2) || (i==0xE3) || (i==0xE4) || (i==0xEF) || (i==0xF4) || (i==0x105) || (i==0x10D) || (i==0x10E) || (i==0x10F) || (i==0x12E) || (i==0x12F) || (i==0x130) || (i==0x131) || (i==0x132) || (i==0x133) || (i==0x174) || (i==0x17D) || (i==0x194) || (i==0x195) || (i==0x196) || (i==197) || (i==0x198) || (i==0x199) || (i==0x205) || (i==0x206)) //not sure if all of them are knives..
    
    void FastKnife()
    {
        DWORD CShell = NULL;
        do
        {
            CShell = (DWORD)GetModuleHandle("CShell.dll");
            Sleep(100);
        } while(CShell == NULL);
    
        while (1)
        {
            for(int i=0; i<533; i++)
            {
                if(((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8))+(4*i)) ) != NULL) && knives)
                {
                    *(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8)) +(4*i))) + 0x24B0) = 100.0f;
                    *(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA2A7E8)) +(4*i))) + 0x24AC) = 100.0f;
                }
            }
            Sleep(100);
        }
    }
    I have added those addys in. What is wrong with this code, it crashes cross fire.
    sorry, my fault , fixed now

    EDIT: you forgot the knife defs, i will give to you but w8...
    EDIT2:Fixed now @_corn_
    Last edited by giniyat202; 08-30-2011 at 11:14 AM.

  3. #18
    _corn_'s Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    0x0C482BF2
    Posts
    673
    Reputation
    13
    Thanks
    294
    My Mood
    Brooding
    Quote Originally Posted by giniyat202 View Post
    sorry, my fault , fixed now

    EDIT: you forgot the knife defs, i will give to you but w8...
    EDIT2:Fixed now @_corn_
    Thanks @giniyat202 !!!!
    I dont have time to try it now, but will later.

  4. #19
    _corn_'s Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    0x0C482BF2
    Posts
    673
    Reputation
    13
    Thanks
    294
    My Mood
    Brooding
    Quote Originally Posted by giniyat202 View Post
    sorry, my fault , fixed now

    EDIT: you forgot the knife defs, i will give to you but w8...
    EDIT2:Fixed now @_corn_
    Doesn't work. What is it supposed to make fast, slash or stab?

  5. #20
    {Banned}**HACKER**'s Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    843
    Reputation
    8
    Thanks
    719
    My Mood
    Cheerful
    Quote Originally Posted by _corn_ View Post
    I got 0x4 from Ihaxyu's addy list.

    Code:
    1012A241   68 08512D10      PUSH CShell.102D5108                     ; ASCII "KnifeNormalAniRate"
    1012A246   50               PUSH EAX
    1012A247   E8 44B21600      CALL CShell.10295490
    1012A24C   8BE8             MOV EBP,EAX
    1012A24E   83C4 08          ADD ESP,8
    1012A251   85ED             TEST EBP,EBP
    1012A253   0F84 64000000    JE CShell.1012A2BD
    1012A259   BF 01000000      MOV EDI,1
    1012A25E   397D 00          CMP DWORD PTR SS:[EBP],EDI
    1012A261   76 5A            JBE SHORT CShell.1012A2BD
    1012A263   8B4D 04          MOV ECX,DWORD PTR SS:[EBP+4]
    1012A266   8B14B9           MOV EDX,DWORD PTR DS:[ECX+EDI*4]
    1012A269   8B42 04          MOV EAX,DWORD PTR DS:[EDX+4]
    1012A26C   894424 10        MOV DWORD PTR SS:[ESP+10],EAX
    1012A270   A1 E8A7A210      MOV EAX,DWORD PTR DS:[10A2A7E8]
    1012A275   85C0             TEST EAX,EAX
    1012A277   74 0F            JE SHORT CShell.1012A288
    1012A279   8B0D ECA7A210    MOV ECX,DWORD PTR DS:[10A2A7EC]
    1012A27F   2BC8             SUB ECX,EAX
    1012A281   C1F9 02          SAR ECX,2
    1012A284   3BF1             CMP ESI,ECX
    1012A286   72 0B            JB SHORT CShell.1012A293
    1012A288   90               NOP
    1012A289   E8 06E8485F      CALL MSVCR80._invalid_parameter_noinfo
    1012A28E   A1 E8A7A210      MOV EAX,DWORD PTR DS:[10A2A7E8]
    1012A293   8B4C24 10        MOV ECX,DWORD PTR SS:[ESP+10]
    1012A297   51               PUSH ECX
    1012A298   8D1CB0           LEA EBX,DWORD PTR DS:[EAX+ESI*4]
    1012A29B   90               NOP
    1012A29C   E8 D47A4A5F      CALL MSVCR80.atof
    1012A2A1   D95C24 14        FSTP DWORD PTR SS:[ESP+14]
    1012A2A5   D94424 14        FLD DWORD PTR SS:[ESP+14]
    1012A2A9   8B13             MOV EDX,DWORD PTR DS:[EBX]
    1012A2AB   D99CBA A8240000  FSTP DWORD PTR DS:[EDX+EDI*4+24A8]
    1012A2B2   83C7 01          ADD EDI,1
    1012A2B5   83C4 04          ADD ESP,4
    1012A2B8   3B7D 00          CMP EDI,DWORD PTR SS:[EBP]
    1012A2BB  ^72 A6            JB SHORT CShell.1012A263
    1012A2BD   8B4424 14        MOV EAX,DWORD PTR SS:[ESP+14]
    See the +4 that I put in Red? Is that where you are meant to get it from?
    Dude I Think Addy Is 0x24A8 Try It

  6. #21
    giniyat202's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in my house
    Posts
    286
    Reputation
    9
    Thanks
    258
    My Mood
    Cheerful
    Quote Originally Posted by _corn_ View Post
    Doesn't work. What is it supposed to make fast, slash or stab?
    my fault (again) sorry @_corn_ i wrote it as fast as possible and didn't check the errors

    the correction in blue...

Page 2 of 2 FirstFirst 12

Similar Threads

  1. [Help Request] Why Cant I Use Hacks? Please Help
    By tongakilo in forum CrossFire Help
    Replies: 10
    Last Post: 05-25-2011, 03:27 AM
  2. how to make hacks? please help
    By apenknul in forum C++/C Programming
    Replies: 2
    Last Post: 07-04-2009, 02:09 AM
  3. xbox360live hack please help
    By coledes1996 in forum General
    Replies: 5
    Last Post: 06-23-2009, 08:30 AM
  4. public hack. please help
    By kingkuz00 in forum CrossFire Hacks & Cheats
    Replies: 16
    Last Post: 06-15-2009, 11:42 PM
  5. hacks|please help me
    By ilann17 in forum Combat Arms Europe Hacks
    Replies: 1
    Last Post: 05-19-2009, 04:29 AM