Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[Help] basic c++ cheating

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Toff
How do I cheat?
Reputation: 0

Joined: 05 Feb 2008
Posts: 2

PostPosted: Tue Dec 16, 2008 3:50 pm    Post subject: [Help] basic c++ cheating Reply with quote

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
View user's profile Send private message
cheesecan
Expert Cheater
Reputation: 0

Joined: 01 Oct 2006
Posts: 215

PostPosted: Tue Dec 16, 2008 4:16 pm    Post subject: Re: [Help] basic c++ cheating Reply with quote

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 Confused
Back to top
View user's profile Send private message
WolfDm3
Grandmaster Cheater
Reputation: 0

Joined: 11 Jun 2007
Posts: 502
Location: Mississippi

PostPosted: Wed Dec 17, 2008 8:42 pm    Post subject: Re: [Help] basic c++ cheating Reply with quote

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 Confused


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
View user's profile Send private message AIM Address
blackmorpheus
Expert Cheater
Reputation: 0

Joined: 05 Apr 2008
Posts: 159

PostPosted: Thu Dec 18, 2008 2:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
Niels8500
Grandmaster Cheater
Reputation: 0

Joined: 19 Sep 2007
Posts: 859
Location: The Netherlands

PostPosted: Mon Dec 22, 2008 10:51 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites