Thread: Some Questions

Results 1 to 14 of 14
  1. #1
    TheBeast13's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    In my House
    Posts
    41
    Reputation
    10
    Thanks
    3
    My Mood
    Chatty

    Angry Some Questions

    I need your help guys

    First Question : Can i use the "GetModuleHandle" function only for Dynamic Link Library's ? (DLL's) If not, what should i do when i try to attach it to a EXE ? And wich operator (in GetModuleHandle its hDll).

    Second Question : I am currently learning C++ and i took the Base from @Dead(H)ell
    ( Thx to him ) and i tried to change the code so it will work for another game (I dont want to publish it !)... but at the top i dont know what it defines, are those the offsets ? And if not, I would be glad if someone could explain it

    Third Question :
    Code:
    if(norecoil)
    {
    for(int y = 0; y<10; y++)
    {
    *(float*)( NoRecoil1 + (0x051C + (szf*y))) = (float)0;
    *(float*)( Norecoil2 + (0x0684 + (szf*y))) = (float)0;
    *(float*)( Norecoil3 + (0x1938 + (szf*y))) = (float)0;
    *(float*)( Norecoil4 + (0x1B14 + (szf*y))) = (float)0;
    *(float*)( Norecoil5 + (0x1FA0 + (szf*y))) = (float)0;
    *(float*)( Norecoil6 + (0x2108 + (szf*y))) = (float)0;
    }
    }
    //CODE BY Dead(H)ell
    Could someone please explain this part = NoRecoil1 + (0x051C + (szf*y)) = (float)0;
    What is that Hexadecimal number ? What does it do ? and after (float) what does the 0 do ? what happens if i change it to something different ?
    Thanks for the answers
    Last edited by TheBeast13; 04-22-2012 at 12:16 PM.
    Leecher: 0 ()
    Choob: 25 ()
    Newbie: 50 ()
    Advanced Member: 100 ()
    H4X0R Member: 150 ()
    Dual-Keyboard Member: 250 ()
    Expert Member: 500 ()
    Bobo's Trainer: 750 ()
    MPGH Expert: 1000 ()
    Synthetic Hacker: 1250 ()
    Blackhat Hacker: 1500 ()
    Whitehat Hacker: 2000 ()
    Bobo's Guardian: 2500 ()
    Upcoming MPGHiean: 3000 ()
    MPGH Addict: 3500 ()
    MPGHiean: 4000 ()
    MPGH Knight: 4500 ()
    MPGH Lord: 5000 ()
    MPGH Champion: 5500 ()
    MPGH King: 6000 ()
    MPGH Legend: 6500 ()
    MPGH God: 7000 ()
    MPGH God II: 7500 ()
    MPGH God III: 8000 ()
    MPGH God IV: 8500 ()
    MPGH God V: 9000 ()
    Arun's Slave: 9500 ()
    Dave's Slave: 10000 ()

  2. #2
    TheBeast13's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    In my House
    Posts
    41
    Reputation
    10
    Thanks
    3
    My Mood
    Chatty
    Anyone here to help me ?
    Last edited by TheBeast13; 04-23-2012 at 11:07 AM.
    Leecher: 0 ()
    Choob: 25 ()
    Newbie: 50 ()
    Advanced Member: 100 ()
    H4X0R Member: 150 ()
    Dual-Keyboard Member: 250 ()
    Expert Member: 500 ()
    Bobo's Trainer: 750 ()
    MPGH Expert: 1000 ()
    Synthetic Hacker: 1250 ()
    Blackhat Hacker: 1500 ()
    Whitehat Hacker: 2000 ()
    Bobo's Guardian: 2500 ()
    Upcoming MPGHiean: 3000 ()
    MPGH Addict: 3500 ()
    MPGHiean: 4000 ()
    MPGH Knight: 4500 ()
    MPGH Lord: 5000 ()
    MPGH Champion: 5500 ()
    MPGH King: 6000 ()
    MPGH Legend: 6500 ()
    MPGH God: 7000 ()
    MPGH God II: 7500 ()
    MPGH God III: 8000 ()
    MPGH God IV: 8500 ()
    MPGH God V: 9000 ()
    Arun's Slave: 9500 ()
    Dave's Slave: 10000 ()

  3. #3
    TheBeast13's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    In my House
    Posts
    41
    Reputation
    10
    Thanks
    3
    My Mood
    Chatty
    @tryhacker
    @giniyat101
    @DaRk
    @Genkidesu

    You guys maybe know a solution :P
    Leecher: 0 ()
    Choob: 25 ()
    Newbie: 50 ()
    Advanced Member: 100 ()
    H4X0R Member: 150 ()
    Dual-Keyboard Member: 250 ()
    Expert Member: 500 ()
    Bobo's Trainer: 750 ()
    MPGH Expert: 1000 ()
    Synthetic Hacker: 1250 ()
    Blackhat Hacker: 1500 ()
    Whitehat Hacker: 2000 ()
    Bobo's Guardian: 2500 ()
    Upcoming MPGHiean: 3000 ()
    MPGH Addict: 3500 ()
    MPGHiean: 4000 ()
    MPGH Knight: 4500 ()
    MPGH Lord: 5000 ()
    MPGH Champion: 5500 ()
    MPGH King: 6000 ()
    MPGH Legend: 6500 ()
    MPGH God: 7000 ()
    MPGH God II: 7500 ()
    MPGH God III: 8000 ()
    MPGH God IV: 8500 ()
    MPGH God V: 9000 ()
    Arun's Slave: 9500 ()
    Dave's Slave: 10000 ()

  4. #4
    giniyat101's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Not telling.
    Posts
    1,935
    Reputation
    130
    Thanks
    1,380
    My Mood
    Dead
    1- GetModuleHandleA("Crossfire.exe") will always return 0x400000
    2- yes they are
    3- hexdicemal number is the offset, 0 is the value, changing it may cause even more recoil than usual


     



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

  5. The Following User Says Thank You to giniyat101 For This Useful Post:

    TheBeast13 (04-23-2012)

  6. #5
    TheBeast13's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    In my House
    Posts
    41
    Reputation
    10
    Thanks
    3
    My Mood
    Chatty
    Quote Originally Posted by giniyat101 View Post
    1- GetModuleHandleA("Crossfire.exe") will always return 0x400000
    2- yes they are
    3- hexdicemal number is the offset, 0 is the value, changing it may cause even more recoil than usual
    Ok, Thanks for the answer. So i can use GetModuleHandle for exe's when something is defined in that module ?
    In OllyDbg at the left at CPU Window it says Adress and a Grey number ( for example i use 00553D04 ) so i need to replace the 00's with a 0x and define it like = '#define norecoil 0x553D04' ?
    Leecher: 0 ()
    Choob: 25 ()
    Newbie: 50 ()
    Advanced Member: 100 ()
    H4X0R Member: 150 ()
    Dual-Keyboard Member: 250 ()
    Expert Member: 500 ()
    Bobo's Trainer: 750 ()
    MPGH Expert: 1000 ()
    Synthetic Hacker: 1250 ()
    Blackhat Hacker: 1500 ()
    Whitehat Hacker: 2000 ()
    Bobo's Guardian: 2500 ()
    Upcoming MPGHiean: 3000 ()
    MPGH Addict: 3500 ()
    MPGHiean: 4000 ()
    MPGH Knight: 4500 ()
    MPGH Lord: 5000 ()
    MPGH Champion: 5500 ()
    MPGH King: 6000 ()
    MPGH Legend: 6500 ()
    MPGH God: 7000 ()
    MPGH God II: 7500 ()
    MPGH God III: 8000 ()
    MPGH God IV: 8500 ()
    MPGH God V: 9000 ()
    Arun's Slave: 9500 ()
    Dave's Slave: 10000 ()

  7. #6
    darlwis's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Posts
    228
    Reputation
    33
    Thanks
    53
    My Mood
    Inspired
    Quote Originally Posted by TheBeast13 View Post
    Ok, Thanks for the answer. So i can use GetModuleHandle for exe's when something is defined in that module ?
    In OllyDbg at the left at CPU Window it says Adress and a Grey number ( for example i use 00553D04 ) so i need to replace the 00's with a 0x and define it like = '#define norecoil 0x553D04' ?
    Or do it like this:
    Code:
    *(float*)( pWeaponmgr + NoRecoil Addie) = 0;
    This is and example and ur NoReload Addie,On CrossFire is Wrong,
    The Seven Have 2 Bytes

  8. The Following User Says Thank You to darlwis For This Useful Post:

    TheBeast13 (04-23-2012)

  9. #7
    TheBeast13's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    In my House
    Posts
    41
    Reputation
    10
    Thanks
    3
    My Mood
    Chatty
    Quote Originally Posted by darlwis View Post
    The Seven Have 2 Bytes
    Sorry for this Question but, what do you mean with the seven has 2 bytes ?
    Leecher: 0 ()
    Choob: 25 ()
    Newbie: 50 ()
    Advanced Member: 100 ()
    H4X0R Member: 150 ()
    Dual-Keyboard Member: 250 ()
    Expert Member: 500 ()
    Bobo's Trainer: 750 ()
    MPGH Expert: 1000 ()
    Synthetic Hacker: 1250 ()
    Blackhat Hacker: 1500 ()
    Whitehat Hacker: 2000 ()
    Bobo's Guardian: 2500 ()
    Upcoming MPGHiean: 3000 ()
    MPGH Addict: 3500 ()
    MPGHiean: 4000 ()
    MPGH Knight: 4500 ()
    MPGH Lord: 5000 ()
    MPGH Champion: 5500 ()
    MPGH King: 6000 ()
    MPGH Legend: 6500 ()
    MPGH God: 7000 ()
    MPGH God II: 7500 ()
    MPGH God III: 8000 ()
    MPGH God IV: 8500 ()
    MPGH God V: 9000 ()
    Arun's Slave: 9500 ()
    Dave's Slave: 10000 ()

  10. #8
    darlwis's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Posts
    228
    Reputation
    33
    Thanks
    53
    My Mood
    Inspired
    Quote Originally Posted by TheBeast13 View Post
    Sorry for this Question but, what do you mean with the seven has 2 bytes ?
    The Seven Address for NoRecoil,
    And 2 Bytes are:
    0x????

  11. The Following User Says Thank You to darlwis For This Useful Post:

    TheBeast13 (04-23-2012)

  12. #9
    TheBeast13's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    In my House
    Posts
    41
    Reputation
    10
    Thanks
    3
    My Mood
    Chatty
    Why do i need to add pWeaponmgr to the Norecoil addy ?
    Leecher: 0 ()
    Choob: 25 ()
    Newbie: 50 ()
    Advanced Member: 100 ()
    H4X0R Member: 150 ()
    Dual-Keyboard Member: 250 ()
    Expert Member: 500 ()
    Bobo's Trainer: 750 ()
    MPGH Expert: 1000 ()
    Synthetic Hacker: 1250 ()
    Blackhat Hacker: 1500 ()
    Whitehat Hacker: 2000 ()
    Bobo's Guardian: 2500 ()
    Upcoming MPGHiean: 3000 ()
    MPGH Addict: 3500 ()
    MPGHiean: 4000 ()
    MPGH Knight: 4500 ()
    MPGH Lord: 5000 ()
    MPGH Champion: 5500 ()
    MPGH King: 6000 ()
    MPGH Legend: 6500 ()
    MPGH God: 7000 ()
    MPGH God II: 7500 ()
    MPGH God III: 8000 ()
    MPGH God IV: 8500 ()
    MPGH God V: 9000 ()
    Arun's Slave: 9500 ()
    Dave's Slave: 10000 ()

  13. #10
    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 TheBeast13 View Post
    Ok, Thanks for the answer. So i can use GetModuleHandle for exe's when something is defined in that module ?
    In OllyDbg at the left at CPU Window it says Adress and a Grey number ( for example i use 00553D04 ) so i need to replace the 00's with a 0x and define it like = '#define norecoil 0x553D04' ?
    pictures? i dont understand


     



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

  14. #11
    darlwis's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Posts
    228
    Reputation
    33
    Thanks
    53
    My Mood
    Inspired
    Quote Originally Posted by TheBeast13 View Post
    Why do i need to add pWeaponmgr to the Norecoil addy ?
    Cauz it its WeaponMgr,Without WeaponMgr how u will loop throught all weapons?
    Is necesary for WeaponClass.

  15. #12
    derh.acker's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    localhost
    Posts
    826
    Reputation
    14
    Thanks
    616
    My Mood
    Angelic
    Quote Originally Posted by TheBeast13 View Post
    Why do i need to add pWeaponmgr to the Norecoil addy ?
    Because the Offset is relative to the info struct of a weapon

  16. #13
    TheBeast13's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    In my House
    Posts
    41
    Reputation
    10
    Thanks
    3
    My Mood
    Chatty

    Red face

    Quote Originally Posted by giniyat101 View Post
    pictures? i dont understand
    I hope you now understand
    Attached Thumbnails Attached Thumbnails
    Dwm 2012-04-24 13-50-34-81.jpg  

    Leecher: 0 ()
    Choob: 25 ()
    Newbie: 50 ()
    Advanced Member: 100 ()
    H4X0R Member: 150 ()
    Dual-Keyboard Member: 250 ()
    Expert Member: 500 ()
    Bobo's Trainer: 750 ()
    MPGH Expert: 1000 ()
    Synthetic Hacker: 1250 ()
    Blackhat Hacker: 1500 ()
    Whitehat Hacker: 2000 ()
    Bobo's Guardian: 2500 ()
    Upcoming MPGHiean: 3000 ()
    MPGH Addict: 3500 ()
    MPGHiean: 4000 ()
    MPGH Knight: 4500 ()
    MPGH Lord: 5000 ()
    MPGH Champion: 5500 ()
    MPGH King: 6000 ()
    MPGH Legend: 6500 ()
    MPGH God: 7000 ()
    MPGH God II: 7500 ()
    MPGH God III: 8000 ()
    MPGH God IV: 8500 ()
    MPGH God V: 9000 ()
    Arun's Slave: 9500 ()
    Dave's Slave: 10000 ()

  17. The Following 3 Users Say Thank You to TheBeast13 For This Useful Post:

    DOOP (04-24-2012),Dragon(H)ell (04-24-2012),giniyat101 (04-24-2012)

  18. #14
    TheBeast13's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    In my House
    Posts
    41
    Reputation
    10
    Thanks
    3
    My Mood
    Chatty
    Quote Originally Posted by derh.acker View Post
    Because the Offset is relative to the info struct of a weapon
    So that means that the address of every weapon for example begins with 0x5BA. And the adress of the M16 is 0x5BA9AB so we define Weapon 0x5BA and add it to 0x9AB so it will give out 0x5BA9AB ?
    Please correct me if i did something wrong
    Last edited by TheBeast13; 04-24-2012 at 09:00 AM.
    Leecher: 0 ()
    Choob: 25 ()
    Newbie: 50 ()
    Advanced Member: 100 ()
    H4X0R Member: 150 ()
    Dual-Keyboard Member: 250 ()
    Expert Member: 500 ()
    Bobo's Trainer: 750 ()
    MPGH Expert: 1000 ()
    Synthetic Hacker: 1250 ()
    Blackhat Hacker: 1500 ()
    Whitehat Hacker: 2000 ()
    Bobo's Guardian: 2500 ()
    Upcoming MPGHiean: 3000 ()
    MPGH Addict: 3500 ()
    MPGHiean: 4000 ()
    MPGH Knight: 4500 ()
    MPGH Lord: 5000 ()
    MPGH Champion: 5500 ()
    MPGH King: 6000 ()
    MPGH Legend: 6500 ()
    MPGH God: 7000 ()
    MPGH God II: 7500 ()
    MPGH God III: 8000 ()
    MPGH God IV: 8500 ()
    MPGH God V: 9000 ()
    Arun's Slave: 9500 ()
    Dave's Slave: 10000 ()

Similar Threads

  1. [D X T] K2Shitty VX, Some questions ???
    By LegendaryHacker1337 in forum WarRock - International Hacks
    Replies: 7
    Last Post: 11-08-2007, 08:34 AM
  2. Some questions.
    By wrasia in forum WarRock - International Hacks
    Replies: 1
    Last Post: 07-05-2007, 10:10 AM
  3. Some Questions..
    By M-Tune in forum WarRock - International Hacks
    Replies: 9
    Last Post: 06-05-2007, 11:18 PM