Search the Community
Showing results for tags 'cheat engine'.
Found 2 results
I've searched google/cheat engine forum and I'm not finding an answer that works. I want to call a Lua function that disables other scripts in my trainer form. An example would be for the auto cc script: function ThisLuaFunction() Form.ThisHack.checked = false end --Auto Change Channel-- function ChangeChannel(CC) if CC.checked then autoAssemble([[ // restore code here ChangeChannel: call ThisLuaFunction // disables the needed scripts push eax call get_field mov ecx,eax call CField__SendTransferChannelRequest // restore code here ]]) end end The function I want to call is already declared in my cheat table lua script. How do I call it?
NORBIN posted a topic in ProgrammingHey guys, haven't really formally introduced myself around here but it's nice to meet all of you! I'm still quite a novice at scripting/hacking in general and I've been having some trouble figuring out what I am doing incorrectly here, was hoping there might be someone who's messed around with CEs Lua Engine before that could offer some input. (hopefully I didn't post in the incorrect section) I'm using this Kami AA script by Francesco (updated for GMS v175): https://puu.sh/qBszd/ccef098a3e.txt I have a ToggleBox and an EditBox set up like I normally would for any other script, the EditBox is supposed to change the Kami_LootWhen number of items and the ToggleBox is supposed to Enable/Disable of course. The problem is I can't seem to get the Disable part of the script working properly, after enabling it Kami starts working perfectly fine, and the EditBox changes what it's supposed to, but toggling the box won't disable it. The only way to stop it is to assign the script to your address list and enable/disable it again from there. This is the only script I've ever had this kind of issue with, and I'm curious if it's just me being a derp or if there's something that needs to be adjusted in the [Disable] section for it to work with Lua. Unfortunately I know almost next to nothing about assembly, and haven't had much luck with lurking CEF either. Lua Script I also made a quick example table in case my description didn't really make sense to you, the script for Kami will be assigned to CE already so you can see the difference between the Lua vs. AA if you want to test it in-game. And a big thanks in advance to anyone who might be able to help out, I really do appreciate all the knowledge the community has had to offer so far. It's been a huge help KamiExample.CT