Advice to Starting in scripting?

Want Cheat Engine to do something specific and no idea how to do that, ask here. (From simple scripts to full trainers and extensions)
Post Reply
Romans96
Noobzor
Noobzor
Posts: 8
Joined: Tue Sep 04, 2018 7:42 pm
Reputation: 0

Advice to Starting in scripting?

Post by Romans96 » Sat Sep 15, 2018 3:41 pm

Hello! I like so much programming and i know from a several time CheatEngine.
But i'm so curious, how can i script some of the tables that are in this forum? How can i read the memory from where i start to script that thing (for exemple the inf health, that it's not a displayble number?

Thank you

JohnFK
Cheater
Cheater
Posts: 29
Joined: Tue Aug 29, 2017 10:50 am
Reputation: 8

Re: Advice to Starting in scripting?

Post by JohnFK » Sun Sep 16, 2018 4:31 pm

You may start with learning the assembly language (dont worry, basics only). Once you know the basics all scripts will become much more clear and you will be able to write some basic scripts yourself too.

https://www.tutorialspoint.com/assembly_programming/

User avatar
TheyCallMeTim13
Administration
Administration
Posts: 1154
Joined: Fri Mar 03, 2017 12:31 am
Reputation: 206
Contact:

Re: Advice to Starting in scripting?

Post by TheyCallMeTim13 » Sun Sep 16, 2018 5:22 pm

Romans96 wrote:
Sat Sep 15, 2018 3:41 pm
Hello! I like so much programming and i know from a several time CheatEngine.
But i'm so curious, how can i script some of the tables that are in this forum? How can i read the memory from where i start to script that thing (for exemple the inf health, that it's not a displayble number?

Thank you
Google will be your best friend, for learning this stuff.

But you can check the CE Wiki.
https://wiki.cheatengine.org/index.php?title=Main_Page

Or here at the forum.
Generic Tutorials

Finding Values - Integers
Finding Values - Floats

Auto Assembler Basics
Auto Assembler Templates

Code Injection - Basic
Code Injection - Full

But keep in mind none of this above is Lua.
CE Lua Basics

Romans96
Noobzor
Noobzor
Posts: 8
Joined: Tue Sep 04, 2018 7:42 pm
Reputation: 0

Re: Advice to Starting in scripting?

Post by Romans96 » Mon Sep 17, 2018 1:24 pm

TheyCallMeTim13 wrote:
Sun Sep 16, 2018 5:22 pm
Romans96 wrote:
Sat Sep 15, 2018 3:41 pm
Hello! I like so much programming and i know from a several time CheatEngine.
But i'm so curious, how can i script some of the tables that are in this forum? How can i read the memory from where i start to script that thing (for exemple the inf health, that it's not a displayble number?

Thank you
Google will be your best friend, for learning this stuff.

But you can check the CE Wiki.
https://wiki.cheatengine.org/index.php?title=Main_Page

Or here at the forum.
Generic Tutorials

Finding Values - Integers
Finding Values - Floats

Auto Assembler Basics
Auto Assembler Templates

Code Injection - Basic
Code Injection - Full

But keep in mind none of this above is Lua.
CE Lua Basics
Oh yes i searched, and maybe i see now that i make the post in the wrong category. I'm searching (and want to learn) for the Tables Learning, like the tables are in this forum, for game, so i think it is the Code Injection.

I tried it now with tutorials here, on the wiki, and from video, but some script that are here are completely different. I tried also one for a game but it crashes also if it is similar to the tutorials example

Thank you

User avatar
TheyCallMeTim13
Administration
Administration
Posts: 1154
Joined: Fri Mar 03, 2017 12:31 am
Reputation: 206
Contact:

Re: Advice to Starting in scripting?

Post by TheyCallMeTim13 » Mon Sep 17, 2018 4:55 pm

Romans96 wrote:
Mon Sep 17, 2018 1:24 pm
...
Oh yes i searched, and maybe i see now that i make the post in the wrong category. I'm searching (and want to learn) for the Tables Learning, like the tables are in this forum, for game, so i think it is the Code Injection.

I tried it now with tutorials here, on the wiki, and from video, but some script that are here are completely different. I tried also one for a game but it crashes also if it is similar to the tutorials example

Thank you
For the most part you'll want to learn assembly (ASM) and see the processor's documentation, but CE also adds some useful stuff.
Intel manual:
https://www.intel.com/content/www/us/en ... anual.html
https://www.intel.com/content/www/us/en ... anual.html

ASM:
https://wiki.cheatengine.org/index.php? ... r:Commands
http://www.felixcloutier.com/x86/

CE Auto Assembler:
https://wiki.cheatengine.org/index.php? ... r:Commands

And for anything you can't figure out, you can post the script (inside code blocks, i.e.: [code][/code]) in the General Gamehacking section (or were the table is posted) asking any questions about what's going on in the script.

Post Reply

Who is online

Users browsing this forum: No registered users