Results 1 to 9 of 9
  1. #1
    doofbla's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    Biel*****/Germany
    Posts
    369
    Reputation
    10
    Thanks
    179
    My Mood
    Psychedelic

    Lightbulb CoderNever's Tut for Hack

    Hey is someone there who can explain what he mean with this part of the source? he didnt explained that but this is the onliest part which i dont understand. I know its the "function" which is called first when the dll is injected but what is it doing then?/

    Just explain me what each line is doing like comments for the lines please =)

    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
    }
    return TRUE;
    }



    ITS FROM CODERNEVER!!!
    his whole tut is here!
    https://www.mpgh.net/forum/207-combat...arms-hack.html
    CREDITS TO CN

  2. #2
    Kuro Tenshi's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    Where arth thou be
    Posts
    3,635
    Reputation
    70
    Thanks
    746
    My Mood
    Blah
    return TRUE; for activation for the while;
    dwHackThread starts the Dword dwHackThread : wich contains Main and a reset to code line 0 (start)... do you get it now. not much else to rely on anyways.
    DigiDrawing|+ ( (Elfen Archer) )
    Link:
    https://www.mpgh.net/forum/148-showro...en-archer.html


    @ Anime Section,Otaku/weeabo (orz.) @Graphics Section, Novice DigiArtist


    neuest gift from Yura~Chan:
    https://bakyurayuu.deviantar*****m/#/d372taw
    2nd Place MOTM#9 Theme: CharMods - Combat Arms [No - Thanks] button
    come on you know that don't want to push that ordinary button

  3. The Following User Says Thank You to Kuro Tenshi For This Useful Post:

    doofbla (07-27-2010)

  4. #3
    doofbla's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    Biel*****/Germany
    Posts
    369
    Reputation
    10
    Thanks
    179
    My Mood
    Psychedelic
    ok thank you so far =) ehm and this one?

    DisableThreadLibraryCalls(hDll);
    if ( dwReason == DLL_PROCESS_ATTACH )

    what effects the disabling of threadlibrarycalls? (hDll)?
    and
    okay IF is clear but the dwreason==DLL_PROCESS_ATTACH? what does it compare?

    and from where does the dllmain(param,param,param) got these parameters?
    HMODULE hDll, DWORD dwReason, LPVOID lpReserved

    I'm near to press the thanks button ;-)
    Last edited by doofbla; 07-27-2010 at 09:06 PM.

  5. #4
    muumimamma's Avatar
    Join Date
    Jan 2010
    Gender
    female
    Posts
    2,491
    Reputation
    48
    Thanks
    411
    My Mood
    Daring
    Quote Originally Posted by doofbla View Post
    I'm near to press the thanks button ;-)
    Orly ? Always when u use theard tut or download anything,
    u should press thanks button.
    [ Useless space ]

  6. #5
    doofbla's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    Biel*****/Germany
    Posts
    369
    Reputation
    10
    Thanks
    179
    My Mood
    Psychedelic
    But i also want a answer to my question that i asked so if you aswer it i'll give u a thx but not for a needless post like you did.

  7. #6
    Fighter_XXX's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Posts
    91
    Reputation
    10
    Thanks
    2
    My Mood
    Drunk
    heyy u have the same princip like me with the thanks guy XD sorry i dont know but why do you want to know that???

  8. #7
    doofbla's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    Biel*****/Germany
    Posts
    369
    Reputation
    10
    Thanks
    179
    My Mood
    Psychedelic
    good princip xD I just want to know that cuz i'm learning c++ at the moment and i wanna code hacks for CA in the far far future^^ therefore i have to know how to inject a dll in a running process not realy HOW it works but how i can do it. And i want to understand all I'm writing =)

    Now i made my own little programm wich is counting from 1,2,3,4,.... and a dll to inject which is writing I'M THE DLL after each number just to learn. AND IT WORKS =) HAPPY

    But I'm nearly stupid like before cuz I want to know what this is doin?
    DisableThreadLibraryCalls(hDll);

    But now i got a new question:

    Can't we simply call the HackThread function with dwHackThread()?

    =)

  9. #8
    muumimamma's Avatar
    Join Date
    Jan 2010
    Gender
    female
    Posts
    2,491
    Reputation
    48
    Thanks
    411
    My Mood
    Daring
    Quote Originally Posted by doofbla View Post
    But i also want a answer to my question that i asked so if you aswer it i'll give u a thx but not for a needless post like you did.
    Im always useless poster in hacking things . (:
    But u readed CN's tutorial and still 1 thank for Pspiso .
    Dont be scared about Thanks button . It wont bite u .
    [ Useless space ]

  10. #9
    doofbla's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    Biel*****/Germany
    Posts
    369
    Reputation
    10
    Thanks
    179
    My Mood
    Psychedelic
    OMG ok i forgot it in his post i can catch it up if you're satisfied then and now please dont make again a needless post just be quiet I just asked a question and i f you can't answer it be QUIET THANK YOU!!!

Similar Threads

  1. How do I create a menu for my hack? And add more hacks? I used Cn's tut for hacks.
    By calvinchau309 in forum Combat Arms Coding Help & Discussion
    Replies: 11
    Last Post: 02-19-2011, 08:50 PM
  2. TuT for hacking ca on win 7 64/vista 64
    By Duc in forum Combat Arms Help
    Replies: 46
    Last Post: 08-22-2010, 06:52 PM
  3. Looking for hacking tuts\ addresses
    By xPerfection in forum WarRock - International Hacks
    Replies: 17
    Last Post: 11-21-2007, 11:43 AM
  4. speed hack[TuT] for the newb hackers
    By crisp1994 in forum WarRock - International Hacks
    Replies: 15
    Last Post: 07-18-2007, 07:00 AM
  5. [tut] new tut for starting hackers... again, making advanced hacks i guess
    By blackdrag0 in forum WarRock - International Hacks
    Replies: 21
    Last Post: 06-27-2007, 06:28 PM