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 


Script to detect when pointer value is X and change it to Y

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Trapsinplace
Cheater
Reputation: 1

Joined: 04 May 2014
Posts: 32

PostPosted: Wed Apr 05, 2017 11:12 pm    Post subject: Script to detect when pointer value is X and change it to Y Reply with quote

In Dark Souls 1 I have a pointer that shows current animation ID. There's also a glitch where you get stuck in a particular idle animation and have to either die or alt f4 to escape being frozen in place.

I'm unsure how to go about, or even if it's possible, for cheat engine to detect when the pointer value is at the stuck animation ID and set the pointer to 0, cancelling the glitch and freeing the player.

I'm not inexperienced using cheat engine and reading code, but my programming knowledge is pretty darn basic Sad
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Thu Apr 06, 2017 2:02 am    Post subject: Reply with quote

first figure out how you can see if the game is in that stuck animation and how you would fix that.

then find out how to let ce do that (timers, reading values, settinh values, etc...)

_________________
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
Trapsinplace
Cheater
Reputation: 1

Joined: 04 May 2014
Posts: 32

PostPosted: Thu Apr 06, 2017 1:06 pm    Post subject: Reply with quote

To make sure I'm getting this right:

Create a timer
When the animation pointer is equal to X for a chosen time period,
Change pointer value to 0

Would that be right?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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