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 BSOD?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
veelox321
Newbie cheater
Reputation: 0

Joined: 12 Jan 2022
Posts: 11

PostPosted: Sat Oct 07, 2023 10:23 am    Post subject: script BSOD? Reply with quote

Hi, i am using cheat engine for thief simulator 1 DLC. In some part of the code i manage to change things and made it work a few times, now the code when i try to activate it BSOD my pc two times already and i am trying to figure out why. here is the code and my script
thanks for any help.


Code:
PipeMiniGameController:Update+3e - 6A 01                 - push 01
PipeMiniGameController:Update+40 - 50                    - push eax
PipeMiniGameController:Update+41 - 39 00                 - cmp [eax],eax
PipeMiniGameController:Update+43 - E8 9C000000           - call 17896D14
PipeMiniGameController:Update+48 - 83 C4 10              - add esp,10
PipeMiniGameController:Update+4b - 8B C8                 - mov ecx,eax
PipeMiniGameController:Update+4d - 39 09                 - cmp [ecx],ecx
PipeMiniGameController:Update+4f - 0FB6 40 21            - movzx eax,byte ptr [eax+21]
PipeMiniGameController:Update+53 - 85 C0                 - test eax,eax
PipeMiniGameController:Update+55 - 0F84 7A000000         - je PipeMiniGameController:Update+d5
PipeMiniGameController:Update+5b - 0FB6 87 F0000000      - movzx eax,byte ptr [edi+000000F0]
PipeMiniGameController:Update+62 - 85 C0                 - test eax,eax
PipeMiniGameController:Update+64 - 0F85 72000000         - jne PipeMiniGameController:Update+dc
PipeMiniGameController:Update+6a - C6 87 F0000000 01     - mov byte ptr [edi+000000F0],01
PipeMiniGameController:Update+71 - 8B 87 A4000000        - mov eax,[edi+000000A4]
PipeMiniGameController:Update+77 - 83 EC 08              - sub esp,08
PipeMiniGameController:Update+7a - 6A 00                 - push 00
PipeMiniGameController:Update+7c - 50                    - push eax
PipeMiniGameController:Update+7d - E8 1E7DB2ED           - call 053BE9D0
PipeMiniGameController:Update+82 - 83 C4 10              - add esp,10
PipeMiniGameController:Update+85 - 85 C0                 - test eax,eax
PipeMiniGameController:Update+87 - 74 1C                 - je PipeMiniGameController:Update+a5
PipeMiniGameController:Update+89 - 8B 87 A4000000        - mov eax,[edi+000000A4]
PipeMiniGameController:Update+8f - D9E8                  - fld1







Code:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat

 
 
aobscan(INJECT,85 C0 0F 84 7A 00 00 00 0F) // should be unique
alloc(newmem,$1000)

label(code)
label(return)

newmem:
       sub eax,1

code:
  //test eax,eax
  //je PipeMiniGameController:Update+d5
  jmp return

INJECT:
  jmp newmem
  nop 3
return:
registersymbol(INJECT)

[DISABLE]
//code from here till the end of the code will be used to disable the cheat
INJECT:
  db 85 C0 0F 84 7A 00 00 00

unregistersymbol(INJECT)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: PipeMiniGameController:Update+53

PipeMiniGameController:Update+35: 8B 87 88 00 00 00     - mov eax,[edi+00000088]
PipeMiniGameController:Update+3b: 83 EC 08              - sub esp,08
PipeMiniGameController:Update+3e: 6A 01                 - push 01
PipeMiniGameController:Update+40: 50                    - push eax
PipeMiniGameController:Update+41: 39 00                 - cmp [eax],eax
PipeMiniGameController:Update+43: E8 80 F5 B5 E6        - call System.Collections.Generic.List`1[System.Object]:get_Item
PipeMiniGameController:Update+48: 83 C4 10              - add esp,10
PipeMiniGameController:Update+4b: 8B C8                 - mov ecx,eax
PipeMiniGameController:Update+4d: 39 09                 - cmp [ecx],ecx
PipeMiniGameController:Update+4f: 0F B6 40 21           - movzx eax,byte ptr [eax+21]
// ---------- INJECTING HERE ----------
PipeMiniGameController:Update+53: 85 C0                 - test eax,eax
// ---------- DONE INJECTING  ----------
PipeMiniGameController:Update+55: 0F 84 7A 00 00 00     - je PipeMiniGameController:Update+d5
PipeMiniGameController:Update+5b: 0F B6 87 F0 00 00 00  - movzx eax,byte ptr [edi+000000F0]
PipeMiniGameController:Update+62: 85 C0                 - test eax,eax
PipeMiniGameController:Update+64: 0F 85 72 00 00 00     - jne PipeMiniGameController:Update+dc
PipeMiniGameController:Update+6a: C6 87 F0 00 00 00 01  - mov byte ptr [edi+000000F0],01
PipeMiniGameController:Update+71: 8B 87 A4 00 00 00     - mov eax,[edi+000000A4]
PipeMiniGameController:Update+77: 83 EC 08              - sub esp,08
PipeMiniGameController:Update+7a: 6A 00                 - push 00
PipeMiniGameController:Update+7c: 50                    - push eax
PipeMiniGameController:Update+7d: E8 06 20 B6 E6        - call UnityEngine.Object:op_Inequality
}

[/code]
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Sat Oct 07, 2023 11:30 am    Post subject: Reply with quote

make sure everything in settings-extra is disabled
_________________
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
veelox321
Newbie cheater
Reputation: 0

Joined: 12 Jan 2022
Posts: 11

PostPosted: Sat Oct 07, 2023 12:19 pm    Post subject: Reply with quote

Dark Byte wrote:
make sure everything in settings-extra is disabled


Thank you, it was this
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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