-
Content Count
46 -
Joined
-
Last visited
Posts posted by nicolai
-
-
In theory its a great idea, but majroity of ubot users like things such as changing proxy ip's and web app would not do that I dont think.
-
I would like to run a stop watch feature showing how long the bot has been running since clicking the start button.
Would the above script work for this?- 1
-
It is not built into Ubot, there are a couple of plugins that do it though, this one is free:
TJ's system commands: http://network.ubotstudio.com/forum/index.php/topic/20737-21-free-plugins-being-given-away/
In the end I used FileFolderCommand plugin to get file size.
This function gets the file size of the downloaded file and then, displays the file size in the html + also increases the total data downloaded and also converts the bytes to two decimal MB number.
Took me around 6 hours to get it working correctly!
define get_file_size(#file_path) { set(#this_file_size,$plugin function("FileFolderCommands.dll", "$get file info", #file_path, "Total Size"),"Global") set(#total_data_downloaded_bytes,$add(#total_data_downloaded_bytes,#this_file_size),"Global") set(#this_file_size_downloaded_mb,$number format($divide(#this_file_size,1048576)),"Global") set(#total_data_downloaded_mb,$number format($divide(#total_data_downloaded_bytes,1048576)),"Global") }
Thank you everyone for helping me.
- 2
-
use "$image dimension" (inside have option)
thank you m8!!!
-
use "$image dimension"
Sorry, I meant file size ie bytes.
-
Please add: get image size.
-
why is divide a mystery? it is the same as the rest.
in most fields just put
4/2
so use the
/
to divide.
Regards,
Nick
I am using code view.
EG: set(#this_file_size_mb,$eval($divide(#file_size,1024)),"Global")
This does not seem to work even when #file_size is a numeric value.
-
Sorry, found the answer by searching. Thanks.
and the answer is?
I am trying to simply divide two numbers and its driving mental trying to look for answer.
I can see its possible to add numbers. multiple numbers. Subtract numbers. but divide number? Is a mystery.
-
Hi everybody.
Why is this so complicated? Surely there is an easier way to get the size in bytes of a downloaded file?
Is it not built into ubot studio already? -
Abbas Ultimate Plugin will let you know the filesize mate.
Thank mate. do you have a links to this plugin?
-
Yes exactly the same.
They count up for a while and then simply stop.
Here is screenshot of code...
I have ui stat monitor at top of the page and the variables are being updated in the loop of the main process. -
Hmmm...I put stat monitor but seems to stop working after a while.
-
Use a stat monitor.
Example:
ui text box("Total Loops:",#total loops) ui stat monitor("Total Loops:",#total loops) ui stat monitor("Loop:",#count) set(#count,0,"Global") loop(#total loops) { wait(1) increment(#count) } wait(2) set(#count,"completed","Global")
Thanks for that! I have the basics working for me now.
-
I dont really know how to explain well what I want to do so have made a screenshot.
If its not possible topass the variables to the header part, is there anyway to reduce the blue block? -
I am still not understanding how to implement this.
For example...
{this_is_my_current_code}
Do I do this in the first tab where my main code is?
thread spawn(5,5) {in new browser {{this_is_my_current_code}}} -
I have made a robot and currently I open the .exe 16 times in order to run the processes. The problem is there is a 10-25 second delay between launching each .exe and till it opens.
Is there a way I can either:
1. open 1 instance of the .exe and it opens 16 tabs and runs that same processes as tab 1or
2. open 1 instance and then it spawns 16 times.
-
You can always make a bot that does this for you!
Probably but would prefer it to be in the software itself. Would be one less step during development.
-
-
Hi Dan,
I moved my code around a bit and now when I run its launching the Updater.exe but it crashes.
This is my code. -
HI,
I am not able to download script.
Its giving me a html page instead when I try to download. -
Hi Dan,
Nice looking plugin for sure and thank you in advance for your time to help me.
I tried it but not sure cos its not working for me.
When I am starting the 1.4 version of my bot on my computer, I was thinking that it should check the remote xml file and see that it says 1.5 and then download the new version from my server but bot just starts as if nothing has happened.
On my computer I have Updater.exe in same folder as bot file.
Here is screenshot of my bot code and xml file. -
Would be really nice feature in developers version, so that after I have compiled the bot, it sends a copy of it to my server.
Currently when I compile the bot, i then have to open filezilla and upload the bot.
Would save some extra clicks.
Something like this would be brilliant. -
Yes, your source code and all the plugins you enabled are sent to the Ubot server. They compile it on their server and then the compiled bot will download to your PC.
Dan
I think they should make it clear in software during compiling what is happening.
At least for some form of transparency sake.
It's concerning to me that my source code is being transmitted over internet to someones server without me knowing.
For example...
-
Yes, your source code and all the plugins you enabled are sent to the Ubot server. They compile it on their server and then the compiled bot will download to your PC.
Dan
thanks for reply dan.
But fuckety bollocks, means that when I want to compile I have to upload 20mb file.
When I was developing on my VPS compiling was really fast as upload is 1GB connection through data centre, but now that I am running ubot on my new windows laptop from home office, as my upload speed is only 750kb it kills the internet for several minutes.
I will need to get fibre connection me thinks or solid 4g connection.
[Free] Execution Time Script
in Bots and Scripts
Posted
Looks like good plugin. I downloaded. thank you.
So if I put in my script: plugin command("Diagnosticfunctions.dll", "Stop Watch Start") where I want the stop watch to start, how I make it show the elapsed time in ui stat monitor()?