Deprecated: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /home/iano/public_html/tpforums-vb5/forum/includes/class_core.php on line 5842

PHP Warning: Use of undefined constant MYSQL_NUM - assumed 'MYSQL_NUM' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: Use of undefined constant MYSQL_ASSOC - assumed 'MYSQL_ASSOC' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: Use of undefined constant MYSQL_BOTH - assumed 'MYSQL_BOTH' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in ..../includes/functions_navigation.php on line 588

PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in ..../includes/functions_navigation.php on line 612

PHP Warning: Use of undefined constant archive_postsperpage - assumed 'archive_postsperpage' (this will throw an Error in a future version of PHP) in ..../archive/index.php on line 456
Fisher [Archive] - Forums

PDA

View Full Version : Fisher



belzebub
02-19-2015, 02:14 PM
How to use fishing rod on right spot? It's possible to code it by winAPI simulatinig clicks? Is there any adr structure of playerscreen 13x18?
Ps. I finished own program that find spot with fish or without fish.

jo3bingham
02-20-2015, 10:16 PM
Yes, you can do this by simulating mouse-clicks. I don't know if, or how much, the structure has changed, but you can get an understanding of the GUI structure here: http://tpforums.org/forum/threads/443-Tibia-GUI-structure
Once you figure it out, you can do some basic math to get the x,y coordinates of each tile in the game window. I won't go in to too much detail because the logic is pretty simple. If you need further help, just ask.

belzebub
02-20-2015, 10:18 PM
Thanks for response I gonna study it !