|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
DarknessCalling How do I cheat? Reputation: 0
Joined: 30 Jun 2018 Posts: 2
|
Posted: Sat Jun 30, 2018 3:29 pm Post subject: Help with scripting (check value & reset & wait) |
|
|
Alright, so I tried to search, but as I'm not sure how to describe what I'm looking for, I was unable to find it. Right now, I'm playing around trying to learn some basic stuff about Cheat Engine, doing random crap in Assassins Creed Origin. In ACO, every time you level up you get an ability point. I want to set the exp to 1 point below the level requirement (339599), and have a script that waits until it changes, waits 5 seconds, then resets it (to 339599).
I just learned how to write a script that finds a specific thing (in this case, exp) every time the game runs, so I don't have much knowledge yet.
Any assistance would be greatly appreciated.
|
|
Back to top |
|
|
OldCheatEngineUser Whateven rank Reputation: 20
Joined: 01 Feb 2016 Posts: 1587
|
Posted: Sat Jun 30, 2018 4:25 pm Post subject: |
|
|
you need to:
- compare [max xp - 1] with current xp
- if current xp equal to [max xp -1] then goto sleep
- otherwise move [max xp - 1] to current xp
and sleep again, but you must not use sleep for game threads.
you have to use createthread function, otherwise expect a crash.
sleep:
push 1388
call kernel32.Sleep
loop back to code
_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote: | i am a sweetheart. |
|
|
Back to top |
|
|
DarknessCalling How do I cheat? Reputation: 0
Joined: 30 Jun 2018 Posts: 2
|
Posted: Sat Jun 30, 2018 5:35 pm Post subject: |
|
|
OldCheatEngineUser wrote: | you need to:
- compare [max xp - 1] with current xp
- if current xp equal to [max xp -1] then goto sleep
- otherwise move [max xp - 1] to current xp
and sleep again, but you must not use sleep for game threads.
you have to use createthread function, otherwise expect a crash.
sleep:
push 1388
call kernel32.Sleep
loop back to code |
I'm sorry, I'm brand spankin' new to whatever language this is. I've no idea how to do any of that. Could you give me a place to look? Perhaps another thread? Barring that, could you go a bit more in depth?
|
|
Back to top |
|
|
|
|
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
|
|