Jump to content
UBot Underground

Recommended Posts

V2.2.3.1

Fix:

key press monitor: Key switch correctly.

auto free memory: crashing ubot (best work on v4)

 

Add option:

auto free memory: Memory Use (WARNING: Please go back and correct it.)

 

post-5560-0-09837700-1396958999_thumb.png

Link to post
Share on other sites
  • Replies 1k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

V2.3.1.0 Version of the test (I tested only preliminary. For people who want to try it). Add C/F: hide border style (this app): by name [http://www.youtube.com/watch?v=Cd88e9hW7r4] hide from taskbar

V2.3.0.0   Chang Name: fixed window size ==> fixed window size this app (Api new solution to "TeamViewer") fixed window size min/max ==> set window size min/max this app (Api new solution to "Te

You can download all versions of the URL that was sent to you via email. (beta version) is ideal for people who like to test the new command.

Posted Images

V2.2.3.1

Fix:

key press monitor: Key switch correctly.

auto free memory: crashing ubot (best work on v4)

 

Add option:

auto free memory: Memory Use (WARNING: Please go back and correct it.)

 

Cool!

Is it possible to add an option to track how many browser.exe it opened and its memory?

Link to post
Share on other sites

Cool!

Is it possible to add an option to track how many browser.exe it opened and its memory?

Why do you want to count. Counting "browser.exe" is important, however.

Link to post
Share on other sites

Why do you want to count. Counting "browser.exe" is important, however.

 

To keep track how many are they.

Also does the "auto free memory" command works on the "botname.exe" only? Does it work on "browser.exe"?

It would be cool if you can track the highest browser.exe memory then have an option to clean it when it reach the certain limit.

Link to post
Share on other sites

To keep track how many are they.

Also does the "auto free memory" command works on the "botname.exe" only? Does it work on "browser.exe"?

It would be cool if you can tract the highest browser.exe memory then have an option to clean it when it reach the certain limit.

 

 

OK., I would like to study and experiment with. "browser.exe" to find ways and effects.

Link to post
Share on other sites

Browser.exe that's a good hint.

 

As many of your probably know, there are a couple of problems with browser.exe from time to time:

http://www.ubotstudio.com/forum/index.php?/topic/14748-best-practices-caveats-and-code-for-working-with-ubot-browser/

 

So if the plugin would be able to monitor and close those frozen browser.exe processes, that would be a huge benefit. 

 

Dan

Link to post
Share on other sites

V2.2.3.2

Update:

auto free memory: count "botname.exe" + "browser.exe" (1 + X)

auto free memory: free memory for "browser.exe"

Link to post
Share on other sites

Would it be possible for the plugin to detect a crashed browser.exe?

 

Like this tool:

http://www.ubotstudio.com/forum/index.php?/topic/13968-free-automatically-close-ubot-browserexe-crashes-fix/

 

Dan

 

Im sure pash can create an onload command that if the browser.exe crash window appears it will automatically close it. It will check every 60 seconds just like the auto free memory.

Link to post
Share on other sites

Notice

Date 21 April 2014 to 29 April 2014.

I must look after my grandmother had knee surgery.
During that time, I will not reply you.

 

Thank.

Link to post
Share on other sites

Would it be possible for the plugin to detect a crashed browser.exe?

 

Like this tool:

http://www.ubotstudio.com/forum/index.php?/topic/13968-free-automatically-close-ubot-browserexe-crashes-fix/

 

Dan

 

 

Im sure pash can create an onload command that if the browser.exe crash window appears it will automatically close it. It will check every 60 seconds just like the auto free memory.

 

I tried to find a way to make "browser.exe crash" but also without success.

Who can make it happen "browser.exe crash" up, please guide me.

 

I want to test And add the requested functionality

Thank you.

Link to post
Share on other sites

Cleaned up the posts that should be sent in private messages.  including my own.  Great plugin I have purchased it myself as well.  good luck on more sales.

 

 

nice one TJ :)

Link to post
Share on other sites

I tried to find a way to make "browser.exe crash" but also without success.

Who can make it happen "browser.exe crash" up, please guide me.

 

I want to test And add the requested functionality

Thank you.

 

 

A sure way to make it crash is to run a bot on windows xp and it crashes all the time with browser.exe   that's the only way i know to reproduce it for certain.

Link to post
Share on other sites

I’m only referring to version 4 here and windows 7 for the paths (The digits in the files and folders are just an example) 

 

If the threading is done correctly the browser doesn’t crash for me, however it seems you can over load the browser cache, go to C:\Users\username\AppData\Local\Temp\ and delete any existing tmp560.tmp folders.

 

Then start ubot navigate to a site like Tumblr find a big blog with endless scrolling, make a while loop add a scroll command and delay run the bot, go and make a coffee or two and wait. When you get a browser lockup, go back to to C:\Users\username\AppData\Local\Temp\ tmp560.tmp\Cache you will see hundreds of files like f_000001. It is these files I believe need to be deleted after ex amount have accumulated

 

Single or mulit-thread these file are allowed to multiply out of control

 

Link to post
Share on other sites

Auto Free Memory

 

Memory use always shows: ,00 MB / 0 for me

 

Win 8.1 64bit

Ubot v4.2.20

 

PS: Will "Auto Free Memory" also working within the ubot dev environment? And when I start it via run directly instead of onload?

 

Dan

Link to post
Share on other sites

Auto Free Memory

 

Memory use always shows: ,00 MB / 0 for me

 

Win 8.1 64bit

Ubot v4.2.20

 

PS: Will "Auto Free Memory" also working within the ubot dev environment? And when I start it via run directly instead of onload?

 

Dan

It must work for the "onload" only.

Link to post
Share on other sites

Threads are not closed / killed when using Type Button thread control.

 

 

Reproduce:

Hit the run button multiple times

Hit stop button

repeat that 20 times.

 

Look at the threads counter of ubot in your task manager. 

It will increase but never go down.

 

 

set(#e, 0, "Global")
ui button("Run Threads (Button)") {
    ButtomThread1()
}
ui stat monitor("Threads (Button) E: "#e)
ui button("Pause") {
    plugin command("Advanced Ubot.dll""threads control""Pause")
}
ui button("Resume") {
    plugin command("Advanced Ubot.dll""threads control""Resume")
}
ui button("Stop") {
    plugin command("Advanced Ubot.dll""threads control""Stop")
}
ui stat monitor(""$plugin function("Advanced Ubot.dll""$threads control monitor"))
define ButtomThread1 {
    divider
    plugin command("Advanced Ubot.dll""threads control""Added Control (Type Button)")
    divider
    loop(10) {
        increment(#e)
        wait(1)
    }
}

 

 

With the type main example it works fine. 

Threads go up, and they go down in task manager with this example:

 

FirstThreadsConfig()
ui stat monitor("Variable A: "#a)
ui stat monitor("Thread: "$plugin function("Advanced Ubot.dll""$threads counter monitor""Total Threads"))
define FirstThreadsConfig {
    plugin command("Advanced Ubot.dll""threads control""Added Control (Type Main)")
    set(#lastPauseButtonPress$false"Global")
    set(#mainThreadStop$false"Global")
    thread {
        loop while($true) {
            wait(0.5)
            if(#mainThreadStop) {
                then {
                    stop script
                }
            }
        }
    }
}
ui button("Pause") {
    plugin command("Advanced Ubot.dll""threads control""Pause") {
        set(#lastPauseButtonPress$true"Global")
    }
}
ui button("Resume") {
    plugin command("Advanced Ubot.dll""threads control""Resume")
}
ui button("Stop") {
    set(#mainThreadStop$true"Global")
    wait(0.7)
    plugin command("Advanced Ubot.dll""threads control""Stop")
}
ui stat monitor(""$plugin function("Advanced Ubot.dll""$threads control monitor"))
set(#a, 0, "Global")
plugin command("Advanced Ubot.dll""threads counter""Reset")
loop(100) {
    plugin command("Advanced Ubot.dll""threads counter""Increment")
    thread {
        divider
        plugin command("Advanced Ubot.dll""threads control""Added Control (Type Threads)")
        divider
        loop(2) {
            increment(#a)
            wait($rand(1, 10))
        }
        plugin command("Advanced Ubot.dll""threads counter""Decrement")
    }
}

 

 

PS: Hitting the STOP PAUSE or RESUME button also starts a new thread with each click. And they are not closing either. 

 

Dan

Link to post
Share on other sites

Hi dan.

Forgot your configuration before use.

ui button("Run Threads (Button)") {

    ButtomThread1()

}

ui stat monitor("Threads (Button) E: ", #e)

ui button("Pause") {

    plugin command("Advanced Ubot.dll", "threads control", "Pause")

}

ui button("Resume") {

    plugin command("Advanced Ubot.dll", "threads control", "Resume")

}

ui button("Stop") {

    plugin command("Advanced Ubot.dll", "threads control", "Stop")

}

ui stat monitor("", $plugin function("Advanced Ubot.dll", "$threads control monitor"))

define ButtomThread1 {

    set(#e, 0, "Global")

    divider

    plugin command("Advanced Ubot.dll", "threads control", "Added Control (Type Button)")

    divider

    loop(10) {

        increment(#e)

        wait(1)

    }

}

post-5560-0-91821000-1397224442_thumb.png

Link to post
Share on other sites

The position of the variable has nothing to do with the threads issue I mentioned.

 

Problem:

If I stop the threads via the STOP button:

plugin command("Advanced Ubot.dll""threads control""Stop")

 

The threads are STILL running and not closed. You see that in the windows task manager.

 

Here is a video to show what I mean:

https://dl.dropboxusercontent.com/u/10322/Threads.mp4

 

 

And here is a video about pressing the PAUSE RESUME buttons multiple times:

https://dl.dropboxusercontent.com/u/10322/2.mp4

 

It's all done with your example scripts. the ones that come with the bot.

 

 

Dan

Link to post
Share on other sites

Disable "browser.exe crash" Dialog on Windows XP

 

- right-click on the “My Computer” icon

- select “Properties”

- switch to the “Advanced” tab

- and click on the “Error Reporting” button. In the Options dialog

- select the “Disable error reporting” radio button:

 

http://i.stack.imgur.com/1bjZg.png

 

 

 

Link to post
Share on other sites

Disable "browser.exe crash" Dialog on Windows XP

 

- right-click on the “My Computer” icon

- select “Properties”

- switch to the “Advanced” tab

- and click on the “Error Reporting” button. In the Options dialog

- select the “Disable error reporting” radio button:

 

http://i.stack.imgur.com/1bjZg.png

 

Thanks for this info pash. But customers wont like doing more work on their software..

We need an automatic solution to close the browser.exe crash.

 

I created a program on winautomation before and use it on my addmefast bot.

 

What it does:

- Loop while the current bot is still open

- search for browser.exe window every 120 seconds

- if found terminate that window

 

However, i forgot what is the exact window name of the browser crash.

 

Im sure you can do something like that since you have the onload commands.

Link to post
Share on other sites

Looks amazing. Can you use the minimize to tray command at bot startup? (so it never actually opens up, but goes straight to tray)

 

Thanks,

Marton

Link to post
Share on other sites

Looks amazing. Can you use the minimize to tray command at bot startup? (so it never actually opens up, but goes straight to tray)

 

Thanks,

Marton

Hi Marton.

You can use the command "minimize to tray" on command "on load" of ubot studio.

When "ubot studio" is loaded, it will be minimize to tray down in a few seconds.

Link to post
Share on other sites
  • PRO locked this topic
Guest
This topic is now closed to further replies.

×
×
  • Create New...