Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Need some ideas for: Auto Refresh and Auto Edit

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
st_of_dec
Newbie cheater
Reputation: 0

Joined: 04 Jan 2018
Posts: 10
Location: AUS

PostPosted: Wed May 01, 2019 6:24 am    Post subject: Need some ideas for: Auto Refresh and Auto Edit Reply with quote

Hi all,
recently I am trying to add new functions to my trainer which are auto refresh and auto edit in, for example, an edit box.

This function have been found on a normal Cheat Table's value column: when we are trying to edit memory CT will open a new form and put result in to the value column when auto refresh is on.

But, what if I don't what my trainer to open a new form, and keep auto refresh all the time except editing and it will edit memory while I finish editing?

Based on this I idea I got some try, I use timer to make auto refresh.

And below are 3 of my questions this time:

1, I have no idea how to stop the timer while editing and this will keep refreshing my editing content. It seems that those event may not help me.

2, for the combo box, I saw OnDropDown and OnEditingDone events which is good for my assumption. But how can I stop mouse rolling up ( that is the mid roll, I don't know how to say exactly Smile )? Because what I want is that it will only edit memory while OnEditingDone event take place rather than Onchange event.

3, Below is what I have try to set up function for event by code, but the result seems to be strange:

Code:

cetrainer. combobox1. OnDropDown = function ()
timer1.enabled = false
end
cetrainer. combobox1. OnEditingDone = function ()
writeInteger("address", getProperty(cetrainer. editbox1. Index,"Index"))
end



strange part: so far I have not add this code for all combo box, but when I click on other combo box it will do the same thing Sad


If you have any ideas about this issue I am happy to see your reply!


(btw look at the blank at the code, it always says I can not post url yet and I dont know what happen)

Regards

_________________
gta5 creator st_of_dec
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites