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 


Auto Assembler adding codes to list with out decrease? HELP

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

Joined: 15 Apr 2013
Posts: 6

PostPosted: Sun Jun 30, 2013 6:16 pm    Post subject: Auto Assembler adding codes to list with out decrease? HELP Reply with quote

OK first of I am sorry, i readed hours and hour sthrough Posts but I just can't find what I search for.

Ok Leme try to explain it sorry for my english.

This here
puu.sh/ 3s9EH.jpg

In the Change Adress Box are all Values from Monster HP that are attacking me, I would like to change every new value that pops up there to be changed to 1 exept the first 1 that is my HP.

So as an example

If a new Monster attacks me, the HP will be poping up the that window, I could tab out double click it and then change it to 1 to kill it but that would take a lot of time if I have 100 of Monsters coming at me.

Is there a way to get all the codes at once and changing them to 1 as soon as a new code goes into there?

The Memory adress is :
MightyQuest.exe+2BAFEF

I have no plane of Lua or other scripts never id it. I know a bit with cheat engine but I am no master so please help me. Please.
Back to top
View user's profile Send private message
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Sun Jun 30, 2013 7:41 pm    Post subject: Reply with quote

Normally this auto assembler script should give 2 hit kills for monsters and godmode for the player if you adapt it correctly (correctly enter the player's HP pointer).

2 hit kill: first hit sets hp to 1, second hit kills.
Code:
[ENABLE]
alloc(Buffer,1024)
label(MyHook)
label(MyHook_DealingWithThePlayer)
label(MyHook_BehaveNormally)
label(MyHook_ReturnHere)


MightyQuest.exe+2BAFEF:
jmp MyHook
nop
MyHook_ReturnHere:

Buffer:
MyHook:
  push eax                              //save eax

  //Update the 3 lines below to match your HP pointer. In this example I assumed your HP pointer is:
  //address 3de7518c = 1628
  //9a    = 3de7518c
  //78
  //56
  //34
  //"MightyQuest.exe"+12
  mov eax,dword [MightyQuest.exe+12]
  mov eax,dword [eax+34]
  mov eax,dword [eax+56]
  mov eax,dword [eax+78]            //duplicate this line if there are more the 4 offsets in your HP pointer

  add eax,9a-9C                  //topmost offset goes here, leave the -9C.
  //now eax=player HP address-9C
  //we want to see if ebx+9C=player HP address
  //so we check if ebx=player HP address-9C
  cmp ebx,eax                         //see if we are trying to apply damage on the player
  pop eax                             //restore saved eax
  je MyHook_DealingWithThePlayer
    cmp dword [ebx+09C],1             //see if the monster has 1HP
    jle MyHook_BehaveNormally          //jle: Jump if Less or Equal to 1 hp
      mov eax,1                       //if a monster is being damaged, but has more than 1HP, set his health to 1
                                      //putting mov eax,0 MIGHT do 1 hit kills
  MyHook_BehaveNormally:
  //MyHook_DealingWithThePlayer:      //uncomment this line if you want the player to recieve damage. (don't forget to remove the other MyHook_DealingWithThePlayer: )
  mov dword [ebx+09C],eax
  MyHook_DealingWithThePlayer:        //if you put MyHook_DealingWithThePlayer here, the player is in god mode
jmp MyHook_ReturnHere
 
[DISABLE]

MightyQuest.exe+2BAFEF:
mov dword [ebx+9c],eax

dealloc(Buffer)
Note: I was tired zombie-like as I wrote this, so maybe I made a mistake or two.
Back to top
View user's profile Send private message
Exerlos
How do I cheat?
Reputation: 0

Joined: 15 Apr 2013
Posts: 6

PostPosted: Mon Jul 01, 2013 2:19 pm    Post subject: Reply with quote

Haha Wow, thank you so much, I will try to figure out what to change before
I start asking dumb questions.
I never did something in Auto Assembler and have basically no idea from it. I am really really greatfull for somone like you to help me with that. I love to learn new stuff and it always amkes me exited to see people share knowledge. Thank you.

As I said I have basically no idea about that, yeah sure I know a bit if not i wouldn't be able to find the values of Position, Pointers and memory adress Codes but basically I never tried to learn more.
and seeing somone just wirting stuff like that is awesome. I know a bit about programming, setting jumpers etc writing bit in Batch or C++ but I never startet to learn it for good.

Again i am sorry for my English. And Just in Case I can't find out how to cahnge your code, would you mind me asking here again?

But now I am going to test this. I assume putting this into the aurto assembler script tool Smile

EDIT:
Ok I changed it like this here.
Would be awesome if you could just say yes going to test it now.

Code:

[ENABLE]
alloc(Buffer,1024)
label(MyHook)
label(MyHook_DealingWithThePlayer)
label(MyHook_BehaveNormally)
label(MyHook_ReturnHere)


MightyQuest.exe+2BAFEF:
jmp MyHook
nop
MyHook_ReturnHere:

Buffer:
MyHook:
  push eax                              //save eax

  //Update the 3 lines below to match your HP pointer. In this example I assumed your HP pointer is:
  //address 3de7518c = 1628
  //9a    = 3de7518c
  //78
  //56
  //34
  //"MightyQuest.exe"+12
  mov eax,dword [MightyQuest.exe+12]
  mov eax,dword [eax+16c]
  mov eax,dword [eax+184]
  mov eax,dword [eax+54]            //duplicate this line if there are more the 4 offsets in your HP pointer
  mov eax,dword [eax+ac]

  add eax,54-9C                  //topmost offset goes here, leave the -9C.
  //now eax=player HP address-9C
  //we want to see if ebx+9C=player HP address
  //so we check if ebx=player HP address-9C
  cmp ebx,eax                         //see if we are trying to apply damage on the player
  pop eax                             //restore saved eax
  je MyHook_DealingWithThePlayer
    cmp dword [ebx+09C],1             //see if the monster has 1HP
    jle MyHook_BehaveNormally          //jle: Jump if Less or Equal to 1 hp
      mov eax,1                       //if a monster is being damaged, but has more than 1HP, set his health to 1
                                      //putting mov eax,0 MIGHT do 1 hit kills
  MyHook_BehaveNormally:
  //MyHook_DealingWithThePlayer:      //uncomment this line if you want the player to recieve damage. (don't forget to remove the other MyHook_DealingWithThePlayer: )
  mov dword [ebx+09C],eax
  MyHook_DealingWithThePlayer:        //if you put MyHook_DealingWithThePlayer here, the player is in god mode
jmp MyHook_ReturnHere
 
[DISABLE]

MightyQuest.exe+2BAFEF:
mov dword [ebx+9c],eax

dealloc(Buffer)


my pointer is
puu.sh/3sLPt.png



EDIT:
Ok Sadly seems to cars when I run the Script.
Did I missed something?


EDITē:
Ok I gues sI Found it forgot to add "MightyQuest.exe"+007F6930 to the list ..
See I said I will try it.. even thouhg I asked after the first failure i am sorry..
HOpefully it will work now xD


EDIT:
Wow works. Nice you guys are awesome Wink Thanks man ^^


Last edited by Exerlos on Mon Jul 01, 2013 3:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Mon Jul 01, 2013 3:38 pm    Post subject: Reply with quote

Exerlos wrote:
Again i am sorry for my English.
Looks good to me.
Exerlos wrote:
And Just in Case I can't find out how to cahnge your code, would you mind me asking here again?
Go on, ask, I'm a self-proclaimed teacher anyway.
Exerlos wrote:
But now I am going to test this. I assume putting this into the aurto assembler script tool
Yup, don't forget file->assign to cheat table.
Exerlos wrote:
Would be awesome if you could just say yes going to test it now.
Try first, ask later.

Exerlos wrote:
Ok Sadly seems to cars when I run the Script.
Did I missed something?
Aww, almost good. You forgot to update the ine:
Code:
mov eax,dword [MightyQuest.exe+12]
into
Code:
mov eax,dword [MightyQuest.exe+7f6930]



Edit: Ah, sounds like you found the problem yourself.
Back to top
View user's profile Send private message
Exerlos
How do I cheat?
Reputation: 0

Joined: 15 Apr 2013
Posts: 6

PostPosted: Mon Jul 01, 2013 3:58 pm    Post subject: Reply with quote

It works Wink

Thank you so much. I shall start to learn assembler.. I kind of understand what the codes dos step per step xD so I guess it can't be that hard. Thanks for encouraging me that much.
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