Page 8 of 15 FirstFirst ... 678910 ... LastLast
Results 176 to 200 of 366

Thread: Infinity: Guild Miner

  1. #176
    Join Date
    May 2007
    Location
    Everywhere
    Posts
    1,428
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    0.99 is pretty much ready to come out. Just making sure with a few more things...


    If you manually drop your pick AFTER the main check is done this will happen:



    This will NEVER happen with my script, can only happen if you manually drop your pick *AFTER* the program has checked failsafes. I just dropped my pickaxe for the hell of it to see what would happen.

    I'll add a failsafe for it anyways in 1.00, even though it will never happen.
    Last edited by Cstrike; 11-19-2010 at 09:38 PM.

  2. #177
    Join Date
    Sep 2006
    Location
    Texas
    Posts
    1,349
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Btw will this version include sms stats?

    would be helpful

  3. #178
    Join Date
    May 2007
    Location
    Everywhere
    Posts
    1,428
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Squancy View Post
    Btw will this version include sms stats?

    would be helpful
    Sorry hadn't got that far
    Just finished making it recognize all the proper data and stuff... I'd say the hardest battle I had in making this script was making all the stats for multiple players come out properly without them accidentally adding on/resetting each other [etc].
    For 1.00 I will add Stats to it.

    BTW I'm uploading 0.99 pretty much now...

    EDIT: Jesus almost 2700 lines of code... wopw

  4. #179
    Join Date
    Sep 2006
    Location
    Texas
    Posts
    1,349
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Sounds good!!

    OMG, im on standbuy.

    Miners are ready for GO!

    Progress Report:
    {============[ Progress Report ]============}
    ******* Overall script time: 06:49:01 *******
    {-------------------------------------------}
    { Account: oin
    {   - Ore mined: 750
    {      > Coal mined: 702
    {      > Mithril mined: 48
    {   - Gems mined: 6
    {      > Sapphire mined: 3
    {      > Emerald mined: 1
    {      > Ruby mined: 1
    {      > Diamond mined: 1
    {   - Experience gained: 39390
    {   - Time worked: 01:19:55                  }
    {   - Exp/hr: 29569                          }
    {   - GP gained: 225243                      }
    {--------------------------------------------}

  5. #180
    Join Date
    May 2007
    Location
    Everywhere
    Posts
    1,428
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    The only problem is I don't think I did the final proggy really well , it may end up sucking as a report because I focused on the on screen stats


    Well since it's a new release, tell me what you think or any bugs you find. I added ~300 lines of code IIRC since last time (!), and while I did run it for long periods of time, you never know with huge armies.

    I'll patch up the debug box in the final version.


    0.99 RELEASED

  6. #181
    Join Date
    Sep 2006
    Location
    Texas
    Posts
    1,349
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hmm i have it enabled to see the paint on screen and so far i see nothing?

    do i have to wait after it does a first load?

  7. #182
    Join Date
    May 2007
    Location
    Everywhere
    Posts
    1,428
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Squancy View Post
    Hmm i have it enabled to see the paint on screen and so far i see nothing?

    do i have to wait after it does a first load?
    Yep, only updates after banking. I tried doing it while mining but it ended up slowing down the bot and causing lag to constantly debug.

  8. #183
    Join Date
    Sep 2006
    Location
    Texas
    Posts
    1,349
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ok, also, how does the "rest" feature work?

    It keeps turning run on then off, then on and off. Randomly on different amounts of energy.

    Turned it off at 50, then turned it back on at 54. Then turned it off at 20 and turned back on at 22.

    This is while mining of course.

    E: First proggie.

    {====[ Current Player Progress Report ]=====}
    {****** Overall script time: 00:09:33 ******}
    {-----------------(0.99)--------------------}

    And it debugged on screen! Which looks nice!
    Last edited by Overtime; 11-19-2010 at 11:01 PM.

  9. #184
    Join Date
    May 2007
    Location
    Everywhere
    Posts
    1,428
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Squancy View Post
    Ok, also, how does the "rest" feature work?

    It keeps turning run on then off, then on and off. Randomly on different amounts of energy.

    Turned it off at 50, then turned it back on at 54. Then turned it off at 20 and turned back on at 22.
    I think that's the reflection code include. I tried looking in my code for SetRun(false) [which would turn it off] and I didn't find it at all. I don't invoke any 'turn run off commands', though it might also be a problem on the SRL end.
    This seems to happen when I bring the client up and down. I might have to whip up my own reflection hook grabbing code to get the data and abort the reflection data reader since as you said, I can't have it keep clicking the thing.


    EDIT: I'm going to run this code, this is where I placed my fixes at

    Simba Code:
    //line 1420 approximately
        // Regain energy if need be
        case random(2) of
          0:  begin
              if R_GetMMLevels('energy') < 10 then
              begin
                R_Rest(100);
                wait (500+random(1500));
                SetRun(true);
              end else
                SetRun(true);
              end;
          end;

    and also

    Simba Code:
    // line 1448 approximately
        case random(3) of
          0: InfGM_EnableRunIfAt(RandomRange(95, 100));
        end;

    I'll test this out and see if it helps. If so I'll remove 0.99 and re upload the new 0.99
    Last edited by Cstrike; 11-19-2010 at 11:07 PM.

  10. #185
    Join Date
    Sep 2006
    Location
    Texas
    Posts
    1,349
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Alright sounds good

    Right now im setting up 25 players to mine at Varrok so i can get thier stats up and send them to the guild!

    Hopefully that fix u posted works.

  11. #186
    Join Date
    May 2007
    Location
    Everywhere
    Posts
    1,428
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Race is on!, after I run my testing accoutn into the ground with a random, I'm going to get my 9 army men up to 60 mining and go nuts.

  12. #187
    Join Date
    Nov 2006
    Location
    Planet Earth
    Posts
    351
    Mentioned
    0 Post(s)
    Quoted
    26 Post(s)

    Default

    this was not with .99

    in abyssal plane.

    Progress Report:
    06:44:05 [Main] Beginning mining operation.
    Warning: Somehow we are not inside the guild, aborting procedure
    06:49:53 Error: Had trouble getting from guild to the guild basement ladder.
    [Reflection] Might be in a random(missing InRandom function), terminating.
    06:49:58 [Lost] We are not at the main locations... attempting to check if we can be retrieved from above ground.
    06:49:58 Player is not anywhere in the defined ranges, player is lost... setting abort count to max
    {============[ Progress Report ]============}
    ******* Overall script time: 06:49:58 *******
    {-------------------------------------------}
    { Account: thx
    {   - Ore mined: 1074
    {      > Coal mined: 937
    {      > Mithril mined: 137
    {   - Gems mined: 6
    {      > Sapphire mined: 5
    {      > Emerald mined: 1
    {      > Ruby mined: 0
    {      > Diamond mined: 0
    {   - Experience gained: 58260
    {   - Time worked: 00:40:33                  }
    {   - Exp/hr: 86178                          }
    {   - GP gained: 310887                      }
    {--------------------------------------------}
    06:49:58 [Abort] Abort count for current player was 3 or more. Changing player...
    NextPlayer
    SwitchToPlayer(PlayerNo: 0, Active: False);
    1
    2
    4
    Player is not Active...
    All players not active!
    {*********[ Final Progress Report ]*********}
    ** Overall script time: 06:49:59 **
    {-------------------------------------------}
    Account: thx
      - Ore mined: 1074
         > Coal mined: 937
         > Mithril mined: 137
      - Gems mined: 6
         > Sapphire mined: 5
         > Emerald mined: 1
         > Ruby mined: 0
         > Diamond mined: 0
      - Experience gained: 58260
      - Time worked: 00:00:00
      - Exp/hr: 223598112
      - GP gained: 310887
    {-------------------------------------------}
    
    {-------------------------------------------}
    {      LOADING FINAL PROGRESS REPORT        }
    {-------------------------------------------}
    
    {*********[ Final Progress Report ]*********}
    ** Overall script time: 06:49:59 **
    {-------------------------------------------}
    Account: thx
      - Ore mined: 1074
         > Coal mined: 937
         > Mithril mined: 137
      - Gems mined: 6
         > Sapphire mined: 5
         > Emerald mined: 1
         > Ruby mined: 0
         > Diamond mined: 0
      - Experience gained: 58260
      - Time worked: 00:00:00
      - Exp/hr: -965824439
      - GP gained: 310887
    {-------------------------------------------}
    Thank you for using Infinity: Guild Miner


    time for .99

  13. #188
    Join Date
    Jun 2008
    Location
    Stocking you
    Posts
    264
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    lol im sad to say that i dont have armies ready for this script, but i will keep testing it with my character
    as soon as this script finishes that i am currently running ill upgrade to .99!
    rainbows are red, violets are blue, shut the heck up,
    or I will crush you...

    Don't Poems just make you happy?

  14. #189
    Join Date
    Feb 2009
    Location
    Irvine, CA
    Posts
    2,873
    Mentioned
    8 Post(s)
    Quoted
    138 Post(s)

    Default

    so just to clarify, you're ok with me borrowing your guassian functions right cstrike?

  15. #190
    Join Date
    May 2007
    Location
    Everywhere
    Posts
    1,428
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by TomTuff View Post
    so just to clarify, you're ok with me borrowing your guassian functions right cstrike?
    Of course ! Borrow as much as you like!

  16. #191
    Join Date
    Aug 2010
    Posts
    24
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    http://gyazo.com/e4655b178c1eed9c2affa36bcaaebc53.png

    this is on .99, and its also happened on .95
    cant determine what might be causing this, seems completely random to me T_T;;

  17. #192
    Join Date
    May 2007
    Location
    Everywhere
    Posts
    1,428
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by kevinnxd View Post
    http://gyazo.com/e4655b178c1eed9c2affa36bcaaebc53.png

    this is on .99, and its also happened on .95
    cant determine what might be causing this, seems completely random to me T_T;;
    Did you just get a random?
    Do you minimize/maximize/click away and then back on the screen?

    Doing either of those throws off the client (beyond my control).
    If it's a random problem (definitely can be), then Naike has to update them. What I can do for you is throw in waits into the find random command so that if you run into any randoms, it will wait until you're on the MS so you're not considered lost.

  18. #193
    Join Date
    Jun 2008
    Location
    Stocking you
    Posts
    264
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Progress Report:
    {============[ Progress Report ]============}
    ******* Overall script time: 13:54:22 *******
    {-------------------------------------------}
    { Account: 
    {   - Ore mined: 1959
    {      > Coal mined: 1959
    {      > Mithril mined: 0
    {   - Gems mined: 12
    {      > Sapphire mined: 4
    {      > Emerald mined: 1
    {      > Ruby mined: 7
    {      > Diamond mined: 0
    {   - Experience gained: 98850
    {   - Time worked: 03:01:00                  }
    {   - Exp/hr: 32766                          }
    {   - GP gained: 560676                      }
    {--------------------------------------------}

    switching over to .99
    rainbows are red, violets are blue, shut the heck up,
    or I will crush you...

    Don't Poems just make you happy?

  19. #194
    Join Date
    Sep 2006
    Location
    Texas
    Posts
    1,349
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Cstrike, I can confirm that the fix you posted above does work.

    Please include that into your latest version. What it did.

    While running around through the mine, it got below 10 Energy.

    It stopped, rested next to the coal.

    Got between 95-100 and turned on run.

    Now it is mining

    Will post a proggie when i can, today is going to be a busy day for me.

  20. #195
    Join Date
    May 2007
    Location
    Everywhere
    Posts
    1,428
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Alright TY Today is going to be a busy day for me as well

  21. #196
    Join Date
    Jun 2008
    Location
    Stocking you
    Posts
    264
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    hey im getting random long wait times in between coal clicks. is that supposed to be more human because it seems more botish... its really noticeable too, it will sit there for like20 seconds and then finally click on another rock
    rainbows are red, violets are blue, shut the heck up,
    or I will crush you...

    Don't Poems just make you happy?

  22. #197
    Join Date
    May 2007
    Location
    Everywhere
    Posts
    1,428
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by xSaintias View Post
    hey im getting random long wait times in between coal clicks. is that supposed to be more human because it seems more botish... its really noticeable too, it will sit there for like20 seconds and then finally click on another rock
    It might be the antiban settings. There is one that causes it to wait.
    Does it happen all the time or only on select times?

  23. #198
    Join Date
    Jun 2008
    Location
    Stocking you
    Posts
    264
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by cstrike View Post
    It might be the antiban settings. There is one that causes it to wait.
    Does it happen all the time or only on select times?
    select times... a lot of times it will be clicking fine, then randomly it will stop and wait 20 seconds (even though there is coal spawned) before clicking coal again.
    rainbows are red, violets are blue, shut the heck up,
    or I will crush you...

    Don't Poems just make you happy?

  24. #199
    Join Date
    May 2007
    Location
    Everywhere
    Posts
    1,428
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by xSaintias View Post
    select times... a lot of times it will be clicking fine, then randomly it will stop and wait 20 seconds (even though there is coal spawned) before clicking coal again.
    Yeah probably the antiban

    If you want, one possible way to fix this is:
    Scroll to line 905
    Change 61..70: wait(8000+random(8000));
    Change those 8000 waits to like 1

    61..70: wait(1+random(1));

    Then replace the code and see how it runs

  25. #200
    Join Date
    Jun 2008
    Location
    Stocking you
    Posts
    264
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by cstrike View Post
    Yeah probably the antiban

    If you want, one possible way to fix this is:
    Scroll to line 905
    Change 61..70: wait(8000+random(8000));
    Change those 8000 waits to like 1

    61..70: wait(1+random(1));

    Then replace the code and see how it runs
    thanks ill try it and get bacK with you.
    EDIT: lol i guess the coal mined is messed up because i mined at least 2.5k coal
    Progress Report:
    Final progress report:
    {*********[ Final Progress Report ]*********}
    ** Overall script time: 15:26:15 **
    {-----------------(0.99)--------------------}
    { Account (nickname): iner                  }
    {   * Ore mined: 27                         }
    {      - Coal mined: 27                     }
    {      - Mithril mined: 0                   }
    {   * Gems mined: 0                         }
    {      - Sapphires: 0                       }
    {      - Emeralds: 0                        }
    {      - Rubies: 0                          }
    {      - Diamonds: 0                        }
    {   * Experience gained: 1350               }
    {   - GP gained: 7290                       }
    {-------------------------------------------}

    stuck in giles random... does reflection hate me or something?
    anyways nice proggie
    Last edited by xSaintias; 11-21-2010 at 01:46 PM.
    rainbows are red, violets are blue, shut the heck up,
    or I will crush you...

    Don't Poems just make you happy?

Page 8 of 15 FirstFirst ... 678910 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •