Results 1 to 6 of 6

Thread: ERROR: TRSChatbox.getXP(): Failed to find text to read

  1. #1
    Join Date
    Jan 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default ERROR: TRSChatbox.getXP(): Failed to find text to read

    Hi, this error: ERROR: TRSChatbox.getXP(): Failed to find text to read

    Keeps showing up (about 3 times a second) but the bots appears to still work fine. Any idea how to fix it? Thanks!

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

    Default

    Not all scripts rely completely on reading the XP bar from the chatbox, that explains why scripts might still function properly even if you receive this error.

    For the function in question to work correctly, the xp counter must be positioned in the top-right corner of the chatbox.

    Example image:

    If you place your xp counter as shown, then the scripts will be able to read the xp amount and use the data for whatever they need.
    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

  3. #3
    Join Date
    Apr 2015
    Location
    FireFox
    Posts
    528
    Mentioned
    10 Post(s)
    Quoted
    227 Post(s)

    Default

    Is your xp counter top right of the chatbox?

    e: Beaten by KB...
    Scripting with ogLib

  4. #4
    Join Date
    Jan 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Thanks for the help guys. However, I can't figure out exactly to get the exp bar there.

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

    Default

    Quote Originally Posted by antiqueroadshow View Post
    Thanks for the help guys. However, I can't figure out exactly to get the exp bar there.
    Unlock your interfaces and drag it over.
    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

  6. #6
    Join Date
    Jan 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Ahh, got it! Thanks again!

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
  •