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 


Cheat engine freezing the time

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
loleyman
How do I cheat?
Reputation: 0

Joined: 26 Mar 2022
Posts: 4

PostPosted: Wed Apr 06, 2022 2:22 pm    Post subject: Cheat engine freezing the time Reply with quote

I want to freeze the game with hotkey. The game I am working on have an user mode anticheat system and can detect veh and windows debugger. Can game detect if I freeze the game with hotkey? Game checks integrity of the bytes and I can't even patch a single byte. Does cheat engine use a debugger when I try to freeze the game?
Back to top
View user's profile Send private message
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

Joined: 02 Sep 2011
Posts: 1069
Location: 0x90

PostPosted: Wed Apr 06, 2022 4:53 pm    Post subject: Reply with quote

What anti-cheat? It's most likely it will be able to detect if the game is frozen too.
Back to top
View user's profile Send private message
loleyman
How do I cheat?
Reputation: 0

Joined: 26 Mar 2022
Posts: 4

PostPosted: Thu Apr 07, 2022 7:47 am    Post subject: Reply with quote

It is not a known anti-cheat but can you explain me how does freezing the game works? How does cheat engine freeze the game
Back to top
View user's profile Send private message
AylinCE
Grandmaster Cheater Supreme
Reputation: 37

Joined: 16 Feb 2017
Posts: 1522

PostPosted: Thu Apr 07, 2022 11:38 am    Post subject: Reply with quote

AA Script: (Copy - paste Address List .. Enable-Disable key "X")

Code:
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>0</ID>
      <Description>"Speed Hack"</Description>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[Enable]
LUACALL(speedhack_setSpeed(0.0))

[Disable]
LUACALL(speedhack_setSpeed(1.0))
</AssemblerScript>
      <Hotkeys>
        <Hotkey>
          <Action>Toggle Activation</Action>
          <Keys>
            <Key>88</Key>
          </Keys>
          <Description>speedX</Description>
          <ID>0</ID>
        </Hotkey>
      </Hotkeys>
    </CheatEntry>
  </CheatEntries>
</CheatTable>


Lua Script:

Code:
local st=1
function SpeedHackKeyX()
  if (st==1) then
    speedhack_setSpeed(0.00)
    st=2
  else
    speedhack_setSpeed(1.00)
    st=1
  end
end

if keyX then keyX.Destroy() keyX=nil end
keyX=createHotkey(SpeedHackKeyX, VK_X)


Use CE Lua plugin to pause the game on Cheat Engine boot.
In the code below, write the game process where it says "chrome.exe".
Then paste this code into your txt file, choose "Save as", give it a name like "speed.lua" under "All files".
Copy the Speed.lua file and paste it into the Cheat Engine "autorun" folder.
With the game open, run CE and try.

Code:
local proc=getProcessIDFromProcessName("chrome.exe")
if proc~=nil then
 openProcess(proc)
 speedhack_setSpeed(0.0)
 print("Game Pause")
end

_________________
Hi Hitler Different Trainer forms for you!
https://forum.cheatengine.org/viewtopic.php?t=619279
Enthusiastic people: Always one step ahead
Do not underestimate me Master: You were a beginner in the past
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
loleyman
How do I cheat?
Reputation: 0

Joined: 26 Mar 2022
Posts: 4

PostPosted: Thu Apr 07, 2022 12:13 pm    Post subject: Reply with quote

So basically this is how it works: Cheat engine injects the speedhack.dll to process and sets speed to 0.
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