View previous topic :: View next topic |
Author |
Message |
Csibike4 How do I cheat? Reputation: 0
Joined: 05 Jun 2020 Posts: 6
|
Posted: Fri Jun 05, 2020 2:52 pm Post subject: Get Value From Editbox (Error) |
|
|
Hello,
I want to get value from the edit box to memory.
Code: | getAddressList().getMemoryRecordByDescription('Apply_Rating').Active = sender.checked
writeInteger('rating_value_adress',UDF1.Squad_Rating.text) |
checkbox name: Apply_Rating
The address where I want to store the value of the edit box: rating_value_adress
Edit box name: Squad_Rating
I think the problem is the second parameter of write integer function. IDK what is "UDF1", I found this example. I tried CETrainer.Squad_Rating.Text also. CETrainer is my trainer name.
Description: |
The fitness change function is working properly, I do not call this function on this case. In this case I will call: CETrainer_Apply_RatingChange function. I can't imagine that how the fitness change function can cause error. |
|
Filesize: |
7.86 KB |
Viewed: |
1020 Time(s) |
|
|
|
Back to top |
|
|
Razi Expert Cheater Reputation: 1
Joined: 17 Jan 2018 Posts: 202
|
Posted: Sat Jun 06, 2020 3:35 am Post subject: |
|
|
UDF1 is the name of the form created by default in the Cheat Engine (Table --> Create form)
try: Code: | writeInteger(rating_value_adress, CETrainer.Squad_Rating.Text) |
|
|
Back to top |
|
|
Csibike4 How do I cheat? Reputation: 0
Joined: 05 Jun 2020 Posts: 6
|
Posted: Sat Jun 06, 2020 7:36 am Post subject: |
|
|
Razi wrote: | UDF1 is the name of the form created by default in the Cheat Engine (Table --> Create form)
try: Code: | writeInteger(rating_value_adress, CETrainer.Squad_Rating.Text) |
|
Thank you for helping, it seems now working.
|
|
Back to top |
|
|
|