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 


1 Hotkey for multiple addresses

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

Joined: 12 Oct 2013
Posts: 13

PostPosted: Sat Oct 12, 2013 8:09 am    Post subject: 1 Hotkey for multiple addresses Reply with quote

Hi,i have a lot of addresses,i want to make a 1 hotkey for all these addresses,when i press X hotkey to change value for all addresses at once.

Can anyone help me ?

EDIT:To create a trainer,i forgot to mention.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25792
Location: The netherlands

PostPosted: Sat Oct 12, 2013 8:13 am    Post subject: Reply with quote

Just assign the same hotkey to each address. There is no rule that hotkey combos must be unique

If you wish to speed it up then set one hotkey, copy all the addresses to clipboard, paste it in notapd, and apply the same hotkey code to all other addresses manually, and then paste it back in

_________________
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
View user's profile Send private message MSN Messenger
krait07
Newbie cheater
Reputation: 0

Joined: 12 Oct 2013
Posts: 13

PostPosted: Sat Oct 12, 2013 8:23 am    Post subject: Reply with quote

Thank you,one more question.
For my game adresses change's everytime when i restart the game,for this i need to use pointers right ?

It's first time when i see that eax*8,what does mean *8 ?

Thank's.



eax.png
 Description:
 Filesize:  14.57 KB
 Viewed:  14595 Time(s)

eax.png


Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25792
Location: The netherlands

PostPosted: Sat Oct 12, 2013 9:09 am    Post subject: Reply with quote

it means the address is in an array

anyhow, in this case eax is 0, so the offset is 0*8=0
Also, this is a static address (game.exe+4532c00 is the address)

_________________
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
View user's profile Send private message MSN Messenger
daspamer
Grandmaster Cheater Supreme
Reputation: 54

Joined: 13 Sep 2011
Posts: 1588

PostPosted: Sat Oct 12, 2013 10:39 am    Post subject: Reply with quote

This script will work for you.
Press F4 to increase all values by 100.
Code:
if ChangeValue~=nil then
   ChangeValue.setKeys(nil);
end
ChangeValue = createHotkey(function ()
   -- The following script will change all records in cheat engine
   for i=1,getAddressList().getCount() do
      local Address = getAddressList().getMemoryRecord(i-1);
      -- If you want to increase the value by X value you may do this
      Address.Value = Address.Value + 100;
      -- You may also do this instead
      -- Address.Value = 100;
   end
end,VK_F4);

_________________
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
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