|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Mon Apr 15, 2013 4:39 am Post subject: |
|
|
Flash hacker wrote: | mgr.inz.Player wrote: | @peace, godspeed! (truly)
@Flash hacker, looks like CE freeze when getProcesslist() is excessively used. At least for me under WinXP. Hmm. I have to investigate it, probably I will report this issue on official CE bug tracker. |
I didn't had any issues .-.
I just don't know how to re-use it after attaching successfully. |
add new button, onClick event:
Code: |
function Reattach_CEButton1Click(sender)
timer_setEnabled(openNextProcTimer,true)
end |
_________________
|
|
Back to top |
|
|
DaSpamer Grandmaster Cheater Supreme Reputation: 52
Joined: 13 Sep 2011 Posts: 1578
|
Posted: Mon Apr 15, 2013 4:42 am Post subject: |
|
|
mgr.inz.Player wrote: | Flash hacker wrote: | mgr.inz.Player wrote: | @peace, godspeed! (truly)
@Flash hacker, looks like CE freeze when getProcesslist() is excessively used. At least for me under WinXP. Hmm. I have to investigate it, probably I will report this issue on official CE bug tracker. |
I didn't had any issues .-.
I just don't know how to re-use it after attaching successfully. |
add new button, onClick event:
Code: |
function Reattach_CEButton1Click(sender)
timer_setEnabled(openNextProcTimer,true)
end |
|
Cool! Thanks!!!
_________________
|
|
Back to top |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Mon Apr 15, 2013 6:43 am Post subject: |
|
|
OK, there is something wrong with getProcesslist()
Could you test this script, it is not useful for anything, only to test getProcesslist():
Code: | SL = createStringlist()
function test_getProcesslist()
getProcesslist(SL)
local whatever={}
for i=0,strings_getCount(SL)-1 do
local A = strings_getString(SL,i)
local B = A:sub(10,255)
local C = tonumber('0x'..A:sub(1,8))
table.insert(whatever,C)
end
return whatever
end
test = createTimer(nil,false)
timer_setInterval(test, 50)
timer_onTimer(test, function (sender) local Z = test_getProcesslist() end )
timer_setEnabled(test,true)
|
This is only to test getProcesslist(), what happens when excessively used. Just launch CE, paste above code, click execute, leave for 10 - 30 minutes.
For me, it freezes after 5 minutes, sometimes sooner (20 seconds). And always after closing CE I can still see CE process in task manager. I have to kill it manually.
Yes. Above script has 50 milliseconds timer interval. But the same happens for me, when 1000ms used. 50ms is to speed things up (to catch error).
And I think I found another bug when destroying stringlist with object_destroy.
Now I don't know what is broken, stringlist class or getProcesslist function
_________________
|
|
Back to top |
|
|
DaSpamer Grandmaster Cheater Supreme Reputation: 52
Joined: 13 Sep 2011 Posts: 1578
|
Posted: Mon Apr 15, 2013 7:14 am Post subject: |
|
|
mgr.inz.Player wrote: | OK, there is something wrong with getProcesslist()
Could you test this script, it is not useful for anything, only to test getProcesslist():
Code: | SL = createStringlist()
function test_getProcesslist()
getProcesslist(SL)
local whatever={}
for i=0,strings_getCount(SL)-1 do
local A = strings_getString(SL,i)
local B = A:sub(10,255)
local C = tonumber('0x'..A:sub(1,8))
table.insert(whatever,C)
end
return whatever
end
test = createTimer(nil,false)
timer_setInterval(test, 50)
timer_onTimer(test, function (sender) local Z = test_getProcesslist() end )
timer_setEnabled(test,true)
|
This is only to test getProcesslist(), what happens when excessively used. Just launch CE, paste above code, click execute, leave for 10 - 30 minutes.
For me, it freezes after 5 minutes, sometimes sooner (20 seconds). And always after closing CE I can still see CE process in task manager. I have to kill it manually.
Yes. Above script has 50 milliseconds timer interval. But the same happens for me, when 1000ms used. 50ms is to speed things up (to catch error).
And I think I found another bug when destroying stringlist with object_destroy.
Now I don't know what is broken, stringlist class or getProcesslist function |
Don't really know mate, both working fine, C.E closes right after usage.
And thanks for the script, I've implemented it into my project.
It just made my trainer be 20% more better, because many users using Chrome.
_________________
|
|
Back to top |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Mon Apr 15, 2013 2:44 pm Post subject: |
|
|
nvm, DB fixed this issue:
http://cheatengine.org/mantis/view.php?id=239
So, if you plan to make trainer with pickRightProcess script, be sure you have build newer than revision 1751
(so, at least revision 1752, from 15 IV 2013)
_________________
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Mon Apr 15, 2013 3:05 pm Post subject: |
|
|
It should also keep working if you disable the option in settings to get the icon from processes .
That option is also off by default in standalone trainers (or when doubleclicking .cetrainer files )
_________________
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 |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Sat Apr 27, 2013 4:13 pm Post subject: |
|
|
Someone requested auto-close when process from list found.
Here:
Code: | processes = {'calc.exe','pinball.exe'}
function closeWhenProcessFound()
local SL=createStringlist()
getProcesslist(SL)
function inTable(tbl, item)
for key, value in pairs(tbl) do
if value:upper() == item:upper() then return true end
end
return false
end
for i=0,strings_getCount(SL)-1 do
local entry = strings_getString(SL,i)
local processname = entry:sub(10,255)
if inTable(processes,processname) then
closeCE()
break
end
end
end
closeWhenProcessFoundTimer = createTimer(nil,true)
timer_setInterval(closeWhenProcessFoundTimer, 1000)
timer_onTimer(closeWhenProcessFoundTimer, closeWhenProcessFound) |
_________________
|
|
Back to top |
|
|
DaSpamer Grandmaster Cheater Supreme Reputation: 52
Joined: 13 Sep 2011 Posts: 1578
|
Posted: Wed Jun 19, 2013 2:32 pm Post subject: |
|
|
Made a process checker.. that checks if the opened process in C.E is still active.
Thanks to mgr.inz.Player for his wonderful chrome.exe attaching script.
Code: | function CheckIfOpened(NewPID)
local SL=createStringlist()
getProcesslist(SL)
for i=0,strings_getCount(SL)-1 do
local entry = strings_getString(SL,i)
local processname = entry:sub(10,255)
local PID = tonumber('0x'..entry:sub(1,8))
if PID==NewPID then
object_destroy(SL)
return processname
end
end
object_destroy(SL)
return nil
end |
Call it by doing this:
Code: | CheckIfOpened(getOpenedProcessID()) |
Example:
Code: | if CheckIfOpened(getOpenedProcessID())==nil then
showMessage("The process you attached to is closed")
else
showMessage("The following process is still opened : "..CheckIfOpened(getOpenedProcessID()))
end |
_________________
|
|
Back to top |
|
|
foxhounddutch How do I cheat? Reputation: 0
Joined: 11 Dec 2017 Posts: 1
|
Posted: Tue Dec 12, 2017 1:33 am Post subject: |
|
|
hello, and great respect for all the work, i am a bit new with this i used it some times for dragon age or something like that .. but now i want to try and find the code or thing whatever to add lifes so my relatives dont have to wait xD
anyway my question was is it also working on windows 10 store candy crush soda ? ive being browsing the web did some tutorials i wil find it out but is there way for my platform or do i need to use fb or kings website game ?
Thnx in advance sorry voor the noob entrance
|
|
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
|
|