View previous topic :: View next topic |
Author |
Message |
hondafrik Advanced Cheater Reputation: 0
Joined: 15 Jan 2014 Posts: 60 Location: Croatia
|
Posted: Wed Mar 18, 2015 4:31 am Post subject: having problem with script |
|
|
hello everyone
When i manul change code
from to
cheat work awesome.
but when i try with trainer, flash player crash
Code: | alloc(newmem1,2048)
label(returnhere1)
label(originalcode1)
aobscan(repair1,8B 45 10 8B 08 8B 41 38 85 C0)
registersymbol(repair1)
newmem1:
mov eax,[ecx+78]
jmp returnhere1
originalcode1:
mov eax,[ecx+38]
test eax,eax
jmp returnhere1
repair1:
jmp newmem1
returnhere1: |
I cant understand what i do wrong,i try already few combination to add "nop" Code: | newmem1:
mov eax,[ecx+78]
nop
jmp returnhere1 | but its still same, flash crash all time.
|
|
Back to top |
|
|
justa_dude Grandmaster Cheater Reputation: 23
Joined: 29 Jun 2010 Posts: 891
|
Posted: Wed Mar 18, 2015 4:48 am Post subject: |
|
|
If you have a working code, just duplicate it w/ the script:
Code: |
aobscan(repair1,8B 45 10 8B 08 8B 41 38 85 C0)
repair1:
db 8b 81 80 00 00 00 90
|
_________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on... |
|
Back to top |
|
|
hondafrik Advanced Cheater Reputation: 0
Joined: 15 Jan 2014 Posts: 60 Location: Croatia
|
Posted: Wed Mar 18, 2015 5:26 am Post subject: |
|
|
not working that bro justa_dude,flash player crash again.
|
|
Back to top |
|
|
hhhuut Grandmaster Cheater Reputation: 6
Joined: 08 Feb 2015 Posts: 607
|
Posted: Wed Mar 18, 2015 9:50 am Post subject: |
|
|
Your wanted "mov" code is 6bytes long. A jump is only five, so you need to take the "je" instruction into your script too and add a "nop" after the "jump newmem1".
Code: | alloc(newmem1,2048)
label(returnhere1)
label(originalcode1)
aobscan(repair1,8B 45 10 8B 08 8B 41 38 85 C0)
registersymbol(repair1)
newmem1:
mov eax,[ecx+78]
jmp returnhere1
originalcode1:
mov eax,[ecx+38]
test eax,eax
je 07F590F0
jmp returnhere1
repair1:
jmp newmem1
nop
returnhere1: |
|
|
Back to top |
|
|
hondafrik Advanced Cheater Reputation: 0
Joined: 15 Jan 2014 Posts: 60 Location: Croatia
|
Posted: Wed Mar 18, 2015 10:17 am Post subject: |
|
|
now only problem is to that code is different every time when i refresh game,do you have idea what to do now bro?
Edit: i add new and its say hack failed
Code: | alloc(newmem1,2048)
label(returnhere1)
label(originalcode1)
aobscan(repair1,8B 45 10 8B 08 8B 41 38 85 C0)
registersymbol(repair1)
newmem1:
mov eax,[ecx+78]
jmp returnhere1
originalcode1:
mov eax,[ecx+38]
test eax,eax
je 07ABAB5B
jmp returnhere1
repair1:
jmp newmem1
nop
returnhere1: |
|
|
Back to top |
|
|
DaSpamer Grandmaster Cheater Supreme Reputation: 52
Joined: 13 Sep 2011 Posts: 1578
|
Posted: Wed Mar 18, 2015 12:55 pm Post subject: |
|
|
no idea why you're keeping 'originalcode' while game never accesses it.
Just do this
Code: | alloc(newmem1,2048)
label(returnhere1)
aobscan(repair1,8B 45 10 8B 08 8B 41 38 85 C0)
registersymbol(repair1)
newmem1:
mov eax,[ecx+78]
jmp returnhere1
repair1:
jmp newmem1
nop
returnhere1: |
_________________
|
|
Back to top |
|
|
hondafrik Advanced Cheater Reputation: 0
Joined: 15 Jan 2014 Posts: 60 Location: Croatia
|
Posted: Wed Mar 18, 2015 1:09 pm Post subject: |
|
|
thx DaSpamer but still flash player crash,dont have idea anymore what to do
|
|
Back to top |
|
|
hhhuut Grandmaster Cheater Reputation: 6
Joined: 08 Feb 2015 Posts: 607
|
Posted: Wed Mar 18, 2015 2:27 pm Post subject: |
|
|
try to inject code one instruction above. That way you won't have to deal with the jump address that changes all the time ...
Btw: Why is it that AOB-Code: 8B 45 10 8B 08 8B 41 38 85 C0???
If I use the address from your screenshot in your first post, I get a different one ... 8B 41 68 85 c0 74 28 8b 50 08
|
|
Back to top |
|
|
justa_dude Grandmaster Cheater Reputation: 23
Joined: 29 Jun 2010 Posts: 891
|
Posted: Wed Mar 18, 2015 2:33 pm Post subject: |
|
|
In the code that he posted that he manually injected that he says works, he is overwriting the test and the jump. I suspect the problem is that he's got an ambiguous aobscan.
_________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on... |
|
Back to top |
|
|
hhhuut Grandmaster Cheater Reputation: 6
Joined: 08 Feb 2015 Posts: 607
|
Posted: Wed Mar 18, 2015 2:38 pm Post subject: |
|
|
Same thought came to me as I saw the AOB ...
|
|
Back to top |
|
|
Zanzer I post too much Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Wed Mar 18, 2015 7:15 pm Post subject: |
|
|
Yea, why manually create the script when CE does all the work for you?
In Auto assemble, select Template > AOB Injection
I suspect CE will generate something like the following for you:
Code: | [ENABLE]
aobscanmodule(repair1,8B 41 68 85 C0 74 * 8B 50 08)
alloc(newmem,$1000)
label(code)
label(return)
newmem:
code:
mov eax,[ecx+78]
test eax,eax
jmp return
repair1:
jmp code
return:
registersymbol(repair1)
[DISABLE]
repair1:
db 8B 41 68 85 C0
unregistersymbol(repair1)
dealloc(newmem) |
|
|
Back to top |
|
|
++METHOS I post too much Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Wed Mar 18, 2015 7:30 pm Post subject: |
|
|
I second that of using the script templates.
Have you checked to see if the jump distance changes?
|
|
Back to top |
|
|
hhhuut Grandmaster Cheater Reputation: 6
Joined: 08 Feb 2015 Posts: 607
|
Posted: Thu Mar 19, 2015 2:35 am Post subject: |
|
|
It's a short jump, so I'd say it always jumps 28 bytes which would be easy to calculate then...
|
|
Back to top |
|
|
hondafrik Advanced Cheater Reputation: 0
Joined: 15 Jan 2014 Posts: 60 Location: Croatia
|
Posted: Thu Mar 19, 2015 3:39 am Post subject: |
|
|
i need Aob code because he is only static,everytime i refresh game address is changed so i cant use her,i try to add "nop" everywhere in hack,and yes i try AA adding Aob injection and still nothing,something is missing and i cant find it,my other hacks in same script work fine only this hack make me a problem.
|
|
Back to top |
|
|
Zanzer I post too much Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Thu Mar 19, 2015 1:08 pm Post subject: |
|
|
Did the script I posted not run?
It should have been exactly what you wanted.
|
|
Back to top |
|
|
|