Thread: CF Hack

Page 2 of 2 FirstFirst 12
Results 16 to 23 of 23
  1. #16
    GameHaXx's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Posts
    479
    Reputation
    10
    Thanks
    78
    My Mood
    Angry
    G_Force are fighting

    ---------- Post added at 06:37 PM ---------- Previous post was at 06:36 PM ----------

    Lets get some PopCorn

  2. #17
    JimTheGreat's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Location
    USA
    Posts
    6,771
    Reputation
    125
    Thanks
    714
    My Mood
    Aggressive
    Omg, you guys posted so much since I was forgetting about my own important thread.

    ---------- Post added at 08:16 PM ---------- Previous post was at 08:16 PM ----------

    Quote Originally Posted by giniyat101 View Post
    i will give some tips here which could help :

    1- learn using some winapis .. learning what LoadLibrary and GetModuleHandle do is a good idea

    2- learn basics of assembly.. you will need some of them which iam going to explain:

    registers : acts like variables in coding , but they are stored in the cpu not the ram
    in x86 there is 9 32 bit registers : EAX, EBX, ECX, EDX, ESI, EDI, ESP, EBP, EIP
    a 16 bit version of them is also available (without the E)
    and AX, BX, CX, DX is formed of two 8 bit registers (replacing the X with either L or H)

    MOV dest, source command: copies the value of source to dest can appear in different forms like :
    MOV [dest], source : copies the value of source to the variable stored in address dest
    MOV dest, [source] : copies the value stored in address source to dest
    the signs + and * can also appear, only with the []

    examples:
    mov eax, eax ; nothing happens
    mov eax, 100 ; eax equals 0x100 after this operation
    mov [40EA00], eax ;value at 0x40EA00 becomes 0x100 after this operation
    mov ecx, 40EA00 ;ecx will equal 0x40EA00
    mov edx, [ecx] ;edx will equal 0x100

    lea dest, [source] command :
    almost like mov, but the difference it calculates source expression but without reading a value from it
    example:

    lea esi, [ecx+edx*2] ; esi equals 0x40EA00 + 0x100 * 2 = 0x40EC00
    lea eax, [eax] ; nothing will happen ofc

    fld [source] and fstp [dest] :
    acts like mov but with floats.

    3- download and try to practice ollydbg
    OllyDbg v1.10

    after finishing these steps get latest unpacked cshell.dll from here
    https://www.mpgh.net/forum/242-crossf...-7-2012-a.html

    and try to load it in ollydbg .. the stats bar should say "entry point of debugged dll"
    if it doesnt say that try making a program that loads the unpacked cshell (if you read info about LoadLibrary you will find it easy!)

    make sure you are viewing cshell by right click -> view -> module cshell_whatever

    try to search common string refrences used in cshell.. to do that right click then pick search for -> all refrenced text strings
    then right click in the new window and pick find then type a string.. u may use these:

    ReloadAnimRatio : no reload delay
    ChangeWeaponAnimRatio : no change delay
    AmmoDamage : no need to explain
    CharacterHiddenAlpha / CharacterHiddenWalkAlpha / CharacterHiddenRunAlpha : see ghosts
    DistFallDamageStartFrom /DamagePerMeter : no fall damage

    for example iam going to DistFallDamageStartFrom as its very easy
    so u type DistFallDamageStartFrom in the search box and press enter twice to go to the code

    you would see something like this :



    there is two useful commands here

    MOV EDX,DWORD PTR DS:[10B740F8]
    FSTP DWORD PTR DS:[EDX]

    translating to c++ will give something like that:

    Code:
    DWORD myEDX = *(0x10B740F8);
    *(myEDX) = something; // (lets say 99999.0f)
    correct? no it isnt because in first line you are trying to read from a dword
    and in the second line you are trying to write a float value to a dword
    lets fix that by type casting to other types:

    Code:
    DWORD myEDX = *(DWORD*)(0x10B740F8);
    *(float*)(myEDX) = 99999.0f;
    now thats better but still a problem.. what if the pointer myEDX is not valid?
    it will cause the game to crash so we will add a check of NULL pointer

    Code:
    DWORD myEDX = *(DWORD*)(0x10B740F8);
    if (myEDX)
    {
        *(float*)(myEDX) = 99999.0f;
    }
    almost correct! there is only one problem
    cshell is loaded at 0x10000000 (press alt + E in ollydbg to check) .. but when the game loads it .. it will probably go to different address
    so the easiest way is to convert the address 0x10B740F8 to offset by subtracting 0x10000000 (the result is 0xB740F8)
    then convert it back to an address ingame

    if you already read about GetModuleHandle, you would have known it takes module name as a parameter and returns base address as HMODULE on success

    again, we will type cast the result to DWORD so we can add it to 0xB740F8

    so the final code will look like this:

    Code:
    DWORD CShell = (DWORD)GetModuleHandle(L"CShell.dll");
    if (CShell)
    {
        DWORD myEDX = *(DWORD*)(0x10B740F8);
        if (myEDX)
        {
            *(float*)(myEDX) = 99999.0f;
        }
    }
    if you have any problem in any of this steps tell me through pm or in msn

    good luck
    ....
    o.o
    Um...well I think I get what your saying...



    No I don't.

  3. #18
    giniyat101's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Not telling.
    Posts
    1,935
    Reputation
    130
    Thanks
    1,380
    My Mood
    Dead
    Quote Originally Posted by GameHaXx View Post
    G_Force are fighting

    ---------- Post added at 06:37 PM ---------- Previous post was at 06:36 PM ----------

    Lets get some PopCorn
    not a fight .. just some trolling around

    Quote Originally Posted by Infractured View Post
    Omg, you guys posted so much since I was forgetting about my own important thread.

    ---------- Post added at 08:16 PM ---------- Previous post was at 08:16 PM ----------


    ....
    o.o
    Um...well I think I get what your saying...



    No I don't.
    which part?


     



    [img]https://i43.photobucke*****m/albums/e367/DeteSting/Steam-update.gif[/img]

  4. #19
    JimTheGreat's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Location
    USA
    Posts
    6,771
    Reputation
    125
    Thanks
    714
    My Mood
    Aggressive
    Quote Originally Posted by giniyat101 View Post
    which part?
    Well actually do you just mean to understand these of what you said:
    "i will give some tips here which could help :

    1- learn using some winapis .. learning what LoadLibrary and GetModuleHandle do is a good idea

    2- learn basics of assembly.. "

  5. #20
    Deadeys's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    61
    Reputation
    16
    Thanks
    27
    Quote Originally Posted by Infractured View Post

    Well actually do you just mean to understand these of what you said:
    "i will give some tips here which could help :

    1- learn using some winapis .. learning what LoadLibrary and GetModuleHandle do is a good idea

    2- learn basics of assembly.. "
    1:
    Its almost the same, LoadLibrary load the dll if it's not loaded already.
    They give both the address backs where the DLL is located.

    2:
    You need to read some assambly code and search the meaning of commands, or you can read an ebook.
    Learning assambly takes long, writing assambly is very very hard and will take very much time.

    If you want to code for your self without help, then you need to studdy for 1 year or more, I code now for 6 years, almost 7 years. Btw, read also some "good coding practice books", they are very helpfull.



    The best tip that anyone can give you is learn from an Ebook, it much faster then learn from source codes, I read more then 7 Ebook. I read (I guess) 3 books before I started with game hacking. After that I learned a little bit assembly by looking at code. I know for sure that I was now better in assembly when I read an assembly book a year ago.
    Last edited by Deadeys; 08-13-2012 at 12:27 PM.

  6. The Following 2 Users Say Thank You to Deadeys For This Useful Post:

    giniyat101 (08-13-2012),JimTheGreat (08-13-2012)

  7. #21
    JimTheGreat's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Location
    USA
    Posts
    6,771
    Reputation
    125
    Thanks
    714
    My Mood
    Aggressive
    Quote Originally Posted by Deadeys View Post
    1:
    Its almost the same, LoadLibrary load the dll if it's not loaded already.
    They give both the address backs where the DLL is located.

    2:
    You need to read some assambly code and search the meaning of commands, or you can read an ebook.
    Learning assambly takes long, writing assambly is very very hard and will take very much time.

    If you want to code for your self without help, then you need to studdy for 1 year or more, I code now for 6 years, almost 7 years. Btw, read also some "good coding practice books", they are very helpfull.



    The best tip that anyone can give you is learn from an Ebook, it much faster then learn from source codes, I read more then 7 Ebook. I read (I guess) 3 books before I started with game hacking. After that I learned a little bit assembly by looking at code. I know for sure that I was now better in assembly when I read an assembly book a year ago.
    Thanks, now I know what I have to do. @Hassan Close

  8. #22
    giniyat101's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Not telling.
    Posts
    1,935
    Reputation
    130
    Thanks
    1,380
    My Mood
    Dead
    Quote Originally Posted by Infractured View Post

    Thanks, now I know what I have to do. @Hassan Close
    hassan has no powers here
    @Hero


     



    [img]https://i43.photobucke*****m/albums/e367/DeteSting/Steam-update.gif[/img]

  9. #23
    JimTheGreat's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Location
    USA
    Posts
    6,771
    Reputation
    125
    Thanks
    714
    My Mood
    Aggressive
    Quote Originally Posted by giniyat101 View Post
    hassan has no powers here
    @Hero
    I thought i was in programming section.

  10. The Following User Says Thank You to JimTheGreat For This Useful Post:

    giniyat101 (08-13-2012)

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Hacks for mmorpg?
    By suppaman in forum General Game Hacking
    Replies: 6
    Last Post: 10-17-2010, 11:04 AM
  2. Warrock Hack - Tutorial
    By Dave84311 in forum WarRock - International Hacks
    Replies: 667
    Last Post: 10-09-2007, 10:10 AM
  3. In-Depth Tut. to hacking in War Rock (Conc. to Dave)
    By fl0 in forum WarRock - International Hacks
    Replies: 15
    Last Post: 01-18-2006, 02:49 PM
  4. WarRock Auto Vehicle Repair Hack
    By mortis123 in forum WarRock - International Hacks
    Replies: 12
    Last Post: 01-17-2006, 08:40 PM
  5. i need short icq number pls and hack to wr..
    By BoneXDBreaker in forum WarRock - International Hacks
    Replies: 1
    Last Post: 12-26-2005, 05:08 PM