| View previous topic :: View next topic |
| Author |
Message |
jeck00119 Cheater
Reputation: 0
Joined: 11 Aug 2014 Posts: 27
|
Posted: Mon Aug 11, 2014 12:18 pm Post subject: !!!auto assembler script error!!! |
|
|
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!!!
| Description: |
|
| Filesize: |
32.04 KB |
| Viewed: |
6200 Time(s) |

|
| Description: |
|
| Filesize: |
31.65 KB |
| Viewed: |
6200 Time(s) |

|
| Description: |
|
| Filesize: |
30.32 KB |
| Viewed: |
6200 Time(s) |

|
| Description: |
|
| Filesize: |
31.37 KB |
| Viewed: |
6200 Time(s) |

|
| 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) |

|
|
|
| Back to top |
|
 |
Geri Moderator
Reputation: 111
Joined: 05 Feb 2010 Posts: 5627
|
Posted: Mon Aug 11, 2014 12:24 pm Post subject: |
|
|
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.
_________________
|
|
| Back to top |
|
 |
jeck00119 Cheater
Reputation: 0
Joined: 11 Aug 2014 Posts: 27
|
Posted: Mon Aug 11, 2014 12:44 pm Post subject: |
|
|
i'm a noob in AA,don't judge
| Description: |
|
| Filesize: |
136.33 KB |
| Viewed: |
6190 Time(s) |

|
| Description: |
|
| Filesize: |
114.16 KB |
| Viewed: |
6190 Time(s) |

|
| Description: |
|
| Filesize: |
132.1 KB |
| Viewed: |
6190 Time(s) |

|
| Description: |
|
| Filesize: |
84.95 KB |
| Viewed: |
6190 Time(s) |

|
|
|
| Back to top |
|
 |
Geri Moderator
Reputation: 111
Joined: 05 Feb 2010 Posts: 5627
|
Posted: Mon Aug 11, 2014 1:36 pm Post subject: |
|
|
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.
_________________
|
|
| Back to top |
|
 |
jeck00119 Cheater
Reputation: 0
Joined: 11 Aug 2014 Posts: 27
|
Posted: Mon Aug 11, 2014 2:22 pm Post subject: |
|
|
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 |
|
 |
Geri Moderator
Reputation: 111
Joined: 05 Feb 2010 Posts: 5627
|
Posted: Mon Aug 11, 2014 8:50 pm Post subject: |
|
|
I don't see any obvious error that would cause #3 and #4 to interfere with each other. So no idea about this.
_________________
|
|
| Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Mon Aug 11, 2014 9:35 pm Post subject: |
|
|
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 |
|
 |
jeck00119 Cheater
Reputation: 0
Joined: 11 Aug 2014 Posts: 27
|
Posted: Tue Aug 12, 2014 4:13 am Post subject: |
|
|
Can you give an example( a script) please?i'm a noob in AA !
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 |
|
 |
|