billyboy420 Posted May 20, 2018 Share Posted May 20, 2018 Hey guys I've been writing some scripts and I was wondering what the best way to test them is. I just got a one day ban and was thinking its probably because I'm just testing each part of my script over and over to get it perfect. Like such as banking and equipping gear. How do you guys test your scripts? Do you just try it once then do something else for half an hour then test again? Cheers Quote Link to comment Share on other sites More sharing options...
HeyImJamie Posted May 20, 2018 Share Posted May 20, 2018 Bans happen bro, just test away. The thought of waiting 30 minutes to test every minor part of a script kills me. Quote Link to comment Share on other sites More sharing options...
dreameo Posted May 20, 2018 Share Posted May 20, 2018 Testing each part is a great way to go. Good habit too. 1 Quote Link to comment Share on other sites More sharing options...
billyboy420 Posted May 21, 2018 Author Share Posted May 21, 2018 Thanks for the responses. I'm currently getting up an alt so my main wont get perm ban. Good luck! Quote Link to comment Share on other sites More sharing options...
0x7CB Posted May 21, 2018 Share Posted May 21, 2018 You are probably testing on a brand new account, high ban chance. Quote Link to comment Share on other sites More sharing options...
billyboy420 Posted May 21, 2018 Author Share Posted May 21, 2018 It was my main I was testing on but I'm not going to do that anymore. Quote Link to comment Share on other sites More sharing options...
Apaec Posted May 21, 2018 Share Posted May 21, 2018 You can test run the script as a whole when it is ready, but it's also good to soak-test different parts of the script. For example, create a new script (or modify your current one) to repeat a certain action perhaps 100 times (e.g withdraw required items from the bank, deposit all, repeat). This is a good way to test the rigidity of parts of the functionality of your script in a short time frame (thus hopefully reducing the likelihood of a ban). Also, it's important to test exceptional flows / edge cases. For example, what happens if you start your script in castle wars, or if you die while the script is running, or if your bank is full and you need to deposit something, or if the script misclicks on a ladder and ends up upstairs in a building, or ... (the list goes on). Naturally it is not possible to cover all cases as the possibilities for anomalies are pretty much endless with any script, but you can weigh the possibility of an edge case happening and decide to implement a solution accordingly. Apa 1 Quote Link to comment Share on other sites More sharing options...
billyboy420 Posted May 21, 2018 Author Share Posted May 21, 2018 Good ideas Apa! I'll start doing that. Man too many edge cases to think about. Quote Link to comment Share on other sites More sharing options...