Page 1 of 1

Advice to Starting in scripting?

Posted: Sat Sep 15, 2018 3:41 pm
by Romans96
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

Re: Advice to Starting in scripting?

Posted: Sun Sep 16, 2018 4:31 pm
by JohnFK
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/

Re: Advice to Starting in scripting?

Posted: Sun Sep 16, 2018 5:22 pm
by TheyCallMeTim13
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

Re: Advice to Starting in scripting?

Posted: Mon Sep 17, 2018 1:24 pm
by Romans96
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

Re: Advice to Starting in scripting?

Posted: Mon Sep 17, 2018 4:55 pm
by TheyCallMeTim13
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.