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 


How to call an event in address

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Smanettone83
Expert Cheater
Reputation: 3

Joined: 21 Feb 2011
Posts: 146
Location: Italia

PostPosted: Mon Feb 21, 2011 12:42 pm    Post subject: How to call an event in address Reply with quote

Hi guys, i'm a noob. I've found in super mario game two address...

health and gold...

my question is stupid.... but i want to learn it... how can i do to decrease my health when i take a gold? i must use code injection?
sorry for my bad english

thanks for your time Smile

this is the video...

Code:
http://img69.imageshack.us/i/su7.mp4/
Back to top
View user's profile Send private message MSN Messenger
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Mon Feb 21, 2011 12:58 pm    Post subject: Reply with quote

Save the location of Your gold and health and when You pick-up gold, decrease Your health with 1.

Or if You can calculate the gold's address from the health's address, just add a line to decrease the health when You pick-up gold.

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
Smanettone83
Expert Cheater
Reputation: 3

Joined: 21 Feb 2011
Posts: 146
Location: Italia

PostPosted: Mon Feb 21, 2011 1:12 pm    Post subject: Reply with quote

Thanks friend, but how can i calculate the gold's address from health's address?

I've tryed to add the code to decrease the healt with "code injection" into the gold's address (in newmem) but it doesn't work....
How can i do it step by step?

Thanks for your patience
Back to top
View user's profile Send private message MSN Messenger
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Mon Feb 21, 2011 1:17 pm    Post subject: Reply with quote

Check if they are related to each other. For example if the gold's address is 00046560 and the health's address is 00046564, it isn't hard to calculate one of them from the other. Try to find a link between them if there is.

Or just allocate 4 bytes to store the health's address and decrese the amount on it when You get gold. But You need to do 2 code injection for that. One to save the health's address and one to change it when You get gold.

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
Smanettone83
Expert Cheater
Reputation: 3

Joined: 21 Feb 2011
Posts: 146
Location: Italia

PostPosted: Mon Feb 21, 2011 1:45 pm    Post subject: Reply with quote

Do you remember that i am a noob? Wink sorry but it's complicated for me because i never haven't do it before... Are there some video or tutorial that explains how to do it? i'm italian and for me it's complicated translate linguage... sorry.
Back to top
View user's profile Send private message MSN Messenger
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Mon Feb 21, 2011 2:08 pm    Post subject: Reply with quote

I have some tutorials with videos here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

But they are about code injection and stuff generally, not about this specific problem. I don't speak italian so You will need to stick to English or find some italian source of help.

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
Smanettone83
Expert Cheater
Reputation: 3

Joined: 21 Feb 2011
Posts: 146
Location: Italia

PostPosted: Mon Feb 21, 2011 2:38 pm    Post subject: Reply with quote

Unfortunately there are no Italian sources, only the base of cheat engine .. Thank you anyway ... I will try 'to squeeze my brain to learn;)
Back to top
View user's profile Send private message MSN Messenger
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