 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
paul44 Expert Cheater
Reputation: 2
Joined: 20 Jul 2017 Posts: 206
|
Posted: Wed Nov 25, 2020 1:28 pm Post subject: REQ: access to CT table name - [Solved] |
|
|
I've been experimenting with this recently. Here it goes: when you open the table the first time, you can get its name either from the OpenDialog or the SaveDialog component. I found this via a ComponentList, but I believe this issue has been discussed @CEF already in the past as well. (if needed, i'm sure I can find that/those topic(s) back)
The problem: as long as you do not attach (openProcess) an exe, that info remains in tact. But once the exe (andwhatnot) is loaded, it gets overwritten by the exe's (short)name.
This is more of a personal request, then for endusers (although I'm aware about gamers playing with 2-3 tables attached at the same time, believe you me)
Anyways: I tend to compare with other tables (and copy/paste stuff) at the same time. Or "missed" something out, thus reloading a prev version of that table. bottomline: when uncertain, I tend to create new copies of these tables in order to figure out which one I really did change/need.
Some additional research: if I check up the CE exe (which has my table loaded) with another CE session, I can easily find 7 (+?) instances of my tablename in memory. Problem is, that I have no idea atm on how to access that info via my "initial" CE session (the one with the table loaded).
Something similar as 'process' var perhaps ?
Last edited by paul44 on Thu Nov 26, 2020 12:56 pm; edited 1 time in total |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25831 Location: The netherlands
|
Posted: Wed Nov 25, 2020 1:45 pm Post subject: |
|
|
| Code: |
function onTableLoad(before)
if before==false then
LastOpened=MainForm.OpenDialog1.FileName
end
end
|
You'll then have a LastOpened var
This won't work with scripts that to loadTable(stream) like ceshare, but if you keep track of that it should be fine
_________________
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 |
|
 |
paul44 Expert Cheater
Reputation: 2
Joined: 20 Jul 2017 Posts: 206
|
Posted: Wed Nov 25, 2020 2:15 pm Post subject: tried it, did not work but... |
|
|
ok, tried out several approaches; and this seems to do the trick. Bizar fact, eliminating any of the 'getTable()' calls (see code below) would evt fail collecting/keeping that info... also: keep the var global.
Working code: [ https://www.dropbox.com/s/3gq1editeekr9js/ACBF_Tablename.jpg?dl=0 ]
|
|
| 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
|
|