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 


Need help with Dropdown values in CE 6.5

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
ThatBenderGuy
Newbie cheater
Reputation: 0

Joined: 28 Aug 2013
Posts: 24

PostPosted: Fri Jun 24, 2016 3:58 pm    Post subject: Need help with Dropdown values in CE 6.5 Reply with quote

Okay so I am modifying someone's existing table for a game and in the inventory section I am converting the "Type" values to drowdown lists. My problem is that is there a way to it for all of them at once? When I select all the values and select "Show as Hexidecimal" it applies it to them but only to the one highlighted when setting the dropdown values. This normally wouldn't be a problem but there are 18 pages each with 11 items. I have the dropdown table copied but it's tedious to have to right click each one, paste in the dropdown list, tick the 2 options then move on to the next one. Thanks for any help in advance
_________________
Fine! I'll go build my own lunar lander, with blackjack and hookers. In fact, forget the lunar lander and the blackjack. Ahh, screw the whole thing!
Back to top
View user's profile Send private message
daspamer
Grandmaster Cheater Supreme
Reputation: 54

Joined: 13 Sep 2011
Posts: 1588

PostPosted: Fri Jun 24, 2016 5:46 pm    Post subject: Reply with quote

Open Lua Script window (Menu -> Table -> Show Cheat Table Lua Script)
Paste and execute this script
Code:
for i=0,getAddressList().Count-1 do
   getAddressList().MemoryRecord[i].ShowAsHex = true
end

_________________
I'm rusty and getting older, help me re-learn lua.
Back to top
View user's profile Send private message Visit poster's website
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Fri Jun 24, 2016 6:47 pm    Post subject: Reply with quote

Maybe it would be simpler for you to open the file in NotePad?
Do a search for <Description>"Type"</Description>
Copy and paste the <DropDownList> element to each one.
Backup your CT first! Smile
Back to top
View user's profile Send private message
ThatBenderGuy
Newbie cheater
Reputation: 0

Joined: 28 Aug 2013
Posts: 24

PostPosted: Sat Jun 25, 2016 10:13 pm    Post subject: Reply with quote

DaSpamer wrote:
Open Lua Script window (Menu -> Table -> Show Cheat Table Lua Script)
Paste and execute this script
Code:
for i=0,getAddressList().Count-1 do
   getAddressList().MemoryRecord[i].ShowAsHex = true
end


I was using the hexadecimal of an example of something that works. I'm trying to add a dropdown list for all items in the cheat table that has the description of "type"

Zanzer wrote:
Maybe it would be simpler for you to open the file in NotePad?
Do a search for <Description>"Type"</Description>
Copy and paste the <DropDownList> element to each one.
Backup your CT first!


Thanks I'll try this out

_________________
Fine! I'll go build my own lunar lander, with blackjack and hookers. In fact, forget the lunar lander and the blackjack. Ahh, screw the whole thing!
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 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