itexspert 47 Posted February 12, 2015 Report Share Posted February 12, 2015 Guys i have a weird issue my UI Stat monitor stops counting loops after a while about 430 loops and it stopped Counting i use SSUB and everything works but now i tested and it used to work fine before and i didn't changes anything important in the code and my variable for Looping is the same status monitor simply tracks the current number of that variable but for some reason in my HTML UI Panel after longer periods it stops counting??? Anyone had this issue before?? Quote Link to post Share on other sites
DavidM 3 Posted February 12, 2015 Report Share Posted February 12, 2015 I have had that issue before. Something that has worked for me is to add a little extra delay at either the top or bottom of the loop Like .5 second and see if that does not help. Quote Link to post Share on other sites
itexspert 47 Posted February 12, 2015 Author Report Share Posted February 12, 2015 Hmm more delay you say O.K will try! Any other Suggestion? Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted February 12, 2015 Report Share Posted February 12, 2015 Yes the stat is too slow need delay most likely but you can do .001 even or .0001 whatever works best for your situation Quote Link to post Share on other sites
DavidM 3 Posted February 12, 2015 Report Share Posted February 12, 2015 Yeah as Code Docta said you can start even lower. Start it very very low, test and increment it until the counting is accurate. Unfortunately, some of the code moves faster then the stat counter can keep up with. In fact I have had so many issues over the years that I was banging my head against the wall trying to fix and the reality is they all came down to a little extra delay!. All of us generally feel the need for speed, but after building a number of complex bots I have learned that faster isn't always better. However, that new communication plugin opens A LOT OF DOORS in terms of working with speed. Very excited about it! Total game changer. Quote Link to post Share on other sites
Edward_2 85 Posted February 13, 2015 Report Share Posted February 13, 2015 Clear the cache and memory after a certain amount of time. It may help Quote Link to post Share on other sites
itexspert 47 Posted February 20, 2015 Author Report Share Posted February 20, 2015 I did all Above you guys suggested Same result this is starting to bug me surely i am not only one with this problem i added 1 sec waiting time before Incrementing my variable but no luck its stuck after a while! Any more suggestions??? Quote Link to post Share on other sites
HelloInsomnia 1103 Posted February 23, 2015 Report Share Posted February 23, 2015 Does this only happen for one project? Have you tried to see what happens if you remove everything else? I would try that to see if it's actually a Ubot problem or another problem. Quote Link to post Share on other sites
itexspert 47 Posted February 23, 2015 Author Report Share Posted February 23, 2015 This is ubot thing this status monitor is not something we can control,I can only adjust waiting time those are my options?! Unless you have a better idea! Quote Link to post Share on other sites
itexspert 47 Posted February 24, 2015 Author Report Share Posted February 24, 2015 And to answer your question this happens on all my projects! Cant believe something as simple as counting is an issue here.... Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.