BOD Pricer

Discussion about the technical aspects of scripting. Ask about all issues involving your freelance projects here.
Locked
seagrams
Adept Scribe
Posts: 45
Joined: Fri Jul 29, 2011 12:53 pm

BOD Pricer

Post by seagrams »

Anyone know of a working script that will price all the BODs in a book?
Quinton
Master Scribe
Posts: 51
Joined: Sat Apr 02, 2011 6:40 am

Re: BOD Pricer

Post by Quinton »

I have a working script for OpenEUO, but I'm still making it user friendly, fairly fail proof, and faster.

It can scan for both large and small bods intermixed within a bod book, but that's also what can make it a little bit slow, especially with larger bods.
Dramoor
Legendary Scribe
Posts: 450
Joined: Wed Feb 23, 2011 7:37 pm

Re: BOD Pricer

Post by Dramoor »

Sounds awesome thou man! :)
Jecks
Elder Scribe
Posts: 128
Joined: Sat Jan 14, 2012 3:39 pm

Re: BOD Pricer

Post by Jecks »

Does sound interesting. I would like to see how it turns out when its all said and done.
Quinton
Master Scribe
Posts: 51
Joined: Sat Apr 02, 2011 6:40 am

Re: BOD Pricer

Post by Quinton »

[OpenEUO BodPricerApp]
bodPricer.zip
extract into your openEUO folder, run the bodPricerApp.lua - the rest is library stuff I use for many of my scripts. Many thanks to Jack Penny for his libraries.
(7.74 KiB) Downloaded 234 times
The Script is done, comes with a gui (graphical user interface), error messages and everything. I've pushed this to my git repository, so if I make any further changes, you can get the script from my repository.

It might hang after it's mimicked pressing the button to set the price, it's a wait time. You'll see the price you've spoke above your head when this happens. The script is relatively graceful. It will wait until you've manually input the price in your client window, before continuing to price the rest of the bods. So you'll just have to watch it. As for a test, I priced a book of 158 small taming bods, and it only hung on two of them, but successfully priced them all.

Pricing the large bods is slower. I do pixel scanning within the bod gump down the side to find the blue dots.

When I find a blue dot, I price the bod and then I jump ahead 20 pixels, otherwise I scan the next pixel, as I'm checking for one specific color. This makes it relatively fast for small bods, 20 pixels is about the distance from one button to the next for small bods. Larger ones are slower, more scanning one by one. Not sure how to speed this up, but the script will price those as well and mixed together with small bods, as mentioned before.
Locked