View previous topic :: View next topic |
Author |
Message |
jigoku How do I cheat? Reputation: 0
Joined: 03 Dec 2009 Posts: 6
|
Posted: Sun Jun 13, 2010 8:27 am Post subject: something simple that i dont know how! "trainer" |
|
|
well i been trying to make a simple trainer on cheat engine..
i found a adress and i want to adjust the value.. make a trainer on ce to add or decrease value on the current adress every time i press the hot key
but the trainer in ce only lets u make a trainer that freezes the value or set a value, it does not have a option to add or decrease value
soo how can i make a trainer for this..?
|
|
Back to top |
|
|
Geri Moderator Reputation: 111
Joined: 05 Feb 2010 Posts: 5636
|
Posted: Sun Jun 13, 2010 12:00 pm Post subject: |
|
|
Unfortunately there is no option for it as far as I know.
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Sun Jun 13, 2010 12:08 pm Post subject: |
|
|
Not currently implemented but you can do it manually
Following AA script increases address 00400500 with 1 each time it's toggled
You can assign this to a trainer as well
Code: |
globalalloc(increaser,64) //allocate once, don't reallocate if executed again
createthread(increaser)
fullaccess(00400500,4) //make sure it's writable, if it's a writable address, this can be skipped
increaser:
inc dword [00400500]
ret
[enable]
[disable]
|
_________________
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 |
|
|
jigoku How do I cheat? Reputation: 0
Joined: 03 Dec 2009 Posts: 6
|
Posted: Sun Jun 13, 2010 10:37 pm Post subject: |
|
|
great ty! and how would the aa code be if i wanted to decrease value of 100 or 200 on the adress?
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Sun Jun 13, 2010 10:57 pm Post subject: |
|
|
sub dword [xxxxxxxx],#100
_________________
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 |
|
|
Darklin How do I cheat? Reputation: 0
Joined: 16 Jun 2010 Posts: 3
|
Posted: Wed Jun 16, 2010 8:43 pm Post subject: |
|
|
I have the same problem - need to inc/dec values with pressing hotkeys. Where should i inject this code? Didnt find it in tutorials, sorry =/
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Wed Jun 16, 2010 9:04 pm Post subject: |
|
|
this isn't an script that injects, it's just a script you add to your cheat table that you can then give a hotkey (it only allocates the memory for the thread that does the increasing/decreasing and then calls it when the script is triggered)
_________________
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 |
|
|
Darklin How do I cheat? Reputation: 0
Joined: 16 Jun 2010 Posts: 3
|
Posted: Thu Jun 17, 2010 3:58 pm Post subject: |
|
|
Oh, ty a lot. I added this code to my script and used it in trainer - it works fine. But how can i use a pointer in this script instead of dynamic address, if i have a pointer like that?
Description: |
|
Filesize: |
105.35 KB |
Viewed: |
6857 Time(s) |
|
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Thu Jun 17, 2010 4:20 pm Post subject: |
|
|
Then the code part would be:
Code: |
label(invalid)
...
mov eax,[AgeOfConan.exe+01xxxxxxxx]
test eax,eax
je invalid
mov eax,[eax+1c]
test eax,eax
je invalid
mov eax,[eax+14]
test eax,eax
je invalid
mov eax,[eax+10]
test eax,eax
je invalid
mov eax,[eax+4]
test eax,eax
je invalid
inc [eax+22] //increase by 1
invalid:
ret
|
and you can probably do away with the fullaccess line assuming that the memory address is already writable
edit: Added some tests to see if it's a valid pointer path (e.g the pointerscanner can sometimes return pointers that are only valid when alt tabbed out of the game, or while you're not active, e.g breaks during shooting. This reduces the chance of a crash)
_________________
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 |
|
|
Darklin How do I cheat? Reputation: 0
Joined: 16 Jun 2010 Posts: 3
|
Posted: Fri Jun 18, 2010 8:38 pm Post subject: |
|
|
Great ty! It works perfectly.
|
|
Back to top |
|
|
|