Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Mabinogi
You last visited: Today at 11:10

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Question on imagesearch

Discussion on Question on imagesearch within the Mabinogi forum part of the MMORPGs category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2009
Posts: 24
Received Thanks: 2
Question on imagesearch

Is there a way to limit the image search to a small area, such as under the character's feet?

And in the event where there are multiple sites that look the same, how do you force it to pick just one and not go berserk clicking around?

The beta version of metallurgy bot is not working well for me.
YBang is offline  
Old 02/16/2010, 17:04   #2
 
elite*gold: 0
Join Date: Oct 2009
Posts: 24
Received Thanks: 2
That's not a helpful reply...

Let this picture speak for itself.

I replaced images but it don't work.
YBang is offline  
Old 02/17/2010, 00:21   #3
 
elite*gold: 0
Join Date: Dec 2009
Posts: 395
Received Thanks: 94
Find and read the image search documentation.
Theri is offline  
Old 02/17/2010, 01:20   #4
 
Darien630's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 99
Received Thanks: 3
Oh Cool o-o
Darien630 is offline  
Old 02/17/2010, 03:47   #5
 
pawntobishop's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 1,317
Received Thanks: 472
You should be able to set a search area, check the wiki page for the system you are using.
pawntobishop is offline  
Old 02/17/2010, 07:59   #6
 
elite*gold: 0
Join Date: Oct 2009
Posts: 24
Received Thanks: 2
I have found it, it's called _ImageSearchArea

Quote:
Func _ImageSearchArea($findImage,$resultPosition,$x1,$y 1,$right,$bottom,ByRef $x, ByRef $y, $tolerance
With some tweaks the bot is working fine except for this part.

Quote:
$result2 = _ImageSearchArea("stone1.JPG",1,400,300,300,300,$x 2,$y2,80)
I'm trying to centralise the search area. For some reason which I don't understand, it does not work.


Never mind I figured out how to do this. I have a fully functional Metallurgy bot now, thanks to everyone who helped.
YBang is offline  
Old 02/17/2010, 16:27   #7
 
pawntobishop's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 1,317
Received Thanks: 472
Very nice, you should debug it and release it somewhere not as terrible as here.
Or let me debug it... I loves me some debugging.
pawntobishop is offline  
Old 02/17/2010, 18:35   #8
 
elite*gold: 0
Join Date: Oct 2009
Posts: 24
Received Thanks: 2
Quote:
Originally Posted by pawntobishop View Post
Very nice, you should debug it and release it somewhere not as terrible as here.
Or let me debug it... I loves me some debugging.
Don't mind letting you debug it but I still have one last minor problem...

The original beta metallurgy bot has this part where it scrolls/spins the screen. I don't find it useful at all. I want to make it work for the river area, where the nearest fragments are spaced out far after one area is depleted.

It's functional but it stops once the character cannot find anymore spots.

Locating the ore fragment locations is ok (even with no moonshine involved)
Moving to next spot is ok if there are still any spots in the area
Picking up is ok
Moving to new area is not ok, I have yet to figure out what to do with this. I have seen bots that move flawlessly over here so it should be possible.

One thought is to do something with the map and I am thinking how to do it.
YBang is offline  
Old 02/17/2010, 19:29   #9
 
elite*gold: 0
Join Date: Dec 2009
Posts: 395
Received Thanks: 94
You'd need to make unique markins on the map to act as waypoints.
Theri is offline  
Old 02/17/2010, 21:24   #10
 
pawntobishop's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 1,317
Received Thanks: 472
Yup yup, you need to create a map that has spaces predefined.
pawntobishop is offline  
Closed Thread


Similar Threads Similar Threads
frage zu imagesearch
07/29/2010 - AutoIt - 2 Replies
Hi habe diesen code: #RequireAdmin $x1=0 $y1=0 while 1 sleep(1000) $coord = PixelSearch( 800,890, 500, 500, 0x0FD0000,$x1,$y1) If Not @error Then
Imagesearch problem..
07/16/2010 - AutoIt - 6 Replies
es funzt nicht.. es kommt Error:"Wend" statement with no machting "While" statement Ich hab das Wend und das While im Thread rot angestrichen.. warum funzt es nicht?
ImageSearch?
01/11/2010 - AutoIt - 4 Replies
Hey, kann einer von euch, einfach für einen Anfänger erklären, wie man mit Autoit die Funktion "ImageSearch" benutzt? Thx für eure Antworten!



All times are GMT +1. The time now is 11:13.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.