Jump to content
UBot Underground

Ui stat monitor


Recommended Posts

I'm trying to figure out how the ui stat monitor is working

 

Basically, the page is showing a number which is upated each time you do something (you earn credits)

Ex:

Credits today: 132

 

 

ui stat monitor("Credits Today", $exists(<outerhtml=w"<div>

<b>Credits today:</b> *

</div>">))

 

This is showing as:

Credits today: true

 

So it's not showing up the points, even tho i do see on the page that it's getting accumulated after doing actions.

 

How can i do this ?

Is there some tutorial somewhere for UI stat monitor ?

Once i understand it, i'll play around the UI html with it

 

Thanks

Link to post
Share on other sites

Ahhh thanks mate got it.

 

ui stat monitor("Credits Today", #credits)

loop(#loopnumber) {

set(#credits, $scrape attribute(<outerhtml=w"<div>

<b>Credits today:</b> *

</div>">, "innertext"), "Global")

 

 

Now guys, just use the SELECTOR to grab the INNERTEXT on the page you want to show

For instance, i wanted to show "Credits today"

 

 

Created a UI STAT monitor

Named it: "Credits today"

Content to track: #credits

 

Then created a variable like this:

 

Set command

Variable name #credits

New Value

$scrape attribute

Element to scrape

Used the selector and selected what i wanted on the page (you know when it highlights something ?)

Attribute to scrape

INNERTEXT

 

Hope it helps

Link to post
Share on other sites

Ok one last thing is missing.

To use this with

UI HTML PANEL !!!

 

 

Hummm MOM lol ?

 

 

Seriously, if someone has the html code so i can show the UI stats, that would be cool !

I got a gig tonight so i won't be able to play around with UB.

Pop/dance/rock/country/name it i can play it !

As long as it pays...

 

 

EDITED:

I just found this

http://www.ubotstudio.com/forum/index.php?/topic/12125-live-updating-of-ui-stat-monitor-in-ui-html-panel/

 

So we can't do this for now ?

Link to post
Share on other sites
  • 4 weeks later...
<div variable="#link" fillwith="innertext>"></div>

 

how to make html panel- ui stat monitor add image?

 

set(#loading, "<img src=\"http://.../images/loading.gif\">", "Global")

 

 

 

 

 

Link to post
Share on other sites
that would be cool...   doesn't that code you posted work?

 

ui stats monitor - image ok, working.

html panel  in ui stat monitor code - image no, don't working.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...