Page 2 of 2 FirstFirst 12
Results 26 to 42 of 42

Thread: Is it me?

  1. #26
    Join Date
    Feb 2007
    Location
    Het ademt zwaar en moedeloos vannacht.
    Posts
    7,211
    Mentioned
    26 Post(s)
    Quoted
    72 Post(s)

    Default

    Quote Originally Posted by Wizzup? View Post
    That is not capitalizing, thats uppercasing.
    Still as ugly as hell imho.
    I made a new script, check it out!.

  2. #27
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Markus View Post
    Still as ugly as hell imho.

    @Fakawi+Narcle:

    No begin, no end, and it doesnt work.
    It must be

    While not false do
    Writeln('bla');
    Verrekte Koekwous

  3. #28
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    Omg, is this offtopic as hell or what?!


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  4. #29
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Hy71194 View Post
    Omg, is this offtopic as hell or what?!
    *Spam detected* It seems nobody can solve my problem, so they go and talk about flowers.
    Verrekte Koekwous

  5. #30
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    Thats stupid.... -_-


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  6. #31
    Join Date
    Feb 2007
    Location
    Het ademt zwaar en moedeloos vannacht.
    Posts
    7,211
    Mentioned
    26 Post(s)
    Quoted
    72 Post(s)

    Default


    What's wrong with flowers?
    I made a new script, check it out!.

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

    Default

    Quote Originally Posted by mastaraymond View Post
    It seems nobody can solve my problem, so they go and talk about flowers.
    Get rid of the ";"
    SRL is a Library of routines made by the SRL community written for the Program Simba.
    We produce Scripts for the game Runescape.

  8. #33
    Join Date
    Aug 2007
    Location
    England
    Posts
    734
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Shouldn't it be

    SCAR Code:
    While not Bankscreen  do
        begin;
          if ((GetSystemTime - TimeFromMark(Timer)) > 4500) then
            Break;
          Wait(250+random(250));
        end;

    Otherwise its always gonna be over 4500?
    The truth finally came out...


  9. #34
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by WT-Fakawi View Post
    Get rid of the ";"
    I did.. But it didn't help, it still gave me this weird 'bug'.. There must be another reason i guess.
    Verrekte Koekwous

  10. #35
    Join Date
    Jul 2007
    Location
    St. Louis, Missouri, USA.
    Posts
    575
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    This works.

    SCAR Code:
    while LoggedIn do
    begin
      Wait(100);
      WriteLn('Yeah, it works.');
    end;

    If you tried Fawki's 'suggestion' of taking the ; out after begin then it could just be a problem with bankscreen or the not. Good Luck.
    -You can call me Mick-



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

    Default

    SCAR Code:
    program New;

    function Bankscreen: Boolean;
    begin
    end;

    procedure asdf;
    begin
        While (not(bankscreen))  do
    //    while bankscreen = false do
        begin;
          writeln('poop');
          if ((3) > 4500) then
            Break;
          Wait(250+random(250));
        end;
    end;

    begin
      asdf;
    end.
    He's right. SCAR bug.

  12. #37
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

    Yes.

    It seems that when you NOT set the result, (like BankScreen doesn't when it doesn't find anything) the result sometimes return TRUE..

    Really weird.
    Check this out
    SCAR Code:
    program New;

    function asdf: boolean;
    begin
      writeln(booltostr(Result));
    end;

    begin
      while not asdf do
        Writeln('Loop');
    end.

    And this one

    SCAR Code:
    program New;

    function WrongBankscreen: Boolean;
    begin
    end;

    function GoodBankscreen: Boolean;
    begin
      Result := False;
    end;

    procedure asdf;
    var
      I : integer;
    begin
       Writeln('the wrong loop... starting');
        While (not(Wrongbankscreen))  do
        begin
          writeln('Lets loop baby');
          Wait(250+random(250));
        end;
       Writeln('now we set the value of result to False... (Break after 5 loops)');
       I := 0;
        While (not(GoodBankscreen))  do
        begin
          writeln('Lets loop baby');
          Wait(250+random(250));
          I := I + 1;
          if I = 5 then Break;
        end;
        Writeln('Now we do if WrongBankscreen = False then... Not breaking out!');
        While WrongBankscreen=False do
        begin
          Writeln('Lets loop baby');
          Wait(250+random(250));
        end;
    end;

    begin
      asdf;
    end.
    See i knew i was right!

    Thanks to bullzeye for finding out .
    Verrekte Koekwous

  13. #38
    Join Date
    Oct 2006
    Posts
    2,297
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by mastaraymond View Post
    Yes.

    It seems that when you NOT set the result, (like BankScreen doesn't when it doesn't find anything) the result sometimes return TRUE..

    Really weird.
    Check this out
    SCAR Code:
    program New;

    function asdf: boolean;
    begin
      writeln(booltostr(Result));
    end;

    begin
      while not asdf do
        Writeln('Loop');
    end.

    And this one

    SCAR Code:
    program New;

    function WrongBankscreen: Boolean;
    begin
    end;

    function GoodBankscreen: Boolean;
    begin
      Result := False;
    end;

    procedure asdf;
    var
      I : integer;
    begin
       Writeln('the wrong loop... starting');
        While (not(Wrongbankscreen))  do
        begin
          writeln('Lets loop baby');
          Wait(250+random(250));
        end;
       Writeln('now we set the value of result to False... (Break after 5 loops)');
       I := 0;
        While (not(GoodBankscreen))  do
        begin
          writeln('Lets loop baby');
          Wait(250+random(250));
          I := I + 1;
          if I = 5 then Break;
        end;
        Writeln('Now we do if WrongBankscreen = False then... Not breaking out!');
        While WrongBankscreen=False do
        begin
          Writeln('Lets loop baby');
          Wait(250+random(250));
        end;
    end;

    begin
      asdf;
    end.
    See i knew i was right!

    Thanks to bullzeye for finding out .
    Okay, that scared me
    If we edit this " bug" in srl (like were it should result false, we write result:= false instead o fnothing) then that could optimise SRL and autoing?

    Maybe this could be the problem to the weird errors our scripts can heve sometimes, like for example, now and then I auto with VEM.
    Sometimes (less, but hey, it happens!) I have a false player and the Debug Box tells that that p^layer is dead.
    Let's now look to the FindDeath function?

    SCAR Code:
    function FindDead: Boolean;
    begin
      Result := False;
    //  if (GetColor(34, 445) = 0) and (GetColor(134, 445) = 0) then
      if (Pos('dead', srl_LastBlackLine) <> 0) and (Pos('dear', srl_LastBlackLine) <> 0) then
      begin
        Deaths := Deaths + 1;
        Result := True;
        SaveToChatLog;
        if Reincarnate then Exit
        else
        begin
          if ScreenShots then
            TakeScreen('Found Dead');
        {  repeat
            Wait(1000 + Random(1000));
          until (not (LoggedIn));   }

          LogOut;
          Players[CurrentPlayer].Rand := 'Oh Dear You Are in Lumby';
          Players[CurrentPlayer].Active := False;
        end;
      end;
    end;

    You see? Or should I say "You don't see?", there isn't a result:=false.

    So if we optimize this "bug" in SRL, maybe it could help a lot?

    -Tsn.
    [QUOTE=Santa_Clause;277761]I love you too TSN :p[/QUOTE]
    [CENTER][URL="http://www.stats.srl-forums.com/sigs"][IMG]http://www.stats.srl-forums.com/sigs/1324.png[/IMG][/URL][/CENTER]

  14. #39
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by the scar noob View Post
    Okay, that scared me
    If we edit this " bug" in srl (like were it should result false, we write result:= false instead o fnothing) then that could optimise SRL and autoing?

    Maybe this could be the problem to the weird errors our scripts can heve sometimes, like for example, now and then I auto with VEM.
    Sometimes (less, but hey, it happens!) I have a false player and the Debug Box tells that that p^layer is dead.
    Let's now look to the FindDeath function?

    ScarScript:By Drunkenoldma
    function FindDead: Boolean; begin Result := False; // if (GetColor(34, 445) = 0) and (GetColor(134, 445) = 0) then if (Pos('dead', srl_LastBlackLine) <> 0) and (Pos('dear', srl_LastBlackLine) <> 0) then begin Deaths := Deaths + 1; Result := True; SaveToChatLog; if Reincarnate then Exit else begin if ScreenShots then TakeScreen('Found Dead'); { repeat Wait(1000 + Random(1000)); until (not (LoggedIn)); } LogOut; Players[CurrentPlayer].Rand := 'Oh Dear You Are in Lumby'; Players[CurrentPlayer].Active := False; end; end; end;

    You see? Or should I say "You don't see?", there isn't a result:=false.

    So if we optimize this "bug" in SRL, maybe it could help a lot?

    -Tsn.
    The dead bug because names contain the text "dead".
    Verrekte Koekwous

  15. #40
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Quote Originally Posted by bullzeye95 View Post
    SCAR Code:
    program New;

    function Bankscreen: Boolean;
    begin
    end;

    procedure asdf;
    begin
        While (not(bankscreen))  do
    //    while bankscreen = false do
        begin;
          writeln('poop');
          if ((3) > 4500) then
            Break;
          Wait(250+random(250));
        end;
    end;

    begin
      asdf;
    end.
    He's right. SCAR bug.
    No scar bug.
    Delphi bug try result:=false; in bankscreen, I told Raymond about it long ago.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  16. #41
    Join Date
    Oct 2006
    Posts
    2,297
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by mastaraymond View Post
    The dead bug because names contain the text "dead".
    nop.. nick=ren

    -Tsn.
    [QUOTE=Santa_Clause;277761]I love you too TSN :p[/QUOTE]
    [CENTER][URL="http://www.stats.srl-forums.com/sigs"][IMG]http://www.stats.srl-forums.com/sigs/1324.png[/IMG][/URL][/CENTER]

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

    Default

    Quote Originally Posted by Wizzup? View Post
    No scar bug.
    Delphi bug try result:=false; in bankscreen, I told Raymond about it long ago.
    Yes, but look at this
    SCAR is supposed to automatically set results to their defaults (false, 0, '', etc).

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

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

Posting Permissions

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