Snowydell Posted January 26, 2015 Share Posted January 26, 2015 Here's what I'm talking about: traversePath(PATH_PORTAL_TO_BANK, false); bank.depositAll(); Would it complete the path then bank or should I just make the banking a seperate enum. I'm having trouble knowing when to make a new enum or not because then technically couldn't the script be written in one enum with a lot of sleeps. I would think the more enums the better due to there being less bugs because of it. Basically what i'm tyring to say is, when to make a new enum or not. Link to comment Share on other sites More sharing options...
Joseph Posted January 26, 2015 Share Posted January 26, 2015 im not really sure what your saying? What about do a trial and error test. See if it works. 1 Link to comment Share on other sites More sharing options...
Snowydell Posted January 26, 2015 Author Share Posted January 26, 2015 (edited) im not really sure what your saying? What about do a trial and error test. See if it works. What I'm saying is would it walk and bank or would it skip over the banking part basically when the bot is walking is it frozen on that line of could until it stops? I would do a trial and error but I already made the extra enums and would have to change all the if statemements in the getstate Edited January 26, 2015 by Snowydell Link to comment Share on other sites More sharing options...
Mysteryy Posted January 26, 2015 Share Posted January 26, 2015 What I'm saying is would it walk and bank or would it skip over the banking part basically when the bot is walking is it frozen on that line of could until it stops? I would do a trial and error but I already made the extra enums and would have to change all the if statemements in the getstate You need to add conditionals to your code. You cant just add two lines; walkToBank bank You need to add in the proper logic to make it know when to walk to the bank and when to bank. 1 Link to comment Share on other sites More sharing options...
Joseph Posted January 26, 2015 Share Posted January 26, 2015 (edited) use my snippet as an example http://osbot.org/forum/topic/64779-safe-cracker-snippet/?p=711297 Edited January 26, 2015 by josedpay Link to comment Share on other sites More sharing options...
Snowydell Posted January 26, 2015 Author Share Posted January 26, 2015 Thanks for the help guys Link to comment Share on other sites More sharing options...