|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
atom0s Moderator Reputation: 199
Joined: 25 Jan 2006 Posts: 8518 Location: 127.0.0.1
|
Posted: Tue Aug 07, 2018 8:30 pm Post subject: Show Decimal Ids In Process List (Process Id, Window Handle) |
|
|
Edit: A much easier method is now available in CE 7.0 to do this, see here:
https://forum.cheatengine.org/viewtopic.php?p=5754634#5754634
Here is a very simple autorun script to do this. Open Cheat Engine's install folder, open the autorun folder, create a new file called:
processlistmod.lua
Paste and save this into the script:
Code: |
--[[
Process List With Decimal Id (processlistmod.lua)
(c) 2018 atom0s [[email protected]]
A simple autorun script for Cheat Engine 6.8.1 which will alter the process
name list to also include the decimal format of the process id in the names.
Works with 'Applications', 'Processes' and 'Windows' lists to show the decimal
form of each lists entries.
]]--
processListTimer = processListTimer or createTimer();
processListTimer.Interval = 500;
processListTimer.OnTimer = function(t)
-- Loop and find the process window..
local fcount = getFormCount();
for x = 0, fcount - 1 do
local wnd = getForm(x);
if (wnd ~= nil and string.lower(wnd.getName()) == 'processwindow') then
-- Find the process list control..
local lst = wnd.findComponentByName('ProcessList');
if (lst ~= nil) then
-- Loop and update the names..
local names = lst.getItems();
for y = 0, names.getCount() - 1 do
-- Check if the process name has been edited already..
-- This will use the known process id in decimal to validate since window titles can have similar text..
local pid, name = string.match(names[y], '([A-Fa-f0-9]+)-(.+)');
local dec = tonumber(pid, 16);
if (string.find(name, '%(' .. tostring(dec) .. '%)') == nil) then
names[y] = string.format('%s-(%d)-%s', pid, dec, name);
end
end
end
-- Finish here since we found the window already..
return;
end
end
end
processListTimer.setEnabled(true);
|
Restart cheat engine if it's already open, now when the process list window is open, you'll see results like this:
The hex version of the name must be at the front due to how CE opens processes. The name of the process wont show in CE's main window title any longer either due to this mod.
_________________
- Retired.
Last edited by atom0s on Tue Nov 19, 2019 8:09 pm; edited 1 time in total |
|
Back to top |
|
|
AylinCE Grandmaster Cheater Supreme Reputation: 32
Joined: 16 Feb 2017 Posts: 1260
|
Posted: Sat Dec 08, 2018 8:14 am Post subject: |
|
|
Thanks.
This saved me from some trouble.
I'm not going to account for 4Bytes anymore.
and a request;
Instead of "Chrome.exe" or "Mozilla.exe" for browsers,
Is it possible to have a script that shows the names of the page "URL"?
Like "Chrome.exe (Face.com) or" Mozilla.exe (King.io)!
I am counting the above script as the starting base.
Hopefully we will develop and approve the processes with Pages, Tab names.
Thanks again.
_________________
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Sat Dec 08, 2018 10:05 am Post subject: |
|
|
might be easier to write a browser plugin that feeds tgat data to ce
_________________
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 |
|
|
AylinCE Grandmaster Cheater Supreme Reputation: 32
Joined: 16 Feb 2017 Posts: 1260
|
Posted: Mon Dec 10, 2018 1:24 pm Post subject: |
|
|
It might be a day.
but now, complex codes for me.
OK I agree; This is the subject of the online game procedure.
But the potential is great!
@atom0s has given a start code and hopefully open to suggestions.
DB; the process you say, the masters can.
I am hopeful!
_________________
|
|
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
|
|