Search found 2 matches

by Yoq209
Fri Aug 19, 2022 3:06 am
Forum: Cheat Engine Lua Scripting
Topic: Getting Value From Text Document
Replies: 1
Views: 6256

Getting Value From Text Document

This code allows me to send a custom value from text in a trainer to an address. Function CEButton1Click(sender) writeInteger("Test.exe+1A234", getProperty(CETrainer_CEdit1,"Text")) end form_show(CETrainer) strings_add(getAutoAttachList(), "Test.exe") Does anybody know how could I do the same thing ...
by Yoq209
Fri Aug 19, 2022 1:17 am
Forum: Cheat Engine Lua Scripting
Topic: Read from text file and input to address
Replies: 5
Views: 7449

Re: Read from text file and input to address

LeFiXER wrote:
Mon Jun 06, 2022 3:08 pm
You could get the linecount of the file and iterate through the file based on the linecount then update the address according to the position of the loop.
Could you possibly make an example script doing this? I want to apply values from text in a txt.