Jump to content

Search the Community

Showing results for tags 'rs07'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Forum Rules
    • Announcements
    • General Discussion
    • Forum Discussion
  • Support
    • Download SCAR Divi
    • SCAR Divi Manual
    • General Help
    • Scripting Help
    • Script Help
    • Tutorials and FAQ
  • Scripts
    • Scripts For Games
    • Game Scripts
    • Other Scripts
    • Requests
  • Include Libraries
    • OSI
    • MSSL
    • GMRL
    • SSIL
    • Archive
  • Code Bin
    • Mouse & Keyboard
    • Screen & Client
    • Color, Bitmap, DTM & OCR
    • Points & Boxes
    • Files & Networking
    • Math
    • Other Snippets
  • Development
    • Development Roadmap
    • Bugtracker
    • Development Discussion
  • Games
    • RuneScape
    • Seafight
    • Other Games
  • Misc
    • Native Corner
    • Programming
    • Graphics
    • Music
    • Movies & TV

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Location


Interests


Occupation


Studies


Skype

Found 5 results

  1. https://github.com/OfficialSCARInclude/OSI2/commit/c1155537ff09ff1fd0ae6bb4c73531b464935dfd [sCAR] * function AllUpTextColors: TIntegerArray; By: Wanted & Janilabo. * function FindUpTextMultiColors(Text: TStringArray; Colors: TIntegerArray): Boolean; By: Wanted & Janilabo. * function FindUpTextMultiColor(Text: TStringArray; Color: LongInt): Boolean; By: Wanted & Janilabo. * function FindUpTextColors(Text: string; Colors: TIntegerArray): Boolean; By: Wanted & Janilabo. * function FindUpTextColor(Text: string; Color: LongInt): Boolean; By: Wanted & Janilabo. * function FindUpTextMulti(Text: TStringArray): Boolean; By: Wanted & Janilabo. * function FindUpText(Text: string): Boolean; By: Wanted & Janilabo.[/sCAR] Works the same as UpTextContains but uses a different core method (Pos with rs_GetTextAt verses IsTextInArea with Janilabo's special UpChars2 with unique spacing) Different from MSSL's IsUpText in the sense that all colors are fused and the text doesn't have to start with your attempted match. IsTextAt with no fusing vs IsTextInArea w/ fusing.(So basically it's no different than UpTextContains except it uses a different method which is considered to be more durable) According to Janilabo it's more reliable. A huge thanks to him for the innovation and char set. If you want to use custom colors I'm pretty sure you have to use one of these [sCAR] Result := [4231423, 16776960, 16777215, 255, 12543, 28927, 45311, 65535, 65472, 65408, 65344, 65280];[/sCAR] I'm busy and don't have the time to catalog them right now and add them to globals but all these colors need to be classified. I'm also pretty sure you have to use one of these and not just some random stuff from the color picker since I'm assuming these are all generated from ACA in CTS0 (max speed) with (80?) tolerance. I've been busy with real life. I have Thursday mornings off from work and saturdays/sundays mostly off with other bits of free time so I still do have time to work on OSI just not as much I need to manage my time better and think ahead and plan what I'm going to do with OSI before I come on here. Getting better at it, slowly. Don't forget to suggest/request things in the new OSI boards Cheers
  2. Jagex made a small adjustment to the RS07 login it has been corrected and updated https://github.com/OfficialSCARInclude/OSI2/commit/5cea652315ea59ec9c3deb7aa62fe97151615ee9 Learn to diagnose OSI http://forums.scar-divi.com/osi-bugs/2311-rs07-login-function-broke#post13203
  3. https://github.com/OSI1/OfficialSCARInclude/commit/17a19959d01f333d25f98c2663327bbc3e268faf Ported OSI with Slacky's SCARExt so rs_GetUpText is available in the the newer SCAR versions ChooseOption/Uptext now work If you're more interested in SCARExt etc. visit http://forums.scar-divi.com/showthread.php?t=2464 discussion @ http://forums.scar-divi.com/showthread.php?t=2464&page=2 I think OSI for RS07 is in pretty good shape. Everything that I know of works. Granted I have not tested Login functions and some other stuff I will soon! Update: https://github.com/OSI1/OfficialSCARInclude/commit/786bb52f3a0692504be98a8da5f1d886f55fa508 Login works.. just needed a minor addition (crazy how simple that was... surprised it worked in the pass without that tbh.)
  4. Hey guys, I know there's already a fight caves script, but it has broke due to a runescape update! Im trying to write a new one but it wont compile! I'm trying to get it to do the following: works>log in if not already works>set screen pointing south works>turn auto retaliate on <Repeat> works >enter cave Broken>check to see if in cave, if not try entering again Broken>start waves by selecting defence mode (If you know how to press the "click here to continue" that pops up please add it. Ive no idea how to so I improvised) works >once dead, the cave color appears again so it repeats program RS07_FightCaveFighter; {$DEFINE RS07} {$I MSSL\MSSL.scar} var X, Y: Integer; const USERNAME = ''; PASSWORD = ''; Function CheckIfIn(num: byte): Boolean; begin Result := False; case num of 0: result := (FindColorTol(X, Y, 10921906, RS07_GameActionBx.X1, RS07_GameActionBx.Y1, RS07_GameActionBx.X2, RS07_GameActionBx.Y2, 5)); end; end; // procedure Boss; //testttingngingingign // begin // if checkifin = true then // repeat // Wait(455 + Random(50)); // if checkifin = false then // MSSL_Wait(2500 + Random(1500)); // RS07_SetAttackStyle(2) // until checkifin = false; //end; procedure StartCave; //test 2 begin if CheckIfIn := false then MSSL_Wait(2500 + Random(1500)); RS07_SetAttackStyle(2) end; // procedure StartCave; //begin //Wait(455 + Random(50)); //if checkifin = false then // begin // MSSL_Wait(2500 + Random(1500)); // RS07_SetAttackStyle(2) // end; //end; procedure EnterCave; begin Wait(455 + Random(50)); if (FindColorTol(X, Y, 10921906, RS07_GameActionBx.X1, RS07_GameActionBx.Y1, RS07_GameActionBx.X2, RS07_GameActionBx.Y2, 5)) then begin RS07_ClickMouse(X, Y, mbLeft); MSSL_Wait(300 + Random(50)); RS07_ClickMouse(X, Y, mbLeft); MSSL_Wait(10000 + Random(2000)); boss; end; end; begin MSSL_Setup; ClearDebug; RS07_SetScreenBrightness(RS07_SCREEN_BRIGHTNESS_VERY_BRIGHT); ColorToleranceSpeed(2); RS07_SetCompassDir('S'); RS07_SetCameraAngleH; SetColorSpeed2Modifiers(0.28, 0.17); repeat RS07_AutoRetaliate; MSSL_Wait(500); if not RS07_LoggedIn then begin RS07_LogIn(username, password); MSSL_Wait(3000 + Random(43)); RS07_SetCompassDir('S'); end; if RS07_LoggedIn then begin EnterCave; stuck; MSSL_Wait(13200 + Random(3000)); if RS07_InFightHA = False and checkifin = false then repeat begin MSSL_Wait(10000 + Random(1500)); RS07_SetAttackStyle(2) end; until RS07_InFightHA = True end; until False; end. This is my first time programming with scar (Only experience is visual basic) so please go easy on me! Thank you in advance for those who take the time to help find a solution!
  5. https://github.com/OfficialSCARInclude/OSI2/commit/4c2c430ab3c1b0d8243d65ef0710fa5b13da262b [sCAR] * function PinScreen: Boolean; By: Wanted * function EnterBankPin(Pin: string; CheckPS: Boolean): Boolean; By: Wanted[/sCAR] Recommended that you use Players[CurrentPlayer].Pin := '0000'; Pin is pretty solid.. I will add 2 retries once I finish OCR e.g. ClickContinue.
×
  • Create New...