Results 1 to 9 of 9

Thread: My breaking?

  1. #1
    Join Date
    May 2007
    Location
    in the forest
    Posts
    190
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default My breaking?

    SCAR Code:
    while (LoadsDoneSinceBreak >= BreakTime) do
                begin
                  LogOut;
                  wait(60000 + Random(30000));
                  LoadsDoneSinceBreak := 0;
                  NextPlayer(true);
                  Login;
                end;

    why does this not log in my player again ?
    At sea with the navy - not very active

  2. #2
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    while is used for like waits and stuff usually..

    like..

    While(not(FindObjCustom(x, y, ['he', 'ou', 'oob'], [1243123, 142561, 12314], 7)) do
    Wait(randomrange(500, 2000));

  3. #3
    Join Date
    May 2007
    Location
    in the forest
    Posts
    190
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    so you think an if then would work better?
    At sea with the navy - not very active

  4. #4
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    yes.

    if(loads >= BreakAfter) then
    LogOut;
    Wait(600000+random(300000)); (lol)
    LoadsSinceBreak := 0;
    NextPlayer(true);
    LoginPlayer;

    (you have to have begin and end but I'm lazy )

  5. #5
    Join Date
    May 2007
    Location
    in the forest
    Posts
    190
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    lol i think it took more effort to explain the lack of the begin, than to actualy put it in lol but ty
    At sea with the navy - not very active

  6. #6
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I think NOT!

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

    Default

    Quote Originally Posted by 99_ View Post
    while is used for like waits and stuff usually..

    like..

    While(not(FindObjCustom(x, y, ['he', 'ou', 'oob'], [1243123, 142561, 12314], 7)) do
    Wait(randomrange(500, 2000));
    But that's no reason to not use it when it would work best.

  8. #8
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    what?

  9. #9
    Join Date
    May 2007
    Location
    in the forest
    Posts
    190
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    also does anyone know why i always get this acces violation for my antirandoms.scar its the one for the lamp but i have it set?
    At sea with the navy - not very active

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. heart-breaking...
    By legendaryhero90 in forum Music, Movies and TV
    Replies: 0
    Last Post: 04-20-2008, 08:03 PM
  2. Breaking news on who I am!!
    By Cheesehunk in forum Who Are You ? Who ? Who ?
    Replies: 27
    Last Post: 01-03-2007, 10:06 PM

Posting Permissions

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