peak_positions 2 Posted June 26, 2012 Report Share Posted June 26, 2012 Hi, I created a big bot using Ubot version 4.1.4. The script is nearly about 10000 lines. Sometimes While opening the Script Ubot closed automatically. I've 2 tabs. While Switching tab It closed automatically. While Compile the bot Ubot is hanging & closed automatically. Waiting for a good solution for this problem. Thank You, Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted June 26, 2012 Report Share Posted June 26, 2012 i recently had this issue and was because i had to many nested if statements in it, and should have used else if for them. if you open ubot, go to code view, then open the .ubot file it should open for you Quote Link to post Share on other sites
peak_positions 2 Posted June 26, 2012 Author Report Share Posted June 26, 2012 I did TJ... But every time I should open the Script like this only. While opening the script it takes nearly 4-5min. Quote Link to post Share on other sites
peak_positions 2 Posted June 26, 2012 Author Report Share Posted June 26, 2012 Need a good Solution TJ... I don want to split my codings.. Need to create bot in one Script. If I Split the Codings I may miss Something. Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted June 26, 2012 Report Share Posted June 26, 2012 i understand i have a couple that way myself... Quote Link to post Share on other sites
illmill 87 Posted June 28, 2012 Report Share Posted June 28, 2012 What is the "split coding" workaround method you are speaking of? Is it just creating two (or more) bots and having the first one start the second one and so on? How do you do this? I think I need to do something like this on one of my bots i'm having problems with. Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted June 28, 2012 Report Share Posted June 28, 2012 Add your code into defined commands. This allows to group sections of code together then you can place that code into a new tab of ubot and call it anywhere in any tab of the bot for use from under custom commands. 1 Quote Link to post Share on other sites
illmill 87 Posted June 29, 2012 Report Share Posted June 29, 2012 Thanks TJ. Is there a turorial video somewhere so I can learn how to use the different tabs? I haven't done this yet because i'm not sure how to instruct the bot to execute commands on the other tabs. Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted June 29, 2012 Report Share Posted June 29, 2012 view my response here to this threadhttp://www.ubotstudio.com/forum/index.php?/topic/8618-define-command-best-usage/ then to call a custom command regardless which tab its coded in you can drag it in from the left side in any tab for use. 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.