Laimonas171
2012-10-20 09:51:10
I mean with no "ugly cords" like (I need to click on goldbar)mouse(260 ,478 ,5 ,5 , true); //I need to click on goldbarpretty sure here should be something more intelligent:)
2012-10-20 09:51:10
I mean with no "ugly cords" like (I need to click on goldbar)mouse(260 ,478 ,5 ,5 , true); //I need to click on goldbar2012-10-20 09:58:15
2012-10-20 09:59:45
From: Ashaman88
You could make a dtm of the gold bar and only search in chatbox…you could move the mouse there and wait for the uptext…you could move the mouse there and wait for the dark blue color to appear in chatbox….a bunch of solutions. I would at least have one check for it besides a blind click
If (FindDTM(goldBar, x, y, MCX1, MCY1, MCX2, MCY2)) then
mouse(x ,y ,5 ,5 , true);
2012-10-20 10:11:58
2012-10-20 10:24:23
From: riwu
Probably not a well made DTM. (if you are using the one that you use to find inv it's probably not going to work) I'd say for a simple click like this just either do an uptext check, (not encouraged as the text may be obfuscated by white background etc) or WaitColorCount (simple and reliable if you check for a good color with sufficient pixel–or even using InRange)
2012-10-20 10:33:32
From: Laimonas171
I use same dtm, it's good. it works at bank screen and inv very well :)
2012-10-20 12:10:51
2012-10-20 12:40:31
2012-10-20 14:08:39
2012-10-20 14:10:15
2012-10-20 14:18:35
2012-10-25 02:20:17