Results 1 to 15 of 15

Thread: Yay an error lol

  1. #1
    Join Date
    Mar 2007
    Posts
    195
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Yay an error lol

    I've been starting scripting in scar but sometimes i get stupid errors,what is that all about?

    Line 8: [Error] (17:1): Identifier expected in script C:\Program Files\SCAR 2.03\includes\srl\srl\core\Globals.scar
    Line 8:
    if (FindFight = true) then
    Dormcheck is a scam,i've posted 1000 messages and i never got paid my 10 bucks.
    http://www.fenjer.com/adnan/SRLStats/348.png

  2. #2
    Join Date
    Mar 2007
    Posts
    80
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    the error is probably in the line above it or below it, or mabe u didnt set ure constants and what not?

  3. #3
    Join Date
    Mar 2007
    Posts
    195
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Then what i set like constant lol?
    Dormcheck is a scam,i've posted 1000 messages and i never got paid my 10 bucks.
    http://www.fenjer.com/adnan/SRLStats/348.png

  4. #4
    Join Date
    Mar 2007
    Posts
    80
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    may i see the rest of the code?

  5. #5
    Join Date
    Mar 2007
    Posts
    195
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Sure

    program PaidToWarezCrafterGuildBooster;
    begin
    {.include SRL/SRL.scar}
    Procedure DeclarePlayers;

    Begin
    HowManyPlayers := 1;
    NumberOfPlayers( HowManyPlayers );
    CurrentPlayer := 0;

    Players[0].Name :=''; //Runescape Username
    Players[0].Pass :=''; //Runescape Password
    Players[0].Nick :=''; //The 3 letters following the first of your Runescape username
    Players[0].Active:=True;

    procedure DoAntiRandoms;
    begin
    FindTalk;
    FindNormalRandoms;
    if (FindFight = true) then
    begin
    RunAwayDirection('N');
    Wait(10000 + random(2000));
    RunBack;
    end;
    end;
    procedure Domining;
    begin
    MakeCompass('S');
    repeat
    if(FindColor(x,y,7712975,7449031,6328489,8172755,8 369876))then
    wait(100+random(50));
    MMouse(x,y,0,0);
    wait(1000+random(50));
    Mouse(x,y,0,0,true);
    wait(100+random(50));
    until(InvFull);
    end;
    end.
    Im trying to make a auto bowl maker in crafting guild.
    Dormcheck is a scam,i've posted 1000 messages and i never got paid my 10 bucks.
    http://www.fenjer.com/adnan/SRLStats/348.png

  6. #6
    Join Date
    Mar 2007
    Posts
    80
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    im not sure if thisll help, but under begin, dont u need to asign those 3 values as vars or consts?

  7. #7
    Join Date
    Jun 2006
    Posts
    3,861
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    SCAR Code:
    program PaidToWarezCrafterGuildBooster;

    {.include SRL/SRL.scar}

    Procedure DeclarePlayers;
    Begin

      HowManyPlayers := 1;
      NumberOfPlayers( HowManyPlayers );
      CurrentPlayer := 0;

      Players[0].Name :=''; //Runescape Username
      Players[0].Pass :=''; //Runescape Password
      Players[0].Nick :=''; //The 3 letters following the first of your Runescape username
      Players[0].Active:=True;
     
    end;

    procedure DoAntiRandoms;
    begin
      FindTalk;
      FindNormalRandoms;
      if (FindFight = true) then
      begin
        RunAwayDirection('N');
        Wait(10000 + random(2000));
        RunBack;
      end;
    end;


    procedure Domining;
    begin
      MakeCompass('S');
      repeat
        if(FindColor(x,y,7712975,7449031,6328489,8172755,8369876))then
        begin
          wait(100+random(50));
          MMouse(x,y,0,0);
          wait(1000+random(50));
          Mouse(x,y,0,0,true);
          wait(100+random(50));
        end;
      until(InvFull);
    end;

    begin
    end.
    There fixed, with standards.

    By the way, fix that findcolor part. It's all fucked up.

  8. #8
    Join Date
    Mar 2007
    Posts
    195
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    All fucked up?hmm,maybe...

    EDIT:Yea i should use something else then 'if'
    Dormcheck is a scam,i've posted 1000 messages and i never got paid my 10 bucks.
    http://www.fenjer.com/adnan/SRLStats/348.png

  9. #9
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    6,136
    Mentioned
    28 Post(s)
    Quoted
    17 Post(s)

    Default

    it lacked one End; to close the proc DeclarePlayers;
    SRL is a Library of routines made by the SRL community written for the Program Simba.
    We produce Scripts for the game Runescape.

  10. #10
    Join Date
    Mar 2007
    Posts
    195
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yay another error again lol,i'm starting to really want to crush my lcd screen because the stupid script always error

    Failed when compiling
    Line 38: [Error] (18665:1): Identifier expected in script C:\Program Files\SCAR 2.03\Scripts\KingofptwCrafter.scar
    program PaidToWarezCrafterGuildBooster;

    {.include SRL/SRL.scar}
    {.include SRL/SRL/Skill/Mining.scar}

    const
    RockColor = 8369876; //the color of the clay

    Procedure DeclarePlayers;
    Begin

    HowManyPlayers := 1;
    NumberOfPlayers( HowManyPlayers );
    CurrentPlayer := 0;

    Players[0].Name :='Kingofptw'; //Runescape Username
    Players[0].Pass :=''; //Runescape Password
    Players[0].Nick :='ing'; //The 3 letters following the first of your Runescape username
    Players[0].Active:=True;

    end;

    procedure DoAntiRandoms;
    begin
    FindTalk;
    FindNormalRandoms;
    if (FindFight = true) then
    begin
    RunAwayDirection('N');
    Wait(10000 + random(2000));
    RunBack;
    end;
    end;

    procedure mining;
    var J, M, Tol: Integer;
    begin
    function GetTolerance: Integer;
    var i: Integer;
    i := 0;
    repeat
    i := i + 1;
    if (FindColorSpiralTolerance(J, M, RockColor, 0, 0, 249, 179, i)) then
    begin
    MMouse(J, M, 0, 0)
    if (IsUpText('ocks')) then
    Result := Tol;
    end;
    until (i > 2600);
    Result := Tol;
    end;

    Procedure stupidmining;
    function WhileMining: Boolean;
    begin
    if (not (LoggedIn)) then
    Exit;
    Result := False
    Tol := 3;
    if (FindColorSpiralTolerance(x, y, RockColor, 0, 0, 0, 0, Tol)) then
    begin
    MMouse(x, y, 2, 2);
    if (IsUpText('ocks')) then
    Result := True;
    end;
    repeat
    MMouse(x, y, 0, 0);
    Wait(50 + random(150));
    if (IsUpText('ocks')) then
    begin
    GetMousePos(x,y);
    Mouse(x, y, 2, 2, true);
    Wait(500 + random(250));
    Result := True;
    Exit;
    end;


    if (not (Result)) then
    begin
    Tol := GetTolerance;
    end;
    until
    (InvFull);
    end;

    begin

    end.
    Dormcheck is a scam,i've posted 1000 messages and i never got paid my 10 bucks.
    http://www.fenjer.com/adnan/SRLStats/348.png

  11. #11
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    king, you need to give me credits for using things from my script.. Its kind of obvious, because for your variables in the tolerance changer, you used J,M (Jad Macro) please do not copy my script without permission/credits. almost all of this is from my power miner, and I never gave, and probably never will give you permission to use this because like 90% of it is my script. please make your own script.

  12. #12
    Join Date
    Mar 2007
    Posts
    195
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hey,do you think i don't give credit?I know it's nearly all from your script,afterwards of that i need to make the clay turn into soft clay,then make bowl with them,then fire them,then drop them.

    i don't give credits until it's finished,i'm just using your powermining script base because it's GOOD.
    Dormcheck is a scam,i've posted 1000 messages and i never got paid my 10 bucks.
    http://www.fenjer.com/adnan/SRLStats/348.png

  13. #13
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You aren't allowed to use any part of the script though without asking me first which I would/still probably will say yes, but you must ask first and give credits

  14. #14
    Join Date
    Mar 2007
    Posts
    195
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Well..I didn't knew that i had to ask because the script is public

    But can i use it,but theres a thing i don't understand there,why does it dosen't work?
    Dormcheck is a scam,i've posted 1000 messages and i never got paid my 10 bucks.
    http://www.fenjer.com/adnan/SRLStats/348.png

  15. #15
    Join Date
    Sep 2006
    Location
    West U.S.
    Posts
    2,172
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by Kingofptw View Post
    Well..I didn't knew that i had to ask because the script is public

    But can i use it,but theres a thing i don't understand there,why does it dosen't work?
    lesson learned...

    always give credit...

    always

    They are sisters...
    Runescape Classic

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Line 135: [Error] (14845:1): Syntax error in script
    By AbsTrACt'^.| in forum OSR Help
    Replies: 16
    Last Post: 05-23-2008, 01:14 PM
  2. Replies: 5
    Last Post: 02-26-2008, 04:14 PM
  3. Smart error and Some kind of Math.scar error
    By FagetHax0r in forum OSR Help
    Replies: 6
    Last Post: 02-24-2008, 10:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •