May 20, 20187 yr 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
May 20, 20187 yr Bans happen bro, just test away. The thought of waiting 30 minutes to test every minor part of a script kills me.
May 21, 20187 yr Author Thanks for the responses. I'm currently getting up an alt so my main wont get perm ban. Good luck!
May 21, 20187 yr 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
May 21, 20187 yr Author Good ideas Apa! I'll start doing that. Man too many edge cases to think about.
Create an account or sign in to comment