 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
MichaelLee01 Cheater
Reputation: 0
Joined: 07 Apr 2020 Posts: 37
|
Posted: Fri Jul 24, 2020 8:37 pm Post subject: two identical script from different CT table ? |
|
|
| Hi I wrote a script,last week I made a backup,today I found my script isn't working anymore.so i check my backup,see if I made a mistake,but I found out they are just the same!the old script is working,but the new one(even is the same)is not! why?
|
|
| Back to top |
|
 |
Betcha Expert Cheater
Reputation: 4
Joined: 13 Aug 2015 Posts: 232 Location: Somewhere In Space
|
Posted: Fri Jul 24, 2020 10:20 pm Post subject: Re: two identical script from different CT table ? |
|
|
There must be something different if "same" script, but one aint working.
If still didn't found mistake, you can paste them both here for us to see.
|
|
| Back to top |
|
 |
MichaelLee01 Cheater
Reputation: 0
Joined: 07 Apr 2020 Posts: 37
|
Posted: Fri Jul 24, 2020 10:36 pm Post subject: |
|
|
Thanks for answering.
I double checked It is the same one ,I even copy my old script into my new cheat table,and still doesn't work.I think something is wrong with my new cheat table,I can not mov (float) values...
here is the script this is one_hit_kill ,value represent damage recieved so 9999 means one hit kill.Compare is good,I have infinite health.
{ Game : FSD-Win64-Shipping.exe
Version:
Date : 2020-03-29
Author : Administrator
This script does blah blah blah
}
[ENABLE]
aobscanmodule(Health,FSD-Win64-Shipping.exe,F3 44 0F 11 87 C8 01 00 00) // should be unique
alloc(newmem,$1000,FSD-Win64-Shipping.exe+747B81)
//单浮点 满血为0 数值为收到的伤害,血越少数值越大
label(Healthhhhh)
label(return)
newmem:
//movss [rdi+000001B8],xmm8
cmp [rdi+000001B4],#4
JE Healthhhhh
mov [rdi+000001C8],(float)9999//this is enemy one hit kill
jmp return
Healthhhhh://this is hero
mov [rdi+000001C8],(float)0
jmp return
Health:
jmp newmem
nop 4
return:
registersymbol(Health)
[DISABLE]
Health:
db F3 44 0F 11 87 C8 01 00 00
unregistersymbol(Health)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: FSD-Win64-Shipping.exe+73EFF1
"FSD-Win64-Shipping.exe"+73EFC9: 89 87 74 01 00 00 - mov [rdi+00000174],eax
"FSD-Win64-Shipping.exe"+73EFCF: 48 8B 06 - mov rax,[rsi]
"FSD-Win64-Shipping.exe"+73EFD2: FF 50 28 - call qword ptr [rax+28]
"FSD-Win64-Shipping.exe"+73EFD5: 0F 28 C8 - movaps xmm1,xmm0
"FSD-Win64-Shipping.exe"+73EFD8: 0F 28 C7 - movaps xmm0,xmm7
"FSD-Win64-Shipping.exe"+73EFDB: F3 0F 58 87 B8 01 00 00 - addss xmm0,[rdi+000001B8]
"FSD-Win64-Shipping.exe"+73EFE3: 41 0F 2F C0 - comiss xmm0,xmm8
"FSD-Win64-Shipping.exe"+73EFE7: 72 08 - jb FSD-Win64-Shipping.exe+73EFF1
"FSD-Win64-Shipping.exe"+73EFE9: F3 0F 5D C1 - minss xmm0,xmm1
"FSD-Win64-Shipping.exe"+73EFED: 44 0F 28 C0 - movaps xmm8,xmm0
// ---------- INJECTING HERE ----------
"FSD-Win64-Shipping.exe"+73EFF1: F3 44 0F 11 87 B8 01 00 00 - movss [rdi+000001B8],xmm8
// ---------- DONE INJECTING ----------
"FSD-Win64-Shipping.exe"+73EFFA: 4C 89 65 BF - mov [rbp-41],r12
"FSD-Win64-Shipping.exe"+73EFFE: 48 89 7D B7 - mov [rbp-49],rdi
"FSD-Win64-Shipping.exe"+73F002: E8 C9 E6 22 00 - call FSD-Win64-Shipping.exe+96D6D0
"FSD-Win64-Shipping.exe"+73F007: 48 8B D0 - mov rdx,rax
"FSD-Win64-Shipping.exe"+73F00A: 48 8B CF - mov rcx,rdi
"FSD-Win64-Shipping.exe"+73F00D: E8 AE EE 55 00 - call FSD-Win64-Shipping.exe+C9DEC0
"FSD-Win64-Shipping.exe"+73F012: 48 89 45 BF - mov [rbp-41],rax
"FSD-Win64-Shipping.exe"+73F016: 48 8D 55 B7 - lea rdx,[rbp-49]
"FSD-Win64-Shipping.exe"+73F01A: 48 8B 07 - mov rax,[rdi]
"FSD-Win64-Shipping.exe"+73F01D: 4C 8B CB - mov r9,rbx
}
|
|
| Back to top |
|
 |
Betcha Expert Cheater
Reputation: 4
Joined: 13 Aug 2015 Posts: 232 Location: Somewhere In Space
|
Posted: Fri Jul 24, 2020 11:46 pm Post subject: |
|
|
Remove - alloc(newmem,$1000,FSD-Win64-Shipping.exe+747B81)
So it's - alloc(newmem,$1000,FSD-Win64-Shipping.exe)
| Code: | [ENABLE]
aobscanmodule(HealthStuff,FSD-Win64-Shipping.exe,F3 44 0F 11 87 C8 01 00 00)
alloc(newmem,$100,FSD-Win64-Shipping.exe)
label(ForEnemies)
label(ForHero)
newmem:
Separate:
cmp [rdi+000001B4],#4
je HeroHealth
EnemyHealth:
movss xmm8,[ForEnemies]
movss [rdi+000001B8],xmm8
jmp return
HeroHealth:
movss xmm8,[ForHero]
movss [rdi+000001B8],xmm8
jmp return
ForEnemies:
dd (float)9999
ForHero:
dd (float)0
HealthStuff:
jmp newmem
nop 4
return:
registersymbol(HealthStuff)
registersymbol(ForEnemies)
registersymbol(ForHero)
[DISABLE]
HealthStuff:
db F3 44 0F 11 87 C8 01 00 00
unregistersymbol(HealthStuff)
unregistersymbol(ForEnemies)
unregistersymbol(ForHero)
dealloc(newmem) |
|
|
| Back to top |
|
 |
MichaelLee01 Cheater
Reputation: 0
Joined: 07 Apr 2020 Posts: 37
|
Posted: Sat Jul 25, 2020 12:07 pm Post subject: |
|
|
First I really like your script .
I solved my problem apparently I start writing this script using 7.0 version,I changed to 7.1 later, and there are maybe some files corrupted,so I just simply reinstall 7.0 version,and everything just back to normal!
Thanks again!
|
|
| Back to top |
|
 |
|
|
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
|
|