learner 0 Posted September 24, 2019 Report Share Posted September 24, 2019 I created a simple bot with a couple of UI Text boxes.When I type something in on the UI, I see the variable immediately update in the debugger and I can use those variables. However, after I run through it a couple times, updating the UI no longer has any effect (it doesn't update the variables in the debugger). Even clearing the variables doesn't help. But, when I restart UBOT, it once again works (I can see the variable being updated as I type it) Am I using UI Text box wrong? Quote Link to post Share on other sites
HelloInsomnia 1103 Posted September 24, 2019 Report Share Posted September 24, 2019 It would help if you can post some code. Quote Link to post Share on other sites
learner 0 Posted September 25, 2019 Author Report Share Posted September 25, 2019 It would help if you can post some code. The idea is the set some variables that can be changed in the UI Text box.Then change to a random proxy and user agent in each loop.Doesn't work: changing the headerDoesn't work: the code pulls in the text from the UI Text box when running it the first time. After that changing the UI text boxes doesn't seem to have any affect on the variable and the bot keeps using what was already set in memory. sample file is included. In order to test this you have to feed it a file with proxys and useragents so that it will load up a browsers. Without that, when I run it, the problem may not happen (i.e. the variables will update). I'm probably just missing something when setting up variables. Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted September 25, 2019 Report Share Posted September 25, 2019 What version of ubot are you using? It seems to be working in 5.9.55. Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted September 25, 2019 Report Share Posted September 25, 2019 5-9-37 and 5-9-55 setup links.txt can try one of these versions too Quote Link to post Share on other sites
learner 0 Posted September 26, 2019 Author Report Share Posted September 26, 2019 I'm using 6.0.4. I've seen some comments that the latest version is not stable/buggy but I can't believe that simple variables don't work correctly. Recap of my test case - you must fill in the proxies and user agent and other variables and run the code. After it's done, try changing the # of loops and other variable and watch the debugger. They are not updating. So I've create the variables and UI Text box correctly? Is the changing of headers also correct? It seems to have no affect. I'll try the previous version and report back. 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.