Results 1 to 4 of 4

Thread: Help me for my first script

  1. #1
    Join Date
    Aug 2007
    Posts
    115
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Help me with my first script

    I am making powerminer and first of all i got a lot of randoms most f them are solved except of mordaut but thats not the question. The question is about the GasFind function i use
    Code:
     procedure GasRock;
     begin
      if FindGas(x, y) then
       begin
       RunAway(Rundirection, false, 1, 8000);
       Writeln('Found Gas...');
       GasFind := GasFind + 1;
        end;
     end;
    but it not works and 2 times gas broke my pick.

    And another one about pick axe finding
    Code:
    procedure PickCheck;
    begin
     if FindNpcChatText('ickaxe', Nothing) then
      begin
      FindPick;
      end;
     end;
    but still doesnt even know if my pick head is missing!? I put the 2 procedures in my mining procedure but they dont work can you help me with them?

  2. #2
    Join Date
    Jun 2007
    Location
    south park
    Posts
    1,160
    Mentioned
    0 Post(s)
    Quoted
    62 Post(s)

    Default

    Erm where did u copy from? is it outdated?
    http://www.youtube.com/user/YoHoJoSRL
    Good scripting guides on youtube
    Formerly known as (djcheater)

  3. #3
    Join Date
    Aug 2007
    Posts
    115
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I read a lot of tuts and make my script from the things i learnt in the tuts so the tutorials are probably outdated

  4. #4
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    I thought that the Devs updated FindPick as well as FindGas. Maybe, just write your own?

    Just try a findcolortolerance of it.
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

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
  •