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 script error!!!

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

Joined: 11 Aug 2014
Posts: 27

PostPosted: Mon Aug 11, 2014 12:18 pm    Post subject: !!!auto assembler script error!!! Reply with quote

hi!
i make a GOD MODE for Age of empires 2 the conquerors and i have a problem with auto assembler script: the health address is written and accessed by 3 codes(1 write and 2 access) .I tried the code that writes the address but nothing happened,when i tried all 3 addresses worked just for soldiers,the buildings are destructible! Finally I found an code that access the buildings health .This code is similar to a code that access the soldiers health and when i want to inject the script the game stopped working!!!
i can just choose the buildings or the soldiers health code ,two can not work at the same time!!!
SORRY FOR MY BAD ENGLISH!!
PLEASE HELP!!!
THANKS FOR YOUR TIME!!!



4.JPG
 Description:
4.
 Filesize:  32.04 KB
 Viewed:  6200 Time(s)

4.JPG



3.JPG
 Description:
3.
 Filesize:  31.65 KB
 Viewed:  6200 Time(s)

3.JPG



2.JPG
 Description:
2.
 Filesize:  30.32 KB
 Viewed:  6200 Time(s)

2.JPG



1.JPG
 Description:
1.
 Filesize:  31.37 KB
 Viewed:  6200 Time(s)

1.JPG



CODES.JPG
 Description:
1.common 1soldiers GM 1.buildings GM
2.common 2.soldiers GM 2.buildings GM
3.soldiers 3.soldiers GM 4.buildings GM
4.buildings
 Filesize:  33.24 KB
 Viewed:  6200 Time(s)

CODES.JPG


Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Mon Aug 11, 2014 12:24 pm    Post subject: Reply with quote

Normally it's not a problem if you activate more than one script, and those codes are not even too close to each other, so try to post both scripts (the full script) and maybe it will 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
jeck00119
Cheater
Reputation: 0

Joined: 11 Aug 2014
Posts: 27

PostPosted: Mon Aug 11, 2014 12:44 pm    Post subject: Reply with quote

i'm a noob in AA,don't judge Sad


4'.JPG
 Description:
4.
 Filesize:  136.33 KB
 Viewed:  6190 Time(s)

4'.JPG



3'.JPG
 Description:
3.
 Filesize:  114.16 KB
 Viewed:  6190 Time(s)

3'.JPG



2'.JPG
 Description:
2.
 Filesize:  132.1 KB
 Viewed:  6190 Time(s)

2'.JPG



1'.JPG
 Description:
1.
 Filesize:  84.95 KB
 Viewed:  6190 Time(s)

1'.JPG


Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Mon Aug 11, 2014 1:36 pm    Post subject: Reply with quote

The #2 code may cause a problem, because you will need to save and load the flags as your code is messing up a previous compare.

Use pushfd and popfd to save and load the flags and make sure that you use pushfd before your cmp instruction and use popfd before the original je instruction is executed.

Other than that, I don't really understand. Which script is causing the crash? Or you turn on all 4 scripts at once and it happens only then? You said you need 2 cheats but you have 4 scripts.

_________________
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
jeck00119
Cheater
Reputation: 0

Joined: 11 Aug 2014
Posts: 27

PostPosted: Mon Aug 11, 2014 2:22 pm    Post subject: Reply with quote

I want to create a single GM,but code nr.3 and 4 don't work in the same time,and i must create two GM scripts,one for buildings and other for soldiers

yes when i active all 4 scripts the game crash
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Mon Aug 11, 2014 8:50 pm    Post subject: Reply with quote

I don't see any obvious error that would cause #3 and #4 to interfere with each other. So no idea about this.
_________________
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
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Mon Aug 11, 2014 9:35 pm    Post subject: Reply with quote

The register in script #4 needs to be fixed. You should also let the rest of the code run in lieu of exiting.

I would rewrite the other scripts so that you nop the primary function (instead of using an add function, which can cause problems for some games) while letting as much of the originalcode run as possible. It is unlikely that all of these injection points are needed.
Back to top
View user's profile Send private message
jeck00119
Cheater
Reputation: 0

Joined: 11 Aug 2014
Posts: 27

PostPosted: Tue Aug 12, 2014 4:13 am    Post subject: Reply with quote

Can you give an example( a script) please?i'm a noob in AA ! Sad
THANKS YOU SIR!!

EDIT:i resolved the register in script 4,i guess

newmem:
push eax
mov eax,[edi+0C]
cmp [eax+9C],1
pop eax
je fr
jmp originalcode
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