Page 1 of 4 123 ... LastLast
Results 1 to 25 of 87

Thread: [R2] Home's Essence Miner

  1. #1
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default [R2] Home's Essence Miner

    [R2] Home's Essence Miner

    Status Working




    Features:

    ~ Reflection 2
    ~ FailSafes
    ~ Handles Door & Kicks Stupid Dog To Ass.
    ~ AntiBan
    ~ SRL Stats
    ~ AntiRandoms (SRL)
    ~ MultiPlayer
    ~ Takes Random Breaks Because Of 6 Hour LogOut.
    ~ Informative Debug
    ~ Stable Script

    Change Log:

    ~ 0.1:

    - Inital Release

    ~ 0.2:

    - Re-Wrote / Changed Map Walking
    - Made New Essence Finding Function (Old One Gave Runtime Errors)
    - Added Re-Locating To Banking And Essence.
    - Added Timer For WaitForEssence
    - Improved OpenDoor (Should Work Always)
    - Improved AntiBan
    - Fixed Endless Loop
    - Added More Debugging
    - Added More Failsafes
    - More Random Checking
    - Some Great Speed Tweaks

    - 0.3:

    ~Fixed Infinite Loops
    ~Fixed Random Crashing
    ~Fixed Messing Up At Banking
    ~Added R_OpenBankNPC
    ~Added Loads Of More Random Checkings
    ~Optimized Script.

    ~Home
    Last edited by Home; 09-25-2011 at 02:04 PM.

  2. #2
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default Progress Reports.

    Progress Reports.

    Progress Report:
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++
                Home's Essence Miner 0.1
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Name           : ******
    Essence / Hour : 784
    Essence Mined  : 1814
    Worked         : 2 Hours, 21 Minutes and 56 Seconds
    Active         : True
    Time           : 05:30:29 PM
    -------------------------------------------------------





    ~Home
    Last edited by Home; 07-18-2011 at 02:36 PM.

  3. #3
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    Grats on the release

  4. #4
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Nice nice. I guess this means you got your tiles straightened out, yes?

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  5. #5
    Join Date
    Aug 2007
    Location
    England
    Posts
    1,038
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Nice, will give this a good workout and I will post my proggy or any bugs I find.
    Today is the first day of the rest of your life

  6. #6
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default

    Quote Originally Posted by Flight View Post
    Nice nice. I guess this means you got your tiles straightened out, yes?
    Yeah :P


    And yes people please post all bugs!
    Detailed bugs. Keep Debug ON.

    Edit: No Worries if it says "Could Not Walk To" And so on.. It just gives me good debug :P
    (It will use Failsafe then)
    Ohh and if it looks like it's stuck.. Let it go for a while, mostly it unstucks itself.


    ~Home
    Last edited by Home; 07-18-2011 at 12:15 PM.

  7. #7
    Join Date
    Jul 2011
    Location
    /home/litoris
    Posts
    2,226
    Mentioned
    0 Post(s)
    Quoted
    159 Post(s)

    Default

    Tried this on a new acc, It stopped when the character got level 2 mining message. I also can't make it run on unsigned when I modify the place at the bottom.

  8. #8
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default

    It should not stop because of that


    Simba Code:
    while not R_InvFull do begin
        if not R_WaitToAnimate(2000) then
          if not FindEssence() then Inc(C);

    Are your settings correct?

    ~Home

  9. #9
    Join Date
    Jul 2011
    Location
    /home/litoris
    Posts
    2,226
    Mentioned
    0 Post(s)
    Quoted
    159 Post(s)

    Default

    Quote Originally Posted by Home View Post
    It should not stop because of that


    Simba Code:
    while not R_InvFull do begin
        if not R_WaitToAnimate(2000) then
          if not FindEssence() then Inc(C);

    Are your settings correct?

    ~Home
    What do you mean "my settings"? I took the script and filled in the declareplayers, then tried to do it unsigned and edited the bottom, didn't work. I wet back to reflection1 now because some of my other scripts don't work with r2, so I can't test the script again. I'm not planning to use it anyway unless it has unsigned.

  10. #10
    Join Date
    Sep 2006
    Location
    West U.S.
    Posts
    2,172
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    sweet looking script!

    im going to do a quick run tonight and see how it goes.

    Will upload a quick proggy and feedback soon.

    EDIT:
    Kept getting this error:
    [Error] (121:13): Unknown identifier 'R_CountItemEx' at line 120
    Compiling failed.


    Am i not setting something up correctly?

    They are sisters...
    Runescape Classic

  11. #11
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default

    Quote Originally Posted by legendaryhero90 View Post
    sweet looking script!

    im going to do a quick run tonight and see how it goes.

    Will upload a quick proggy and feedback soon.
    I will be Uploading Version 0.2 tomorrow. Fixed Nasty Infinite loop, and improved Essence finding (Added Re-Locating)

    EDIT: Great updates coming tomorrow
    More smoother walking as example

    ~Home
    Last edited by Home; 07-18-2011 at 09:09 PM.

  12. #12
    Join Date
    Sep 2006
    Location
    West U.S.
    Posts
    2,172
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    i ran 0.2 beta for about an hour and got this.

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

    char stopped while in the middle of essence mine.

    im guessing it couldnt find the essence?

    They are sisters...
    Runescape Classic

  13. #13
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default

    Quote Originally Posted by legendaryhero90 View Post
    i ran 0.2 beta for about an hour and got this.

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

    char stopped while in the middle of essence mine.

    im guessing it couldnt find the essence?
    Was it near of Essence ( That Runtime error came from FindEssence() Function. Damn I suck at TPA's :P)

    EDIT: Fixed it. It's coming perfect all the time

    ~Home
    Last edited by Home; 07-19-2011 at 07:40 AM.

  14. #14
    Join Date
    Sep 2006
    Location
    West U.S.
    Posts
    2,172
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by Home View Post
    Was it near of Essence ( That Runtime error came from FindEssence() Function. Damn I suck at TPA's :P)

    EDIT: Fixed it. It's coming perfect all the time

    ~Home
    well thats good to hear.

    because that part was the script killer.

    it stopped everything dead and didnt even try to re log onto a different character.

    They are sisters...
    Runescape Classic

  15. #15
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default

    Quote Originally Posted by legendaryhero90 View Post
    well thats good to hear.

    because that part was the script killer.

    it stopped everything dead and didnt even try to re log onto a different character.
    Yes I know, because it was an Error which will Shutdown whole Process.

    But thanks for pointing me that out.


    ~Home

  16. #16
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default Update To 0.2!

    ~ 0.2

    - Re-Wrote / Changed Map Walking.
    - Made New Essence Finding Function (Old One Gave Runtime Errors)
    - Added Re-Locating To Banking And Essence.
    - Added Timer For WaitForEssence
    - Improved OpenDoor (Should Work Always)
    - Improved AntiBan
    - Fixed Endless Loop
    - Added More Debugging
    - Added More Failsafes
    - More Random Checking
    - Some Great Speed Tweaks

    ~Credits For This Release~
    - legendaryhero90
    - whacko999

    ~Home

  17. #17
    Join Date
    Aug 2007
    Location
    England
    Posts
    1,038
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Sweet, just downloaded 0.2 will test it out an get back to you
    Today is the first day of the rest of your life

  18. #18
    Join Date
    Sep 2006
    Location
    West U.S.
    Posts
    2,172
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by whacko999 View Post
    Sweet, just downloaded 0.2 will test it out an get back to you
    same for me!

    hopefully no more errors after this.

    They are sisters...
    Runescape Classic

  19. #19
    Join Date
    Jan 2009
    Location
    Turlock/LA, California
    Posts
    1,494
    Mentioned
    3 Post(s)
    Quoted
    66 Post(s)

    Default

    this script is running far smoother than v0.1 random issue though: when it detects a random, it logs out and stops script. when i log it back in (restart script), it does the random correctly and continues... idk if this a randoms include issue or your script.

  20. #20
    Join Date
    Sep 2006
    Location
    West U.S.
    Posts
    2,172
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by x[Warrior]x3500 View Post
    this script is running far smoother than v0.1 random issue though: when it detects a random, it logs out and stops script. when i log it back in (restart script), it does the random correctly and continues... idk if this a randoms include issue or your script.
    this.

    although i intervened with mine. One of my guys got into a maze random and the script didn't log out and instead looped while in the maze. It probably would have logged out but i didnt want to take my chances at an infinite loop.

    They are sisters...
    Runescape Classic

  21. #21
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default

    When those randoms occur.. Because that happens for me too, and to be hones I don't know why :S ?

    If someone knows, please tell.

    ~Home

  22. #22
    Join Date
    Aug 2007
    Location
    England
    Posts
    1,038
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Right been testing for a while now and it has been running really well, much better than the last. Lucky I was watching as I found this



    It has teleported into the mine behind the portal (if intentional by jagex very cunning). This is what was in the debug
    Code:
    Starting
    [04:39:41 PM] - Debug:     Depositing Essence
    [04:39:43 PM] - Debug: function Walk(Where: String): Boolean;
    [04:39:43 PM] - Debug:     Setting Run On
    [04:39:43 PM] - Debug:     Walking To Ess
    [04:39:59 PM] - Debug: function TeleportAubury: Boolean;
    [04:40:00 PM] - Debug:     Finding Aubury
    [04:40:01 PM] - Debug:     Finding Aubury
    [04:40:03 PM] - Debug:     Choosed Teleport Option
    [04:40:03 PM] - Debug: function WaitForEss: Boolean;
    [04:40:03 PM] - Debug:     Waiting For Essence Mine
    [04:40:04 PM] - Debug:     1 / 9 Seconds
    [04:40:06 PM] - Debug:     2 / 9 Seconds
    [04:40:07 PM] - Debug:     3 / 9 Seconds
    [04:40:09 PM] - Debug: procedure WalkToEss;
    [04:40:26 PM] - Debug:     We Have Failed To Find Essence Over 3 Times, Trying To Re-Locate Correct Position
    [04:40:26 PM] - Debug: procedure WalkToEss;
    [04:40:32 PM] - Debug:     We Have Failed To Find Essence Over 3 Times, Trying To Re-Locate Correct Position
    [04:40:33 PM] - Debug: procedure WalkToEss;
    [04:40:39 PM] - Debug:     We Have Failed To Find Essence Over 3 Times, Trying To Re-Locate Correct Position
    [04:40:39 PM] - Debug: procedure WalkToEss;
    [04:40:45 PM] - Debug:     We Have Failed To Find Essence Over 3 Times, Trying To Re-Locate Correct Position
    [04:40:45 PM] - Debug: procedure WalkToEss;
    [04:40:51 PM] - Debug:     We Have Failed To Find Essence Over 3 Times, Trying To Re-Locate Correct Position
    [04:40:51 PM] - Debug: procedure WalkToEss;
    [04:40:58 PM] - Debug:     We Have Failed To Find Essence Over 3 Times, Trying To Re-Locate Correct Position
    [04:40:58 PM] - Debug: procedure WalkToEss;
    Would be good to check to see if the char has moved in so much time then logout or search for portal. I helped it along, went through the portal and then teled back, left it again and after 4 hours 43 mins something even weirder for me happened. The script had stopped and the char was standing next to the essence rock. It said this in the debug
    Code:
    [06:25:21 PM] - Debug:     Waiting For Essence Mine
    [06:25:22 PM] - Debug:     1 / 9 Seconds
    [06:25:23 PM] - Debug:     2 / 9 Seconds
    [06:25:25 PM] - Debug: procedure WalkToEss;
    [06:25:35 PM] - Debug:     Found Essence Rock
    NextPlayer(False)
    SwitchToPlayer(PlayerNo: 0, Active: False);
    And this weird pic came up on my screen

    Which I can see when I hover over simba to. When i clicked on simba tho to see it the pic went. After all that here is the proggy of it to lol
    Progress Report:
    Status: /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
    Status: |     SRL Randoms Report       |
    Status: |       www.villavu.com        |
    Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
    Status: | SRL Logs          :        2 |
    Status: | Certers Solved    :        1 |
    Status: \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
     
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++
                Home's Essence Miner 0.2
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Name           : char
    Essence / Hour : 693
    Essence Mined  : 3275
    Worked         : 4 Hours, 43 Minutes and 19 Seconds
    Active         : False
    Time           : 06:26:43 PM
    -------------------------------------------------------
    Last edited by Jakkle; 07-19-2011 at 06:12 PM.
    Today is the first day of the rest of your life

  23. #23
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default

    Those Randoms shutdowns Happend for me in my GuildRanger Script. I have no idea why.

    For that it's standing on the Portal, It probaly walked to it. Because it couldn't get Essence Tile from Minimap.

    Is that full debug?

    And thanks for picture and everything!

    EDIT: I think I can solve that Portal issue by adding little failsafe for it. At the moment it will Do WalkEssence if it fails. But looks like it will Exit it because if it sees the essence tile on MS.

    ( = It won't walk )

    This script will be perfect probaly in 0.4 / 0.5

    You might ask why did I release already?
    Well most of those errors happens to you guys, not really for me



    ~Home
    Last edited by Home; 07-19-2011 at 06:24 PM.

  24. #24
    Join Date
    Aug 2007
    Location
    England
    Posts
    1,038
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    You can not move out from behind that portal I tried. So the bot was teleported to a spot which it can not move, very cleaver I say to catch bots.

    E: Yeah this was the last bit of the debug
    Code:
    Starting
    [06:25:01 PM] - Debug:     Depositing Essence
    [06:25:02 PM] - Debug: function Walk(Where: String): Boolean;
    [06:25:03 PM] - Debug:     Setting Run On
    [06:25:03 PM] - Debug:     Walking To Ess
    [06:25:18 PM] - Debug: function TeleportAubury: Boolean;
    [06:25:19 PM] - Debug:     Finding Aubury
    [06:25:21 PM] - Debug:     Choosed Teleport Option
    [06:25:21 PM] - Debug: function WaitForEss: Boolean;
    [06:25:21 PM] - Debug:     Waiting For Essence Mine
    [06:25:22 PM] - Debug:     1 / 9 Seconds
    [06:25:23 PM] - Debug:     2 / 9 Seconds
    [06:25:25 PM] - Debug: procedure WalkToEss;
    [06:25:35 PM] - Debug:     Found Essence Rock
    NextPlayer(False)
    SwitchToPlayer(PlayerNo: 0, Active: False);
    Full debug of the bit where it got stuck behind the portal which like I said I helped along.
    Code:
    Starting
    [04:39:41 PM] - Debug:     Depositing Essence
    [04:39:43 PM] - Debug: function Walk(Where: String): Boolean;
    [04:39:43 PM] - Debug:     Setting Run On
    [04:39:43 PM] - Debug:     Walking To Ess
    [04:39:59 PM] - Debug: function TeleportAubury: Boolean;
    [04:40:00 PM] - Debug:     Finding Aubury
    [04:40:01 PM] - Debug:     Finding Aubury
    [04:40:03 PM] - Debug:     Choosed Teleport Option
    [04:40:03 PM] - Debug: function WaitForEss: Boolean;
    [04:40:03 PM] - Debug:     Waiting For Essence Mine
    [04:40:04 PM] - Debug:     1 / 9 Seconds
    [04:40:06 PM] - Debug:     2 / 9 Seconds
    [04:40:07 PM] - Debug:     3 / 9 Seconds
    [04:40:09 PM] - Debug: procedure WalkToEss;
    [04:40:26 PM] - Debug:     We Have Failed To Find Essence Over 3 Times, Trying To Re-Locate Correct Position
    [04:40:26 PM] - Debug: procedure WalkToEss;
    [04:40:32 PM] - Debug:     We Have Failed To Find Essence Over 3 Times, Trying To Re-Locate Correct Position
    [04:40:33 PM] - Debug: procedure WalkToEss;
    [04:40:39 PM] - Debug:     We Have Failed To Find Essence Over 3 Times, Trying To Re-Locate Correct Position
    [04:40:39 PM] - Debug: procedure WalkToEss;
    [04:40:45 PM] - Debug:     We Have Failed To Find Essence Over 3 Times, Trying To Re-Locate Correct Position
    [04:40:45 PM] - Debug: procedure WalkToEss;
    [04:40:51 PM] - Debug:     We Have Failed To Find Essence Over 3 Times, Trying To Re-Locate Correct Position
    [04:40:51 PM] - Debug: procedure WalkToEss;
    [04:40:58 PM] - Debug:     We Have Failed To Find Essence Over 3 Times, Trying To Re-Locate Correct Position
    [04:40:58 PM] - Debug: procedure WalkToEss;
    [04:42:59 PM] - Debug:     Could Not Walk To (6545, 2991)
    [04:43:04 PM] - Debug: procedure WalkToEss;
    [04:43:11 PM] - Debug:     Found Essence Rock
    [04:43:11 PM] - Debug:     We Have Failed To Find Essence Over 3 Times, Trying To Re-Locate Correct Position
    [04:43:12 PM] - Debug: procedure WalkToEss;
    [04:43:12 PM] - Debug:     (10177, 3010) Is On MainScreen. No Need To Walk
    [04:43:12 PM] - Debug:     Re-Locating Successfull
    [04:44:18 PM] - Debug:     Inventory Full
    [04:44:18 PM] - Debug: function TeleportPortal: Boolean;
    [04:44:19 PM] - Debug:     Choosed Enter Option
    [04:44:19 PM] - Debug: function WaitForAubury: Boolean;
    [04:44:19 PM] - Debug:     Waiting For Auburys House
    [04:44:24 PM] - Debug: function Walk(Where: String): Boolean;
    [04:44:25 PM] - Debug:     Walking To Bank
    [04:44:41 PM] - Debug: procedure BankEss;
    Last edited by Jakkle; 07-19-2011 at 06:23 PM.
    Today is the first day of the rest of your life

  25. #25
    Join Date
    Nov 2006
    Location
    In an Amish Paradise
    Posts
    729
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I must be missing something from my includes because the script isn't compiling. It says R_GetObjectAt is not defined. I clicked to update my reflections and SRL but it continues to happen.

    What am I missing? Thanks,

    StupedSpam

Page 1 of 4 123 ... 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
  •