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

cheat engine - how to trace a pointer from a 6-bytes address?

I am trying to learn basic programming with Cheat Engine and games. So far, I still can't grasp the pointer, particularly how to trace them. Most of the tutorials on pointers work with 4-bytes long addresses, but what I have is 6-bytes long address.…
0
votes
1 answer

(C#) Why are the in-Game values not changed by my program?

I am relatively new to coding. I wanted to create a trainer for the game Assault Cube. I have already implemented an "unlimited ammo" option which works perfectly fine and now i want to make a god mode (unlimited health) option. It doesn't work, and…
V3NOM
  • 1
0
votes
2 answers

Why should I use (void*) in second parameter of WriteProcessMemory() func?

I am trying to create a game trainer for a game. I have found the needed memory addresses and now I want to write my values into that address. For example: address of ammo is: 0x0E9AFD07 The WriteProcessMemory() function in the Windows API can do…
0
votes
0 answers

how to Convert ASM to c++?

I have this cheat engine script: [Enable] 009516C2: jns 0095138F [Disable] 009516C2: je 0095138F I want to convert it to C++, Can anyone help?
0
votes
1 answer

How Cheat Engine know what kind of value is in the memory

In Cheat Engine we can search for different values of different types (int, float, double, string). This values can have various lengths (1,2,4,8,16 bytes and so on). How CE knows what kind of value starts in some particular memory cell and how long…
user12641640
0
votes
1 answer

Where does int 32 value come from in Memory viewer, Cheat Engine

In the memory viewer, I'm at 333CF2F4, which holds a value of float 500, as cheatviewer tells me. But it also has a value for a integer. How is that value calculated? Is it the hex value of 0000FA43?
Oli
  • 2,370
  • 2
  • 26
  • 42
0
votes
1 answer

Holding down a key in lua

Is it possible to hold down a key in lua, for example 'a'? I don't mean pressing the key with doKeyPress(VK_A) and then looping it but actually holding it for a certain amount of time.
terter99
  • 1
  • 1
0
votes
1 answer

Can i find memory adress of moving or making actions in games

So I was wondering can I find memory adress of moving, doing some stuff or memory that saves enemy position in program lie cheatengine or am I need reverse engeneering for that? and hypothetically can I go futher and make bot or even ai based on…
0
votes
0 answers

Some confusion with cheat engine function address and IDA subrutine

I have found a function with Cheat Engine that I like to show in IDA: but the function is not present in IDA. Probably I have a bit confusion becouse I don't have experience with this tool. Can you help me ?
user3449922
0
votes
1 answer

cheat engine debug breakpoint on IDA function addresses

I have this function (4F314A) on IDA that I like to understand when / if will call: I like to add a breakpoint to cheat engine and I have used this code: debugProcess() -- Attach Debugger to the process. function debugger_onBreakpoint() …
user3449922
0
votes
0 answers

Creating advance lua array table from list view and call the array elements

Say I have a CE Lua form and some variables: form.Show() list = form.CEListView1 tab_player = {} p_name = 'Joe' p_gen = 'Male' table.insert(tab_player,{player_name = p_name, player_gen = p_gen}) -- and then add some elements from List View to…
JoeFern
  • 117
  • 1
  • 8
0
votes
2 answers

Calculating Hex In Cheat Engine Lua?

I have a 4 byte hexadecimal value that I have a script to print out, But I want to now take that value then subtract the value C8 from it 37 times and save them as different variables each time, But the problem is I don't know how to do hexadecimal…
0
votes
1 answer

Writing to multilevel pointer crashes .exe

I'm trying to edit pointer's value with dll but it crashes the program. Pointer is 100% correct (checked and tested with cheat engine). My goal is to change its value to 1 (I can do it via cheat engine, but I need to convert it to code). typedef…
0
votes
1 answer

Add picture to objects from array table in Lua

I am creating 8 images using Cheat Engine Lua script and I want to add some pictures to the images from an array table. the_famous = { {photo = "AlbertEinstein.jpg", nickName = "einstein", actorName = "Albert Einstein", profession = "Physicist",…
JoeFern
  • 117
  • 1
  • 8
0
votes
1 answer

Is it possible to integrate game values to a program?

This is just an idea and I don't have the slightest clue where to learn this or if this is even possible. I would assume I should use cheat engine for this. For example: if(ammo=10) run code
Ronald Liu
  • 47
  • 1
  • 2