Page 1 of 2 12 LastLast
Results 1 to 25 of 42

Thread: Is it me?

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

    Default Is it me?

    Well sounds really stupid, but is it me, or are the while loops 'fucked' up?

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

    Doesn't work.. It only goes trhough the loop once (bankscreen not open).
    And no, it doesn't break out because of the timer (tested that alread)..

    Now i found out that this is working
    SCAR Code:
    While Bankscreen = false  do
        begin;
          if ((GetSystemTime - Timer) > 4500) then
            Break;
          Wait(250+random(250));
        end;

    Am i blind? Or is it really 'broken'.

    ~Raymond
    Verrekte Koekwous

  2. #2
    Join Date
    Nov 2006
    Location
    NSW, Australia
    Posts
    3,487
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Works fine in my merchanter...
    [CENTER][img]http://signatures.mylivesignature.com/54486/113/4539C8FAAF3EAB109A3CC1811EF0941B.png[/img][/CENTER]
    [CENTER][BANANA]TSN ~ Vacation! ~ says :I Love Santy[/BANANA][/CENTER]

    [CENTER][BANANA]Raymond - Oh rilie? says :Your smart[/BANANA][/CENTER]

  3. #3
    Join Date
    Sep 2007
    Location
    Michigan
    Posts
    3,862
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    Comments in script posted.
    SCAR Code:
    While not (Bankscreen)  do // add ()?
        begin; //umm is ; suppose to be there? wouldn't that mess it up?
          if ((GetSystemTime - Timer) > 4500) then
            Break;
          Wait(250+random(250));
        end;
    (Scripts outdated until I update for new SRL changes)
    AK Smelter & Crafter [SRL-Stats] - Fast Fighter [TUT] [SRL-Stats]
    If you PM me with a stupid question or one listed in FAQ I will NOT respond. -Narcle
    Summer = me busy, won't be around much.

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

    Default

    The ; doesn't matter, it only looks EXTREMELY ugly imho.
    And he told to me that the () didn't matter
    I made a new script, check it out!.

  5. #5
    Join Date
    Sep 2007
    Location
    Michigan
    Posts
    3,862
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Markus View Post
    The ; doesn't matter, it only looks EXTREMELY ugly imho.
    And he told to me that the () didn't matter
    Yeah it does look ugly. That is the weirdest thing ever.
    (Scripts outdated until I update for new SRL changes)
    AK Smelter & Crafter [SRL-Stats] - Fast Fighter [TUT] [SRL-Stats]
    If you PM me with a stupid question or one listed in FAQ I will NOT respond. -Narcle
    Summer = me busy, won't be around much.

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

    Default

    Should I kill him? ^^
    I made a new script, check it out!.

  7. #7
    Join Date
    Sep 2007
    Location
    Michigan
    Posts
    3,862
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Markus View Post
    Should I kill him? ^^
    Yes but make sure its painful enough before he dies. Hopefully he'll remember next time. (lawl)
    (Scripts outdated until I update for new SRL changes)
    AK Smelter & Crafter [SRL-Stats] - Fast Fighter [TUT] [SRL-Stats]
    If you PM me with a stupid question or one listed in FAQ I will NOT respond. -Narcle
    Summer = me busy, won't be around much.

  8. #8
    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
    The ; doesn't matter, it only looks EXTREMELY ugly imho.
    And he told to me that the () didn't matter
    Its my way of standards . Scar isn't really strict about ";" but delphi for example is..
    Although a ';' after begin is useless, its my 'sign' .

    Also i tested it with () around bankscreen, same result. I've no clue why this is
    Verrekte Koekwous

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

    Default

    You know that it's as ugly as hell?
    There is only one thing even more ugly imho, and that's capitilizing stuff like:
    SCAR Code:
    PROCEDURE CapsFTL(points : TPOINTARRAY; kill : ARRAY OF STRING; ray : BOOLEAN) : BOOLEAN;
    BEGIN
      IF (Points[0].X=IntToStr(kill[1]) THEN RESULT := ray;
      IF RESULT THEN Writeln('i refuse to even look at script written with all caps' );
    END;
    I made a new script, check it out!.

  10. #10
    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
    You know that it's as ugly as hell?
    There is only one thing even more ugly imho, and that's capitilizing stuff like:
    Well that is the old Pascal syntax..
    Verrekte Koekwous

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

    Default

    Pascal ftl then, we need to move on to the future, not stick in the seventies.
    I made a new script, check it out!.

  12. #12
    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
    Pascal ftl then, we need to move on to the future, not stick in the seventies.
    Thats why we've got Object Pascal right now.. Although scar is stick between . Half object
    Verrekte Koekwous

  13. #13
    Join Date
    Sep 2007
    Location
    Michigan
    Posts
    3,862
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    Lol.
    "function CapsFTL"

    So yeah about the subject. Is your computer just being a noob?
    (Scripts outdated until I update for new SRL changes)
    AK Smelter & Crafter [SRL-Stats] - Fast Fighter [TUT] [SRL-Stats]
    If you PM me with a stupid question or one listed in FAQ I will NOT respond. -Narcle
    Summer = me busy, won't be around much.

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

    Default

    Scar is just weird, we should create a whole, new language
    @narcle: it doesn't completely, he got Linux in a dual boot, so it only sucks for 50%
    I made a new script, check it out!.

  15. #15
    Join Date
    Sep 2007
    Location
    Michigan
    Posts
    3,862
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    We really need IRC or something. >>
    (Scripts outdated until I update for new SRL changes)
    AK Smelter & Crafter [SRL-Stats] - Fast Fighter [TUT] [SRL-Stats]
    If you PM me with a stupid question or one listed in FAQ I will NOT respond. -Narcle
    Summer = me busy, won't be around much.

  16. #16
    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
    Scar is just weird, we should create a whole, new language
    @narcle: it doesn't completely, he got Linux in a dual boot, so it only sucks for 50%
    Although it costed me 3 days to get it to work .

    Well my PC is quite noob, its giving me BSOD like it costs nothing
    Verrekte Koekwous

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

    Default

    Just because you forgot to update your freakin BIOS, and because you got a weird motherboard
    And about those BSOD, I got a tip for you. Reinstall/delete windows
    @Narcle, we got an IRC channel, but it's as dead as hell
    I made a new script, check it out!.

  18. #18
    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
    Just because you forgot to update your freakin BIOS, and because you got a weird motherboard
    And about those BSOD, I got a tip for you. Reinstall/delete windows
    This still won't fix my 'while' problem...
    Verrekte Koekwous

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

    Default

    Yes it does!
    It is your computer that's weird, because you got something that corrupts your memory and causes scar to crash.
    I made a new script, check it out!.

  20. #20
    Join Date
    Sep 2007
    Location
    Michigan
    Posts
    3,862
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Markus View Post
    Scar is just weird, we should create a whole, new language
    @narcle: it doesn't completely, he got Linux in a dual boot, so it only sucks for 50%
    Yeah I had linux on this computer (dual boot). But linux wasnt working out for my multiple monitors so I removed it and formated that part of the hard drive for all my videos etc.

    Umm we are just slightly off topic... Should we continue in MSN msger or something? lol
    (Scripts outdated until I update for new SRL changes)
    AK Smelter & Crafter [SRL-Stats] - Fast Fighter [TUT] [SRL-Stats]
    If you PM me with a stupid question or one listed in FAQ I will NOT respond. -Narcle
    Summer = me busy, won't be around much.

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

    Default

    Hmm maybe, oh well, fact is, this is free postcount ^^
    I made a new script, check it out!.

  22. #22
    Join Date
    Sep 2007
    Location
    Michigan
    Posts
    3,862
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    yeah
    Here i come 1k posts!
    (Scripts outdated until I update for new SRL changes)
    AK Smelter & Crafter [SRL-Stats] - Fast Fighter [TUT] [SRL-Stats]
    If you PM me with a stupid question or one listed in FAQ I will NOT respond. -Narcle
    Summer = me busy, won't be around much.

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

    Default

    Quote Originally Posted by Markus View Post
    You know that it's as ugly as hell?
    There is only one thing even more ugly imho, and that's capitilizing stuff like:
    SCAR Code:
    PROCEDURE CapsFTL(points : TPOINTARRAY; kill : ARRAY OF STRING; ray : BOOLEAN) : BOOLEAN;
    BEGIN
      IF (Points[0].X=IntToStr(kill[1]) THEN RESULT := ray;
      IF RESULT THEN Writeln('i refuse to even look at script written with all caps' );
    END;
    That is not capitalizing, thats uppercasing.



    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)

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

    Default

    you should get rid of the ";" . I think this messes up. "begin ;" means skip everything after the begin. I suppose you never enter the while loop that way.
    SRL is a Library of routines made by the SRL community written for the Program Simba.
    We produce Scripts for the game Runescape.

  25. #25
    Join Date
    Sep 2007
    Location
    Michigan
    Posts
    3,862
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by WT-Fakawi View Post
    you should get rid of the ";" . I think this messes up. "begin ;" means skip everything after the begin. I suppose you never enter the while loop that way.
    I said that!!!! but noooooo, no one listens to me.

    *sad face*
    (Scripts outdated until I update for new SRL changes)
    AK Smelter & Crafter [SRL-Stats] - Fast Fighter [TUT] [SRL-Stats]
    If you PM me with a stupid question or one listed in FAQ I will NOT respond. -Narcle
    Summer = me busy, won't be around much.

Page 1 of 2 12 LastLast

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
  •