| View previous topic :: View next topic |
| Author |
Message |
yazigegeda Expert Cheater
Reputation: 0
Joined: 22 Jan 2019 Posts: 183
|
Posted: Wed Jun 26, 2024 11:31 am Post subject: How do I move a record to a specified location |
|
|
| Code: |
local al = getAddressList()
al.getMemoryRecord(al.Count-1).index=0
|
I want to move group 3 to the first place. How do I do that
I may have made a mistake. Help me
| Description: |
|
| Filesize: |
59.29 KB |
| Viewed: |
3284 Time(s) |

|
Last edited by yazigegeda on Wed Jun 26, 2024 8:06 pm; edited 1 time in total |
|
| Back to top |
|
 |
AylinCE Grandmaster Cheater Supreme
Reputation: 37
Joined: 16 Feb 2017 Posts: 1528
|
Posted: Wed Jun 26, 2024 12:32 pm Post subject: |
|
|
| Code: | local al=getAddressList()
function resIndexRecord(desc)
local index = "not"
cnt = addresslist_getCount(al)
if cnt > 0 then
for i=0, cnt-1 do
local mr = addresslist_getMemoryRecord(al,i)
aldesc = memoryrecord_getDescription(mr)
print("Available Descriptions: "..aldesc)
if aldesc==desc then
index = desc.." index: "..i
end
end
end
if index == "not" then
index = desc.. " not found!"
end
return index
end
-- use:
descindex = resIndexRecord("Group 1")
print(descindex)
-- or :
local mr1 = addresslist_getMemoryRecord(al,2)
aldesc1 = memoryrecord_getDescription(mr1)
print(aldesc1)
-- Change mr1 desc :
mr1.Description = "Group 88"
aldesc1 = memoryrecord_getDescription(mr1)
print(aldesc1) |
_________________
|
|
| Back to top |
|
 |
yazigegeda Expert Cheater
Reputation: 0
Joined: 22 Jan 2019 Posts: 183
|
Posted: Wed Jun 26, 2024 7:57 pm Post subject: |
|
|
| AylinCE wrote: | | Code: | local al=getAddressList()
function resIndexRecord(desc)
local index = "not"
cnt = addresslist_getCount(al)
if cnt > 0 then
for i=0, cnt-1 do
local mr = addresslist_getMemoryRecord(al,i)
aldesc = memoryrecord_getDescription(mr)
print("Available Descriptions: "..aldesc)
if aldesc==desc then
index = desc.." index: "..i
end
end
end
if index == "not" then
index = desc.. " not found!"
end
return index
end
-- use:
descindex = resIndexRecord("Group 1")
print(descindex)
-- or :
local mr1 = addresslist_getMemoryRecord(al,2)
aldesc1 = memoryrecord_getDescription(mr1)
print(aldesc1)
-- Change mr1 desc :
mr1.Description = "Group 88"
aldesc1 = memoryrecord_getDescription(mr1)
print(aldesc1) |
|
I wonder how group 3 can be moved to the first position,Like in the picture
| Description: |
|
| Filesize: |
8.8 KB |
| Viewed: |
3258 Time(s) |

|
|
|
| Back to top |
|
 |
AylinCE Grandmaster Cheater Supreme
Reputation: 37
Joined: 16 Feb 2017 Posts: 1528
|
Posted: Wed Jun 26, 2024 11:47 pm Post subject: |
|
|
If there is no appropriate and short-cut answer on this issue,
I will recommend copying all records as Xml output, changing the ">ID<" and pasting them again.
If there is for now, wait for a shorter solution.
_________________
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25807 Location: The netherlands
|
Posted: Thu Jun 27, 2024 12:11 am Post subject: |
|
|
Currently not possible.
You might have luck invoking the click handler of the description column which sorts everything, but i doubt that's what you want
or as AylinCE mentioned, save table, reorganize, and load table, but you'll lose activated entry states
_________________
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 |
|
 |
yazigegeda Expert Cheater
Reputation: 0
Joined: 22 Jan 2019 Posts: 183
|
Posted: Thu Jun 27, 2024 12:51 am Post subject: |
|
|
| Dark Byte wrote: | Currently not possible.
You might have luck invoking the click handler of the description column which sorts everything, but i doubt that's what you want
or as AylinCE mentioned, save table, reorganize, and load table, but you'll lose activated entry states |
Thanks, did I find this feature from the cheat engine source code, manually move the code to the specified location, then locate the call from memory and invoke the call using ce, as shown below? But I don't know where the source code is
| Description: |
|
| Filesize: |
8.42 KB |
| Viewed: |
3203 Time(s) |

|
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25807 Location: The netherlands
|
Posted: Thu Jun 27, 2024 1:03 am Post subject: |
|
|
that would break as soon as there's a new version
_________________
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 |
|
 |
|