RobertPaulson
Member
- Joined
- Jun 2, 2012
- Messages
- 56
I saw another post on this and not trying to steal anyone's thunder but I find this to be the easiest method...
This will delete your WoW errors
Clear your NPC_Scan database
Clear the HB Cache, Compiled Assemblies, and logs
Update your SVN Bot's, Routines, and Pluggins
Peace,
BobHadBitchTits
Save the following into something like ClearCache.cmd and run it. Remove the SVN lines if you don't want them.
This will delete your WoW errors
Clear your NPC_Scan database
Clear the HB Cache, Compiled Assemblies, and logs
Update your SVN Bot's, Routines, and Pluggins
Peace,
BobHadBitchTits
Save the following into something like ClearCache.cmd and run it. Remove the SVN lines if you don't want them.
Code:
@echo off
REM -- Change the following two set lines to reflect your actual WoW and HonorBuddy BASE directories!
set WoW_Dir=C:\Program Files (x86)\World of Warcraft
set HB_Dir=C:\HonorBuddy
REM -- If your local isn't enUS then change the next line to your proper local...
set WoW_Local=enUS
cls
REM Leave the below alone unless you know what your doing
set SVN_64="C:\Program Files\TortoiseSVN\bin\svn.exe"
set SVN_86="C:\Program Files (x86)TortoiseSVN\bin\svn.exe"
set error1=The SVN command line tool doesn't seem to be installed...
Echo WoW directory set to %WoW_Dir%
Echo WoW Local set to %WoW_Local%
Echo HonorBuddy directory set to %HB_Dir%
Echo .
Echo ..
Echo ...
Echo Deleting Cache
If exist "%WoW_Dir%\Errors" del /q "%WoW_Dir%\Errors\*.*" >nul
If exist "%WoW_Dir%\Cache\WDB\%WoW_Local%\creaturecache*.wdb" del /q "%WoW_Dir%\Cache\WDB\%WoW_Local%\creaturecache*.wdb"
If exist "%HB_Dir%\Cache" del /q "%HB_Dir%\Cache\*.*" >nul
If exist "%HB_Dir%\Logs" del /q "%HB_Dir%\logs\*.*" >nul
If exist "%HB_Dir%\CompiledAssemblies" del /q "%HB_Dir%\CompiledAssemblies\*.*" >nul
Echo .
Echo ..
Echo ...
Echo Updating SVN, Please wait...
Echo .
If exist %SVN_64% (svn update -q %HB_Dir%\Routines\*.*) else if exist %SVN_86% svn update -q %HB_Dir%\Routines\*.* else echo %error1%
Echo ..
If exist %SVN_64% (svn update -q %HB_Dir%\Bots\*.*) else if exist %SVN_86% svn update -q %HB_Dir%\Bots\*.* else echo %error1%
Echo ...
If exist %SVN_64% (svn update -q %HB_Dir%\Plugins\*.*) else if exist %SVN_86% svn update -q %HB_Dir%\Plugins\*.* else echo %error1%
Echo Errors, Logs, Cache Cleared, and SVN updated...
pause
exit
Last edited: