Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 19:22

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[HELP] How to integrate X,Y map coordinates into autoit

Discussion on [HELP] How to integrate X,Y map coordinates into autoit within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2014
Posts: 2
Received Thanks: 0
Question [HELP] How to integrate X,Y map coordinates into autoit

Dear gamers,

I have read different posts on map coordinates, cheatengine & autoit on games, but Im still quite new and not able to grasps the fundamentals inorder to apply to my bot.

I am making a bot for a 2D game called StoneAge. The game itself includes a map which shows the X,Y coordinates. The screen is centered on the character and movement is similar to that of chess (moving on grids)

By using cheatengine I am able to get 4-byte addresses for X & Y axis for my current character location. When FREEZING these value, my character is unable to move so I assume these are the ones I need.

I have read other threads on how they implement the coordinates in Cabal, but I am not sure if I could do the same (Im a newbie in scripting). My game doesn't have a TITLE, so I only uses CLASS: StoneAge to identify it.

I plan to write a script so that my character can automatically move to coordinates I have inputed.

1) How can I incorporate it into the autoit script using the _Mem.au3 or _nomad.au3?

2) How can I write the script so that the character will resume from where it left of? even when went astray? -will this require the script to constantly monitor the character's current location?
(On the move the character may enter into a battle scene at any instant and stops at the location where it encountered the enemies. If this is the case then the coordinates input might not be accurately followed and never achieve to the final destination...

3) I used imagesearch to check my inventory for unwanted items and so I used Clickdrag to drag items from $x1 & $y1, but interestingly the mouse went to an irrelevant place instead (Close button of the inventory). The bmps of the item (green) and the Close button (grey) are totally different... so any ideas why this is happening?

Thank you in advance. Please let me know if more details are needed.

P.S. I am new to scripting, so please understand that I might not understand if you just post a long script or refers me to another post without an explanation of the basics/logics behind the function.


;Not important-----------------
I am able to create a simple script which automatically fights the NPC when it responds at a fixed position. For this I used _ImageSearch.au3, Winactive() and other simple commands.
-----------------------------
Leecher_tester is offline  
Old 02/16/2014, 11:08   #2
 
elite*gold: 0
Join Date: Feb 2014
Posts: 2
Received Thanks: 0
bump
Leecher_tester is offline  
Reply

Tags
autoit, cheatengine, coordinates, stoneage


Similar Threads Similar Threads
help who knows how to integrate the game and updater
01/19/2014 - Shaiya PServer Development - 1 Replies
I saw several Shaiya clients where only 1 file to run the game, how do I do this or can have a ready version of the game.exe not encrypted'll be very grateful
How to integrate website login with PHPBB3
08/14/2013 - Web Development - 0 Replies
I'm creating a website and I would like to have it linked to my PHPBB3.0.11 login. I've looked this up but it seems every resource has a different method. I haven't been able to get it to work so I'm trying to figure out what I need to know to find the correct resource? Basically I would just like to be able to register on the website OR the forums and then be able to seamlessly navigate between both systems with the same log in. As I said, what do I need to know to find out what method will...
that what one can help me integrate the captcha solver
06/25/2013 - General Coding - 0 Replies
that what one can help me integrate the captcha solver in my program the integration method Get API & Plugin | ExpertDecoders
How to integrate Cash Shop in my Aion Private Server?
11/29/2010 - Aion Private Server - 0 Replies
How to integrate a Cash Shop in to my Aion private server? Any help?



All times are GMT +1. The time now is 19:23.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.