Search found 10 matches

by Marconeto
Wed Feb 17, 2021 1:36 pm
Forum: Cheat Engine Lua Scripting
Topic: Use an address specific value as a trigger to activate another (Joker Commands)
Replies: 14
Views: 19667

Re: Use an address specific value as a trigger to activate another (Joker Commands)

Good thing you posted it in the Lua section. *claps* There are a lot of ways to do what you did above even without code injection. I would appreciate it if you explained what you did without emphasizing it can't be done with Lua "cuz it eats a lot of CPU". This only shows you don't know, probably h...
by Marconeto
Wed Feb 17, 2021 3:25 am
Forum: Cheat Engine Lua Scripting
Topic: Use an address specific value as a trigger to activate another (Joker Commands)
Replies: 14
Views: 19667

Re: Use an address specific value as a trigger to activate another (Joker Commands)

Although this thread is old I'm here to show a way to create Joker like commands through code injection. As an example I'm using the following emulator and ROM/Game: BizHawk 1.13.2 Libretro Core: Genplus-gx ROM: Revenge of Shinobi, The (W) (REV 03) [!].bin Since joker like codes based on lua scripti...
by Marconeto
Tue Feb 16, 2021 7:49 pm
Forum: Cheat Engine Lua Scripting
Topic: How to make conditional codes?
Replies: 3
Views: 9168

How to make conditional codes?

Came across a very useful conditional code once, but I couldn't get it to work. The original post belongs to Meiyoh and the answer to ParkourPenguin: ---------------------------------------------------- -Meiyoh How to make conditional codes Say If value on address 12345678 equal to 2C then execute c...
by Marconeto
Thu May 21, 2020 5:42 am
Forum: Cheat Engine Lua Scripting
Topic: Use an address specific value as a trigger to activate another (Joker Commands)
Replies: 14
Views: 19667

Use an address specific value as a trigger to activate another (Joker Commands)

[B][USER=91]ShyTwig16[/USER][/B]<br /> <br /> Got it!<br /> It needed a [B]jne[/B] to work.<br /> The easy way to find where the address is written is by watching the accesses and that part is ok. I screwed everything because I didn't know that a [B]jne[/B] function was needed.<br /> But it wont cha...
by Marconeto
Thu May 21, 2020 4:31 am
Forum: Cheat Engine Lua Scripting
Topic: Use an address specific value as a trigger to activate another (Joker Commands)
Replies: 14
Views: 19667

Use an address specific value as a trigger to activate another (Joker Commands)

Hi [B][USER=91]ShyTwig16[/USER][/B], here I am annoying you again rsrs.<br /> <br /> Is there any template that shows how this thread logic would look like but using AOB injection instead? <br /> <br /> I've looked into the Cheat Engine's Wiki but I didn't find any articles describing how the logic ...
by Marconeto
Tue May 19, 2020 7:01 pm
Forum: Cheat Engine Lua Scripting
Topic: Use an address specific value as a trigger to activate another (Joker Commands)
Replies: 14
Views: 19667

Use an address specific value as a trigger to activate another (Joker Commands)

GOTCHA! The thread worked perfectly!<br /> Thank you so much, [B][USER=91]ShyTwig16[/USER][/B]!<br /> <br /> I'm going to post the correct thread here for those interested.<br /> <br /> [CODE=lua]<br /> <br /> {$lua}<br /> ------------------------------ ENABLE ------------------------------<br /> lo...
by Marconeto
Tue May 19, 2020 6:54 pm
Forum: Cheat Engine Lua Scripting
Topic: Use an address specific value as a trigger to activate another (Joker Commands)
Replies: 14
Views: 19667

Use an address specific value as a trigger to activate another (Joker Commands)

Sorry. I was really dumb here tsk tsk<br /> <br /> I use this to write a specific integer to the address and they are already decimal. 0x should be used for HEX<br /> [QUOTE]<br /> [B]readSmallInteger[/B](address) == 4 then<br /> [B]writeSmallInteger[/B](address2, 100)<br /> end<br /> [/QUOTE]<br />...
by Marconeto
Tue May 19, 2020 6:26 pm
Forum: Cheat Engine Lua Scripting
Topic: Use an address specific value as a trigger to activate another (Joker Commands)
Replies: 14
Views: 19667

Use an address specific value as a trigger to activate another (Joker Commands)

[QUOTE="ShyTwig16, post: 135767, member: 91"]<br /> Try a[URL='https://fearlessrevolution.com/threads/6493/'][U] thread[/U][/URL] or a [U][URL='https://fearlessrevolution.com/threads/6492/']timer[/URL][/U].<br /> <br /> [CODE=lua]{$lua}<br /> ------------------------------ ENABLE -------------------...
by Marconeto
Tue May 19, 2020 5:38 am
Forum: Cheat Engine Lua Scripting
Topic: Use an address specific value as a trigger to activate another (Joker Commands)
Replies: 14
Views: 19667

Use an address specific value as a trigger to activate another (Joker Commands)

[QUOTE="Kickyoace, post: 135727, member: 6619"]<br /> if you wanna venture into the ASM side of things this can be done by using [URL]https://wiki.cheatengine.org/index.php?title=Assembler:Commands:CMP[/URL] or you can do an if statment in lua might be easier to just break and trace the code to tell...
by Marconeto
Tue May 19, 2020 4:54 am
Forum: Cheat Engine Lua Scripting
Topic: Use an address specific value as a trigger to activate another (Joker Commands)
Replies: 14
Views: 19667

Use an address specific value as a trigger to activate another (Joker Commands)

Is there a way to create a code that uses an address as a trigger using LUA script? I mean every time the address reaches a specific value it constantly set a value of 100 to another one. It's like a Gameshark joker command, but using an address value as a hotkey or trigger to activate another one a...