Can we give a request to CH authors? - Cheat Happens General Discussions Message Board (Page 2)
Cheat Happens Game Cheats and Wallpapers
Cheat Happens Game Cheats and Wallpapers
 
Cheat Happens Game Cheats and Wallpapers
 
     TRAINERS       REQUESTS       GAME REVIEWS       GAME WALLPAPERS       BOARDS
-OR-
  SAVE 25% ON A LIFETIME MEMBERSHIP WITH PROMO CODE "CHULIFEPROMO25" -- SHORT TIME! [ close ] 
 
     
  MESSAGE BOARD LINKS:   SIGNUP    |    BOARDS HOME    |   MY FAVORITE BOARDS    |   NEWEST POSTS    |   MY THREADS  
 
GENERAL DISCUSSIONS MESSAGE BOARD
 
   
SEARCH BOARDS:  
SEARCH THIS BOARD ONLY  
SEARCH HEADERS ONLY  
 
           
   Page 2 of 4     First Page     Previous Page     Next Page     Last Page  New Topic New Topic    New Poll New Poll    Post Reply Post Reply    Help Help   
 
 MESSAGE BOARDS >> GENERAL DISCUSSIONS
 Can we give a request to CH authors?  
 
 
Current rank: 2 Stars. Next Rank at 1000 Posts.

Send a PM to iNTANGiBLE
ELITE
iNTANGiBLE
  send PM
  view profile
  add to friends

India 
User #: 451495
Posts: 630 
Joined: May 22, 2008   
Last visit: Aug 07, 2014
Posted: May 09, 2010 11:38:02 AM - Report post  (0)  (0)       Post Reply  post reply  

Yes; let's assume we choose Cheat Engine with itself (there's no code-shifting here, just an example for what to do); open Memory View, then go to address 0060CC05, then click View --> Show module addresses; the address should turn to something like this: Cheat Engine.exe+20CC05, then click Tools --> Auto Assemble, then click Template --> Code injection; the address filled is 0060CC05, just change it to Cheat Engine.exe+20CC05 (0060CC05 is Cheat Engine.exe+20CC05) and do normal code-injection, simple.

For your second question, I don't know, sorry.

[Edited by Hamadah, 5/9/2010 11:39:16 AM]

---------------------------------------------------------------------------
CPU: Intel Core-i7 960 @ 3.20 GHz
MB: ASUS X58
GPU: ASUS GTX560Ti 1 GB
RAM: Kingston DDR3 2 x 4 GB
HDD: 2 x 500 GB
PSU: ADATA HM-850W
Current rank: 1 Star. Next Rank at 100 Posts.

Send a PM to AramAz
AUTHOR
AramAz
  send PM
  view profile
  add to friends

Cyprus 
User #: 756443
Posts: 70 
Joined: Jul 13, 2009   
Last visit: Aug 15, 2014
Posted: May 09, 2010 11:58:50 AM - Report post  (0)  (0)       Post Reply  post reply  

Wow thanks,

I tried searching my hex values i needed to change, I've found them in memory view (although with .exe name not the dll one) and I right clicked that address and added to address list and changed the hex bytes directly.

Is this safe? or the code injection is better? I need to change twelve bytes (3 assembly instructions).

[Edited by AramAz, 5/9/2010 12:02:54 PM]

Current rank: 2 Stars. Next Rank at 1000 Posts.

Send a PM to iNTANGiBLE
ELITE
iNTANGiBLE
  send PM
  view profile
  add to friends

India 
User #: 451495
Posts: 630 
Joined: May 22, 2008   
Last visit: Aug 07, 2014
Posted: May 09, 2010 12:02:06 PM - Report post  (0)  (0)       Post Reply  post reply  

Code injection is better.
---------------------------------------------------------------------------
CPU: Intel Core-i7 960 @ 3.20 GHz
MB: ASUS X58
GPU: ASUS GTX560Ti 1 GB
RAM: Kingston DDR3 2 x 4 GB
HDD: 2 x 500 GB
PSU: ADATA HM-850W
Current rank: 1 Star. Next Rank at 100 Posts.

Send a PM to AramAz
AUTHOR
AramAz
  send PM
  view profile
  add to friends

Cyprus 
User #: 756443
Posts: 70 
Joined: Jul 13, 2009   
Last visit: Aug 15, 2014
Posted: May 09, 2010 12:13:36 PM - Report post  (0)  (0)       Post Reply  post reply  

 quote:
 originally posted by Hamadah:

Code injection is better.

I see, I closed and opened the game and the addreses were changed...

Thanks for helping me.

Assume I want to change some bytes in the memory i found instructions, but not necessarily into meaningful instructions, but to other bytes. What I mean is even if we store an array of charcters, it will show up as assembly instructions. Can I just go ahead and replace the 12 bytes like this?


alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)

07AB3AD1:
jmp newmem
nop
returnhere:

newmem: //this is allocated memory, you have read,write,execute access
//place your code here
nop // of course i repeat this line 9 more times.

What now? the line add al,2a has memory equiqvalent of 04 2a
and I want to keep the 2a, but change the 04 to 90 (nop) how can i do that?

originalcode:
add ah,[edx]
add [eax],al
add [eax],al
jnl 07ab3afc
or [eax],eax
add al,2a <-- this 04 2a in memory. I want to make it 00 2a
exit:
jmp returnhere


[Edited by AramAz, 5/9/2010 12:14:11 PM]

Current rank: 2 Stars. Next Rank at 1000 Posts.

Send a PM to iNTANGiBLE
ELITE
iNTANGiBLE
  send PM
  view profile
  add to friends

India 
User #: 451495
Posts: 630 
Joined: May 22, 2008   
Last visit: Aug 07, 2014
Posted: May 09, 2010 12:43:06 PM - Report post  (0)  (0)       Post Reply  post reply  

You should learn more about registers and code-injection. See DABhand's Basic Assembly Tutorial in the Tutorials pages.
---------------------------------------------------------------------------
CPU: Intel Core-i7 960 @ 3.20 GHz
MB: ASUS X58
GPU: ASUS GTX560Ti 1 GB
RAM: Kingston DDR3 2 x 4 GB
HDD: 2 x 500 GB
PSU: ADATA HM-850W
Current rank: 1 Star. Next Rank at 100 Posts.

Send a PM to AramAz
AUTHOR
AramAz
  send PM
  view profile
  add to friends

Cyprus 
User #: 756443
Posts: 70 
Joined: Jul 13, 2009   
Last visit: Aug 15, 2014
Posted: May 09, 2010 12:56:43 PM - Report post  (0)  (0)       Post Reply  post reply  

 quote:
 originally posted by Hamadah:

You should learn more about registers and code-injection. See DABhand's Basic Assembly Tutorial in the Tutorials pages.

thanks. I already know assembly.

What I'm trying to understand is that for ex the line: add al,2a which appears to be an immediate value add, is not really anything important in that sense. It could be a part of a .txt which is bundled as a resource in a .dll library which is called by an exe file.

Relating to opcodes, the diassembler in ce or any other diassembler tries to make it look like assembly instructions, for ex an opcode of the instruction 'jmp' will follow a number of bytes which defines the label address. But as I said this is not what I'm trying to change, I'm simply trying to modify a bunch of bytes in memory.

[Edited by AramAz, 5/9/2010 12:58:35 PM]

Current rank: 3.5 Stars. Next Rank at 8000 Posts.

Send a PM to DABhand
AUTHOR
DABhand
  send PM
  view profile
  add to friends

United Kingdom 
User #: 157287
Posts: 5297 
Joined: Aug 27, 2006   
Last visit: Aug 29, 2014
Posted: May 09, 2010 2:14:54 PM - Report post  (0)  (0)       Post Reply  post reply  

Code Injection is better?

Not if the base address of the .dll is dynamic. Then Code Shifting applies.

As for the legal point, its not illegal. As you are technically changing memory on the fly so to speak.

Ive seen reviews for this game looks fun and new, but I haven't played it to say what is what with the game. If indeed the routines are stored in dynamically loaded libraries then code shifting will be the answer.


You said you know ASM, but obviously you dont 100%.

You cant change the start of that opcode to a 00 or 90. that would be silly.

04 is the usual hex value for add al, changing it to 90 would knocked the subsequent bytes out of touch. 00 would give you another add instruction but to a different lower register.

[Edited by DABhand, 5/9/2010 2:19:44 PM]

---------------------------------------------------------------------------
Great site for new games with constant deals

Click Here for G2Play for great deals

Oh and Don't forget some tuts on ASM and defeating DMA

Clicky Here for them
Current rank: 2 Stars. Next Rank at 1000 Posts.

Send a PM to iNTANGiBLE
ELITE
iNTANGiBLE
  send PM
  view profile
  add to friends

India 
User #: 451495
Posts: 630 
Joined: May 22, 2008   
Last visit: Aug 07, 2014
Posted: May 09, 2010 2:47:46 PM - Report post  (0)  (0)       Post Reply  post reply  

 quote:
 originally posted by DABhand:

Code Injection is better?

Not if the base address of the .dll is dynamic. Then Code Shifting applies.

Code-injection is better when the game doesn't code-shift.

[Edited by Hamadah, 5/9/2010 2:48:40 PM]

---------------------------------------------------------------------------
CPU: Intel Core-i7 960 @ 3.20 GHz
MB: ASUS X58
GPU: ASUS GTX560Ti 1 GB
RAM: Kingston DDR3 2 x 4 GB
HDD: 2 x 500 GB
PSU: ADATA HM-850W
Page 2 of 4     First Page     Previous Page     Next Page     Last Page
Go to page: 1  3  4 
All times are (GMT -08:00) Pacific Time (US & Canada). Current time is 1:37:14 AM
Return to General Discussions Message Board 2605 users online.   2527 guests / 78 members.
 
     
 
 
Trainer Troubleshooting Guide        Cheat Terms and Tutorials        Anti-Virus Notifications        Site Help / FAQ        Submit Cheats        Our Friends and Affiliates        About Us
      Copyright © 2001 - 2014  webworks, LLC  All Rights Reserved    -   DISCLAIMER    -   PRIVACY POLICY    -   TERMS OF SERVICE