What is the best way to find coins in someone's bank, My script calls for 30gp to be withdrawn (in some cases, don't worry bout that) and with the pic for gold changing depending on the amount of gold, I need a good way to find it...
The only thing i can think of is findcolortolerance...and then MMouse, then check up text...if it fails remove all the points in a certain area...
other option is I do that once, and then store the information...if it is wrong, then we run that again....
need a better solution than that though... what do you guys think?
Edit, found Bitmap for coins in amount.scar...yay for windows search function being able to look inside files...WIN!
EDIT2: that was the SRL 4 manual, which was out of date, giving me a loadcoinbmp, but the new one is better....findcoins...returning co-ordinates...YES! delete the thread...sorry for the time waste...took me all of what 2 mins?
Edit3: DONT DELETE, How do i withdraw them now....almost had it sorted...
EDIT FOUR:
Right using a function....MSTPointToBankPoint
I can convert the co-ords to a bank point....
BUT the findcoins is broken...so still have issues...I am getting rather irritated....its a cycle...yay Fixed...damn nope...yay fixed...damn nope...yay fixed...damn nope.... ARGH!




Reply With Quote








