View previous topic :: View next topic |
Author |
Message |
Toff How do I cheat?
Reputation: 0
Joined: 05 Feb 2008 Posts: 2
|
Posted: Tue Dec 16, 2008 3:50 pm Post subject: [Help] basic c++ cheating |
|
|
Code: | #include <iostream>
#include <windows.h>
using std::cout;
int main()
{
cout << ("=== Pinball Trainer Example. Made by <your name here> ===\n\n");
if(("PINBALL.EXE", (void*) 0x0C9AEBA, 100000000, 4))
cout << ("The score has been edited successfully.\n");
else
cout << ("An error occured while attempting edit the score.\n");
system("PAUSE");
return 0;
} |
should this code work to change a value?
if not, "tell" me something that works..
ps, this was the best section i found for this so dont blame me...
|
|
Back to top |
|
 |
cheesecan Expert Cheater
Reputation: 0
Joined: 01 Oct 2006 Posts: 215
|
Posted: Tue Dec 16, 2008 4:16 pm Post subject: Re: [Help] basic c++ cheating |
|
|
im not really a c++ user but from what i see its just scanning the variable(whatever 0x0c9aeba is(probably score)) and you may have to make a function to change it.
if(("PINBALL.EXE", (void*) 0x0C9AEBA, 100000000, 4))
cout << ("The score has been edited successfully.\n");
else
Try watching this: http://uk.youtube.com/watch?v=jsejfDRAHHA
its in german but pretty easy to understand
|
|
Back to top |
|
 |
WolfDm3 Grandmaster Cheater
Reputation: 0
Joined: 11 Jun 2007 Posts: 502 Location: Mississippi
|
Posted: Wed Dec 17, 2008 8:42 pm Post subject: Re: [Help] basic c++ cheating |
|
|
cheesecan wrote: | im not really a c++ user but from what i see its just scanning the variable(whatever 0x0c9aeba is(probably score)) and you may have to make a function to change it.
if(("PINBALL.EXE", (void*) 0x0C9AEBA, 100000000, 4))
cout << ("The score has been edited successfully.\n");
else
Try watching this: http://uk.youtube.com/watch?v=jsejfDRAHHA
its in german but pretty easy to understand  |
10000000 is the value that he is changing it to, and 0x0C9AEBA is the memory that contains the value. The reason it doesn't work is because you have if on it.
If means that "If" that memory = 10000000, then it will display "This score has been edited successfully."
I really don't want to spoonfeed you, because you shouldn't learn hacking first. Our General Programming section does have a lot of information similar to this that you may be able to learn from though.
|
|
Back to top |
|
 |
blackmorpheus Expert Cheater
Reputation: 0
Joined: 05 Apr 2008 Posts: 159
|
Posted: Thu Dec 18, 2008 2:59 pm Post subject: |
|
|
First learn c++.
This will do nothing, but give errors,
Code: | if(("PINBALL.EXE", (void*) 0x0C9AEBA, 100000000, 4)) |
It's not even a function or something. U'll have to WriteProcessMemory to it..
|
|
Back to top |
|
 |
Niels8500 Grandmaster Cheater
Reputation: 0
Joined: 19 Sep 2007 Posts: 859 Location: The Netherlands
|
Posted: Mon Dec 22, 2008 10:51 am Post subject: |
|
|
blackmorpheus wrote: | First learn c++.
This will do nothing, but give errors,
Code: | if(("PINBALL.EXE", (void*) 0x0C9AEBA, 100000000, 4)) |
It's not even a function or something. U'll have to WriteProcessMemory to it.. |
Make sure you use the right version of C++ as the youtube user uses, its VC++6 i will give a link: VC++6 Download
|
|
Back to top |
|
 |
|