Yuri999 Posted April 30, 2012 Share Posted April 30, 2012 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.. thats the 2 numbers.. its ok if its captured to 1 variable, cause its possible to split them later. but how to capture it? Link to comment Share on other sites More sharing options...
smartee Posted April 30, 2012 Share Posted April 30, 2012 hi Yuri999, what application is that from? You can try using AutoIt Window Info to see what information you can get. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted April 30, 2012 Moderators Share Posted April 30, 2012 It looks like Tales of Pirates. Is this correct, Yuri999? "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 More sharing options...
Yuri999 Posted May 1, 2012 Author Share Posted May 1, 2012 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, "," ) Link to comment Share on other sites More sharing options...
Yuri999 Posted May 1, 2012 Author Share Posted May 1, 2012 @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 Link to comment Share on other sites More sharing options...
Yuri999 Posted May 1, 2012 Author Share Posted May 1, 2012 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 ^^ Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted May 1, 2012 Moderators Share Posted May 1, 2012 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. "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 More sharing options...
Valik Posted May 1, 2012 Share Posted May 1, 2012 Meh. Locked. Link to comment Share on other sites More sharing options...
Recommended Posts