 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
salleskiller How do I cheat?
Reputation: 0
Joined: 27 Jul 2013 Posts: 2
|
Posted: Sat Jul 27, 2013 11:49 am Post subject: Help With Input |
|
|
First Hello, ive been working on a trainer that scans the memory for a number and then Write "0" to all the found adresses
wanted a way to the script "Ask me" the number right after i "Enable" the script, something like InputDialog, idk
This is what i got so far,
| Code: |
local StartAddress = "0000000000000000"
local EndAddress = "7fffffffffffffff"
local MyMemscan = createMemScan()
speedhack_setSpeed(0.1)
memscan_newscan(MyMemscan)
**SOME WAY TO ASK ME THE INPUT OF THE SEARCH**
memscan_firstScan(MyMemscan,soExactValue,vtDword,"",???????,"",StartAddress,EndAddress, "*X*W*C", 0, "", false, true,false, false)
memscan_waitTillDone(MyMemscan)
fl = createFoundList(MyMemscan)
foundlist_initialize(fl)
local count = foundlist_getCount(fl)
if (count~=0) then
i = 0
while i~=count do
local addrex=foundlist_getAddress(fl, i)
writeInteger(addrex,0)
i = i+1
end
end
speedhack_setSpeed(1.0)
|
Thanks For your time!
Sorry for my Painfully English >.< |
|
| Back to top |
|
 |
daspamer Grandmaster Cheater Supreme
Reputation: 54
Joined: 13 Sep 2011 Posts: 1588
|
Posted: Mon Jul 29, 2013 11:16 am Post subject: |
|
|
You can create form +edit box before changing the results, and when changing the results just obtain the editbox caption.
Also you can
For i=0,count do ....
Instead of while i~=count _________________
I'm rusty and getting older, help me re-learn lua. |
|
| Back to top |
|
 |
salleskiller How do I cheat?
Reputation: 0
Joined: 27 Jul 2013 Posts: 2
|
Posted: Tue Jul 30, 2013 9:51 pm Post subject: |
|
|
Ok thanks, Ill work on it >.<
Thanks for your time.
if i get any new Questions ill update here  |
|
| Back to top |
|
 |
|
|
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
|
|