Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Modifying Current Table

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
bknight2602
Grandmaster Cheater
Reputation: 0

Joined: 08 Oct 2012
Posts: 577

PostPosted: Tue Mar 21, 2017 8:34 am    Post subject: Modifying Current Table Reply with quote

I'm moving a lot of memory records into headers. What code steps would accomplish this? Here is a sample of one of the sets of data from Final Fantasy 3.

Header:
Terra

Memory records:
Terra Character Type
Terra Character Image
...
Terra Relic 2
Back to top
View user's profile Send private message Yahoo Messenger
ParkourPenguin
I post too much
Reputation: 138

Joined: 06 Jul 2014
Posts: 4275

PostPosted: Tue Mar 21, 2017 8:59 am    Post subject: Reply with quote

main.lua wrote:
MemoryRecord Class:
appendToEntry(memrec): Appends the current memory record to the given memory record

Addresslist Class:
getMemoryRecord(index)
getMemoryRecordByDescription(description)
getMemoryRecordByID(ID)


It might be faster to select multiple records and drag them over the header.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
bknight2602
Grandmaster Cheater
Reputation: 0

Joined: 08 Oct 2012
Posts: 577

PostPosted: Tue Mar 21, 2017 9:08 am    Post subject: Reply with quote

Um, when selecting multiple records, I was unable to move that selection. The selection moved back to a single record. So mechanically how does one move multiple records. I do agree that would be faster.
Back to top
View user's profile Send private message Yahoo Messenger
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Tue Mar 21, 2017 9:12 am    Post subject: Reply with quote

Multi-select and drag/drop always works for me. You should see a horizontal, black line appear that indicates where it will be going as you move your cursor.
Back to top
View user's profile Send private message
bknight2602
Grandmaster Cheater
Reputation: 0

Joined: 08 Oct 2012
Posts: 577

PostPosted: Tue Mar 21, 2017 9:22 am    Post subject: Reply with quote

++METHOS wrote:
Multi-select and drag/drop always works for me. You should see a horizontal, black line appear that indicates where it will be going as you move your cursor.


OK, keys stroke how do you do this, after you have a multiple selection on the table, using shift & selecting the bottom record of a set?

EDIT: I left mouse click to select the bottom record and then successfully moved the group.
Thanks
Back to top
View user's profile Send private message Yahoo Messenger
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Tue Mar 21, 2017 12:47 pm    Post subject: Reply with quote

It used to be that you had to invert your selection (i.e. start from the bottom-to-top, so that the entry that you actually drag is the top entry), in an effort to avoid any resorting that happens. However, either this was corrected with the latest version of CE, or, I unknowingly have a Lua extension that fixes this problem, because this does not seem to be the case any longer.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites