just found out that the problem was mine.
this bot is very good and fast.
BUT you must fix the problem where it stucks at clicking an npc(happens sometimes because of inaccurate npc box) and the move problem. if nothing is in sight it makes small moves.
now about my procedures
-fixed random clicks
-fixed the problem where the user must have his action bar below the half of the screen.
-removed the 1st bitmap search as it was completely useless.
-removed part of the second procedure, where it clicked "buy" and "ok". It is not needed because they are considered system messages(same color) and because of the search pattern of scar, it finds "buy" color before "cancel" color, so it clicks buy.
problems
-cpu consuming is not possible to be fixed, so im thinking of making a timer to buy hollows every some mins(after testing if bitmap search has significant effect on the whole script performance.
probably the next hours i'll have it fully working.
after some test i found that bitmap search has little effect(if nothing) in performance.
hollowbuy is working almost perfectly.
minor problem---for some reason, the nubmer two(2) on gold amount is somewhat different from pc to pc, so i'll get some screenshots to add some more bitmaps(if i dont find another solution).
tested on osvaldo goldbot.
your script needs some minor improvements on clicking targets and huge ones on checkattack and checkmove fucntions.(sometimes cant click npcs, it searches for npc even though it is already attacking, if nothing in sight, moves only a little bit and then gets stuck).