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 


Fishing States In Terraria

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
TLHPoE
How do I cheat?
Reputation: 0

Joined: 17 Jun 2016
Posts: 2

PostPosted: Fri Jun 17, 2016 5:01 pm    Post subject: Fishing States In Terraria Reply with quote

Is there a way to find the value/boolean that determines if the player is fishing or not in Terraria? I have no idea where to start.

One idea I had was to scan for a false value, start fishing, and rescan for a true value, but nothing came back that was useful.
Back to top
View user's profile Send private message
LastDance
Cheater
Reputation: 1

Joined: 09 Jun 2015
Posts: 37

PostPosted: Fri Jun 17, 2016 11:23 pm    Post subject: Reply with quote

I did a search for values while fishing/not fishing and turned up about 75 values by searching unknown, and then changed/unchanged searches to narrow it down. Then swapped out all the 1's and 0's till i saw something visual happen.

the value you are looking for is a 4 byte value that switches to 1 when fishing and 0 when not fishing. watch out though because it isnt that consistent if you just switch the value for 1 to 0 or vice versa.

good luck!
Back to top
View user's profile Send private message
TLHPoE
How do I cheat?
Reputation: 0

Joined: 17 Jun 2016
Posts: 2

PostPosted: Sat Jun 18, 2016 6:22 pm    Post subject: Reply with quote

LastDance wrote:
I did a search for values while fishing/not fishing and turned up about 75 values by searching unknown, and then changed/unchanged searches to narrow it down. Then swapped out all the 1's and 0's till i saw something visual happen.

the value you are looking for is a 4 byte value that switches to 1 when fishing and 0 when not fishing. watch out though because it isnt that consistent if you just switch the value for 1 to 0 or vice versa.

good luck!


I did that initially and it crashed my cheat engine, but retrying it today provided me 3 addresses that consistently correlated with casting the bobber Very Happy Thank you.

The only problem right now, is that the addresses change every game instance. Is there a way to get a static address for these values?

Additionally I found the addresses for detecting when the bobber is bobbing by detecting for 0 while the bobber was down and whenever the bobber was bobbing I rescanned for a value greater than 0. Rinse repeat gave addresses that consistently changed when it was bobbing.
Back to top
View user's profile Send private message
LastDance
Cheater
Reputation: 1

Joined: 09 Jun 2015
Posts: 37

PostPosted: Sat Jun 18, 2016 8:28 pm    Post subject: Reply with quote

well the most obvious method to recommend to me would be the pointer scanner.

Rydian made a pretty decent guide for it awhile ago:

http://forum.cheatengine.org/viewtopic.php?t=572465
Back to top
View user's profile Send private message
cooleko
Grandmaster Cheater
Reputation: 11

Joined: 04 May 2016
Posts: 717

PostPosted: Sat Jun 18, 2016 10:01 pm    Post subject: Reply with quote

Alternatively, you can grab the instruction that accesses your address instead. Make an AoB script for it.
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