Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Buy OSRS Gold

Sell OSRS Gold
TacoManStan

[TUTORIAL] How To Delete Hooks.dat

Recommended Posts

Hello everyone! As you might have guessed, TRiLeZ is constantly working on updates. Unfortunately, sometimes these updates — although it's usually a RuneScape update that is to blame — cause a particular file, to become corrupted: hooks.dat.

This corrupted hooks.dat file can cause your bot to get stuck, appear to endlessly run north, or sometimes even crash scripts completely. You may also see an error that is similar to the error shown below, although this is not always the case; it is also possible for hooks.dat to be corrupt without any error being displayed.

 java.lang.ClassCastException: java.lang.Integer cannot be cast to [I 


How To Remove hooks.dat

  • 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!

Edited by TacoManStan
  • Like 11

Share this post


Link to post
Share on other sites
Array
 

@TacoManStan

 

Did this but it just wont load any scripts. I can press the "Start Script" at the top of the client but nothing pops up

Wait a bit and then try again. That just means that TRiBot couldn't connect to the server. If it continues to happen, restart the client. Sometimes clients themselves become corrupt and the only thing you can do is restart.

Share this post


Link to post
Share on other sites

.lang.classcastexception ljava.lang.object cannot be cast to   

 

ive done what u have told me to do but i cant open view local script folder???

any help please it tells me location but when i look for it its nowhere to be seen""

ive even tried enabiling hidden files but it just not there??  

 

im running mac  

any help please

Edited by hellokitty123

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Our picks

    • Over the past few months, I’ve been working diligently on a new project - TRiBot X. Everything has been written from the ground up, with all of the best practices of software engineering. Every aspect of TRiBot has been re-imagined to support three main goals: flexibility, useability, and reliability.
        • Like
      • 50 replies
    • Come give us feedback on the next version of TRiBot!
        • Thanks
        • Like
      • 86 replies
    • TRiBot is looking to improve a lot of its customer relationship management, customer on boarding process, customer experience, design elements, community engagement and pretty much everything else you can imagine when it comes to marketing.

      Our goal: To ensure that the marketing done TRULY reflects the experience and does not shine an inaccurate light on what TRiBot is lacking in.

      So I ask, what do you love about TRiBot and what do you hate about TRiBot? What does O S Bot, Rune M8, PowR Bot and Dre amBot do better? (yes I purposely didn't spell it right 😂).

      Love, 

      RileyZ
        • Like
      • 25 replies
    • Over the last three weeks, I've been working on upgrading our server infrastructure. It's finally ready and is now live!

      Why?

      Increased reliability - less server errors


      Increased availability - less downtime


      Increased security - keeping us and you secure


      Increased capacity - ability to serve you better


      Increased speed - less waiting for things to load


      Faster development - server and service updates will come faster


      What are the changes?

      Move from a single AWS EC2 instance to AWS ECS (Elastic Container Service)


      Distributed computing


      Load balancing


      Git management of server files and filesystem


      Redis caching


      How?

      AWS ECS (with 10 EC2 instances)


      AWS ElastiCache (Redis)


      AWS Load Balancing


      AWS EFS (Elastic file system)


      Please bare with us as I continue to tune the server for maximum performance. Slow loading speeds may occur temporarily. I thank everyone for their patience.

      Please post on this thread if you experience any issues other than slow loading times.
        • Like
      • 51 replies
    • This release will:

      Fix prayers and world hopper API (Thanks @JoeDezzy1 and @erickho123)


      Improve banking API (Thanks @Encoded)


      Adds methods for returning and using Java Lists, rather than arrays


      Slightly randomizes some hardcoded behaviour


      Removes sleeps from waitConditions; the efficiency saving potential is negligible in these use-cases, therefore cleaner code is preferable


      Other back-end improvements





      Note: If you are using LG, please restart both the RS client and TRiBot.
        • Sad
        • Haha
        • Thanks
        • Like
      • 90 replies
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...