Jump to content

Interface object's getMessage() returns %1 instead of number


adc

Recommended Posts

Right, so I've been trying to parse the number out of the Barrows killcount. By creating a new RS2InterfaceChild and calling getMessage() from it, I get a return value of "Kill Count : %1" regardless of the number, which leads me to believe that %1 is a placeholder. How, then, can I get the actual number, instead of the placeholder?

Link to comment
Share on other sites

It's prolly stored in your player variables (ie. configs).

 

 

Okay, I'll look around the configs class for it, thanks. 

 

feel free to add anything else about obtaining the number if you know it guys tongue.png

 

 

Also, the % character isn't the problem, it's the %1, which is a placeholder for a variable, and for some reason the placeholder is returned instead of the value of the variable.

 

 

 

Edit: I'm poking through configs, but maybe someone can answer this for me: how exactly do I find a variable that I'm looking for in configs?

Edited by adc
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...