Jump to content
UBot Underground

UI HTML Drop Downs Using Excessive CPU


Recommended Posts

Hey I posted this as a bug but im wondering if anyone can help me either solve this or workaround it. If you add a large list of 500+ to the "TestFile.txt" uBot pretty much freezes up and starts using massive amounts of CPU power even after the script is done running. This is troubling when loading things like links, large sets of account data ect…

 

 

ui html panel("<select variable=\"#VariableOfSelection\" fillwith=\"value\" style=\"width: 220px;\">
<optgroup variable=\"#mydropdown\" fillwith=\"innerhtml\"></optgroup>
</select>", 100)
set(#mydropdown, $read file("{$special folder("Application")}\\TestFile.txt"), "Global")
set(#mydropdown, "<option>{$replace(#mydropdown, "
", "</option>
<option>")}</option>", "Global")

 

If anyone knows a way to get the CPU to settle down or just any fix that would be great. Right now drop down menus are the only way to dynamically changeable selection menus.

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...