| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		Shahryar Advanced Cheater
  Reputation: 0
  Joined: 11 Jun 2011 Posts: 85
 
  | 
		
			
				 Posted: Sat Apr 21, 2012 9:35 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				 	  | Fresco wrote: | 	 		  | what do you mean with : "the game comes out" | 	  
 
Sorry. I mean, the game crashed or stopped.
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Fresco Grandmaster Cheater
  Reputation: 4
  Joined: 07 Nov 2010 Posts: 600
 
  | 
		 | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Shahryar Advanced Cheater
  Reputation: 0
  Joined: 11 Jun 2011 Posts: 85
 
  | 
		
			
				 Posted: Thu Apr 26, 2012 5:52 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				 	  | Fresco wrote: | 	 		  does the game crash only when you activate the code ?
 
 | 	  
 
No, after activation, and when I wanted to close the game. (The code is still active).
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Fresco Grandmaster Cheater
  Reputation: 4
  Joined: 07 Nov 2010 Posts: 600
 
  | 
		
			
				 Posted: Sat May 19, 2012 10:29 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				then you should make a script that checks the pointer and makes changes only when the code is writing to that address.
 
 
btw i don't think it's a big problem since the crash "comes out" only when you exit the game.
 
 
anyways to solve that problem place a breakpoint at the begining of all your codes / scripts and then exit game ... good luck.
 _________________
 ... Fresco  | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		withyou How do I cheat?
  Reputation: 0
  Joined: 21 May 2012 Posts: 0
 
  | 
		
			
				 Posted: Mon May 21, 2012 9:21 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				| Totally confusing . . . I am a noob in these . . .
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Fresco Grandmaster Cheater
  Reputation: 4
  Joined: 07 Nov 2010 Posts: 600
 
  | 
		
			
				 Posted: Sun May 27, 2012 10:24 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				if so, you'd better give up.
 
it's difficult and time consuming ...
 
just add in the about box of your trainer or remind the user to deactivate the code before exiting the game.
 
PS: no one can help you remotely, you have to figure how to do that out yourself.
 _________________
 ... Fresco  | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Shahryar Advanced Cheater
  Reputation: 0
  Joined: 11 Jun 2011 Posts: 85
 
  | 
		
			
				 Posted: Sun Jul 01, 2012 12:36 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				I'm back.   
 
Is a way to use step 9 in cheat engine tutorial for health in Stronghold 3?
 
I think its a better way, if possible. I'm waiting for your advice.  
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		oLaudix Expert Cheater
  Reputation: 3
  Joined: 25 Mar 2010 Posts: 138
 
  | 
		
			
				 Posted: Sun Jul 01, 2012 12:41 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				| step 9 in tutorial is helpfull for 99,9% of RTS games.
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Shahryar Advanced Cheater
  Reputation: 0
  Joined: 11 Jun 2011 Posts: 85
 
  | 
		
			
				 Posted: Sun Jul 01, 2012 1:05 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				How can I use of step 9 for Stronghold 3? 
 
Please help. tnx
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		oLaudix Expert Cheater
  Reputation: 3
  Joined: 25 Mar 2010 Posts: 138
 
  | 
		
			
				 Posted: Sun Jul 01, 2012 4:06 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				| You search for your unit health and then enemy unit health and compare it in data dissect just like in step 9 tutorial.
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Shahryar Advanced Cheater
  Reputation: 0
  Joined: 11 Jun 2011 Posts: 85
 
  | 
		
			
				 Posted: Sun Jul 01, 2012 4:43 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				I'll try it. tnx   
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Shahryar Advanced Cheater
  Reputation: 0
  Joined: 11 Jun 2011 Posts: 85
 
  | 
		
			
				 Posted: Tue Jul 03, 2012 4:09 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				Hi. I'm back again.  
 
I search for my unit health and then enemy unit health and etc like you said but I don't know exactly what should I do?  
 
I use it for battlefield 3 but I don't know how can I do that. Can you help me? Please help.  
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Fresco Grandmaster Cheater
  Reputation: 4
  Joined: 07 Nov 2010 Posts: 600
 
  | 
		
			
				 Posted: Wed Jul 04, 2012 5:04 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				you basically need to:
 
find your unit's heath
 
find the cod that writes to it, nop it, see if the enemy can be killed, if not ...
 
well if not, you un-nop (make the code original),
 
find two unit's hp of your tem, two of it's(AI's) team,
 
freeze all 4 hp,
 
.... why am i writing ?, have you finished the last step of ce's tutorial in ce 6.2 ?
 
if you did, you already know how to continue ...
 _________________
 ... Fresco  | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Shahryar Advanced Cheater
  Reputation: 0
  Joined: 11 Jun 2011 Posts: 85
 
  | 
		
			
				 Posted: Wed Jul 04, 2012 9:14 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				I did it but I don't know how can I use it to my games.  
 
Who can make a video of how to use this step to the games?
 
Please help me. tnx   
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Fresco Grandmaster Cheater
  Reputation: 4
  Joined: 07 Nov 2010 Posts: 600
 
  | 
		
			
				 Posted: Wed Jul 04, 2012 3:28 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				 	  | Fresco wrote: | 	 		  you basically need to:
 
find your unit's heath
 
find the cod that writes to it, nop it, see if the enemy can be killed, if not ...
 
well if not, you un-nop (make the code original),
 
find two unit's hp of your tem, two of it's(AI's) team,
 
freeze all 4 hp,
 
.... why am i writing ?, have you finished the last step of ce's tutorial in ce 6.2 ?
 
if you did, you already know how to continue ... | 	  
 
so, let's continue then,
 
after freezing all the 4 addresses, just like in the tutorial, find out what code writes to all of them, it has to be the same code for all the 4 addresses.
 
look in that code then and extract the offset (well find the base pointer)
 
like this:
 
[eax+20]
 
[eax+20] is the pointer
 
+20 is the offset
 
[eax] is the base pointer
 
got it ?
 
you need to find the offset.
 
so, after you have the offset, you open the dissector data/structures!
 
add 4 addresses, the addresses of the 2 units of yours and 2 of the other team. group them, make 2 groups, one group in the left (your team) and the other in the right.
 
now subtract the offset from the addresses of all 4 units:
 
like this:
 
address1-offset     address2-offset    address3-offset     address4-offset
 
and if the offset was negative, add it
 
example:
 
if [eax-20]
 
address1+offset     address2+offset   ...etc...
 
________________________________________________________
 
 
analyse the addresses (offsets) and find a match, well not a match, it has to be an unique value that every and each restart doesn't change for your player nor the offset has to change.
 
once you find that match, auto assemble at the point where the game writes to health of all players, code injection, add [ENABLE] and [DISABLE]
 
and do this:
 
 	  | Code: | 	 		  // let's suppose that this is code writes to your hp: mov [eax+10],ebx
 
// we also suppose that if the offset 14 has a value = 2, that means the unit is yours
 
push ecx //save ecx (use a register that you don't see in your entire code i use ecx since eax and ebx were use by the original code)
 
pushfd // save flags
 
cmp [eax+14],2 // compare the value that you find at offset 14 with value 2, wich is your units
 
je exit // if it's true that offset 14 = 2 just exit without decreasing the hp
 
mov [eax+10],ebx //if it's not true that offset 14 = 2, that mean the unit that is about to get hurt is not yours so hurt it!!
 
exit:
 
//here goes some originalcode
 
popfd //restore flags
 
pop ecx //restore ecx | 	  
 
add to the table the code
 
i saved ecx even thought i didn't used because sometime it requires for the compare function,
 
if you don't need it don't save it, nor restore it.
 _________________
 ... Fresco  | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		 |