Jump to content

Search the Community

Showing results for tags 'compiler'.

  • 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 1 result

  1. Hey guys! So I'm currently writing a script, I've hit a problem and Google doesn't seem to be helping. program New; var eTimeRemainingMinutes: integer; var eTimeRemainingSeconds: integer; var aTimeRemainingMinutes: integer; var aTimeRemainingSeconds: integer; var capTimeRemaining: integer; var eTimeRemaining: integer; var aTimeRemaining: integer; var capTimeUsed: integer; var eCompleted: integer; var aTimeWaited: integer; begin eTimeRemainingMinutes := 1; //CUSTOM eTimeRemainingSeconds := 2; //CUSTOM aTimeRemainingMinutes := 3; //CUSTOM aTimeRemainingSeconds := 4; //CUSTOM capTimeRemaining := 45; //CUSTOM eTimeRemaining := (eTimeRemainingMinutes*60 + eTimeRemainingSeconds) * 1000; aTimeRemaining := (aTimeRemainingMinutes*60 + aTimeRemainingSeconds) * 1000; capTimeRemaining := (capTimeRemaining*60) * 1000; capTimeUsed := 0; //INSERT command to open application //INSERT clickmouse(-88,140) // Goto main area while (capTimeRemaining <= capTimeUsed) do [b]//HERE IS THE ERROR LINE[/b] begin wait(eTimeRemaining+random(3000)); capTimeUsed := capTimeUsed + eTimeRemaining; earnsCompleted := 0; aTimeWaited := eTimeRemaining; while not aTimeRemaining <= aTimeWaited do begin //INSERT clickmouse(-887,278); //Shortcut to e wait(random(3000)); //INSERT clickmouse(-887,278); //Commence e earnsCompleted := earnsCompleted + 1; wait(2*60*1000); capTimeUsed := capTimeUsed + 120; aTimeWaited := eCompleted*180 + eTimeRemaining - 60; wait(60*1000+random(3000)); capTimeUsed := capTimeUsed + 63; aTimeWaited := eCompleted*180 + eTimeRemaining; end; //INSERT mouseclick(-364, 345); //Choose a //INSERT mouseclick(-272, 378); //Commence a aTimeRemaining := 20*60; eTimeRemaining := 60; end; //FUNCTION Play a sound to notify the user that the cap time is complete end. Whenever I try run it, it comes up with "Compiler Error" & "Invalid number of parameters" on the line with the first while loop and I can't figure out why. This is my first time writing a SCAR script from scratch and I've following the tutorial guidelines as best as I can. Please ignore the "//INSERT mouseclick" selfnote etc, I am intending to change that to proper code which instructs mouseclicking later. Thanks in advance!
×
  • Create New...