[TUTORIAL] When TRiBot Doesn't Work Correctly

TacoManStan
By TacoManStan in Tutorials,
Hello everyone! As you might have guessed, TRiLeZ is incredibly busy working on a lot of updates. Unfortunately, sometimes these updates cause a particular file, "hooks.dat", to get corrupted.
 
This corrupted hooks.dat file can cause your bot to get stuck, appear to endlessly run north, or sometimes even crash scripts completely (the following error might also look familiar to you). java.lang.ClassCastException: java.lang.Integer cannot be cast to [I The below instructions will help you reset your hooks.dat file and get your scripts working properly again!  
  Follow these instructions step by step, and it should resolve your issue. Open TRiBot's Settings folder. You can do this by following these steps: Open a TRiBot client (if you don't already have one open). Select the File menu. Select the View Local Scripts Folder option. Wait for the scripts folder to open. This will happen automatically. From the scripts folder, go back a couple of times until you are in the .tribot folder. From the .tribot folder, open the Settings folder. Leave the Settings folder open, and go to step #2. Close all TRiBot clients. Locate a file called "hooks.dat". This will be inside of the Settings folder that you opened in step #1. Delete the hooks.dat file. Restart your client. Start botting again! If this doesn't fix your issue, you can try sending the author of the script a PM to check if your problem is script related. Make sure you try the above steps first though!     Video Guide: https://imgrush.com/2MlutdKLWvVE.mp4
  • 30 replies