st_of_dec Newbie cheater Reputation: 0
Joined: 04 Jan 2018 Posts: 10 Location: AUS
|
Posted: Wed May 01, 2019 6:24 am Post subject: Need some ideas for: Auto Refresh and Auto Edit |
|
|
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 )? 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
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 |
|