[Release] Metallurgy Bot Beta

01/04/2010 06:22 pjknz1#91
i know its ageist the forum rules to ask questions
but i click autoit switch to mabi wont work
but then i go back to desktop i see the mouse moveing all over the place

how do i fix it
01/04/2010 13:52 tuxx95#92
Quote:
Originally Posted by shzukahime View Post
No. It will only work if mabinogi is your active window. Srsly its not that hard to figure out. ._.
O.O *gasps* someone with a brain
01/04/2010 14:34 sweetxD#93
Why not make it search for ore at 2 step instead of 1. That way even if two ores drop, it will rescan the area. Also, sometime it misses the ore drop so having it rescan helps a lot.
01/04/2010 15:21 sweetxD#94
#include <ImageSearch.au3>
Global $Paused
HotKeySet("{Pause}", "TogglePause")
HotKeySet("{ESC}", "Terminate")
MsgBox(0,"starting","press ok")
sleep(2000)
While 1
Send("{ALTDOWN}")
$x1=0
$y1=0
$result = _ImageSearch("site.BMP",1,$x1,$y1,80)
if $result=1 Then
Send("{ALTUP}")
send("{F11}")
MouseClick("left")
sleep(3000)
MouseClick("left",$x1,$y1,3)
Sleep(15000)
EndIf

^^ Perfect at finding the ore place but it doesn't pick up the ore using your code.
01/04/2010 21:22 sketch56#95
Quote:
#include <ImageSearch.au3>
MsgBox(0,"Starting","Press OK")
sleep(2000)

While 1
Send("{ALTDOWN}")
$x1=0
$y1=0
$result = _ImageSearch("ore.BMP",1,$x1,$y1,110)
If $result=1 Then
MouseClick("left",$x1,$y1)
sleep(500)
Send("{ALTUP}")
sleep(500)
Else
$x2=0
$y2=0
$result2 = _ImageSearch("site.BMP",1,$x2,$y2,60)
if $result2=1 Then
Send("{ALTUP}")
send("{F10}")
MouseClick("left")
sleep(3000)
MouseClick("left",$x2,$y2,3)
Sleep(15000)
Else
Send("{ALTUP}")
sleep(3000)
MouseClickDrag ("Right",835, 503,850, 503)
EndIf
EndIf
WEnd
The greatest issue is making a good bmp image for the ore, and then finding the right ore image tolerance (in red, 50 to 120 seems to be a good range) for all times of day. As it stands, changing ore image tolerance right now pretty much determines what time of day the ore will be picked up. This script works well, sans what I just said, with F10 hotkeyed and nighttime disabled.
01/04/2010 22:39 daisuke2#96
Thats perfect i just edit Bot.au with the above codeing and it should scan 2x picking up ore that it misses right? does that mean that it will pick up multiple ore drops as well? and does anyone have a bmp for gems?
01/04/2010 23:14 sketch56#97
Quote:
Originally Posted by daisuke2 View Post
Thats perfect i just edit Bot.au with the above codeing and it should scan 2x picking up ore that it misses right? does that mean that it will pick up multiple ore drops as well? and does anyone have a bmp for gems?
That's how it should work. To save some effort, if you edit all the gems in the itemdb to have "Ore" in the name (as previously stated in the thread), it'd work without a hitch - that is, once someone finds a way to get the ore.bmp to read off consistently. Otherwise, one would need to put in Image Searches for each gem (5 if you're only going to farm oceanfronts), along with readable bmp images in the folder.
01/04/2010 23:58 Theri#98
If you want to search for things with image search in the outside world you need images of the name in daylight, nighttime and when its raining and that should cover you for about 99% of the time.

Stop using those pause/etc functions that are tacked onto all the scripts on here, they don't work.
01/05/2010 00:00 sketch56#99
Quote:
Originally Posted by Theri View Post
If you want to search for things with image search in the outside world you need images of the name in daylight, nighttime and when its raining and that should cover you for about 99% of the time.

Stop using those pause/etc functions that are tacked onto all the scripts on here, they don't work.
Shame the function can't read PNG images

Also, I edit the end/pause functions out for myself, since I play in windowed mode, and didn't know if they could be used in full-screen. Removed.
01/05/2010 00:01 razer951#100
Can someone post the upgraded bot with the newer coding that picks up 2 ore opr tell me what coding i replace with the new coding
01/05/2010 00:16 daisuke2#101
Quote:
Originally Posted by sketch56 View Post
That's how it should work. To save some effort, if you edit all the gems in the itemdb to have "Ore" in the name (as previously stated in the thread), it'd work without a hitch - that is, once someone finds a way to get the ore.bmp to read off consistently. Otherwise, one would need to put in Image Searches for each gem (5 if you're only going to farm oceanfronts), along with readable bmp images in the folder.
thanks i REALLY appreciate it im pretty new to this ironicly im takeing computer systems tech in college in 7 days lol
01/08/2010 05:28 DRANK#102
so a couple of questions if i may, do i put the .Dll in windows and the imagesearch.au3 in the Autoit include, and then how do i start the bot? there is no exe
01/08/2010 14:02 tuxx95#103
dont move anything run the >>PICKUP.AU3<< >>EXE IS DETECTED BY HACKSHIELD<<
01/08/2010 22:08 DRANK#104
okay ty
01/10/2010 06:12 KrosisHTS#105
Could someone tell me how to do the itemdb change? I did open up itemdb.xml with notepad and changed, for example, "Jasper" to "Jasper Ore Fragment," but it doesn't actually show up as that when I open up mabi. Am I looking in the wrong file?

Thanks a lot!

Edit: Ahh, found out how :)

Edit2: Never mind... Although I did manage to extract itemdb.english.txt from package, and put it into the db folder after editing it, "ore fragment" will still not show up :( Any help would be greatly appreciated!

Edit3. Ahh, found out how :)