Jump to content
  • Advertisement
Sign in to follow this  

getting a variable address and/or interrupting game message

This topic is 2619 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, it's been a while. I got a question. I'm playing a game. basically it's about harvesting things and farmer lifestyle. I'd like to automate some process in the game (harvesting stuffs, going to shop, selling stuff). I know it's kinda hard, but I'm willing to learn. So I think first I need to know the address of a variable in the game, and make my program act appropriately. I think this is what should my program do:
-Get address of a variable (vegetables variable)
-Tell the game to harvest vegetables
-Watch the variable, if it exceeds the threshold, tell the game to stop
-Tell the game to go to a coordinate (the shop)
-Tell the game to click / enter the house
-Tell the game to click at the NPC and choose 'sell' menu
-Tell the game to repeat the process.

There are at least two things that needs to be done. How to tell the game to do something. How to get the variable address and watch it. Good news is this game is open source and I have the source code. But I don't want to mess with it. I'd rather write my own program and make it run with the game. Anyway, please excuse me if this question sounds ridiculous or funny. I'm serious and I want to learn. Thanks. :)

Best regards,
Bow Vernon

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!