Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Script for autohunt TibiaME


  • Please log in to reply
5 replies to this topic
Antonio
  • Members
  • 17 posts
  • Last active: Sep 14 2013 06:07 PM
  • Joined: 01 May 2013

Someone has make autohunt script for Tibiame? can you share it? happy.png

 

If not, someone can give me some ideas to make it? Im starting with a script that clicks, clicks, clicks(walking) until there is spawn. Then make a pause so the char atacks usualy. THen many clicks to continue walking until another spawn, and pause again.....but is to long, and only works on one place, then i have to make another script for other place....

 

 

Some ideas??

 

Moderator's note: next time, use the Support (or Support>>Gaming) section when asking for help !!



SnowFlake_FlowSnake
  • Members
  • 845 posts
  • Last active: Jan 24 2016 05:24 PM
  • Joined: 08 Oct 2012

Hello

 

can you please post your code so i can see how its build, so i can help you more in detail :D

 

 

for example if you want the script to search for a specific image or pixel...


  • Download link of my scripts on Autohotkey.com 2/10/2015 [DOWNLAND]
  • Contact Info:  https://github.com/floowsnaake //  FloowSnaake(A)gmail.com
  • IF you need Help send me a PM,Email or Post on Github

  • Quote by tank  Posted 29 September 2015 - 06:14 PM

  • "Eventually i will find a way to convert the DB back to PHPBB3. but i dont have the bandwidth right now. No one that has tried has had success. It is the Only way i can keep this open is if i could successfully convert it."

Antonio
  • Members
  • 17 posts
  • Last active: Sep 14 2013 06:07 PM
  • Joined: 01 May 2013

Im a newbie on AHK, just start learning few days ago. The first script i made was this for auto click on atack skills while im afk.

 

 

f12::
loop
{
ifwinexist [#] TibiaME - Web Client - XHTML - Google Chrome [#]
{
winactivate [#] TibiaME - Web Client - XHTML - Google Chrome [#]
MouseGetPos, px, py
Click 60,490
Click, %px%, %py%, 0
sleep, 30000
}
}
 

Now im trying to make the autohunt, and its something like this:

 

f11::

 
click 290, 400 (walk)
sleep,4000  (pause untill the char gets that position)
click 360,460 (click on defense skill)
sleep,500
click 50,460 (click on atack skill)
sleep,500
click 208, 435 (walk to spawn zone)
sleep,20000  (wait untill 3 mumi dead)
click 208, 435 (walk again)
 
I know that this script is to simple, and will have a lot of mistakes when there is no respawn, or when there are 4 mumi instead of 3...but im just starting to learn about AHK and i need a little help ;)


Antonio
  • Members
  • 17 posts
  • Last active: Sep 14 2013 06:07 PM
  • Joined: 01 May 2013

Now im trying to make the script find a image, and then click on it, but i guess that i dont understand well how it works:

 

 

 

f12::
 
 
ImageSearch, pX, pY, 10,85, 370, 480, C:
 
\Users\Usuario\Desktop\Scripts AHK
 
\scarab.jpg
Click, %px%, %py%, 1

 

the idea is that when a scarab apears on the game should auto atack it.....but its not working :(



Antonio
  • Members
  • 17 posts
  • Last active: Sep 14 2013 06:07 PM
  • Joined: 01 May 2013

Well, i fix the autoatack script. I try a lot with imagesearch, but never found it, i try with pixelsearch and it works.

 

 

f12::
 
PixelSearch, Px, Py, 18, 85, 370, 480, 0x1010B0, 1, Fast
 
if ErrorLevel = 2
    MsgBox Could not conduct the search.
else if ErrorLevel = 1
    MsgBox Icon could not be found on the screen.
else
    Click, %px%, %py%, 1

 

 

 

 

1-AutoSkills: ready!

2-AutoAtack: ready!

3-AutoWalk: I dont figure how can i do it easy.....

 

Someone can give me ideas on how autowalk? i was making a script that make mouse clicks. That way the character can walk all around the cave, thats ok, but when i make auto atack, the character moves from the usual way to the position of the monster. When it finish killing the monster the next mouse click dont continue with the usual "road"....some ideas?



TibiaME
  • Members
  • 7 posts
  • Last active:
  • Joined: 03 Dec 2013
How make script using ahk?
plese give me one script for tibiame can be simple