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!![]()
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!![]()
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
Is your xp counter top right of the chatbox?
e: Beaten by KB...
Scripting with ogLib
Thanks for the help guys. However, I can't figure out exactly to get the exp bar there.
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
Ahh, got it! Thanks again!
There are currently 1 users browsing this thread. (0 members and 1 guests)