Page 25 of 100 FirstFirst ... 1523242526273575 ... LastLast
Results 601 to 625 of 2479

Thread: [SRL-6] Draynor Chop N' Bank | By Coh3n

  1. #601
    Join Date
    Mar 2007
    Location
    Finland, Espoo
    Posts
    96
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    Still? Does it even click the lamp?
    nope, doesn't even hover mouse over it...

    new proggy:
    Code:
    ***** STR: FOUND RANDOM: 'Surprise Exam' *****
    ***** STR: 'Surprise Exam' RANDOM SOLVING FAILED! *****
    Next Player
    Your Player Is Inactive, Terminating Script.
    [=================================================================]
    [                 Coh3n's Draynor Chop N' Bank!                   ]
    [============================ Rev.14 =============================]
    [                                                                 ]
    [      You have chosen to cut Oak trees.                          ]
    [                                                                 ]
    [      Ran For: 10 Hours, 20 Seconds                              ]
    [      Loads Done: 168                                            ]
    [      Logs Chopped: 4576                                         ]
    [      Levels Gained: 0                                           ]
    [      Exp Gained: 171600                                         ]
    [      Breaks: 0                                                  ]
    [                                                                 ]
    [=================================================================]
    [=================================================================]
    Successfully executed
    ~.::Alligaattor::.~
    *Forum Lurker*

  2. #602
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Wow very nice! I'll add that to the first post, and if someone could lend me an account with the rewards lamp on it, I could make a quick fix for that bug.

  3. #603
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    God your script is good!

    Monitored for 10 minutes and now gonna let it roll. Posting proggy when its done.
    There used to be something meaningful here.

  4. #604
    Join Date
    Mar 2007
    Location
    Finland, Espoo
    Posts
    96
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    hey I just began to think about script revision... it says your script is on rev 15 but the proggy says 14 ?!?
    ~.::Alligaattor::.~
    *Forum Lurker*

  5. #605
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by Alligaattor View Post
    hey I just began to think about script revision... it says your script is on rev 15 but the proggy says 14 ?!?
    I probably just forgot to change the SCRIPT_VERSION constant the last time I updated. It's nothing to worry about.

  6. #606
    Join Date
    Dec 2008
    Location
    Antartica
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    [================================================== ===============]
    [ Coh3n's Draynor Chop N' Bank! ]
    [============================ Rev.13 =============================]
    [ ]
    [ You have chosen to cut Willow trees. ]
    [ ]
    [ Ran For: 11 Hours, 47 Minutes and 11 Seconds ]
    [ Loads Done: 128 ]
    [ Logs Chopped: 3584 ]
    [ Levels Gained: 1 ]
    [ Exp Gained: 241920 ]
    [ Breaks: 8 ]
    [ ]
    [================================================== ===============]
    P.S. I'm taking over the world.

  7. #607
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by wabakoo420 View Post
    [================================================== ===============]
    [ Coh3n's Draynor Chop N' Bank! ]
    [============================ Rev.13 =============================]
    [ ]
    [ You have chosen to cut Willow trees. ]
    [ ]
    [ Ran For: 11 Hours, 47 Minutes and 11 Seconds ]
    [ Loads Done: 128 ]
    [ Logs Chopped: 3584 ]
    [ Levels Gained: 1 ]
    [ Exp Gained: 241920 ]
    [ Breaks: 8 ]
    [ ]
    [================================================== ===============]
    Very nice, added to first post.

  8. #608
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    I would be able to get good progress reports, but I keep getting randoms..
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

  9. #609
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by Sex View Post
    I would be able to get good progress reports, but I keep getting randoms..
    Is the script not detecting any of them?

  10. #610
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    No, it is. I mean SRL is failing to solve pretty much all of them.
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

  11. #611
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by Sex View Post
    No, it is. I mean SRL is failing to solve pretty much all of them.
    Oh. Alright, as long as it's not my scripts fault. A lot of the randoms work sometimes. At least they do for me.

  12. #612
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    I'll try to go for an overnight run. If it is still running in the morning I'll run it whilst at school as well. If all goes well it should be a 16+ hour proggy .
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

  13. #613
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by Sex View Post
    I'll try to go for an overnight run. If it is still running in the morning I'll run it whilst at school as well. If all goes well it should be a 16+ hour proggy .
    Haha just hope for the best.

  14. #614
    Join Date
    Dec 2008
    Location
    Antartica
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    [================================================== ===============]
    [ Coh3n's Draynor Chop N' Bank! ]
    [============================ Rev.14 =============================]
    [ ]
    [ You have chosen to cut Willow trees. ]
    [ ]
    [ Ran For: 9 Hours, 46 Minutes and 1 Seconds ]
    [ Loads Done: 127 ]
    [ Logs Chopped: 3555 ]
    [ Levels Gained: 0 ]
    [ Exp Gained: 239962 ]
    [ Breaks: 7 ]
    [ ]
    [================================================== ===============]

    wouldn't open lamp for some reason
    P.S. I'm taking over the world.

  15. #615
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by wabakoo420 View Post
    [================================================== ===============]
    [ Coh3n's Draynor Chop N' Bank! ]
    [============================ Rev.14 =============================]
    [ ]
    [ You have chosen to cut Willow trees. ]
    [ ]
    [ Ran For: 9 Hours, 46 Minutes and 1 Seconds ]
    [ Loads Done: 127 ]
    [ Logs Chopped: 3555 ]
    [ Levels Gained: 0 ]
    [ Exp Gained: 239962 ]
    [ Breaks: 7 ]
    [ ]
    [================================================== ===============]

    wouldn't open lamp for some reason
    Do you still have the lamp on the account? I'd like to fix the function if you trust me with your account.

    PM me the details if you don't mind. If you don't want me on your account, I completely understand, so don't worry.

  16. #616
    Join Date
    Dec 2008
    Location
    Antartica
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    nah I opened the lamp, if i get another one i'll hit you up though.
    P.S. I'm taking over the world.

  17. #617
    Join Date
    Mar 2007
    Location
    Finland, Espoo
    Posts
    96
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Do you still have the lamp on the account? I'd like to fix the function if you trust me with your account.
    I have lamp now in my inv...
    ~.::Alligaattor::.~
    *Forum Lurker*

  18. #618
    Join Date
    Dec 2009
    Location
    Newcastle, Australia
    Posts
    888
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Clear Debug Box, and Run this script, post what is in your debug box...

    SCAR Code:
    program New;
      {.Include srl\srl.scar}
    const
      skill = 'woodcutting';
    var
      LampTime, X, Y, I: Integer;
    begin
      SetupSRL
      GameTab(tab_Inv);
      if FindColorTolerance(x, y, 1084300, MIX1, MIY1, MIX2, MIY2, 40) then
      begin
        writeln('found color tolerance')
        if (FindTransparentBitmapTolerance(Lamp, x, y, clBlack, MIX1, MIY1, MIX2, MIY2, 40)) then
        begin
          writeln('found Transparent Bitmap')
          Inc(RandSolved[rand_Lamp]);
          TakeScreen('Lamp Random Solved');
          AddToSRLLog('******** SOLVED LAMP RANDOM ********');
          WriteLn('******** SOLVED LAMP RANDOM ********');
          Mouse(X, Y, 4, 4, True);
          Wait(1500 + Random(500));
          MarkTime(LampTime);
          writeln('Lamp Time Marked')
          for I := 1 to 4 do
          begin
            case (LowerCase(Skill)) of
              'attack': Mouse(81, 109, 12, 12, True);
              'strength': Mouse(139, 110, 12, 12, True);
              'ranged': Mouse(196, 113, 12, 12, True);
              'magic': Mouse(257, 117, 12, 12, True);
              'defence': Mouse(319, 109, 12, 12, True);
              'crafting', 'craft': Mouse(376, 111, 12, 12, True);
              'hitpoints', 'hp': Mouse(436, 112, 12, 12, True);
              'prayer', 'pray': Mouse(79, 166, 12, 12, True);
              'agility': Mouse(141, 166, 12, 12, True);
              'herblore': Mouse(199, 171, 12, 12, True);
              'thieving', 'thief': Mouse(258, 167, 12, 12, True);
              'fishing', 'fish': Mouse(325, 164, 12, 12, True);
              'runecraft', 'runecrafting': Mouse(375, 167, 12, 12, True);
              'slayer', 'slay': Mouse(436, 173, 12, 12, True);
              'farming', 'farm': Mouse(83, 224, 12, 12, True);
              'mining', 'mine': Mouse(137, 222, 12, 12, True);
              'smithing', 'smith': Mouse(197, 220, 12, 12, True);
              'hunting', 'hunt', 'hunter': Mouse(257, 222, 12, 12, True);
              'cooking', 'cook': Mouse(318, 227, 12, 12, True);
              'firemaking', 'fire': Mouse(378, 226, 12, 12, True);
              'woodcutting', 'wc': Mouse(439, 222, 12, 12, True);
              'fletching', 'fletch': Mouse(199, 275, 12, 12, True);
              'construction': Mouse(255, 277, 12, 12, True);
              'summoning': Mouse(323, 276, 12, 12, True);
            else
              Mouse(438, 113, 12, 12, True);
            end;
            writeln('selected a skill')
            Wait(500 + Random(200) + Random(100));
            if FindColorTolerance(X, Y, 5602449, 41, 75, 470, 302, 30) then Break;
            if (TimeFromMark(LampTime) > 10000) then
            begin
              Logout;
              Players[CurrentPlayer].Rand := 'Lamp';
              Exit;
            end;
            ClickToContinue;
          end;
          Mouse(416, 281, 7, 1, True);
          Wait(500 + Random(150) + Random(150));
        end;
      end;
    end.

    I edited the SRL findlamp function, so that it writes a line occasionally, telling us if it finds things...the error may lie in the SRL code...in which case it needs to be updated....

    Just set the constant up the top,and log in, and hit run...should work OK

    Sorry If I am intruding on your turf coh3n...

  19. #619
    Join Date
    Mar 2007
    Location
    Finland, Espoo
    Posts
    96
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    I ran that code and got this...


    Code:
    Successfully compiled (2204 ms)
    SRL Compiled in 16 msec
    found color tolerance
    Successfully executed
    ~.::Alligaattor::.~
    *Forum Lurker*

  20. #620
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by Bad Boy JH View Post
    Sorry If I am intruding on your turf coh3n...
    No worries, that was the function I was going to try to fix anyway, or rewrite.

    Quote Originally Posted by Alligaattor View Post
    I ran that code and got this...


    Code:
    Successfully compiled (2204 ms)
    SRL Compiled in 16 msec
    found color tolerance
    Successfully executed
    Okay so the Bitmap isn't being found. I'm going to run my account for a bit and see if I can get a lamp, then I can fix/rewrite that function.

  21. #621
    Join Date
    Mar 2007
    Location
    Finland, Espoo
    Posts
    96
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    i can lend you my acc
    ~.::Alligaattor::.~
    *Forum Lurker*

  22. #622
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by Alligaattor View Post
    i can lend you my acc
    Alright that's awesome, but I don't think I'll get time to fix it in the next couple days as I'm really busy. I may as well just try to get one on my account in the meantime. If I need your account later, I'll let you know.

    Thanks,
    Coh3n

  23. #623
    Join Date
    Mar 2007
    Location
    Finland, Espoo
    Posts
    96
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    okay, i'll keep it on my inv then.
    ~.::Alligaattor::.~
    *Forum Lurker*

  24. #624
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by Alligaattor View Post
    okay, i'll keep it on my inv then.
    I actually got some time right now, if you want to PM me your details.

  25. #625
    Join Date
    Jan 2009
    Posts
    32
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Line 5: [Error] (5:11): Unknown identifier 'SmartIsKeyDown' in script

    Keep getting this error, no idea why.

Page 25 of 100 FirstFirst ... 1523242526273575 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 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
  •