Jump to content
UBot Underground

v5....base64 images flashing in UI Stat Monitor???


Recommended Posts

  • 2 years later...

Anyone having this issue?  Is there a reason or work around for this. This is only happening in Version 5 not version 4 :(

 

True. I'm experiencing with slow load of an icon (only 500 bytes or so) and constant flashing on UI interface as well.

 

Any solution or this?

Link to post
Share on other sites

Bump.

 

Is it possible that this kind of uBOT's behavior is some usual thing... or I might have made a mistake somewhere..?

 

Thanks in advance!

Link to post
Share on other sites

Well, I didnt find this in the tracker http://tracker.ubotstudio.com/search?utf8=%E2%9C%93&q=base64&scope=all&all_words=&all_words=1&titles_only=&issues=1&news=1&documents=1&changesets=1&wiki_pages=1&messages=1&projects=1&submit=Submit

 

They can fix what they don't know.

Are you using a .png?

500 might be kinda big... the UI is just a browser.

 

which browser are you using?

have you asked support about this?

CD

Link to post
Share on other sites

Well, I didnt find this in the tracker http://tracker.ubotstudio.com/search?utf8=%E2%9C%93&q=base64&scope=all&all_words=&all_words=1&titles_only=&issues=1&news=1&documents=1&changesets=1&wiki_pages=1&messages=1&projects=1&submit=Submit

 

They can fix what they don't know.

 

Are you using a .png?

 

500 might be kinda big... the UI is just a browser.

 

which browser are you using?

 

have you asked support about this?

 

CD

 

Thank for reply CD.

 

I use Chrome 21 and yup, I'm using .png... So, you think it can be kinda big for browser to load it properly? Actually, there is a lag until the image is loaded then it starts blinking non-stop... FYI, I'm using direct image URL, not done through base64 converter, so the issue seems to be the there no matter the way through which you try to load image in your browser.

Link to post
Share on other sites

how are you using it?

 

ui stat monitor("<img class=\"ipsUserPhoto ipsUserPhoto_large\" src=\"http://network.ubotstudio.com/forum/uploads/profile/photo-5979.gif?_r=1448104171\"itemprop=\"image\">" ,"")

or html panel?

  • Like 1
Link to post
Share on other sites

how are you using it?

 

 

ui stat monitor("<img class=\"ipsUserPhoto ipsUserPhoto_large\" src=\"http://network.ubotstudio.com/forum/uploads/profile/photo-5979.gif?_r=1448104171\"itemprop=\"image\">" ,"")

or html panel?

 

Thanks for helping me CD.

 

 

My call for image is inside define command (on the separate tab from the main) and it looks exactly like this:

    set(#segment,"<span style=\"color:#FF8000;font:bold;\"><i><img src=\'http://sociallikes.net/icons/sc.png\'> Likes...</i></style>","Global")

On the main tab, it's under the UI Stat Monitor in the shape of variable, since I need one image to show up after certain criteria, being active for some time and then replaced with another one:

ui stat monitor("<b>Segment:</b>",#segment)

Did I do anything wrong?

Link to post
Share on other sites

your welcome,

 

 

try this

set(#segment,"<span style=\"color:#FF8000;font:bold;\"><img src=\'http://sociallikes.net/icons/sc.png\'> Likes...</style>","Global")
ui stat monitor("<b>Segment:</b>",#segment)

I just removed <i> and </i>

I got an image.

:)

CD

  • Like 1
Link to post
Share on other sites

Thanks, CD a lot! :)

 

I also found that it works perfectly if you convert image to Base64, like the example below:

    set(#yt_icon,"<img src=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAMAAAC6V+0/AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6REM1QUE3RDhGMjI4MTFFNUEyQzZCNjdCNkRERjI1NkEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6REM1QUE3RDlGMjI4MTFFNUEyQzZCNjdCNkRERjI1NkEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpEQzVBQTdENkYyMjgxMUU1QTJDNkI2N0I2RERGMjU2QSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpEQzVBQTdEN0YyMjgxMUU1QTJDNkI2N0I2RERGMjU2QSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pv1fIEsAAABgUExURaioqPzQz+1DQ+67utJwb1xcXOSVlJh0c+pkY64uK////8jW1s9QTs0TENiJiL8FA+rn58cmItMnJNyqqdg6OcchHuf8/M03NPXd3Ok2NP709MAxL9gwLZodGZwlIr4eGVfNUEYAAADrSURBVHjaXM+NboUgDAXgSgEnVgQU0SuXvv9brnq3Je7kkDQfPwng7Ne/WAdi6hFRIFX1I4ciWA90jyyHglXJYADMn6oVino5B8ZIRwjg3OsX3Y2mD+bCAueNADCOBkK/CZ6CYi+A8Dl8vSl47DJsmxtHaXBuPwQTIWLX4d5hJwspCdY0zZJpkl5J9YShptNrTVOlnO7UQTBXHRaaqWtnpkF2BFNMs7ekLe5Ww1LyhTHGySMRerLLgoXjAC3mOFvU+oP+5NigcWb2dg8eg9U7RuYG/ZuZcyxyrUSWMvfy3dba+ycytNaHbwEGAH2IFKnFBm+/AAAAAElFTkSuQmCC>","Global")

Later you simply call variable you set (in this case --> #yt_icon) wherever you need image to show up. It works perfectly, w/o blinking.

  • Like 1
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...