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 


checking what is calling a function....

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
boartensen
Newbie cheater
Reputation: 0

Joined: 23 Sep 2010
Posts: 17

PostPosted: Wed Apr 20, 2011 5:56 pm    Post subject: checking what is calling a function.... Reply with quote

How can i check where a function in the memory viewer is called from?

Its possible that here is a thread that helps me with that problem... and if it so Smile it would be very kind if u can give me the link Smile

But if there is no thread yet... plz help me and tell me how i can find with cheat engine what opcode is calling the function i already found.

I have read in another tutorial (not on this side) this sentence:
"Here we noticed that the function was being called by two references:"

How do i know what is calling the function?

kind regards
Back to top
View user's profile Send private message Send e-mail
Geri
Moderator
Reputation: 112

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Wed Apr 20, 2011 6:26 pm    Post subject: Reply with quote

1st is Dissect code, but that will not show dynamic calls (like "call eax" for example). However it will show the static calls like "call 048090A0".

2nd is the debugger. Set a breakpoint at your code and CE will show the return address (which is just after the address where the function was called).

You can see it here if it isn't clear what am I talking about:

http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles/225-basic-encryptions-debugging-backtracing-and-some-info-on-the-stack

http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles/243-xlive

_________________
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
boartensen
Newbie cheater
Reputation: 0

Joined: 23 Sep 2010
Posts: 17

PostPosted: Wed Apr 20, 2011 7:26 pm    Post subject: Reply with quote

Thx Geri for your help. I think i was able to go on further with my problem.... but there is a new one...
I must admit, that im a bit tired now, and that i was a bit fast when i tried to read your guide, but.. i guess.. im not that wrong until now Smile

I made a little guide what i have done until now.. I would like to post a link to RS here, but im not yet allowed... so @ Geri and the others... if you are interested what i have done so far, plz pm or mail me. Ill send it to you asap.

kind regards
Back to top
View user's profile Send private message Send e-mail
Geri
Moderator
Reputation: 112

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Thu Apr 21, 2011 3:15 am    Post subject: Reply with quote

If it is important, you can post link by putting spaces between the letters etc, as others are doing it.
_________________
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
boartensen
Newbie cheater
Reputation: 0

Joined: 23 Sep 2010
Posts: 17

PostPosted: Thu Apr 21, 2011 7:54 am    Post subject: Reply with quote

h ttp s://r a p idshare . com/files/458502010/Here_the_function_starts.doc

Ok Geri Smile I hope you can follow my steps... and I hope that you can follow my suggestions Very Happy
Back to top
View user's profile Send private message Send e-mail
Geri
Moderator
Reputation: 112

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Thu Apr 21, 2011 3:12 pm    Post subject: Reply with quote

Well I guess you have figured out how to find the calls. I don't have the game that you have so I have no idea what are the codes that you would need. I can try to help in general debugging questions but you will have to do the cheat yourself.
_________________
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
boartensen
Newbie cheater
Reputation: 0

Joined: 23 Sep 2010
Posts: 17

PostPosted: Thu Apr 21, 2011 3:38 pm    Post subject: Reply with quote

First of all.. thx for your guides... they were very helpful.

I have the game uploaded on my server and i have 2 original keys. But i dont want to set u under pressure to help me. Of course i would appreaciate it a lot (and it makes more fun when i dont have to do the last things alone Smile ) but.. maybe ... one day... ill be able to do the stuff alone.... Very Happy
Back to top
View user's profile Send private message Send e-mail
Geri
Moderator
Reputation: 112

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Thu Apr 21, 2011 7:55 pm    Post subject: Reply with quote

I have played this game a lot. But I got very bored with it after a few years so I don't want to install it again for some time. Besides I prefer to make single player cheats only.
_________________
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
boartensen
Newbie cheater
Reputation: 0

Joined: 23 Sep 2010
Posts: 17

PostPosted: Tue Nov 13, 2012 1:56 am    Post subject: Reply with quote

Is it possible to get in contact with you beside posting in this forum? I would like to know if i could get your attention for half an hour to help me to solve a problem with cheatengine and backtracing.. i would say backtracing a 2.0 Smile

The function i have changed is called by a few other functions.. and i would like to know which. I have a guide for another game with the same game engine, but anyhow I have problems with it....

Are you sometimes in the CEF channel?? Or can you contact me via e-mail???

kind regards

PS: Any other user is also welcome if he/she wants to support me to understand my mistake Smile
Back to top
View user's profile Send private message Send e-mail
boartensen
Newbie cheater
Reputation: 0

Joined: 23 Sep 2010
Posts: 17

PostPosted: Thu Nov 15, 2012 2:30 pm    Post subject: Reply with quote

OK. I think i have to post here some more details.
For Command n Conquer Generals i found a tutorial that shows how to find all the functions that are calling a function whether a unit/building is visible or not.
The value 3 stands for invisible, the value 1 stands for visible.
I was able to find the function that checks if the value is visible or not, but i didnt find all the other values for checking if the units should be attackable or not (attackable= visible not attackable= not visible). Or if it should be able to seen under the fog of war or not....

Here is the link: h ttp ://ww w.mpcforum . com /showthread.php?134932-How-to-build-a-Maphack-that-Doesn-t-Mismatch-Online-FULL-TUTORIAL!
in this url you have to delete the spaces!!!
Plz get in contact with me if you are willing to help Smile I will wait.
Back to top
View user's profile Send private message Send e-mail
n0 m3rcY
Cheater
Reputation: 0

Joined: 18 Jun 2012
Posts: 42

PostPosted: Thu Nov 15, 2012 8:22 pm    Post subject: Reply with quote

In standard calling procedure, [esp+4] contains the return address. esp+8 and beyond contains the arguments.
Back to top
View user's profile Send private message
boartensen
Newbie cheater
Reputation: 0

Joined: 23 Sep 2010
Posts: 17

PostPosted: Fri Nov 16, 2012 5:55 pm    Post subject: Reply with quote

Hi no mercy. Are u sometimes in the CEF Channel or can you pm me or write me an email to discuss my problems???
Back to top
View user's profile Send private message Send e-mail
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