| View previous topic :: View next topic |
| Author |
Message |
Dr.Disrespect Grandmaster Cheater
Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
|
| Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Sat Nov 12, 2016 4:15 pm Post subject: |
|
|
| CE auto-builds scripts this way now for AOB injection template. You can use custom scripts, though, to change this.
|
|
| Back to top |
|
 |
Dr.Disrespect Grandmaster Cheater
Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Sat Nov 12, 2016 4:18 pm Post subject: |
|
|
| ++METHOS wrote: | | CE auto-builds scripts this way now for AOB injection template. You can use custom scripts, though, to change this. |
Thanks, ++METHOS.
|
|
| Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Sat Nov 12, 2016 5:58 pm Post subject: |
|
|
| I feel so offended!
|
|
| Back to top |
|
 |
Dr.Disrespect Grandmaster Cheater
Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Sat Nov 12, 2016 9:50 pm Post subject: |
|
|
| Zanzer wrote: | | I feel so offended! |
Oh no I'm sorry!
|
|
| Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Sat Nov 12, 2016 10:21 pm Post subject: |
|
|
actually, some AA commands can be placed at any line inside block. First, last, in the middle.
registersymbol - anywhere in the block
label - anywhere in the block, but must be before the first usage
| Code: | [ENABLE]
aobscan(health,0F B6 87 A8 00 00 00)
alloc(newmem,$1000)
label(return)
newmem:
cmp [edi+68],0
label(code)
je code
xor eax,eax
jmp return
code:
movzx eax,byte ptr [rdi+000000A8]
registersymbol(health)
jmp return
health:
jmp newmem
nop
nop
return: |
registersymbol can be placed between nops too:
| Code: | health:
jmp newmem
nop
registersymbol(health)
nop
return: |
_________________
|
|
| Back to top |
|
 |
Dr.Disrespect Grandmaster Cheater
Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Sun Nov 13, 2016 5:36 pm Post subject: |
|
|
| mgr.inz.Player wrote: | actually, some AA commands can be placed at any line inside block. First, last, in the middle.
registersymbol - anywhere in the block
label - anywhere in the block, but must be before the first usage
| Code: | [ENABLE]
aobscan(health,0F B6 87 A8 00 00 00)
alloc(newmem,$1000)
label(return)
newmem:
cmp [edi+68],0
label(code)
je code
xor eax,eax
jmp return
code:
movzx eax,byte ptr [rdi+000000A8]
registersymbol(health)
jmp return
health:
jmp newmem
nop
nop
return: |
registersymbol can be placed between nops too:
| Code: | health:
jmp newmem
nop
registersymbol(health)
nop
return: |
|
Thanks for the info, mrg.inz.Player. That's interesting.
|
|
| Back to top |
|
 |
predprey Master Cheater
Reputation: 24
Joined: 08 Oct 2015 Posts: 486
|
Posted: Sun Nov 13, 2016 9:22 pm Post subject: |
|
|
| check out mgr.inz's Custom AA Templates lua extension, so you don't have to manually move around the registersymbol() and other commands everytime you generate a template.
|
|
| Back to top |
|
 |
STN I post too much
Reputation: 43
Joined: 09 Nov 2005 Posts: 2676
|
Posted: Sun Nov 13, 2016 9:37 pm Post subject: |
|
|
| mgr.inz.Player wrote: | actually, some AA commands can be placed at any line inside block. First, last, in the middle.
registersymbol - anywhere in the block
label - anywhere in the block, but must be before the first usage
|
Nope.
In CE Autoassemble, you can't put it in [disable] block. I mean you can but it will fail to add it to symbollist (until you try to deactivate the script)- you can still activate the script but it won't disable.
For CE Autoassemble, you have to keep in mind that CE works like this
| Code: | [ENABLE] block is considered separate from [DISABLE] block. Code in [ENABLE] is executed when you try to activate a script, code in [DISABLE] is executed when you try to disable a script.
[ENABLE] block is considered separate from [DISABLE] block. Code in [ENABLE] is executed when you try to activate a script, code in [DISABLE] is executed when you try to disable a script.
and so on |
_________________
|
|
| Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Mon Nov 14, 2016 4:58 am Post subject: |
|
|
A bit pedantic?
|
|
| Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Mon Nov 14, 2016 7:30 am Post subject: |
|
|
@STN, nice try, but, there's not a single word about moving AA command from one block to another.
@++METHOS, not pedantic. He's just upset. Because of this post
_________________
|
|
| Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Mon Nov 14, 2016 8:18 am Post subject: |
|
|
Yes, I saw. I should give STN credit for trying, though...cause correcting you on something is not easy.
|
|
| Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
|
| Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Mon Nov 14, 2016 10:58 am Post subject: |
|
|
No.
|
|
| Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Mon Nov 14, 2016 11:03 am Post subject: |
|
|
| Correct answer was "Nope."
|
|
| Back to top |
|
 |
|