|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
theplayer03 How do I cheat? Reputation: 0
Joined: 15 Apr 2018 Posts: 2
|
Posted: Sun Apr 15, 2018 1:32 pm Post subject: Difference for searching process over network? |
|
|
Hi there,
as i try to experiment with lua and CE a little bit i solved the tutorial with lua.
So far so good.
BUT when i try to do the same with a process over network the search result is always zero.
Funny side note: If i readInteger with a adress found by "hand" my lua script returns the correct value.
Only the searching finds nothing.
I am using ceserver_x86 on a bluestacks if this helps solving this riddle.
Maybe you know what i maybe did wrong?
Easy Code down below:
Code: |
searchvalue = inputQuery('Value Prompt', "What it the current value?",'')
startadress = 0
endadress = 0x7fffffffffffffff
protectflags = '+W-X-C'
alignparam = 0x04 -- use this for fsmAligned instead of fsmLastDigits
ms = createMemScan(MainForm.Progressbar)
-- do first scanner
ms.firstScan(soExactValue, vtDword, rtRounded, searchvalue, nil, startadress, endadress, protectflags, fsmAligned, alignparam, false, true, false, false)
-- wait till scan is done
ms.waitTillDone()
-- create and associate with memscan
local fl = createFoundList(ms)
fl.initialize()
print('count is: ', tostring(ms.FoundList.Count))
while fl.Count > 1 do
fl.deinitialize()
searchvalue = inputQuery('Value Prompt', "What it the current value?",'')
if not searchvalue then break end -- nil on cancel
ms.nextScan(soExactValue, rtRounded, searchvalue, nil, false, true, false, false, false)
fl.initialize()
print('count is: ', tostring(ms.FoundList.Count))
if fl.Count < 5 then
for i=0, fl.Count-1 do
print(' ', fl[i], readInteger(fl[i]))
end
end
end
-- clean up our objects
fl.destroy()
ms.destroy()
|
Any ideas?
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Sun Apr 15, 2018 1:41 pm Post subject: |
|
|
not sure, perhaps the memory is skipped.
instead of +W-X-C try *W*X*C
alignparam 1
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
theplayer03 How do I cheat? Reputation: 0
Joined: 15 Apr 2018 Posts: 2
|
Posted: Mon Apr 16, 2018 12:50 pm Post subject: |
|
|
Hi,
so i got my code to work,
and Dark Byte, you were correct!
It was the *w*x*c
Thank you for this help and i'm sorry that i overlooked this easy solution!
@aylin: do the youtube videos about CE and LUA with GUI not cover what you wanted to do? Also the thank you for the code is not for me, i just took this as a simple code for showing the problem, my real code looks a little more messy.
|
|
Back to top |
|
|
Corroder Grandmaster Cheater Supreme Reputation: 75
Joined: 10 Apr 2015 Posts: 1667
|
Posted: Tue Apr 17, 2018 8:32 am Post subject: |
|
|
@Aylin
Code: | I would like to do this with a form (UDF1 and CEEdit and CEButton etc)
It's a project I've been asking for a while, but I can not find an answer. |
Did you meant something like this ?
Description: |
VCL CE Manual Scanner Tool for Trainer |
|
Filesize: |
31.91 KB |
Viewed: |
4567 Time(s) |
|
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL |
|
Back to top |
|
|
AylinCE Grandmaster Cheater Supreme Reputation: 32
Joined: 16 Feb 2017 Posts: 1260
|
Posted: Tue Oct 09, 2018 6:34 pm Post subject: |
|
|
Corroder wrote: | @Aylin
Code: | I would like to do this with a form (UDF1 and CEEdit and CEButton etc)
It's a project I've been asking for a while, but I can not find an answer. |
Did you meant something like this ? |
Thanks @Corroder
I've added Aobs and String Replace to a trainer.
But I want:
It can be listed; First and Next Scan!
My problem is in this forum.
https://forum.cheatengine.org/viewtopic.php?t=608717
The above code gives the closest result.
But I could not use it in a form.
_________________
|
|
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
|
|