Results 1 to 14 of 14
  1. #1
    D1kiy's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    13
    Reputation
    10
    Thanks
    0

    Exclamation Few questions about memory hacks

    I'm writing a hack for Point Blank/Project Blackout, but I have something that doesn't work and I need your help..
    I found the pointer and offset and try to change the first two bytes of the specified address. My function looks like this:
    Code:
    void MEMwrite(void *adr, void *ptr, int size)
    {
    	DWORD OldProtection;
    	VirtualProtect(adr,size,PAGE_EXECUTE_READWRITE, &OldProtection);
    	memcpy(adr,ptr,size);
    	VirtualProtect(adr,size,OldProtection, &OldProtection);
    }
    
    DWORD WINAPI HACKthread( LPVOID param )
    { 
    		HMODULE Module = GetModuleHandle("PointBlank.i3exec");
    		DWORD Pointer = (DWORD)Module + 0x123456;  
            
    		while (1) 
    	     {
              if(Novice == 1)
    	           {
    			       MessageBeep(0);
    				   MEMwrite((void *)(Pointer + 0x1234),(void *)(PBYTE)"\x93\x93" , 2);
    		       }
    		  }
    	return 0;
    }
    For some reason it doesn't work, but I can't understand what is my mistake..

    And I have another question, so as not to create a new topic, ask it here ..
    I need to freeze the bytes of the specified address, is it possible and if so, how I can do it? I need a source code for freezing the fifth and sixth bytes..
    Sorry for my English, I used a translator..

  2. #2
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,858
    Reputation
    3438
    Thanks
    101,670
    My Mood
    Breezy
    Novice is not even declared... Did you copy and paste?
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.7.3
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

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

    Hell_Demon (06-12-2011)

  4. #3
    Auxilium's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    深い碧の果てに
    Posts
    4,518
    Reputation
    445
    Thanks
    609
    My Mood
    Happy
    Quote Originally Posted by master131 View Post
    Novice is not even declared... Did you copy and paste?
    Maybe this is not the whole code?

  5. #4
    D1kiy's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    13
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by master131 View Post
    Novice is not even declared... Did you copy and paste?
    This is not whole code.. If novice does not be declared, I would not be able to build my source..

  6. #5
    Hell_Demon's Avatar
    Join Date
    Mar 2008
    Gender
    male
    Location
    I love causing havoc
    Posts
    3,976
    Reputation
    343
    Thanks
    4,320
    My Mood
    Cheeky
    DWORD Pointer = (DWORD)Module + 0x123456;

    Obvious c&p is obvious
    Ah we-a blaze the fyah, make it bun dem!

  7. #6
    D1kiy's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    13
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by Hell_Demon View Post
    DWORD Pointer = (DWORD)Module + 0x123456;

    Obvious c&p is obvious
    I don't understand you..

  8. #7
    Hell_Demon's Avatar
    Join Date
    Mar 2008
    Gender
    male
    Location
    I love causing havoc
    Posts
    3,976
    Reputation
    343
    Thanks
    4,320
    My Mood
    Cheeky
    Module + 0x123456
    Pointer + 0x1234

    I doubt those are the right offsets... Perhaps that's why it's not working?
    Ah we-a blaze the fyah, make it bun dem!

  9. #8
    D1kiy's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    13
    Reputation
    10
    Thanks
    0
    I just changed the numbers...
    In my source code they are correct..

  10. #9
    D1kiy's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    13
    Reputation
    10
    Thanks
    0
    Nobody don't want to help me.. =(

  11. #10
    Lyoto Machida's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    Far away with girls
    Posts
    3,734
    Reputation
    133
    Thanks
    1,621
    My Mood
    Aggressive
    They always help dont worry xD

  12. #11
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,159
    Reputation
    490
    Thanks
    2,253
    Quote Originally Posted by D1kiy View Post
    Nobody don't want to help me.. =(
    Well you can even trust us enough to show your "Correct" Offsets

  13. #12
    'Bruno's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Portugal
    Posts
    2,883
    Reputation
    290
    Thanks
    1,036
    My Mood
    Busy
    You are a leecher. You shouldnt get any help at all. and be ignored
    Light travels faster than sound. That's why most people seem bright until you hear them speak.

  14. #13
    D1kiy's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    13
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by whit View Post
    Well you can even trust us enough to show your "Correct" Offsets
    I can send it to your private messages or Skype, but it certainly will not put them in public..

    Quote Originally Posted by Brinuz View Post
    You are a leecher. You shouldnt get any help at all. and be ignored
    I don `t know what is the leecher, but if you do not want help me, then do not, there will be people who will help me ..

  15. #14
    D1kiy's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    13
    Reputation
    10
    Thanks
    0
    Everything turned out .. You can delete the topic ..