BryceTheCoder Posted November 20, 2011 Share Posted November 20, 2011 hey guys, just joined scar and am now tweaking some codes around trying to get used to it. sooo i play runescape and am trying to make runescape bots. I am trying to make a cannonball smelter soooooo i was wondering if anyone can give me some codes for these or examples. I need: -Code makes character walk someone specific - Right-Click Banking (deposit, withraw) -Use item on Object Hope someone can help, thnx Quote Link to comment Share on other sites More sharing options...
Wanted Posted November 20, 2011 Share Posted November 20, 2011 I'll have an essence miner out soon (few hours) you can look at and learn from Quote Link to comment Share on other sites More sharing options...
BryceTheCoder Posted November 20, 2011 Author Share Posted November 20, 2011 ok thnx:) it has walking right? annndd put me a link for the essence miner here too plz:) Quote Link to comment Share on other sites More sharing options...
BryceTheCoder Posted November 20, 2011 Author Share Posted November 20, 2011 (edited) god damit:/ i tried to make one. annndd its not good at like all :'( idk y, weeeellll i dont know how to make it click a color instead of a legit X and Y spot. soo that cud maybe help:( HERE IS MY CODE: //Script Created by: Bryce7 var x,y,BankColor,SteelBarColor:Integer; Procedure DeclareColors; begin BankColor := 11066876; SteelBarColor := 6184546; end; //MoveWindMouse(x,y+44,Random(6),Random(6)); //Wait(Random(99999999)); procedure MoveMouseRandom; var x, y: Integer; begin x := Random(400); Wait(250 + Random(150)); y := Random(300); Wait(50); MoveWindMouse(x, y, 25, 25); Wait(450 + Random(350)); Wait(9999999 + Random(999999)); end; procedure SpinCamR; begin WriteLn('Spinning camera to the right'); SendArrowSilentWait(1, Random(800)); end; procedure Walk2Furnace; begin ClickMouseBox(665, 32, 665, 32, True); Wait(8000 + Random(2000)); ClickMouseBox(625, 65, 625, 65, True); Wait(5500 + Random(2000)); end; procedure UseFurnace; begin ClickMouseBox(580+ Random(1), 228+ Random(1), 580+ Random(1), 228+ Random(1), True); Wait(100 + Random(500)); ClickMouseBox(121+ Random(5), 150+ Random(5), 121+ Random(5), 150+ Random(5), True); Wait(1000 + Random(1000)); ClickMouseBox(261+ Random(3), 421+ Random(3), 261+ Random(3), 241+ Random(3), True); MoveMouseRandom; Wait(1500 + Random(5000)); MoveMouseRandom; Wait(200 + Random(300)); MoveMouseRandom; Wait(160000 + Random(1500)); end; procedure Walk2Bank; begin ClickMouseBox(635, 154, 635, 154, True); Wait(3500 + Random(3000)); ClickMouseBox(35, 241, 35, 241, True); Wait(9999999999999 + Random(99999999999999)); end; procedure SpinCamL; begin WriteLn('Spinning camera to the left'); SendArrowSilentWait(3, Random(800)); end; procedure Cycle; begin DeclareColors; //MoveMouseRandom; Walk2Furnace; UseFurnace; //Walk2Bank; end; //LOOP begin Repeat Cycle; until false; end. Edited November 20, 2011 by Freddy Quote Link to comment Share on other sites More sharing options...
Amberleaf Posted November 20, 2011 Share Posted November 20, 2011 Bryce, to right click a position use ClickWindMouse(x, y, 1, 1, False) that'll click at specified X & Y within 1 pixel, oh and remove Wait(9999999 + Random(999999)); from your scripts that's an excessive amount of time to wait remember 1000ms = 1second and you have 9999999... You'll pick all of this up in time. Keep scriptin' Quote Link to comment Share on other sites More sharing options...
BryceTheCoder Posted November 20, 2011 Author Share Posted November 20, 2011 alright cool thnx. Iknow how to right click now:) i need character walking now tho Quote Link to comment Share on other sites More sharing options...
Wanted Posted November 20, 2011 Share Posted November 20, 2011 ok thnx:) it has walking right? annndd put me a link for the essence miner here too plz:) http://forums.scar-divi.com/showthread.php?400-OSI-Essence-Miner Quote Link to comment Share on other sites More sharing options...