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 


Flappy Bird

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Zanko
Cheater
Reputation: 0

Joined: 28 May 2014
Posts: 40

PostPosted: Mon Oct 13, 2014 11:12 pm    Post subject: Flappy Bird Reply with quote

Hi, I am interested in writing a bot for flappy bird where it will calculate when to jump based on the bird coordinate and the pipe position. (Hobby purpose)

flappybird(dot)io <----- website HTML5 Flappy Bird

Since the game only consist of a bird and pipes, I feel that there definitely are the bird's and pipes' coordinates.

I used cheat engine to scan for the score and managed to change the score with ease. But I couldn't get the bird coordinate. I chose new scan for ALL (2 bytes, 4bytes etc.) of unknown value and scanned for the increased/decreased value by changing the bird position and still can't find the coordinate. Can anyone guide me? Thanks
Back to top
View user's profile Send private message
Zanko
Cheater
Reputation: 0

Joined: 28 May 2014
Posts: 40

PostPosted: Fri Oct 17, 2014 8:00 pm    Post subject: Reply with quote

any help?
Back to top
View user's profile Send private message
penpenpen
Cheater
Reputation: 0

Joined: 23 Feb 2014
Posts: 39

PostPosted: Sun Oct 19, 2014 4:55 am    Post subject: Reply with quote

Well, The Game is HTML5, so you could probably read the source directly.
As for using cheat engine...
Finding Bird wil be just y coord changes, wont be that hard to find I guess.

For the pipes, I'd search for functions that get called when you run into a pipe.
So 1) Find Value that changes when gameover 2) Find out what accesses this address. Disassemble Code. And Dissect Code to figure out where the gameover function is called. Set Breakpoints during the process.. Maybe try finding pipes by height, once you found one you can find the others by using the dissassembler, following the code back to see where they are generated / drawn... Comparing that to your bird position and you get the base for a bot.
Back to top
View user's profile Send private message
Zanko
Cheater
Reputation: 0

Joined: 28 May 2014
Posts: 40

PostPosted: Tue Oct 21, 2014 12:43 pm    Post subject: Reply with quote

Hi thank you for responding. However, I am just curious why cheat engine can't find the Y value? Why does my method of doing doesn't work? I searched increased/decreased value and it does not seem to return the Y value.

I think I am targeting the right processor as I managed to change the score.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Tue Oct 21, 2014 12:49 pm    Post subject: Reply with quote

Perhaps it's an inverted axis
E.g perhaps the top is position 0 and the further down you go the position increases
Or worse, perhaps it goes from -1 to +1 where 0 is center

_________________
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
Zanko
Cheater
Reputation: 0

Joined: 28 May 2014
Posts: 40

PostPosted: Tue Oct 21, 2014 3:19 pm    Post subject: Reply with quote

Inverted axis! Why didn't I think of that! Thank you so much DarkByte! I'll try it and let you guys know Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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