Results 1 to 8 of 8

Thread: Lodestone Procedure Not Working - Better Way?

  1. #1
    Join Date
    Jun 2015
    Location
    New Zealand
    Posts
    322
    Mentioned
    2 Post(s)
    Quoted
    131 Post(s)

    Default Lodestone Procedure Not Working - Better Way?

    Hi,

    Here is my lodestone procedure. Could you please let me know why it's not working? Is there a better alternative?

    Thanks

    procedure lodestoneToKaramja();
    begin
    if not isLoggedIn() then
    exit;

    lodestoneScreen.teleportTo(LOCATION_KARAMJA);
    wait(randomRange(10000, 13000));
    end;

  2. #2
    Join Date
    Jun 2014
    Location
    Oklahoma
    Posts
    336
    Mentioned
    22 Post(s)
    Quoted
    231 Post(s)

    Default

    Its like 15 seconds at least. Add some more wait time.

    You can also make it wait for the lodestone minimap icon to appear then you'll know for sure it arrived

  3. #3
    Join Date
    Jun 2015
    Location
    New Zealand
    Posts
    322
    Mentioned
    2 Post(s)
    Quoted
    131 Post(s)

    Default

    Yeah but at the moment it clicks the loadstone but it doesn't click karamja

  4. #4
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    Quote Originally Posted by kiwikiwi View Post
    Yeah but at the moment it clicks the loadstone but it doesn't click karamja
    Open the screen, wait for a beat or two, and then make the call to .teleportTo()

    Could be that the internal call to .open() that is made from .teleportTo() doesn't wait long enough for the screen to actually appear?
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols

  5. #5
    Join Date
    Dec 2014
    Posts
    383
    Mentioned
    2 Post(s)
    Quoted
    206 Post(s)

    Default

    Don't mean to sound rude or anything but honestly I just made two tboxes and used that for teleporting. I find the built in lodestones very glitchy and sometimes don't work for me, might be different for others though just my 2c not complaining or anything

  6. #6
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    Quote Originally Posted by theholyone View Post
    Don't mean to sound rude or anything but honestly I just made two tboxes and used that for teleporting. I find the built in lodestones very glitchy and sometimes don't work for me, might be different for others though just my 2c not complaining or anything
    How long ago was this? I have always found the lodestone system incredibly useful. But maybe Jagex updated it recently and ruined it.
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols

  7. #7
    Join Date
    Dec 2014
    Posts
    383
    Mentioned
    2 Post(s)
    Quoted
    206 Post(s)

    Default

    Quote Originally Posted by KeepBotting View Post
    How long ago was this? I have always found the lodestone system incredibly useful. But maybe Jagex updated it recently and ruined it.
    I would say I stopped using the built in lodestone functions around 2 updates ago.. I think...

    it was probably due to some slight change in location of boxes etc.

    that, or if SRL uses bitmap / dtm to find location spots, was the problem.

    don't think anybody really uses it often enough to get the same error as I do though,was on my laptop using lodestone teleport every minute or so to charge glories

  8. #8
    Join Date
    Oct 2015
    Location
    Nowhere
    Posts
    134
    Mentioned
    2 Post(s)
    Quoted
    64 Post(s)

    Default

    Quote Originally Posted by theholyone View Post
    I would say I stopped using the built in lodestone functions around 2 updates ago.. I think...

    it was probably due to some slight change in location of boxes etc.

    that, or if SRL uses bitmap / dtm to find location spots, was the problem.

    don't think anybody really uses it often enough to get the same error as I do though,was on my laptop using lodestone teleport every minute or so to charge glories
    How the SRL lodestone functions work is it tries to find the window red title color -> if true, will try to find the string "lode" -> if true, will click on a preset point.

    Just tested teleporting to Karamja and it works fine. You said it's opening the lodestone window but not clicking karamja? Is something blocking the top left of the lodestone window, like the treasure hunter popup?

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
  •