Compiling erros on SSI2.scar and Boxbreaker2.txt

Discussion in 'Scar/Simba Help' started by superbatman, Jan 2, 2009.

Compiling erros on SSI2.scar and Boxbreaker2.txt
  1. Unread #1 - Jan 2, 2009 at 8:38 PM
  2. superbatman
    Joined:
    Jan 2, 2009
    Posts:
    252
    Referrals:
    0
    Sythe Gold:
    0

    superbatman Forum Addict

    Compiling erros on SSI2.scar and Boxbreaker2.txt

    Hey all, watsup? I am a Noob to this stuff, and im writing my own script. It Is an auto mage-cutter in Lletya, And i just finished making the path to get there. At First I tried using SSI2.scar as an include(So i could use the Flag procedure), but It came up with so many comilation errors, it wasnt even funny. Then, i dragged the Flag part of the script to a different file, just so i could use the Flag procedure. When i got it all compiled, I ran the program, and Flag Didnt do anything. Even if there was still a flag in the minimap it would go onto the next procedure. I tried righting my own with repeats and ifs to make my own kind of flag, and it worked, but it made the game screen very very slow and laggy. I ended up just using manual timing, and after a whole bunch of testing, it still has alot of work. I was planing on using SSI2.scar and BoxBreaker2.txt as antirandoms to, but know i cant. Is there any other include that has Flag and antirandoms?


    I found SSI2.scar and Boxbreaker2.txt from rs101,
    I am running scar 3.15
    My OS is xp professional.

    Code:
    program LletyaChopper;
    const
    watersign= 13447432;
    bushes=464948;
    craftsign=3239707;
    yellowdot=1179390;
    flag=284358;
    obelisksign=4745603;
    CityTree=2767166;
    TreeSign= 95233;
    HunterSign=9670294;
    
    
    var
    x,y:integer;
    
    
    procedure ToMagicTrees;
    begin
         FindColor(x,y,watersign,833,115,942,305);
         wait(100+random(200));
         MoveMouseSmooth(x,y);
         wait(100+random(200));
         ClickMouse(x,y,true);
         wait(20000+random(2000));
    x:=0;
    y:=0;
         FindColor(x,y,craftsign,833,115,942,305);
         wait(100+random(200));
         MoveMouseSmooth(x,y);
         wait(100+random(200));
         ClickMouse(x,y,true);
         wait(30000+random(5000));
    x:=0;
    y:=0;
         FindColor(x,y,yellowdot,896,210,960,251);
         wait(100+random(200));
         MoveMouseSmooth(x,y);
         wait(100+random(200));
         ClickMouse(x,y,true);
         wait(15000+random(5000));
    x:=0;
    y:=0;
         MoveMouseSmooth(487+random(10),188+random(10));
         wait(100+random(200));
         ClickMouse(487+random(10),188+random(10),true);
         wait(2000+random(500));
         FindColor(x,y,obelisksign,833,115,942,305);
         wait(100+random(500));
         MoveMouseSmooth(x,y);
         wait(100+random(200));
         ClickMouse(x,y,true);
         wait(40000+random(10000));
    x:=0;
    y:=0;
         FindColor(x,y,CityTree,257,178,1020,664);
         MoveMouseSmooth(x,y);
         wait(100+random(200));
         ClickMouse(x,y,true);
         wait(3000+random(500));
    x:=0;
    y:=0;
         MoveMouseSmooth(983+random(3),281+random(3));
         wait(100+random(200));
         ClickMouse(983+random(3),281+random(3),true);
         wait(500+random(300));
         MoveMouseSmooth(826+random(5),216+random(5));
         wait(1500+random(500));
         ClickMouse(826+random(5),216+random(5),true);
         wait(500+random(300));
         MoveMouseSmooth(826+random(5),216+random(5));
         wait(1500+random(500));
         ClickMouse(826+random(5),216+random(5),true);
         wait(3000+random(2000));
         FindColor(x,y,HunterSign,833,115,942,305);
         wait(100+random(200));
         MoveMouseSmooth(x,y);
         wait(100+random(200));
         ClickMouse(x,y,true);
         wait(1500+random(3000));
    x:=0;
    y:=0;
         FindColor(x,y,TreeSign,833,115,942,305);
         wait(100+random(200));
         MoveMouseSmooth(x,y);
         wait(100+random(200));
         ClickMouse(x,y,true);
    
    end;
    
    begin
         ToMagicTrees;
    end.
    
    Thats my code so far. As i say, it makes it to the trees, but look at the timing on it!!!!
     
  3. Unread #2 - Jan 2, 2009 at 10:21 PM
  4. Bbri06
    Joined:
    May 21, 2006
    Posts:
    911
    Referrals:
    1
    Sythe Gold:
    0

    Bbri06 Apprentice

    Compiling erros on SSI2.scar and Boxbreaker2.txt

    Those are ancient includes that no longer work.
     
  5. Unread #3 - Jan 4, 2009 at 10:45 PM
  6. superbatman
    Joined:
    Jan 2, 2009
    Posts:
    252
    Referrals:
    0
    Sythe Gold:
    0

    superbatman Forum Addict

    Compiling erros on SSI2.scar and Boxbreaker2.txt

    Ok, what are the includes i should be using then?
     
< Vidalia Refreshing | Need help with script >

Users viewing this thread
1 guest


 
 
Adblock breaks this site