View previous topic :: View next topic |
Author |
Message |
Devon999 Newbie cheater Reputation: 0
Joined: 03 May 2022 Posts: 23
|
Posted: Fri Jul 22, 2022 11:34 am Post subject: Need help getting CE to automatically attach to process, plz |
|
|
How do I copy the name of a process from the process list so I can paste it into the box so CE knows to auto connect to it? I can't figure out how to copy. Right click options don't have obvious copy...? Process name is way too obscure to try and remember by hand so I don't know how to get it into the box.
|
|
Back to top |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1055 Location: 0x90
|
Posted: Fri Jul 22, 2022 1:59 pm Post subject: |
|
|
In the Cheat Table Lua Script use this code:
Code: |
if syntaxcheck then return end
openProcess('exe_name.exe')
|
|
|
Back to top |
|
|
Devon999 Newbie cheater Reputation: 0
Joined: 03 May 2022 Posts: 23
|
Posted: Fri Jul 22, 2022 2:05 pm Post subject: |
|
|
LeFiXER wrote: | In the Cheat Table Lua Script use this code:
Code: |
if syntaxcheck then return end
openProcess('exe_name.exe')
|
|
Good to know but I would still need to have copied the confusing exe name from somewhere to paste in that file too. I face an issue of not knowing any way to copy the full exe name as it appears as a process.
When I open CE and click to connect to a process, the way the name looks there, I need to copy that somehow. It's different than the game exe so I can't just go into the game files and copy that exe name for some reason. Need to copy it the way it appears written to CE.
edit: after many failed attempts I finally was able to transfer it by eye and hand and it works but for future attempts and future processes with long difficult names, how would I copy into the box to autoconnect?
|
|
Back to top |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1055 Location: 0x90
|
Posted: Fri Jul 22, 2022 2:21 pm Post subject: |
|
|
You mean the executable name changes with every launch?
|
|
Back to top |
|
|
Devon999 Newbie cheater Reputation: 0
Joined: 03 May 2022 Posts: 23
|
Posted: Fri Jul 22, 2022 3:36 pm Post subject: |
|
|
LeFiXER wrote: | You mean the executable name changes with every launch? |
No but its different than the exe name in the game folder. It's an obscure mod of Friday the 13th game, so once it opens, the name is a lot longer and hard to type by hand, not like the normal game name at all. Other mods for games I've played have been this way too so I know I'll run into this again. So I am just wondering how to copy the process as it displays in the CE list when I click the "select a process to begin" button in CE. Or a way to right click the process in that list, and assign that process to the auto-connect option?
Hand eye coordination and reading, etc I have some challenge. So that's why I'd really love to know how to just copy them when they're longer crazy mod names. I will definitely run into more like this soon.
|
|
Back to top |
|
|
Devon999 Newbie cheater Reputation: 0
Joined: 03 May 2022 Posts: 23
|
Posted: Sat Jul 23, 2022 2:01 pm Post subject: |
|
|
Alright well thanks anyway i guess it's something nobody knows, not even staff or programmer. Oh well.
|
|
Back to top |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1055 Location: 0x90
|
Posted: Sat Jul 23, 2022 5:50 pm Post subject: |
|
|
Devon999 wrote: | Alright well thanks anyway i guess it's something nobody knows, not even staff or programmer. Oh well. |
I'm not staff, nor a programmer. Just another user . Although, the reason I did not respond so quickly is because my time is limited; however, I believe this will be the solution you require:
Code: |
--[[
Pattern classes
--------
%a letters (A-Z, a-z)
%c control characters (\n, \t, \r, …)
%d digits (0-9)
%l lower-case letter (a-z)
%p punctuation characters (!, ?, &, …)
%s space characters
%u upper-case letters
%w alphanumeric characters (A-Z, a-z, 0-9)
%x hexadecimal digits (\3, \4, …)
%z the character with representation 0
. Matches any character
]]
local processlist = getProcesslist()
for k,v in pairs(processlist) do
--[[
Use the identifiers above to create a pattern that matches the name
of the executable. The match won't be exact, it is similar to REGEX.
]]
if v:gmatch('insert_pattern_here') then
print(v)
openProcess(v)
end
end
|
|
|
Back to top |
|
|
Devon999 Newbie cheater Reputation: 0
Joined: 03 May 2022 Posts: 23
|
Posted: Sat Jul 23, 2022 7:26 pm Post subject: |
|
|
Oh my lord, it works! It's perfecto! Yeeeeeah buddy!
Thanks friend
|
|
Back to top |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1055 Location: 0x90
|
Posted: Sat Jul 23, 2022 7:58 pm Post subject: |
|
|
Devon999 wrote: | Oh my lord, it works! It's perfecto! Yeeeeeah buddy!
Thanks friend |
You're very welcome.
|
|
Back to top |
|
|
|