Results 1 to 15 of 15
  1. #1
    kptoo's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    0

    Question gamehacking with C

    hello guys, (-> my english is not very well )
    i want to hack with C (not C++). And my questions are:
    How can I find my process? (it name is TClient.exe)
    And how kann i change the pointer?

    Thank you for helping (:

  2. #2
    Kallisti's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    深い碧の果てに
    Posts
    4,019
    Reputation
    52
    Thanks
    376
    My Mood
    In Love
    You mean LTClient?

    "how can i change the pointer"

    ?

    未来が見えなくて怖いから
    未来が見えてしまって悲しいから
    目を閉じて優しい思い出に浸ってしまう




  3. #3
    kptoo's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    0
    no i mean TClient^^
    i mean the value from a pointer ... pointer "shows" an adress and i want to change the value ... and fix this value ...
    thank you for helping!

  4. #4
    Kallisti's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    深い碧の果てに
    Posts
    4,019
    Reputation
    52
    Thanks
    376
    My Mood
    In Love
    Quote Originally Posted by kptoo View Post
    no i mean TClient^^
    i mean the value from a pointer ... pointer "shows" an adress and i want to change the value ... and fix this value ...
    thank you for helping!
    i know what a pointer is...

    so why dont you just change the value?

    未来が見えなくて怖いから
    未来が見えてしまって悲しいから
    目を閉じて優しい思い出に浸ってしまう




  5. #5
    kptoo's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    0
    i want to do this but i don't know how to do this >.<
    and i had to find the window first i think...

  6. #6
    Gab's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    6,716
    Reputation
    1755
    Thanks
    1,543
    You could do a pointer on the pointer and then make a pointer of the value of the adress of the pointer you want to change ( Hope you understood :P)

  7. The Following User Says Thank You to Gab For This Useful Post:

    kptoo (09-05-2010)

  8. #7
    kptoo's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by xXModz View Post
    You could do a pointer on the pointer and then make a pointer of the value of the adress of the pointer you want to change ( Hope you understood :P)
    yes i understood ^^

    but how can i find my window? (TClient)?

  9. #8
    Gab's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    6,716
    Reputation
    1755
    Thanks
    1,543
    What do you mean? You want to find a folder?

  10. #9
    Kallisti's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    深い碧の果てに
    Posts
    4,019
    Reputation
    52
    Thanks
    376
    My Mood
    In Love
    Quote Originally Posted by xXModz View Post
    What do you mean? You want to find a folder?
    Yes, because TClient.exe = folder


    未来が見えなくて怖いから
    未来が見えてしまって悲しいから
    目を閉じて優しい思い出に浸ってしまう




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

    hobosrock696 (09-05-2010)

  12. #10
    hobosrock696's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    45
    Reputation
    9
    Thanks
    1
    My Mood
    Mellow
    I believe what he is saying is he wants to be able to check for tclient.exe and then do something with pointers but tclient.exe is an executable NOT anything like ltclient which would be determined by an adress (correct me if im wrong im new)

    But I dont know why you would need to "find" the process you would inject the hack into the executable I believe; so finding it is not for your hack but rather an injector.

    Also what do you mean change the pointer do you just meen change the pointer in any case or are you talking about some specific pointer? If its specific elaborate and if not then I unfortunately dont know c syntax so I couldnt tell you I can tell you how it is done in c++ o.O
    Last edited by hobosrock696; 09-05-2010 at 11:26 AM.

  13. #11
    Gab's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    6,716
    Reputation
    1755
    Thanks
    1,543
    I don't know If i understood, but here's what u could do...

    Code:
    *pointerToChange = /*Vallue of the pointer*/;
        *pointerChanged = &pointerToChange;
        *pointerToChange = /*New Value*/;
        
        return 0;

  14. #12
    Void's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Inline.
    Posts
    3,198
    Reputation
    205
    Thanks
    1,445
    My Mood
    Mellow
    Quote Originally Posted by xXModz View Post
    I don't know If i understood, but here's what u could do...

    Code:
    *pointerToChange = /*Vallue of the pointer*/;
        *pointerChanged = &pointerToChange;
        *pointerToChange = /*New Value*/;
        
        return 0;
    You don't get direct access to memory of another process unless you have a module inside it

  15. #13
    kptoo's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    0
    so:
    i mean i want to change values! when i do this i'm invisible or something other! and with the pointer (+offset) of my game i can change this value!
    But when i want to change this value i have to find first my process that my program knows what to do, i think....
    i know the basics of C -> so i want to ask professionals to help me!
    i hope someone can help me (:
    thank you!

  16. #14
    Gordon`'s Avatar
    Join Date
    Dec 2007
    Gender
    male
    Posts
    283
    Reputation
    24
    Thanks
    325
    I dont understand your questions, but I am trying to answer it.

    You can get the path of the process with GetModuleFileNameA/W.

    If you want to find a running process, use Process32First/Process32Next. Process32Next returns a pointer to a struct that contains the process id of the process. You would only need to use this process id with OpenProcess (last parameter). Then you got a process handle. Now you could change the memory of this process with WriteProcessMemory.

    I think you are german - PM me what exactly you want in german, so I can give you a better answer.


  17. The Following User Says Thank You to Gordon` For This Useful Post:

    kptoo (09-05-2010)

  18. #15
    kptoo's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    0
    i write a message to you (:

Similar Threads

  1. Getting Kicked by Punkbuster for "GameHack" with no Cheat running
    By wafflele in forum WarRock - International Hacks
    Replies: 31
    Last Post: 08-09-2006, 08:23 AM
  2. Need help with GunZ
    By Mikkaav in forum Gunz General
    Replies: 9
    Last Post: 02-07-2006, 09:27 PM
  3. Hack for BlackHwakDown with TeamSabre and Argus
    By Megamann in forum General Game Hacking
    Replies: 0
    Last Post: 02-03-2006, 03:33 AM
  4. Need help with "packets"
    By Nrak9493 in forum General Game Hacking
    Replies: 3
    Last Post: 01-22-2006, 09:48 AM
  5. Need help with ammo hack
    By AthlaS in forum WarRock - International Hacks
    Replies: 4
    Last Post: 01-19-2006, 01:50 PM