| View previous topic :: View next topic |
| Author |
Message |
delta404 How do I cheat?
Reputation: 0
Joined: 20 Feb 2012 Posts: 6
|
Posted: Mon Feb 20, 2012 7:53 am Post subject: Multiplying a pointer |
|
|
Hello,
I'm a huge newbie with CE and I'm wondering if someone can put it simply how I would multiply the value of a address a pointer points to.
Would I need a trainer coded to do it, or would a simple lua be able to? |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 474
Joined: 09 May 2003 Posts: 25927 Location: The netherlands
|
Posted: Mon Feb 20, 2012 8:02 am Post subject: |
|
|
Not possible with the addresslist, but I'll add "Make memrec.setValue support calculations" to the todo list
But you can do it with lua.
Easiest method:
| Code: |
address="[[bla.exe+1234]+0]+4"
writeInteger(address, readInteger(address)*2)
|
(Also, if you're referring to a trainer created by ce, that is in fact a lua script) _________________
Tools give you results. Knowledge gives you control.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
delta404 How do I cheat?
Reputation: 0
Joined: 20 Feb 2012 Posts: 6
|
Posted: Mon Feb 20, 2012 8:10 am Post subject: |
|
|
| Dark Byte wrote: | Not possible with the addresslist, but I'll add "Make memrec.setValue support calculations" to the todo list
But you can do it with lua.
Easiest method:
| Code: |
address="[[bla.exe+1234]+0]+4"
writeInteger(address, readInteger(address)*2)
|
(Also, if you're referring to a trainer created by ce, that is in fact a lua script) |
So if I make a CE trainer is it possible to open it up afterward and edit/look at the LUA ? |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 474
Joined: 09 May 2003 Posts: 25927 Location: The netherlands
|
Posted: Mon Feb 20, 2012 8:12 am Post subject: |
|
|
yes, but only if you save it as a .CETRAINER (and opt out of protection) and not as an .EXE (.exe's have protection enabled)
Use .CETRAINER(or .CT) for development ,testing and updates/patches, and use .EXE for distributing the final finished trainer to other people that don't have Cheat Engine installed _________________
Tools give you results. Knowledge gives you control.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
delta404 How do I cheat?
Reputation: 0
Joined: 20 Feb 2012 Posts: 6
|
Posted: Mon Feb 20, 2012 8:50 am Post subject: |
|
|
| Dark Byte wrote: | yes, but only if you save it as a .CETRAINER (and opt out of protection) and not as an .EXE (.exe's have protection enabled)
Use .CETRAINER(or .CT) for development ,testing and updates/patches, and use .EXE for distributing the final finished trainer to other people that don't have Cheat Engine installed |
Seems I need a little more help then I though I did, what would be the offset in:
| Code: |
00428E4C - mov [ebp+eax+00],ebx
|
Also, what is this
in the code you pasted earlier, will I need to modify it? |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 474
Joined: 09 May 2003 Posts: 25927 Location: The netherlands
|
Posted: Mon Feb 20, 2012 8:55 am Post subject: |
|
|
[ebp+eax+00] The lowest offset in this case is the register whose value is the smallest
[[bla.exe+1234]+0]+4 is a pointer notation for a pointer with 2 offsets (0 and 4, read from the bottom to top) And yes, you need to modify it with your pointer path _________________
Tools give you results. Knowledge gives you control.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
delta404 How do I cheat?
Reputation: 0
Joined: 20 Feb 2012 Posts: 6
|
Posted: Mon Feb 20, 2012 9:09 am Post subject: |
|
|
| Dark Byte wrote: | [ebp+eax+00] The lowest offset in this case is the register whose value is the smallest
[[bla.exe+1234]+0]+4 is a pointer notation for a pointer with 2 offsets (0 and 4, read from the bottom to top) And yes, you need to modify it with your pointer path |
I guess this is a little to complicated for me, thanks for your help though. |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 474
Joined: 09 May 2003 Posts: 25927 Location: The netherlands
|
Posted: Mon Feb 20, 2012 9:14 am Post subject: |
|
|
You could always try the pointerscanner . It's quite simple to use (just takes a bit longer) _________________
Tools give you results. Knowledge gives you control.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
delta404 How do I cheat?
Reputation: 0
Joined: 20 Feb 2012 Posts: 6
|
Posted: Mon Feb 20, 2012 9:16 am Post subject: |
|
|
| Dark Byte wrote: | | You could always try the pointerscanner . It's quite simple to use (just takes a bit longer) |
Never returned any results for me, I tried the value of the address I wanted the pointer to, and the address itself. |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 474
Joined: 09 May 2003 Posts: 25927 Location: The netherlands
|
Posted: Mon Feb 20, 2012 9:20 am Post subject: |
|
|
Try a higher level then. If 5 finds nothing then try 6 or 7.
A higher structure size helps as well
Also, check the counter, not the list. The list is kept invisible(on some systems) until the count is below a certain number. (you MUST do a rescan. The initial list is useless anyhow)
And the pointerfile must be generated in a location that has at least 20GB free _________________
Tools give you results. Knowledge gives you control.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
delta404 How do I cheat?
Reputation: 0
Joined: 20 Feb 2012 Posts: 6
|
Posted: Mon Feb 20, 2012 9:22 am Post subject: |
|
|
| Dark Byte wrote: | Try a higher level then. If 5 finds nothing then try 6 or 7.
A higher structure size helps as well
Also, check the counter, not the list. The list is kept invisible(on some systems) until the count is below a certain number. (you MUST do a rescan. The initial list is useless anyhow)
And the pointerfile must be generated in a location that has at least 20GB free |
The counter is 0 also.
I went and looked at some tut's for the pointer-scanner and copied them exactly, still no results |
|
| Back to top |
|
 |
|