Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Einstein

[Windows] Delete hooks.dat and the Jagex Cache

Recommended Posts

Windows script that deletes hooks.dat and the Jagex cache

 

TRiBot can break on multiple levels.

  • Script issue
  • Client incompatibility with a new RuneScape release
  • Networking problems
  • Underlying JVM problem
  • Other user-caused errors

Most of the time, inexperienced users that encounter any kind of problem on any level, that makes the client load but prevents the script from working, are jumping to the conclusion that the script itself is broken, and they proceed to spam on its thread, or in some cases, they even start additional threads in which they ask how to fix the script.

 

A very large number of those problems can be easily fixed by deleting a few files and restarting the client twice.

Since the overwhelming majority of the users that do the things described above are very inexperienced with computers, here is the easiest way possible to delete all the files just by double clicking an icon.

 

Download:

Spoiler

E2HS8hx.png

Ironically enough, file uploading is broken at the moment.

Thanks @Naton for bringing up this issue.

 

@TRiLeZ please fix so I can spread my malware :angel:

 

 

Until the issue is fixed, users are kindly asked to do the following (it's very easy and you only need to do it once):

 

1. Open Notepad:

bAGfgXS.png

 

2. Copy this code and paste it in Notepad:

Spoiler

 

@ECHO OFF
TITLE #MakeTribotWorkAgain

TSKILL JAVA
TIMEOUT 1

CD %APPDATA%\.tribot\settings
DEL hooks.dat

CD %USERPROFILE%
DEL /F random.dat
DEL jagex_cl_oldschool_LIVE.dat
RMDIR /S /Q jagexcache

CLS
ECHO.
ECHO Files successfully deleted.
ECHO.
ECHO Please open TRiBot again.
ECHO.

:WAIT
ECHO.
ECHO Wait for the client to finish loading.
set /p input="Is the RuneScape login screen being displayed? (Y/N)"
IF /I NOT "%input%" == "Y" GOTO WAIT

TSKILL JAVA
CLS
ECHO.
ECHO SUCCESS!
ECHO TRiBot was probably fixed.
ECHO.
PAUSE

 

 

3. Click "Save As....":

IKxZGcF.png

 

4. Save this on you desktop. You can name it anything you want, but it's extremely important to write .cmd at the end of its name:

d2XfdpD.png

 

 

Done!

All you have to do now is double click the script anytime you want to run it (probably after every RuneScape update).

 

 

 

This script will:

  • Close all running instances of TRiBot
  • Delete hooks.dat
  • Delete the Jagex cache
  • Prompt the user to open TRiBot again and then close it, ensuring that the client was restarted twice

 

whbZcvy.png

Edited by Einstein
  • Like 3
  • Thanks 1

Share this post


Link to post
Share on other sites
On 8/22/2018 at 9:50 PM, derangedranger420 said:

Simply for clarification, this is the begin state of the issue, the mouse is on the pet toggle, then it will move the mouse to the mouse button toggle, switching it to one button mode. This is happening on every bot besides my simple alchers and whatnot.

Capture.PNG

Did you manage to fix this issue? - I am currently experiencing this.

Share this post


Link to post
Share on other sites
8 hours ago, t3l3 bl0ck3d said:

Did you manage to fix this issue? - I am currently experiencing this.

I've contacted the user and it turned out to be a script-specific bug, caused by a change made to the interface indexes.

You should notify the script's author about this issue.

 

  • Thanks 1

Share this post


Link to post
Share on other sites
Just now, Kefdar said:

Do you have some information what to do on a macbook?

Sure, the same process can be done manually.

Find and delete the Jagex cache and hooks.dat. If you are not sure about their location, you can readily find it by doing a quick search on the forums / google.

 

Please note that today's update affected certain client features and if your scripts are not working, it's probably happening because of the update, and deleting the file will not solve the issue.

 

Share this post


Link to post
Share on other sites
Just now, Kefdar said:

Actually de woodcutting script is not working. What needs to be done to restart it?

As mentioned previously, the client is not working properly due to a game update.

 

The only thing that can be done at this point is to wait for the development team to fix the game hooks, which will probably take a few hours.

 

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

    • 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
      • 59 replies
    • This release will:

      Add new internal framework for capturing exceptions


      Fix issue with not selecting the last column in world hopper (Thanks @Todd)


      Add a message about pin usage in Banking#openBank (Thanks @Todd)


      Disable the firewall by default (Thanks @Todd)


      Fix handling of the welcome screen after login (Thanks @Encoded)


      Fix wrong amount bank withdrawal (Thanks @Encoded)


      Fix Screen#isInViewport


      Fix Game#isInViewport (Thanks @Encoded)


      Call onBreakEnd for ListenerManager Breaking Listeners (Thanks @Encoded)


      Fix Prayer#getPrayerPoints NumberFormatException (Thanks @JoeDezzy1)



      Note: If you are using LG, please restart both the RS client and TRiBot.
        • Thanks
        • Like
      • 28 replies
    • This release will:

      Fix LG for both OSBuddy and RuneLite


      Fix issue where the resizable client isn't able to be made smaller (Thanks @JoeDezzy1)


      Fix detection of the logout game tab when resizable mode and side panels are enabled (Thanks @JoeDezzy1)


      Add initial support for Sentry to allow us to identify and easily debug exceptions happening with all TRiBot users


      Add methods to determine if the bank is actually loaded, and not just the overarching interface (Thanks @wastedbro)



      Upcoming updates:

      Improved CLI support


      Full Sentry support


      Much more
        • Like
      • 64 replies
    • This release will:

      Fix NPE in Camera API (Thanks @wastedbro)


      Update deposit box interface ids (Thanks @Encoded)


      Add various bank methods (Thanks @wastedbro)


      Banking#getWithdrawXQuantity


      Banking#getDefaultWithdrawQuantity


      Banking#arePlaceholdersOn




      Fix resizeable minimap bug (Thanks @wastedbro)


      Remove Java 8 requirement


      Please note: TRiBot is not yet fully compatible with Java 10+




      Fix the break handler issues by ensuring the break handler thread never gets paused


      Fix broken settings hooks



      Upcoming updates:

      Improved CLI support


      Much more



      Note: If you are using LG, please restart both the RS client and TRiBot
        • Like
      • 68 replies
    • This release will:

      Add support for using custom F key bindings to switch between game tabs (Thanks @erickho123)


      Fix tab opening for "Skills" and "Kourend Tasks" (Thanks @erickho123)



      Note: If you are using LG, please restart both the RS client and TRiBot
        • Like
      • 34 replies
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...