This program is designed to sell runes to the Tzhaar shop 50 at a time, by using that one-click option and left-clicking in approximately the same spot to sell it.
Code:program RuneSell; {.include SRL/SRL.scar} const XRuneLeft= 563; XRuneRight= 598; YRuneTop= 456; YRuneBottom= 459; XSellLeft= 536; XSellRight= 579; YSellTop= 460; YSellBottom= 465; procedure SellRunes; begin Mouse(XRuneLeft, YRuneBottom, XRuneRight - XRuneLeft, YRuneTop - YRuneBottom, false); Wait(random(10)); Mouse(XRuneLeft, YRuneBottom, XRuneRight - XRuneLeft, YRuneTop - YRuneBottom, true); Wait(30+random(40)); Mouse(XSellLeft, YSellBottom, XSellRight - XSellLeft, YSellTop - YSellBottom, false); Wait(random(36)); Mouse(XSellLeft, YSellBottom, XSellRight - XSellLeft, YSellTop - YSellBottom, true); Wait(15+random(23)); end; begin SetupSRL; for i:=0 to 30 do begin SellRunes; end; end.
This compiles fine and everything, but, when I run the program, the mouse moves down to the very bottom of the screen, or the very top. If it makes any difference, I'm running Linux, and running Firefox and SCAR 3.15 on a separate Wine desktop. Any ideas? Thanks...


<=== Kool-Aid wins.
Reply With Quote







