Sign in to follow this  
Followers 0
Yuri999

capture non-selectable text

8 posts in this topic

Hi i want to capture 2 numbers.. separated my a comma into variables for use in a macro.. the numbers are unselectable but the location of the number is known.. ie its always shown at the same place.. how can i do this? see image below..

Posted Image thats the 2 numbers.. its ok if its captured to 1 variable, cause its possible to split them later. but how to capture it?

Share this post


Link to post
Share on other sites



hi Yuri999, what application is that from? You can try using AutoIt Window Info to see what information you can get.

Share this post


Link to post
Share on other sites

It looks like Tales of Pirates. Is this correct, Yuri999?


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

yes it is TOP @jlogan, actually TOP2.. in TOP2 they have a new feature called auto trace.. what it does is u put in the cords in that and it will move ur char to the given cords.. can also select npc/ mob locations from a list also provided ingame. --> cool dont have to click click click till reaching destination

BUT, 1 problem it works in only 3 maps, the reason being other maps are not added to the list. What im trying to do is read this cords and move the char to specified cords on any map

I tried tesseract to get the cords but its pretty slow

these are the lines i used -

Dim $cords
$cords = _TesseractScreenCapture(0, "", 1, 12, 740, 61, 1380, 890, 0)
$cords = StringSplit ( $cords, "," )

Share this post


Link to post
Share on other sites

@Smartee that doesnt help.. thats what i did at the very begining, then i started going for ocr which was sucessful but very slow

PS: sry for double post

Share this post


Link to post
Share on other sites

Nvm did it, forget ocr i took it from memory. but idk if the server can detect it

$mem = _MemoryOpen(ProcessExists ( "game.exe" ))
$cords=_MemoryRead( 0x006cd8b4 , $mem , 'char[16]' )
_MemoryClose(ProcessExists ( "game.exe"))
$cords = StringSplit ( $cords, "," )
MsgBox(0,"asd",$cords[1]&$cords[2])

used Nomad's memory functions

thanks every1 for help ^^

Share this post


Link to post
Share on other sites

Hi, Yuri999. I didn't get back to this post before you apparently resolved the issue yourself. Nevertheless, please take a look at the forum rules for future reference; we do not discuss game automation on this forum.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

Meh. Locked.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0