Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Mabinogi
You last visited: Today at 18:15

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

Advertisement



AHK Image Recognition

Discussion on AHK Image Recognition within the Mabinogi forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2009
Posts: 60
Received Thanks: 3
AHK Image Recognition

Hey guys, I've got most of my metallurgy bot done, but Qilla beach is just too spammy with hard black and hard whites to get it to work without a lot of false positives. If you've played with metallurgy much you know that making the sites ctrl-clickable breaks the game, so that's out. I've been playing around with the illumination mod in MAMP but I can't get ANYTHING in AHK's imagelib to work while that's on regardless of when I take the screenshot and what filter I put on.

What gives, and what have you guys done on your bots?
Kittymew is offline  
Old 11/25/2009, 17:03   #2
 
elite*gold: 0
Join Date: Sep 2009
Posts: 16
Received Thanks: 0
With the bot I'm working on I have it detect the image and then click +10 X axis (directly below) to avoid ctrl-clicking the actual spot.
thekeytothedoor is offline  
Old 11/25/2009, 17:08   #3
 
elite*gold: 0
Join Date: Jul 2009
Posts: 60
Received Thanks: 3
Yeah, I've done that. The problem isn't that, the problem is the fact that there's so many places the black mask will register that ISN'T the image, like the bottom of the ship or the rocks. Messing around with *N hasn't helped that much.
Kittymew is offline  
Old 11/25/2009, 17:16   #4
 
elite*gold: 0
Join Date: Sep 2009
Posts: 16
Received Thanks: 0
Quote:
Originally Posted by Kittymew View Post
Yeah, I've done that. The problem isn't that, the problem is the fact that there's so many places the black mask will register that ISN'T the image, like the bottom of the ship or the rocks. Messing around with *N hasn't helped that much.
What about making a gif with only the text? there's a function in ahk that allows you to ignore the clear space if you make the gif and remove the off-color. this is the line i have (but i'm still working on the sensitivity)
Code:
ImageSearch, FoundX, FoundY, 0, 0, A_ScreenWidth, A_ScreenHeight, *50 *TransWhite Images\ironspot.gif
thekeytothedoor is offline  
Old 11/25/2009, 17:29   #5
 
elite*gold: 0
Join Date: Jul 2009
Posts: 60
Received Thanks: 3
Yeah, again, that's exactly what I'm doing. I'm using a white mask exactly like you're using. I had it working decently well for a while but not perfectly, I think it comes down to Mabinogi's fonts being really flaky because they're like 80% opaque.

Can anyone pull off a DLL edit for opaque fonts?
Kittymew is offline  
Old 11/25/2009, 17:36   #6
 
elite*gold: 0
Join Date: Sep 2009
Posts: 359
Received Thanks: 124
I use falls site, and I still have absolutely no problem w/ AHK's imagesearch. The code quoted above by thekeytothedoor is almost exactly what I use.
lostmage333 is offline  
Old 11/25/2009, 18:31   #7
 
elite*gold: 0
Join Date: Jul 2009
Posts: 60
Received Thanks: 3
Thanks for the help then...
Kittymew is offline  
Old 11/25/2009, 19:04   #8
 
elite*gold: 0
Join Date: Sep 2009
Posts: 16
Received Thanks: 0
Quote:
Originally Posted by Kittymew View Post
Thanks for the help then...
I'm still working on my metallurbot (I'm having more problem finding the site than I am not), so if I find any more information on targetting I'll let you know.
thekeytothedoor is offline  
Old 11/26/2009, 00:33   #9
 
elite*gold: 0
Join Date: Sep 2009
Posts: 359
Received Thanks: 124
If you're getting false positives, the easiest way would be to tweak the picture you're using. Longer name -> Less positives. Are you just searching for "Iron" or "Gold"? Try searching for "Metallurgy Site", or "Iron/Gold Metallurgy Site". The downside of longer names is longer searchtime/more processor load.

Alternatively, tweak how you trim the image itself. Maybe it was that little black outline around the letters that was left (for me) that prevented false positives.
lostmage333 is offline  
Old 05/30/2011, 08:36   #10
 
Snowe³'s Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 149
Received Thanks: 115
Bump
Snowe³ is offline  
Old 05/30/2011, 08:41   #11
 
elite*gold: 0
Join Date: Sep 2009
Posts: 1,528
Received Thanks: 613
Why? Isn't AHK detected on NA?
adam_j is offline  
Old 05/30/2011, 08:50   #12
 
Snowe³'s Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 149
Received Thanks: 115
Quote:
Originally Posted by adam_j View Post
Why? Isn't AHK detected on NA?
Mabinogi ZM is coming out soon...
Snowe³ is offline  
Old 05/30/2011, 08:57   #13
 
elite*gold: 0
Join Date: Sep 2009
Posts: 1,528
Received Thanks: 613
It's probably easier to garner interest in what you're doing if you provide more detail than a name.

For instance, I'm working on Project E. OMGZDONTUALLWANTTOKNOWNOW?!!?

Exactly.
adam_j is offline  
Old 05/30/2011, 09:13   #14
 
Snowe³'s Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 149
Received Thanks: 115
Quote:
Originally Posted by adam_j View Post
It's probably easier to garner interest in what you're doing if you provide more detail than a name.

For instance, I'm working on Project E. OMGZDONTUALLWANTTOKNOWNOW?!!?

Exactly.
Nexon staff informed me that Mabinogi Zimbabwe was going to be released soon.
Snowe³ is offline  
Old 05/30/2011, 16:04   #15
 
elite*gold: 0
Join Date: Sep 2009
Posts: 1,528
Received Thanks: 613
If you really didn't want to post what your project is, why did you post at all?

Mabi for Zimbabwe would be lulz though.
NOT CONTENT WITH ONE DICTATORSHIP, NEXON SETS UP ANOTHER: THEMSELVES.

Cichol is replaced with Mugabe.
All the characters are black, other than Manus and Bebhin.
Elves get a more tribal look, and mud huts.

**** yeah, I'd proxy for that.
adam_j is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Neuer Image Hoster / New Image Hoster
05/15/2010 - Main - 9 Replies
Hi, ich habe einen neuen Image-Hoster erstellt. Ich hoffe das ich einige Nutzer finde. Falls ihr irgendwelche verbesserungs vorschläge habt bitte posten. Bitte Hier Klicken Hi, i created a new Image-Hoster. I hope that i find some users. If you have any tips to make this site better please post them.
Operation 7 Model Recognition
10/10/2009 - General Gaming Discussion - 2 Replies
close this shit already http://img122.imageshack.us/img122/9051/op7wallha cksp4.jpg http://img88.imageshack.us/img88/183/wallhackop7p m1.jpg
mob death recognition
07/22/2009 - Kal Online - 7 Replies
hi... for beheadable monsters i get the state packet when they die... 0x3d and the state is 0x08-it detecs the death of beheadable mobs but...how do i detect unbeheadable mobs death? (like doggebi death)? thanks alot.
IMAGE
05/12/2008 - Technical Support - 2 Replies
hi wollte fragen ob einer ein prog kennt mit der ich eine datei in ein image/iso umwandeln kann hab schon so einige dateien gefunden aber die können nur eine eigelegte dvd/cd in ein image umwandeln suche aber ein prog womit ich u.a. ortner in ein image umwandeln kann.:confused: mfg 111222333444
working auto login with captcha recognition
06/19/2007 - Silkroad Online - 65 Replies
Just to inform you: We have an working auto login with captcha recognition. Please see the attached picture. Currently it works only with the normal game, not with srobot. We need to know, how to start the game with isrobot enabled? Is ther a special commandline?



All times are GMT +1. The time now is 18:16.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.