Page 1 of 1
possible to only loot 11 stat enzymes?
Posted: January 2nd, 2008, 11:59 am
by mfury
Hi guys, ok I am asking the pro's here if it is possible to set the foraging script to loot 11 stat enzymes instead of maps. Since they are rarer and worth more and I need for my BM
Thanks in advance.
Posted: January 4th, 2008, 12:25 am
by vinnyboy32
Nope, There is no possible way to do this.
Posted: January 5th, 2008, 5:30 pm
by mfury
I had seen there was a macro/script program that can check the color value of a pixel, so if there was an if statement to check if the second 1 appeared in 11 when you look at the info on an item, then to move to bag and delete all else. Was just a thought when looking at these scripts on here. Couldn't think up any other possible way.
its possible
Posted: January 22nd, 2008, 7:12 pm
by egladius
I know its possible. I don't think I could execute it properly, but you can make a macro that selects each item in turn and then checks the color values of the description area where the first one would normally appear line by line(severly limit the horizontal area the white is searched for. Each white pixel found would need to be compared to a pixel a set ammount away (pixel value of white pixel found) + x ammount of pixels. If this was white also for all lines than the second number is also a 1.
I tried something similar for REing macros to tell when something was a 35, but I got bored and quit trying. Possible, but must be executed very well.
Re: its possible
Posted: February 26th, 2008, 6:39 pm
by absolution
egladius wrote:I know its possible. I don't think I could execute it properly, but you can make a macro that selects each item in turn and then checks the color values of the description area where the first one would normally appear line by line(severly limit the horizontal area the white is searched for. Each white pixel found would need to be compared to a pixel a set ammount away (pixel value of white pixel found) + x ammount of pixels. If this was white also for all lines than the second number is also a 1.
I tried something similar for REing macros to tell when something was a 35, but I got bored and quit trying. Possible, but must be executed very well.
This is similar to what I was thinking but I think you only need to look at one pixel of the first 1 and then the second 1. You could look at any point of the first one as I think it will occupy a space that no other number occupies. Assuming that pixel is present, the prog would then look for a pixel in the middle (vertically) of the 2nd 1 (zero has no white pixels in the middle). When both values are satisfied the item would then be movedinto a pack, if not...deletion. You would of course also want to look for maps and put them in the pack as well.