need help with powerminer

Discussion in 'Scar/Simba Help' started by fallboo, Dec 30, 2008.

need help with powerminer
  1. Unread #1 - Dec 30, 2008 at 3:04 PM
  2. fallboo
    Joined:
    Dec 30, 2008
    Posts:
    3
    Referrals:
    0
    Sythe Gold:
    0

    fallboo Newcomer

    need help with powerminer

    hi either could you post a very simple powerminer for me to look at heres what i have so far(the bits i need help with)




    Code:
    program Powerminer;
    
    {.Include SRL\SRL.SCAR}
    Var
    x,y :integer;
    Const
    rock1= 456467;//this IS a random number use the colour picker for real colours
    rock2= 564564;//same as above but a different colour4
    waittime= 5789;//time to wait
    procedure DeclarePlayers;
    begin
      HowManyPlayers := 1;
      NumberOfPlayers(HowManyPlayers);
      CurrentPlayer := 0;
      Players[0].Name := 'myuseris';
      Players[0].Pass := 'mypasswordis';
      Players[0].Nick := 'eris'; //3-4 LETTERS from name  like i did myusERIS
      Players[0].Active:= True;
    end;
    procedure PreparePlayer;
    begin
      if not LoggedIn then LoginPlayer;
    end;
    
    
    Procedure Randoms;
    Begin
    FindNormalRandoms;
    End;
    
    
    procedure AntiBan;
    begin
      if not LoggedIn then Exit;
      begin;
      case (Random(30)) of
        1: HoverSkill('mining', False);
        2: RandomMovement;
        3: PickUpMouse;
        4: begin
             Gametab(1 + Random(5));
             Gametab(4);
            end;
        30: SleepAndMoveMouse(300);
      end;
    end;
    
    
    program minerock;
    X,Y :integer
    Begin;
     if(not(LoggedIn)) then LoginPlayer;
     
    
    
    
    
    
    
    
     Procedure oredropping;
    Var
         i: Integer;
    Begin
         If Not (LoggedIn) Then Exit;
         GameTab(4);
         For i := 2 To 28 Do
              Begin
                   If ExistsItem(i) Then
                        DropItem(i);
                        writeln('ores have been dropped!');
              End;
    End;
    procedure SetupSRL;
    
    
    
    
    procedure Mainloop;
    begin
    SetupSRL;
    
    
    
    
    i mainly need help with the wait times and looking for the colour and mining if you want to complete ill learn then make another/alter and will add you to credits thank you!

    sorry this is my first time/post here so i do not know much about acctually posting on sythe
    or if you would like to tutor me through MSN
    [email protected]
    also whats the difference between procedure and function?
     
  3. Unread #2 - Dec 30, 2008 at 3:52 PM
  4. cazax
    Joined:
    Nov 13, 2007
    Posts:
    457
    Referrals:
    0
    Sythe Gold:
    0

    cazax Forum Addict

    need help with powerminer

    a function returns a value, and a procedure does not. Example:
    Code:
    Function OnePlusOne: Integer;
    Begin
      Result := 1 + 1;
    End;
    
    Procedure TwoPlusTwo;
    Begin
      Writeln('2 + 2 = 4');
    End;
     
  5. Unread #3 - Dec 30, 2008 at 8:00 PM
  6. fallboo
    Joined:
    Dec 30, 2008
    Posts:
    3
    Referrals:
    0
    Sythe Gold:
    0

    fallboo Newcomer

    need help with powerminer

    anyone else how with the powerminer? its only simple i dont want lots of technical stuff(i dont mind if its detectable) i would just like to see it or list the comands i would needs to use or what sort of mineore , varibles and integers i should use, thank you :)
     
< Getting includes | Stuck with autovialer >

Users viewing this thread
1 guest


 
 
Adblock breaks this site