Page 5 of 12 FirstFirst ... 34567 ... LastLast
Results 101 to 125 of 283

Thread: Etherfreak's Log Burner

  1. #101
    Join Date
    Dec 2011
    Location
    Hyrule
    Posts
    8,662
    Mentioned
    179 Post(s)
    Quoted
    1870 Post(s)

    Default

    pretty good script, only problem I am having now is it shutting down after a few trips, like 5-6. It gets stuck trying to bank, a few people have posted the picture. It goes south to the bank entrance and sits there trying to find the bank unsuccessfully. Not sure if there is a quick fix for that.

    Also maybe add when it gets stuck on a fence post or something for it to go 1 space north or south and continue burning. Or just have it go back to the bank instead of shutting down? I'm not sure how difficult that would be, just a suggestion!

  2. #102
    Join Date
    Jul 2010
    Location
    Western US
    Posts
    387
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Thanks for good feedback ashaman88, I have implemented your idea just to walk back to the bank. be aware, this is somewhat suspicious seeming, returning to the bank with a partial load of wood. I also think I have fixed the issue that nickivey and kratom were experiencing, but I am not sure because they did not leave enough feedback for me to know for sure.
    Of all the things I have lost, I miss my mind the most.
    Current Projects:
    Addy bar miner and superheater

  3. #103
    Join Date
    Dec 2011
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yeah the script works for 1-5 trips then gets stuck on either the west or east side of the bank and starts click everything thats brown sometime it wont even walk to the bank just stand there after a line and try clicking everything brown. I turned off the 5 kill thing cause its hella annoying havin to sign back in every 5 mins i have to watch to manullaly walk it to the bank so it dont crash but its decent for those 5 mins needs work but is still good

  4. #104
    Join Date
    Jul 2010
    Location
    Western US
    Posts
    387
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    cityreppin, try V1.6 and see if that works better. I just upped it.
    Of all the things I have lost, I miss my mind the most.
    Current Projects:
    Addy bar miner and superheater

  5. #105
    Join Date
    Dec 2011
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default v1.6

    now v1.6 just sits in the bank and trys to burn them while still in bank menu..


    Ill help u test this out as long as u want i rlly want a working firemaking script. any script u want me to test for ya just hitmeup :P
    Last edited by cityreppin; 12-28-2011 at 06:57 AM.

  6. #106
    Join Date
    Jul 2010
    Location
    Western US
    Posts
    387
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    hmm, its working fine on my machine right now...

    I just posted the script again, in case it was an issue in the upload.

    Simba Code:
    // script by EtherFreak
    //V1.6
    program LogBurner;
    //Remove // for smart
    {.Include SRL\SRL\Misc\SMART.SCAR}
    {.include SRL/SRL.scar}

    Const

    //  ----------------SETUP-----------------------------
    // Start in Verock East Bank. Setup log location.
     loadcount= 10      ;  //how many cycles you need (27 logs per cycle)
     BankCol=2          ; //log col in bank
     BankRow= 2         ; //log row in bank
     colorroad= 8752779 ; //grey road color to have RoadColorChecker; work
     threelet='ohn'     ;//2-4th letters of name. I.E. Johntrucker='ohn' (optional)
     BankLoc='veb'      ;//for future banking locations
     BurnWait= 2500     ;//How long it takes for a log to light and burn.
    //  ---------------END SETUP----------------------------------------

    var
      x, y: integer;
      counter, count, kill: Integer;

    procedure DeclarePlayers;
    begin
      HowManyPlayers := 1;
      NumberOfPlayers(HowManyPlayers);
      CurrentPlayer := 0;
      with Players[0] do
      begin
      //  ----------------SETUP-----------------------------
        Name := '';
        Pass := '';
        Nick := '';
        Active := True;

      end;
    end;
    //  ---------------END SETUP----------------------------------------

    Procedure initrun;
    begin
      Smart_Members := False;
      Smart_Server := 1;
      Smart_Signed := True;
      Smart_SuperDetail := False;
      SetupSRL;
      DeclarePlayers;
      LoginPlayer;
      counter:=2;
      count:=0;
      kill:=0;
      SymbolAccuracy:=0.6;  //Ajust as needed for bank symbol
      wait(4000);
      findnormalrandoms;
      roadcolor:=colorroad;
      RoadColorChecker;
      //bank
      if findsymbol(x,y,'bank') then
        writeln('initrun complete. You are at the bank. The roadcolor is:'+inttostr(roadcolor)+'.')
      else
        begin
          writeln('cant tell if your at the bank. trying alternite method');
          if CountDots('yellow')>9 then
          begin
            writeln('yellow dot of '+IntToStr(CountDots('yellow'))+' count indicates at bank')
          end else
            begin
              writeln('Not at bank? Stop Script Now or Verify Working Corectly!');
            end;
        end;
      setangle(true);
      setrun(true);
    end;

    Procedure Burn;
    Var
      I,K:integer;
    Begin
      K:=0;
      For I:= 1 to 28 do
      Begin
        findnormalrandoms;
        if ExistsItem(I) then
        begin
          invmouse(I,2); //clicking log
          wait(RandomRange(100,100));
          WaitOptionMulti(['ight','ght','ancel'], 1500);
          Wait(RandomRange(BurnWait,1000));
        end;
        if ExistsItem(I) then
        begin
          invmouse(I,2); //clicking log
          wait(RandomRange(100,100));
          WaitOptionMulti(['ight','ght','ancel'], 1500);
          writeln('ReBurning #'+IntToStr(I)+' log.');
          Wait(RandomRange(BurnWait,1000));
        end;
        if IsChatBoxTextBetween ('ere',clBlack,8,8) then //fire not allowed
          begin
            inc(k);
            RadialRoadWalk(RoadColor,268,280,24,-2,0);
            Wait(RandomRange(2850,1000));
            dec(I);
            writeln('Cant light a fire here, trying a different spot');
            if k=4 then
              begin
                //Writeln('Issue making fire, Going back to bank...');
                //exit;
                Writeln('Fire Issue, logging out...');
                logout;
                terminatescript;
              end;
          end;
        if IsChatBoxTextAnyLine (threelet,clBlue) then    //name detection
            begin
              writeln('Someone said your name, logging out to be safe');
              logout;
              TerminateScript;
            end;
      end;
      if invcount=0 then
        writeln('Burned correctly') else
        Burn;
    End;

    Procedure Bank;
    Begin
      writeln('Banking kill is:'+inttostr(kill)+'.');
      mousespeed:=(7+random(3));
      inc(kill);
      findnormalrandoms;
      Wait(RandomRange(850,1000));
      openbankfast(BankLoc);
      Wait(RandomRange(2000,2500));
      withdraw(BankCol,BankRow,0);
      Wait(RandomRange(2000,2500));
      if kill=4 then
         Begin
          closewindow;
          writeln('Banking failed, logging out...');
          logout;
          TerminateScript;
         end;
      if invcount=28 then
          writeln('Banked corectly')
        else
          bank;
      kill:=0;
    End;

    Procedure toburn;
    Begin
      findnormalrandoms;
      writeln('Walking to burn. The roadcolor is:'+inttostr(roadcolor)+'.');
      RadialRoadWalk(RoadColor,0,75,60,-2,0);
      Wait(RandomRange(2500,1500));
    End;

    Procedure tobank;
    Var
      TPA:TPointArray;
      ATPA:T2DPointArray;
      L,S,I:Integer;
    Begin
      GetNewRoadColor(mmx1,mmy1,mmx2,mmy2,6);
      repeat
        findnormalrandoms;
        RadialRoadWalk(RoadColor,80,110,70,-2,0);
        writeln('Walking to bank. The roadcolor is:'+inttostr(roadcolor)+'.');
        if kill=3 then
          begin
            writeln('Walking to bank failed, logging out...');
            logout;
            TerminateScript;
           end;
        inc(kill);
        writeln(countdots('yellow'));
      until findsymbol(x,y,'bank') Or (CountDots('yellow') > 10)
      //bank
      kill:=0;
      wait(RandomRange(1000,1000));
      writeln(countdots('yellow'));
      if findsymbol(x,y,'bank') then
        writeln('using bank symbol')else
        begin
          writeln('using alternate method');
          TPA:=GetMinimapDotsIn('yellow', MMX1, MMY1, MMX2, MMY2);
          L:=length(TPA);
          S:=0;
          I:=0;
          repeat
            inc(I);
            if (TPA[I].y)=(TPA[I+1].y) then
              if (TPA[I].y)=(TPA[I+2].y) then
                S:=I;
          until S>0
          writeln(S)
          writeln(TPA);
          x:=TPA[S].x
          y:=TPA[S].y
          end;
      mouse(x,y,7,7,true);
      wait(RandomRange(8000,9000));
    End;

    Procedure MainLoop;
    begin
      initrun;
      repeat
        Bank;
        toburn;
        burn;
        tobank;
        inc(count);
        writeln('There are '+IntToStr(loadcount-count)+' loads to go.');
      until (count=loadcount)
      writeln('Completed without error!');
    end;

    Begin
      MainLoop;
    end.
    Last edited by EtherFreak; 12-28-2011 at 07:05 AM.
    Of all the things I have lost, I miss my mind the most.
    Current Projects:
    Addy bar miner and superheater

  7. #107
    Join Date
    Dec 2011
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Idk

    Idk why it was doing that i restarted it and now it appears to be working

  8. #108
    Join Date
    Dec 2011
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default hey

    u should totally make a monkfisher :P i need one so bad. id help out anyway i can but ima newb at this. 10m donation once completed?



    - The script trys to light fires on the same path as it did before sometimes and gets stucks and keeps lighting one fire gets stuck then banks and repeats
    Last edited by cityreppin; 12-28-2011 at 07:14 AM.

  9. #109
    Join Date
    Jul 2010
    Location
    Western US
    Posts
    387
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Monkfisher would require me to have members, and even then, I make no guaranty into my scripting skills for a monkfisher. I could also fix my bow cutting and stringing script, which is members as well.
    Of all the things I have lost, I miss my mind the most.
    Current Projects:
    Addy bar miner and superheater

  10. #110
    Join Date
    Dec 2011
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ill buy u membership to make a monkfisher and ill help however i can to fix ur fletch

  11. #111
    Join Date
    Dec 2011
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    one last thing and this is perfect it keeps lighting on the same line(path) it just lit logs so it sometimes gets stuck and sometimes i dont think u can fix this but it says it cant light here when it can and just keeps walking and walking then logs u off...


    -Maybe you could make a location for Duel Arena i found it to be a great location right outside the bank down the side
    to many errors for this spot man cus color bot is not high tech enough to do this i think duel arena would work like a G bro check it out.


    -also the speed of the cursor is rather slow i dont no anyone that goes that slow very unhuman like..
    Last edited by cityreppin; 12-28-2011 at 12:31 PM.

  12. #112
    Join Date
    Dec 2011
    Location
    Hyrule
    Posts
    8,662
    Mentioned
    179 Post(s)
    Quoted
    1870 Post(s)

    Default

    i'll try out the latest version and let you know, thanks ether!

  13. #113
    Join Date
    Dec 2011
    Location
    Holland
    Posts
    545
    Mentioned
    0 Post(s)
    Quoted
    19 Post(s)

    Default

    Works great
    The only thing is what cittyreppin said: "one last thing and this is perfect it keeps lighting on the same line(path) it just lit logs so it sometimes gets stuck and sometimes i dont think u can fix this but it says it cant light here when it can and just keeps walking and walking then logs u off..."
    I do think you can fix this, you could make it switch north and south side of the road
    And as someone else already said, you could increase the mousespeed

  14. #114
    Join Date
    Dec 2011
    Location
    Holland
    Posts
    545
    Mentioned
    0 Post(s)
    Quoted
    19 Post(s)

    Default

    It ran too far and then ran north-west until it stopped at the tree south-west from the museum

    Simba Code:
    Burned correctly
    Walking to bank. The roadcolor is:8817553.
    6
    Walking to bank. The roadcolor is:8817553.
    10
    Walking to bank. The roadcolor is:8817553.
    12
    15
    using alternate method
    2
    [(641, 26), (663, 26), (586, 30), (646, 30), (667, 30), (680, 34), (620, 64), (582, 68), (641, 77), (629, 133), (633, 133), (637, 133), (642, 133), (646, 133), (650, 133)]
    There are 4 loads done.
    Banking kill is:0.
    Banking kill is:1.
    Banking kill is:2.
    Banking kill is:3.
    Banking failed, logging out...
    Successfully executed.

  15. #115
    Join Date
    Jul 2010
    Location
    Western US
    Posts
    387
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    It would seem that the radialroadwalk is not working right in slr...
    Of all the things I have lost, I miss my mind the most.
    Current Projects:
    Addy bar miner and superheater

  16. #116
    Join Date
    Dec 2011
    Location
    Hyrule
    Posts
    8,662
    Mentioned
    179 Post(s)
    Quoted
    1870 Post(s)

    Default

    did 40 loads until it broke on a random, very nice!

  17. #117
    Join Date
    Dec 2011
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default yo

    It worked great last night had it running for about 4 hours had to pause for randoms but only screwed up once cause of the lighting where a log was.

    cept i kept getting this message alot

    Error: Out Of Range at line 192
    The following DTMs were not freed: [SRL - Lamp bitmap, 1]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]


    Just got 96 firemaking :P
    Last edited by cityreppin; 12-29-2011 at 04:29 AM.

  18. #118
    Join Date
    Oct 2011
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Strange Rocks are absolutely destroying this bot the bot will just repeteadly hit cancel on the strange rock,

  19. #119
    Join Date
    Nov 2011
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    [Hint] (161:3): Variable 'ATPA' never used at line 160
    Compiled successfully in 781 ms.
    SRL Compiled in 16 msec

    I run the script it says this, nothing happens excpet for when i go to click simba then my mouse moves off of the program and clicks in the middle of the screen making it hard to stop the script.

  20. #120
    Join Date
    Dec 2011
    Location
    Holland
    Posts
    545
    Mentioned
    0 Post(s)
    Quoted
    19 Post(s)

    Default

    Quote Originally Posted by Weinstein View Post
    [Hint] (161:3): Variable 'ATPA' never used at line 160
    Compiled successfully in 781 ms.
    SRL Compiled in 16 msec

    I run the script it says this, nothing happens excpet for when i go to click simba then my mouse moves off of the program and clicks in the middle of the screen making it hard to stop the script.
    Looks like you didnt enable SMART and didnt pick a client either.
    At the beginning of the script it says "remove the // to use SMART", or something like that, try that

  21. #121
    Join Date
    Feb 2008
    Posts
    69
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    This seems to rarely make it out of the bank unless i do it manually. And then when it does it goes to the top right and gets stuck against the wall :/

  22. #122
    Join Date
    Feb 2009
    Location
    inside Hello World! Application
    Posts
    232
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    I think you should get rid of wait time for burning the logs, instead use the chatbox? Because when you start to light the it comes up with a message like "you start to light the logs " then wheb the logs are lit it says "the logs have caught fire". So if you make it repeat for 500-750ms until the chatbox has the; "the logs have caught fire" message then should be speeder? Because sometimes burn time varies depending on how fast you maybe click... Anyways try it out, it'd helped me when i tried messing around with firemaking so should help you too

    ~Bro433

  23. #123
    Join Date
    Dec 2011
    Location
    Hyrule
    Posts
    8,662
    Mentioned
    179 Post(s)
    Quoted
    1870 Post(s)

    Default

    only problem is that if it burns too fast it will start trying to make the new line of fires while the old line is still lit, causing it to crash

  24. #124
    Join Date
    Dec 2011
    Posts
    23
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I am using it, thank you for your contribution.
    Last edited by hhhzzzarn; 12-31-2011 at 02:15 PM.

  25. #125
    Join Date
    Jul 2010
    Location
    Western US
    Posts
    387
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Look for Verock west bank and falador west bank to be added soon! I am getting tired of clashing scripts in the Verock east bank.
    Of all the things I have lost, I miss my mind the most.
    Current Projects:
    Addy bar miner and superheater

Page 5 of 12 FirstFirst ... 34567 ... 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
  •