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 


Script can't be unticked issue and Crash

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

Joined: 29 May 2016
Posts: 311

PostPosted: Wed Jun 01, 2016 3:51 am    Post subject: Script can't be unticked issue and Crash Reply with quote

ok so I found and made a script for Ammo, Dead Island Riptide the new one that came out:

Code:
[ENABLE]

aobscanmodule(INJECT,gamedll_x64_rwdi.dll,89 84 9F 7C 11 00 00 41 8B C5) // should be unique
alloc(newmem,$100,"gamedll_x64_rwdi.dll"+677982)

label(code)
label(return)

newmem:

code:
  //mov [rdi+rbx*4+0000117C],eax
  mov [rdi+rbx*4+0000117C],63
  jmp return

INJECT:
  jmp code
  nop
  nop
return:
registersymbol(INJECT)

[DISABLE]

INJECT:
  db 89 84 9F 7C 11 00 00

unregistersymbol(INJECT)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: "gamedll_x64_rwdi.dll"+677982

"gamedll_x64_rwdi.dll"+677966: 48 8B 5C 24 58           -  mov rbx,[rsp+58]
"gamedll_x64_rwdi.dll"+67796B: 48 83 C4 20              -  add rsp,20
"gamedll_x64_rwdi.dll"+67796F: 41 5D                    -  pop r13
"gamedll_x64_rwdi.dll"+677971: 41 5C                    -  pop r12
"gamedll_x64_rwdi.dll"+677973: 5F                       -  pop rdi
"gamedll_x64_rwdi.dll"+677974: C3                       -  ret
"gamedll_x64_rwdi.dll"+677975: 44 3B E8                 -  cmp r13d,eax
"gamedll_x64_rwdi.dll"+677978: 44 0F 4F E8              -  cmovg r13d,eax
"gamedll_x64_rwdi.dll"+67797C: 41 2B C5                 -  sub eax,r13d
"gamedll_x64_rwdi.dll"+67797F: 45 8B E5                 -  mov r12d,r13d
// ---------- INJECTING HERE ----------
"gamedll_x64_rwdi.dll"+677982: 89 84 9F 7C 11 00 00     -  mov [rdi+rbx*4+0000117C],eax
// ---------- DONE INJECTING  ----------
"gamedll_x64_rwdi.dll"+677989: 41 8B C5                 -  mov eax,r13d
"gamedll_x64_rwdi.dll"+67798C: 48 8B 5C 24 58           -  mov rbx,[rsp+58]
"gamedll_x64_rwdi.dll"+677991: 48 83 C4 20              -  add rsp,20
"gamedll_x64_rwdi.dll"+677995: 41 5D                    -  pop r13
"gamedll_x64_rwdi.dll"+677997: 41 5C                    -  pop r12
"gamedll_x64_rwdi.dll"+677999: 5F                       -  pop rdi
"gamedll_x64_rwdi.dll"+67799A: C3                       -  ret
"gamedll_x64_rwdi.dll"+67799B: 33 C0                    -  xor eax,eax
"gamedll_x64_rwdi.dll"+67799D: 48 8B 5C 24 58           -  mov rbx,[rsp+58]
"gamedll_x64_rwdi.dll"+6779A2: 48 83 C4 20              -  add rsp,20
}


What could be the problem, for example if I tick my rest of the scripts and then trying to untick them, they won't be unticked, but sometimes I can untick 1 or 2 but they will not be ticked again, what could possibly cause that?
Back to top
View user's profile Send private message
hhhuut
Grandmaster Cheater
Reputation: 6

Joined: 08 Feb 2015
Posts: 607

PostPosted: Wed Jun 01, 2016 4:02 am    Post subject: Reply with quote

Do all your scripts have "INJECT" as the script's symbol address? If yes that's your problem.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25811
Location: The netherlands

PostPosted: Wed Jun 01, 2016 4:03 am    Post subject: Reply with quote

you use and register the name INJECT

Make sure your other scripts don't use that same name

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
KalasDev
Master Cheater
Reputation: 1

Joined: 29 May 2016
Posts: 311

PostPosted: Wed Jun 01, 2016 4:12 am    Post subject: Reply with quote

Oh crap haha, can you please tell me why just interested I think I know why but I cannot just explain it here as my English is not very well and I don't really know what to write to explain it


aLso can you please tell me which lines to change, it won't save I get error.

I know what to change but it's just gives me error idk why, just tell me which lines please Very Happy
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25811
Location: The netherlands

PostPosted: Wed Jun 01, 2016 4:19 am    Post subject: Reply with quote

each script overrides the location of INJECT and disabling it will remove it altogether, making further disabling impossible

to fix it give each script a unique name. like INJECT1, INJECT2, INJECT3 etc... (change all occurances in the whole script)

3, 16, 21, 25, 28

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping


Last edited by Dark Byte on Wed Jun 01, 2016 4:24 am; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger
KalasDev
Master Cheater
Reputation: 1

Joined: 29 May 2016
Posts: 311

PostPosted: Wed Jun 01, 2016 4:22 am    Post subject: Reply with quote

Ehm I see thank you
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