Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Mabinogi
You last visited: Today at 17:37

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

Advertisement



[Project] Full Miner/Refiner and Weaver Bots

Discussion on [Project] Full Miner/Refiner and Weaver Bots within the Mabinogi forum part of the MMORPGs category.

Closed Thread
 
Old 10/27/2009, 16:04   #16
 
elite*gold: 0
Join Date: Jul 2009
Posts: 60
Received Thanks: 3
rawk0r: SWEET. That helps me a lot, thanks for the heads-up!
Kittymew is offline  
Old 10/31/2009, 13:55   #17
 
elite*gold: 0
Join Date: Sep 2009
Posts: 359
Received Thanks: 124
Kitty, for metallurgy, enable name display. Then, add "Metallurgy Site" to the end of it (propdb.english.xml.txt or something like that. it's in <install>/Data/local(e?)/xml/) . Search for the words "Metallurgy Site" using AutoIT/Autohotkey. Then, determine distance btwn yourself and the site, that'll determine wait time before skill execution.

Takes some work, but its doable. As far as what to do about broken sieves/full inventories... I'm a lil short on ideas. >.< I'm still slowly working on a way to change sieves/empty inventory (into pets?)
lostmage333 is offline  
Old 10/31/2009, 15:44   #18
 
pawntobishop's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 1,317
Received Thanks: 472
Quote:
Originally Posted by lostmage333 View Post
Kitty, for metallurgy, enable name display. Then, add "Metallurgy Site" to the end of it (propdb.english.xml.txt or something like that. it's in <install>/Data/local(e?)/xml/) . Search for the words "Metallurgy Site" using AutoIT/Autohotkey. Then, determine distance btwn yourself and the site, that'll determine wait time before skill execution.

Takes some work, but its doable. As far as what to do about broken sieves/full inventories... I'm a lil short on ideas. >.< I'm still slowly working on a way to change sieves/empty inventory (into pets?)
To switch the broken sieves and equipment requires you to do one of 2 things, the first thin that you can do is leave the equipment window of the inventory open and after (50 passes unblessd/100 passes blessed) have it grab the image, hit the hotkey to summon the pet and then have it replace the (red) sieve with an unbroken sieve and reset the count. Or you could add a catch that if it cannot find the drop from the site 2-3 times in a row, that it follows waypoints back to camp, holds alt to find the npc, navigates throught the shop window, sells the broken sieve (or repairs) and purchases another one, then goes back via waypoints to continue.

As for full inventories, after each attempt to pick up the ore/gem/whatever, you can have it check for an empty space at the lower corner of your inventory. Or you can have it keep track of what its picking up to create a terminating function; i.e. it has x inventory spaces 10 iron ore=1 10 copper ore =1 etc, then have it continue to keep track of the "filled" spaces by embedding a tracking variable.
pawntobishop is offline  
Old 11/01/2009, 23:34   #19
 
elite*gold: 0
Join Date: Jul 2009
Posts: 60
Received Thanks: 3
I'm using the inventory screen for everything, pawntobishop. As for the name display, got it. As for movement and timing, I haven't quite decided how I'm doing that yet...
Kittymew is offline  
Old 11/02/2009, 18:29   #20
 
elite*gold: 0
Join Date: Apr 2009
Posts: 87
Received Thanks: 2
well when i have more time and not burried in tons of pages

of hs reports 1000,s of lines of client exe and ect
ill get back to making some bots
Alexzander22 is offline  
Old 11/02/2009, 21:37   #21
 
elite*gold: 0
Join Date: Sep 2009
Posts: 359
Received Thanks: 124
Quote:
Originally Posted by pawntobishop View Post
To switch the broken sieves and equipment requires you to do one of 2 things, the first thin that you can do is leave the equipment window of the inventory open and after (50 passes unblessd/100 passes blessed) have it grab the image, hit the hotkey to summon the pet and then have it replace the (red) sieve with an unbroken sieve and reset the count. Or you could add a catch that if it cannot find the drop from the site 2-3 times in a row, that it follows waypoints back to camp, holds alt to find the npc, navigates throught the shop window, sells the broken sieve (or repairs) and purchases another one, then goes back via waypoints to continue.

As for full inventories, after each attempt to pick up the ore/gem/whatever, you can have it check for an empty space at the lower corner of your inventory. Or you can have it keep track of what its picking up to create a terminating function; i.e. it has x inventory spaces 10 iron ore=1 10 copper ore =1 etc, then have it continue to keep track of the "filled" spaces by embedding a tracking variable.
Have you ever written a AHK script before? Following waypoints is anything but easy. The best sollution is almost always the simplest, especially when you're interfacing through the game itself. If you follow waypoints using kukulite... now that's a different story.
lostmage333 is offline  
Old 11/04/2009, 23:20   #22
 
elite*gold: 0
Join Date: Jul 2009
Posts: 60
Received Thanks: 3
I'm already DOING the waypoints, I've got a bot running around Emain Macha and Filia. JUST FINE. That's the easy part. The next part is getting everything in order, it's mostly busy-work and it will be a few more weeks. I'm kinda busy finishing my Master's degree. ^^
Kittymew is offline  
Old 11/05/2009, 04:09   #23
 
elite*gold: 0
Join Date: Apr 2009
Posts: 87
Received Thanks: 2
glade to hear progress and even more glade to hear your getting a masters grats
Alexzander22 is offline  
Old 11/05/2009, 05:21   #24
 
icekenshin's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 83
Received Thanks: 9
Quote:
Originally Posted by Kittymew View Post
I'm already DOING the waypoints, I've got a bot running around Emain Macha and Filia. JUST FINE. That's the easy part. The next part is getting everything in order, it's mostly busy-work and it will be a few more weeks. I'm kinda busy finishing my Master's degree. ^^
Kitty, will you by any chance be releasing your code for others to see? just curious as I am still a learning alot and seeing references such as this helps.

If your not gonna totally understandable. PM me if you don't mind sharing when the time comes.
icekenshin is offline  
Old 11/05/2009, 06:56   #25
 
elite*gold: 0
Join Date: Jun 2009
Posts: 9
Received Thanks: 0
Kitty take your time.. and get it right and working before you release it.. thanks
brokeback is offline  
Old 11/10/2009, 03:51   #26
 
elite*gold: 0
Join Date: Jul 2009
Posts: 60
Received Thanks: 3
Code will be out when it works. Currently trying to get the OCRing on the Metallurgy Site tag to work properly...for some reason I can't get AutoIT to pick up on transparencies in the PNGs. I know you guys have made that work for a few bots already, but I'm stuck. What's the absolute best way to rip the text from the game to ensure autoIT identifies it onscreen?
Kittymew is offline  
Old 11/10/2009, 14:54   #27
 
elite*gold: 0
Join Date: Sep 2009
Posts: 359
Received Thanks: 124
Well, I've never used AutoIT, but here's how I prefer imagesearch w/ AHK.

Screenshot w/ ctrl held down. Then go and crop the image (duh). I black out (or white out) every pixel with the exception of the words, and sometimes a couple pixels directly around it. For example, here's one for metallurgy (this one was actually made by Boki, and not myself).

Then, in AHK, in the code, I can have it *transblack which ignores all 0x000000 pixels, and then *n which gives it n shades of variance (for RGB). EDIT::Just noticed I would *transwhite (which ignores 0xFFFFFF) in the attachment ::/EDIT

Works wonders, for me at least.

Good luck! Unfortunately all of my experience is in AHK but I would love to help if there's some way I can.
lostmage333 is offline  
Old 11/10/2009, 15:41   #28
 
elite*gold: 0
Join Date: Jul 2009
Posts: 60
Received Thanks: 3
Honestly it sounds like AHK has much better image handling than AutoIT. Will it do transparency or should I fillwhite the transparency in the png then *transwhite?

I have little experience in AutoIT or AHK, but I have the entire design of this planned out already, I just need to learn more of the language so I can implement it all.
Kittymew is offline  
Old 11/10/2009, 16:54   #29
 
elite*gold: 0
Join Date: Sep 2009
Posts: 359
Received Thanks: 124
I've never done imagesearch in AutoIT, so I'd be unable to compare the two.

The documentation for AHK says... "For PNG and TIF files, *TransBlack might be best." ().

Personally, I've always filled in every pixel and did *transblack or *transwhite (or *trans<something>)
lostmage333 is offline  
Old 11/10/2009, 21:02   #30
 
Infamy^^'s Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 89
Received Thanks: 22
Fill in every pixel that may be affected by the background with white or black, then have the imagesearch ignore the fill color.
Infamy^^ is offline  
Closed Thread


Similar Threads Similar Threads
Where is "Jade Refiner Pahjab"
05/27/2011 - Silkroad Online - 1 Replies
I can't find him nowhere xD please tell me where he is :D you get a thanks :P I've found him.... you can delete the thread xD
[FIXED] Refiner Exploit
09/22/2007 - Ragnarok Online - 2 Replies
Hi, es gab früher(weiß nicht wann, habe es nur in den Changelogs von dem Eathena Refiner script gelesen) mal einen Exploit, womit man ein Item aus dem Inventar entfernen kann. Da wollte ich fragen ob der Exploit public war, oder ob jemand weiß wie das ging. mfg Mirage



All times are GMT +1. The time now is 17:37.


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