Results 1 to 3 of 3
  1. #1
    schim's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    My chair
    Posts
    367
    Reputation
    10
    Thanks
    115
    My Mood
    Twisted

    Lightbulb What am I doing wrong?

    Hi every one, I want to start coding my own hacks for Ca, but I'm stuck
    I have an addy which I want to use for testing and developing further hacks

    0x377502E8 << Credits go to: vingadormaster, for finding this addy (I think, at least he posted them)

    So now I Made a test dll, to see if it injects properly, which it did

    then I made the part that changed the value:

    Code:
    #define ADR_KILLCAMCAEU 0x377502E8 
    BOOL t = 0;
    void patch(){
    HANDLE ca = GetCurrentProcess(); 
    if(GetAsyncKeyState(VK_INSERT)) {
    	Sleep(500);
    	  t = !t;
        int s = sizeof(t);
    if( WriteProcessMemory(ca, (LPVOID*)(DWORD) ADR_KILLCAMCAEU ,(void*) t, s, NULL) == 0)
    	Sleep(500);
    }
    I have tested this, and it stil inects properly but nothing happens, (this code should turn the killcam on/off on my computer)

    What am I doing wrong? similar code worked on an other game with no protection or whatsoever so do I need a bypas or something like that or is my code wrong?

    -SCHiM

  2. #2
    Zoom's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Your going on my 24/7 DDoS hit list.
    Posts
    8,552
    Reputation
    127
    Thanks
    5,970
    My Mood
    Happy
    Post in the right section next time!

    /Moved
    -Rest in peace leechers-

    Your PM box is 100% full.

  3. #3
    schim's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    My chair
    Posts
    367
    Reputation
    10
    Thanks
    115
    My Mood
    Twisted
    Quote Originally Posted by hejsan View Post
    Post in the right section next time!

    /Moved
    Sorry, I wasn't realy sure where I should post this, Ty for the move.

Similar Threads

  1. What am i doing wrong
    By jpfxx in forum Gunz General
    Replies: 0
    Last Post: 08-02-2010, 04:02 PM
  2. [Help] what am i doing wrong
    By Zyixc in forum C++/C Programming
    Replies: 5
    Last Post: 06-03-2010, 04:44 AM
  3. what am i doing wrong
    By msmalls5454 in forum Suggestions, Requests & General Help
    Replies: 0
    Last Post: 10-30-2009, 11:44 AM
  4. What am i doing wrong plz help
    By SethKrieg24 in forum Call of Duty 4 - Modern Warfare (MW) Hacks
    Replies: 4
    Last Post: 02-02-2009, 05:55 PM
  5. What am i doing wrong?
    By Elliwood in forum WarRock - International Hacks
    Replies: 13
    Last Post: 05-28-2007, 09:25 AM