Questions tagged [cheat-engine]

Cheat Engine, commonly abbreviated as CE, is an open source memory scanner/hex editor/debugger created by Eric Heijnen ("Dark Byte") for the Windows operating system

About

Cheat Engine is an open source tool designed to help you with modifying single player games running under window so you can make them harder or easier depending on your preference.

Links

177 questions
0
votes
1 answer

Using pointer with multiple offsets in C#

I have a CheatEngine script game.exe+2F6D0E8]+478]+560]+198]+60]+470 And I want to use it in C # long num = MemoryHelper.ReadMemory(MemoryHelper.BaseAddress + 0x2F6D0E8, 8, false); num =…
Bodyan
  • 1
0
votes
0 answers

Assembly (intel): How does 'call address' relate to the resulting bytes in memory?

Let's say I want to call 5A31E0 and the address of the next instruction would be 0CFF0016. When observing this inside the process memory it relates to E8 CA315BF3. (little-endian) How can I calculate this value (CA315BF3) by myself? Is there…
Saiqe
  • 11
  • 3
0
votes
1 answer

C++ read memory addresses within process range only

So I have been trying to get into memory reading in C++ and I thought a cool project would be to read all addresses a process is using (similar to how Cheat Engine works). I started by reading Link1: Read Memory of Process C++ Link2: Read memory…
darclander
  • 1,526
  • 1
  • 13
  • 35
0
votes
1 answer

mciSendString, ported VB Script to CE Lua script

I made a project that plays a video file inside a panel boundary (w/o any video player apps), using Cheat Engine Lua script + mciSendString winmm.dll, it's work fine. The problem is I want to fit video size to panel size. I have this part of VB…
JoeFern
  • 117
  • 1
  • 8
0
votes
0 answers

Passing variable from Lua to VB Net

How to get variable (a video filename) from Lua and use in VB Net?. In Lua: function videoID(sender, vidsource) if sender.Name == 'Awaken' then vidsource = 'awaken.mp4' elseif sender.Name == 'Crew' then vidsource = 'Crew.mp4' else …
JoeFern
  • 117
  • 1
  • 8
0
votes
1 answer

Stuck when trying to find a pointer with 'find out what writes to this address'

I started learning some game hacking recently.I have been watching videos and practicing.I tried to find a static entity in a game but i stuck at an address.When i start "what accesses this address" process i change a value in game and check the…
MePengusta
  • 763
  • 1
  • 8
  • 18
0
votes
1 answer

Launch Apps/Game Inside CE Form (Windows Form)

I made a small VB Net project by follows a tutorial to open the windows app inside a form boundaries. I have translated the functions to control windows app to Cheat Engine Lua syntax: f = createForm() f.setSize(640,500) f.Caption = 'Test Apps…
JoeFern
  • 117
  • 1
  • 8
0
votes
1 answer

Continue playSound() Cheat Engine Lua

In Cheat Engine, to play a wav sound file we can use playSound(). I am trying to play sound for Morse code: test = '.... . .-.. .-.. ---/.-- --- .-. .-.. -..' for i= 1, #test do chr = string.sub(test, i, i) if chr == '.' then …
JoeFern
  • 117
  • 1
  • 8
0
votes
1 answer

How to find invariable addresses in cheat engine

I would be interested to know some way with the Cheat Engine, to be able to change a value, which within the game, does not change, that is, it is not like the life that is decreasing, nor as the bullets that are increasing. It is a fixed value. The…
0
votes
1 answer

How to find the offset of the mov function in assembly?

I don't know how to find the original memory address altered by this code. mov [esi+10],eax movzx eax,byte ptr [ebp+18] The new address obtained is the 20847BB0. eax: 003F6C39 esi: 20847BA0 ebp: 010FF1B8 What is the previous address? Please with…
NkaBall
  • 71
  • 7
0
votes
1 answer

How to capture the new address of a pointer in vb.net

I'm using Cheat-Engine to attempt to gather some values for a tool I'm making. The problem is I only need to find the address the pointer finds in my first menu. From there I use that dynamic address for the rest of my operations. Bellow is the…
John Kens
  • 1,615
  • 2
  • 10
  • 28
0
votes
2 answers

INC opcode compiles to wrong address

I'm compiling the following code however it isn't working as expected. Can someone explain why the following code doesn't work and how to correct it so it does? DWORD data_location = 0x0100579C; DWORD ret = 0x1002FFA; void __declspec(naked)…
a_dizzle
  • 43
  • 7
0
votes
1 answer

Check Collision Between Ball And Array Of Bricks

Since I have a collision check function in Lua: function onCollision(obj1,obj2) obj1x = obj1.left obj1y = obj1.top obj1w = obj1.width obj1h = obj1.height obj2x = obj2.left obj2y = obj2.top obj2w = obj2.width …
JoeFern
  • 117
  • 1
  • 8
0
votes
1 answer

Create Object With Array Table

I try to make several panel objects on my form in Cheat Engine using CE Lua script. How do this in the correct way?. local bricks = {} local brickWidth = 70 local brickHeight = 25 local brickRows = 6 local brickColumns = 6 local rleft…
JoeFern
  • 117
  • 1
  • 8
0
votes
1 answer

asm / cheat engine - causing crash in game when moving memory

I want to move either a memory address's value or the value itself into the R9 register, to do this I have been using an AOB Injection in Cheat Engine to try and help me with testing. Each attempt has resulted in a crash. I have tried sending the…
James
  • 83
  • 6