View previous topic :: View next topic |
Author |
Message |
Vegerunks How do I cheat?
Reputation: 0
Joined: 13 Mar 2015 Posts: 5
|
Posted: Fri Mar 13, 2015 4:47 pm Post subject: How to add a set of addresses following a pattern... |
|
|
So I don't know the proper term for this but I have a set of addresses(1000 to be exact) that I want to add to a table I downloaded. The address Begins here 060F 038C and ends here 0611 8388 Now from the starting point I need an address every A4 so after the first one would be 060F 0430 then 060F 04D4 etc. Now to do that with my current knowledge would take HOURs.
|
|
Back to top |
|
 |
Gniarf Grandmaster Cheater Supreme
Reputation: 43
Joined: 12 Mar 2012 Posts: 1285
|
Posted: Fri Mar 13, 2015 5:35 pm Post subject: |
|
|
Cheat tables are .xml files, so you can use excel/open office to generate the xml entry for each of your addresses, and then paste that in your .ct file.
This has been discussed here: http://forum.cheatengine.org/viewtopic.php?p=5516677
Alternatively you can use the attached .ct, you just need to edit the address of the first cheat entry, all the rest will update. If you need to change the A4 offset one day, just edit the .ct with notepad and do a massive search and replace.
Description: |
|
 Download |
Filename: |
A thousand.CT |
Filesize: |
249.08 KB |
Downloaded: |
613 Time(s) |
_________________
DO NOT PM me if you want help on making/fixing/using a hack. |
|
Back to top |
|
 |
Vegerunks How do I cheat?
Reputation: 0
Joined: 13 Mar 2015 Posts: 5
|
Posted: Fri Mar 13, 2015 6:45 pm Post subject: |
|
|
Thank you very much that helps me alot :D
One final Question, is there a way to change the Descriptions in a similar way? So in 1 click i can change all the descriptions to the proper Item ID slot #
|
|
Back to top |
|
 |
Gniarf Grandmaster Cheater Supreme
Reputation: 43
Joined: 12 Mar 2012 Posts: 1285
|
Posted: Fri Mar 13, 2015 8:01 pm Post subject: |
|
|
Either use excel to regenerate the table, updating offsets AND descriptions, or write a lua script that will set the description of all your records according to their index.
The example in the thread I linked was outputting
max hp (unit 1)
current hp (unit 1)
mana (unit 1)
max hp (unit 2)
current hp (unit 2)
mana (unit 2)
etc... with the correct address for each.
_________________
DO NOT PM me if you want help on making/fixing/using a hack. |
|
Back to top |
|
 |
Vegerunks How do I cheat?
Reputation: 0
Joined: 13 Mar 2015 Posts: 5
|
Posted: Sat Mar 14, 2015 2:26 am Post subject: |
|
|
[quote="Gniarf"]Either use excel to regenerate the table, updating offsets AND descriptions, or write a lua script that will set the description of all your records according to their index.
The example in the thread I linked was outputting
max hp (unit 1)
current hp (unit 1)
mana (unit 1)
max hp (unit 2)
current hp (unit 2)
mana (unit 2)
etc... with the correct address for each.[/quote]
Yea I fail at knowing how to write Lua scripts and I have no idea how to bring anything I do in excel over to Cheat Engine.
|
|
Back to top |
|
 |
Gniarf Grandmaster Cheater Supreme
Reputation: 43
Joined: 12 Mar 2012 Posts: 1285
|
Posted: Sat Mar 14, 2015 7:16 am Post subject: |
|
|
Vegerunks wrote: | I have no idea how to bring anything I do in excel over to Cheat Engine. | Excel's cells just contain text after all, you just have to copy & paste this text into the .ct file at the right place.
_________________
DO NOT PM me if you want help on making/fixing/using a hack. |
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25796 Location: The netherlands
|
Posted: Sat Mar 14, 2015 8:42 am Post subject: |
|
|
This lua code will change the descriptions:
Code: |
al=getAddressList()
for i=0, al.Count-1 do
al[i].description="entry"..i
end
|
_________________
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 |
|
 |
|