Jump to content

Memory Read | How do i use this to move my character? (2D Game)


Recommended Posts

Hello everyone in the Autoit community. I've recently coded a bot for a 2d game. This script is just a simple keypress to get me to where i want to go and do some simple actions. But this doesn't work too well because if an enemy gets in my way or if some fps/ping issues happen it could easily get my character off my one position, causing the entire script to be useless. Lately i've read memory using NomadMemory2, i've linked it in the attached files. I can successfully find my characters position. Now what im wanting to do is properly make it work for my script. For example i tried this: 

<snip>

But this will move me down if my character is in the position "4113" but it will not stop pressing the s key ever, so idk exacly what im doing wrong or if there's an easier way to do this. Anyway if there's more information anyone needs let me know.

<snip>

Edited by JLogan3o13
Link to comment
Share on other sites

  • Moderators

You don't, because we don't support game automation. Please read the forum rules before you post again.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...