My favorites | Sign in
Project Home Downloads Wiki Issues
Search
for
ErrorsAndSolutions  
Possible errors and their solutions regarding to BWHF Agent.
Featured
Updated Feb 17, 2010 by icz...@gmail.com

BWHF Agent errors and solutions

Can't start BWHF Agent?

First check if you have Java installed in your system. BWHF Agent requires the 32-bit version of Java 6.0 or higher. Type in a command window to check what version and if you have Java installed:

java -version

You can download and install Java here: http://www.java.com/download

You can start the program with any of the following programs/scripts:

  • BWHFAgent.exe (preferred)
  • BWHFAgent.cmd
  • BWHFAgent-console.cmd (opens a console window for detailed error messages; good for debugging)
Or on linux and OS-X platforms:
  • BWHFAgent.sh (you might need to set executable privilige first)

I have Java installed, still can't start

BWHF Agent requires the 32 bit version of java. If you installed the 64 version, please install the 32 bit version too, and if neccessary, edit the starter scripts to use the 32 bit version's java.exe and javaw.exe.

Another cause can be that even if you might have java installed in your system, the java.exe and the javaw.exe commands are not available because their folder is not in the execution path.

You can fix this in 2 ways:

  • You can add the java installation folder to your PATH environment. In fact you have to add the bin subfolder of it where actually the java exe files are located. For example this folder can be: "C:\Program Files\Java\jre6\bin" Google it how to set/change the PATH environment variable.
  • You can edit the BWHFAgent.cmd and BWHFAgent-console.cmd scripts, and add the full path of java.exe where it is installed. Don't forget to put it in quotes if the directory names contain spaces. For example: "C:\Program Files\Java\jre6\bin\java.exe" -Djava.library.path=...

Tip: you can check the value of the PATH environment variable by typing PATH in a command window.

Autoscan, PCX autoconversion or Player checker doesn't work?

You have to set Starcraft directory to let BWHF Agent know where to look for LastReplay.rep and screenshot files.

Can't report hackers?

You have to select your gateway corresponding to where you play in order to report hackers. Moreover you need a valid autorization key. You can read about these keys here: AuthorizationKeys

I think BWHF Agent is misbehaving, but I don't see any errors

Try to start the program with the BWHFAgent-console.cmd script on windows platform. That way you get a console where you might see some errors and details.

In a case when error or exception occurs, you are welcome to report it by creating an issue here in the Issues tab.

People from the hacker list joined my game, but BWHF Agent didn't alert me

Check if you have the player checker enabled on the Player checker tab. To issue a player check, you have to press the 'Print Screen' (or 'PrtScn') key on your keyboard. Player check only works in the game lobby. BWHF Agent reads the player names from the screenshot saved by Starcraft, so be sure you move your mouse out of the way (so it won't overlay player names). BWHF Agent only notifies you of players reported with the same gateway as you set in your autoscan tab. Check if you have set the gateway and if you set the right one.

If you use Advloader too, it disables making screenshot in the game lobby. Try it without Advloader. I don't know why it disables lobby screenshot.

If you still don't hear anything, check if your sound is not muted in BWHF Agent on the general settings tab.

If the hacker was just recently reported, your local cache of the hacker list might not yet contain it. You can initiate a manual update of your local cache of the hacker list at any time by pressing the 'Update now' button on the Player checker tab.

I have MAC OS-X and I can't start BWHF Agent

I will give some hints here about how to start BWHF Agent on MAC OS-X. There is also a detailed, step-by-step instruction page, be sure to check it out: BWHFonMAC

First thing you should know is that you need Java 6.0 or newer to run BWHF Agent. On some old MAC only Java 5.0 is available. Check out this link which helps you to install Java 6.0 on old MAC computers:

http://support.apple.com/downloads/Java_for_Mac_OS_X_10_5_Update_1

You can verify the verssion of your java by typing the following command on a console/terminal:

java -version

Once you confirmed you have Java 6.0, you can start the Agent by executing the BWHFAgent.sh starter script. You might need to give executable permission on it. You can do that if you open a terminal/console, navigate to the BWHF Agent's folder, and enter the following command:

chmod +x BWHFAgent.sh

If you someone can't execute the script (for example it always opens in an editor or something), then open a console/terminal, navigate to the BWHF Agent's folder, and enter the command that is inside the BWHFAgent.sh starter script (open it in an editor, copy the command from it and paste it to the terminal). It should start now.

If you have multiple Java installed (like 5.0 and 6.0), you might need to alter the command, and add the path to your Java 6.0 version.

MAC OS-X test case

Let's say you extracted BWHF Agent to the folder: /home/joe/BWHFAgent. This is how you can start it: Open a terminal/console, and type the following commands:

cd /home/joe/BWHFAgent
chmod +x BWHFAgent.sh
./BWHFAgent.sh

(The chmod command is required only once, at the first start.)

If that fails, try this one:

cd /home/joe/BWHFAgent
java -Xmx320m -cp lib/BWHFAgent.jar:lib/pcx.jar hu/belicza/andras/bwhfagent/BWHFAgent
Comment by jfrancis...@gmail.com, Dec 13, 2009

Could find the main class: hu/belicza/andras/bwhfagent/BWHFAgent. Program will exit ??!! whats mean that?

Comment by project member icz...@gmail.com, Dec 13, 2009

It depends on what operating system do you have. If you try to run it on linus or on OS-X from command line, then first navigate to the BWHF Agent's folder, then try to run the starter script. You might have to give executable permission on the starter script.

Comment by GooSeFis...@gmail.com, Dec 23, 2009

hey my aka on starcraft is suki(cc) someone spoofed my name and now im on this. all the people i play think i hack because of this so i get banned. or dodged. i have several other aka's that arnt on bwhf with well over 4000 games collectively. yet someone diddnt like me on this name and i was spoofed i need to be taken off the hackers list any help? please and thankyou for reading my message@!! my email is goosefish87@gmail.com

Comment by cmatzn...@gmail.com, Dec 31, 2009

Mac user, and this program WILL NOT open!!!! Very frustrated and there is no usable info about this on the web. Appreciate any help!

Comment by project member icz...@gmail.com, Jan 1, 2010

I added a section for MAC users.

Comment by cmatzn...@gmail.com, Jan 13, 2010

I checked the section, have java 1.5, and still cannot run BWHF. If you can help me, I will pass this info on to my clan members, and as many other mac users as possible. Thank you!

Comment by project member icz...@gmail.com, Jan 13, 2010

You need Java 6.0 not 5.0.

Comment by renje...@gmail.com, Jan 14, 2010

ok i do have java 6.0 ( 1.6.0_17-b04-248-10M3025) and it doesn't work... can you do a clear tutorial ( like step by step... ) this is my error :

java -Xmx320m -cp lib/BWHFAgent.jar:lib/pcx.jar hu/belicza/andras/bwhfagent/BWHFAgent "$1"

P.S. Im running snow leopard ! thanks !!!

Comment by project member icz...@gmail.com, Jan 14, 2010

You forgot to inlcude the error message (you only posted the command which should start the Agent).

Comment by cmatzn...@gmail.com, Jan 16, 2010

Ok, so I definitely have java 6. Console reports this error.

1/16/10 6:22:52 PM [0x0-0x1b01b].com.apple.java.JavaPreferences?151? SystemFlippers?: didn't consume all data for long ID 0 (pBase = 0x10012de30, p = 0x10012de34, pEnd = 0x10012de38)

Not sure what that means, but from what I understand all the players I play with that use macs, cannot seem to get BWHF to work. I would love to help over come this problem, as I am deathly sick of hackers.

Comment by project member icz...@gmail.com, Jan 17, 2010

This error doesn't seem like BWHF Agent related. I think it's something to do with your system and Java. As I don't have a MAC and I don't know MAC, I cannot help you in this.

Comment by renje...@gmail.com, Jan 19, 2010

sorry I dont get error message, the probleme is bwhf never start. How can I make it run ( a clear tutorial)

Comment by ignacio....@gmail.com, Jan 26, 2010

Hi there I'm another one using Snow Leopard here is what I get(in terminal): Caused by: java.lang.ClassNotFoundException?: hu.belicza.andras.bwhfagent.BWHFAgent

at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController?.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader?.loadClass(ClassLoader?.java:319) at sun.misc.Launcher$AppClassLoader?.loadClass(Launcher.java:330) at java.lang.ClassLoader?.loadClass(ClassLoader?.java:254) at java.lang.ClassLoader?.loadClassInternal(ClassLoader?.java:399)

Java version: java version "1.6.0_15" Java(TM) SE Runtime Environment (build 1.6.0_15-b03-219) Java HotSpot?(TM) Client VM (build 14.1-b02-90, mixed mode)

Currently running under 32-bit mode Using the chmod instruction via terminal displays the same message

Thanks for supporting BWHF on Mac =D

Comment by project member icz...@gmail.com, Jan 26, 2010

I added a test case and commands how to start the Agent. Try it and tell me if it works.

Comment by ignacio....@gmail.com, Jan 26, 2010

Excellent the java -Xmx320m -cp lib/BWHFAgent.jar:lib/pcx.jar hu/belicza/andras/bwhfagent/BWHFAgent worked like a charm. =D

Comment by renje...@gmail.com, Jan 30, 2010

ok ive been able to start it on terminal, but the autoscan doesnt work. What file do I need to select in "starcraft directory" ??? thanks !

Comment by project member icz...@gmail.com, Jan 30, 2010

Select the "General settings" tab, and on this line: "Starcraft directory" you have to tell the Agent where your Starcraft is located. Either enter your Starcraft folder or lick on the button and select the folder in the dialog window.

Comment by renje...@gmail.com, Jan 31, 2010

cant start starcraft with bwhf.... what do i need to do??

Comment by project member icz...@gmail.com, Jan 31, 2010

It depends on what error you're getting.

I added a "MAC OS-X test case" section at the end of this page (above the comments). Read that and try that.

Comment by renje...@gmail.com, Feb 3, 2010

I can run bwhf , but i cant star starcraft in it. ( with the shorcut ) so BWHF cant detect if im running sc.

Comment by project member icz...@gmail.com, Feb 3, 2010

Maybe if you start BWHF Agent with "Run as administrator..." they you will be able.

But you don't have to start Starcraft with BWHF. Start Starcraft as you would do usually, and just be sure you have BWHF Agent running while you play.

Comment by 69k...@cox.net, Mar 7, 2010

In the AutoScan? section I get "2010-03-07 14:44:36 - Sending hacker report failed: Error connecting to the BWHF data base server!"

I have the East server and a valid key. No option to resend.

Comment by project member icz...@gmail.com, Mar 7, 2010

Replied you via email. Send me the replay via email and I add it with your key. It was a one-time error (maybe your net or the server was down).

Comment by c_cla...@yahoo.com, Mar 10, 2010

if the program finds at iteration 5 a autogather/autotrain hack that is a bug or it is hack?

Comment by project member icz...@gmail.com, Mar 10, 2010

It is a hack.

Comment by Cody.Ric...@gmail.com, Mar 16, 2010

Who do I talk to to get my name off the hacker data base, someone is smurfing as me!

Comment by Cody.Ric...@gmail.com, Mar 16, 2010

My username is Bovinous_Maximo?? and someone is smurfing as me when I am not even playing, I recieved an email today saying I'm on the list playing as zerg. I never play as zerg and I was not even playing when the report was made.

Please remove me from hacker list I am on US East.

Comment by Cody.Ric...@gmail.com, Mar 16, 2010

In the previous Comment my username is actually Bovinous_Maximo?? without the question mark. srry

Comment by wkwong...@gmail.com, Mar 30, 2010

I can't seem to get BWHF started. What does this mean: "Cannon find starcraft.exe"? and how do I fix this?

Comment by project member icz...@gmail.com, Mar 30, 2010

If you see that message that means you already started BWHF Agent successfully. The message "Cannot find Starcraft.exe" means you did not set your Starcraft folder. Go to the general settings tab and tell where your Starcraft is located.

Comment by wkwong...@gmail.com, Mar 31, 2010

Sorry I'm not good with these types of things. I still don't know what to do when I go to the General Settings tab. I've played around with it but nothing happens. Thanks for your help.

Comment by project member icz...@gmail.com, Mar 31, 2010

On the general settings tab there is a section: "Folders and editor settings:". The first text field is: "Starcraft directory:". Either enter the folder where your starcraft is installed, or click on the "Choose" button after it and select it in the dialog. Once you're Starcraft folder is set, you will see a green text: "Starcraft folder is set correctly" instead of the red error message.

Comment by markryon...@gmail.com, Apr 25, 2010

it says update failed. What can i do to fix this?

Comment by project member icz...@gmail.com, Apr 25, 2010

Nothing, it's not an error. It just said for some reason your Agent was not able to connect to the server to check if there are updates. It is a one time fail, and it can be due to many reasons (like your internet connection was lagging). Press "check updates now", and it should connect no problem.

Comment by JayCha...@gmail.com, May 26, 2010

encountering this problem Could find the main class: hu/belicza/andras/bwhfagent/BWHFAgent. Program will exit

googled the missing file/looked through this site/went on various sites (teamliquid) seems like no solution.

Comment by project member icz...@gmail.com, May 26, 2010

How did you try to start it? Please give me more details, maybe via email.

Comment by Zoral...@gmail.com, Jul 28, 2010

Have a god CLUE! bad eye sight and the worst direction I ever tried to follow!

What the F? BWHFAgent.sh doesn't work and I don't know a freaking thing about Java...I can't even find out if it is 32 bit or not!

Does the install folder matter?

Tried listing in run time enviroments ...Ya know add function there ...Went to installed folder and Java see nothing not even the .SH ...worthless directions...

I see none, nada: cmd, exe, or BWHFAgent-consol file...

I been at this an hour or more...your directions are worthless to me....

If I goto lib folder: C:\Documents and Settings\Charles\My Documents\Downloads\Games\Starcraft\Hack detect\BWHFAgent\lib

double click windows default error sound.... BWHFAgent.jar pcx.jar

How to use this no direction stuff would be nice....

and I haven't a clue as to why I need the info in the Text file...

I thought run with replay...????... clueless

Yes I been to oricle thingy udastes etc...worthless directions there too.Who needs to read a book...I am legally blind and idiot proof directions I desire. not directions that require a PHD to execute!

regards, C nelson vision one eye 20/300 charlesn21@yahoo.com or nelson2858@att.net

Comment by project member icz...@gmail.com, Jul 28, 2010

Download BWHF Agent 3.30 for windows. If you succeed, you'll have a new file called "BWHF Agent 3.30 windows.zip".

Extract this zip file to anywhere you like. If you succeed, you'll have a new folder called BWHFAgent.

Go into it (in any file manager program, Windows explorer will do it). If you succeed you'll see a file called "BWHFAgent.exe" (it has a red icon).

Double click on it. If you succeed, BWHF Agent will start.

Comment by Zoral...@gmail.com, Jul 28, 2010

Thank you , iczaaa,

I did try find bwhf to download twice before I posted...Who would of thought the search would have to include windows version to find site or sites that distinguish between the types to download...I had caught the sites I was at before trying to give me mac and i thought I avoided mac.. The file I downloaded twice in error was BWHFAgent 3.30 os-x.zip....

The correct file is BWHFAgent 3.30 windows.zip

Thank you again....No wonder , thought a PHD was required....

I did read terms of use here so if this shouldn't be done sorry. the link I used after your Kind help.

http://code.google.com/p/bwhf/wiki/Downloads?tm=2

I cannot apologize enough for the Rant I went on...

again, thank you.

regards, Charles Nelson

Comment by Zoral...@gmail.com, Jul 28, 2010

One more question, what exact computer settings affect the font size of BWHF?

I have several font types changed and size and usually set to bold... I have them change in my display. and using he lowest monitor settings... I did increase resolution with some effect...If you know please leave a note here.

TIA.

don't worry about it I'll work around it if you don't know.

regards, Charles nelson

Comment by project member icz...@gmail.com, Jul 28, 2010

I'm glad you could start it. This is the official site, other download sites might mirror some (usually only for one specific OS) of my downloads, and they don't usually follow new versions.

Always download from the official site.

As to the fonts: I never tested what system fonts affect the fonts of BWHF Agent. I used an external window library (I had to due to a bug in Java), so it could be that window library doesn't use the Windows default font (e.g. even if you change your font settings in Windows, it might not follow it).

Comment by Zoral...@gmail.com, Jul 30, 2010

s there another way to donate besides paypal? Years ago, they PO'd me.

I would donate ten dollars if there is another way..otherwise it'll have to wait until i decide to join paypal...

regards, charles nelson

Comment by project member icz...@gmail.com, Jul 30, 2010

I believe you can donate with a bank transfer or card too, PayPay? is just my account you have to send it. Try it, click on the donate link and you will see your options.

Comment by Zoral...@gmail.com, Jul 31, 2010

I must be dumb because I get no other option except create paypal account.

https://www.paypal.com/uk/cgi-bin/webscr?cmd=_flow&SESSION=24-DoPhZj0w_vYbrBXKXzGOx6_g3FYl45X4SE7ndo_mR4nxpIO9rrt7jiYW&dispatch=5885d80a13c0db1f8e263663d3faee8d66edfb0b39be7838c6fe2b48d77d66ee

It insist I create a paypal account.

""I believe you can donate with a bank transfer or card too,""

I can't find that option.

regards, charles nelson

paypal want me to create account donate link takes me to that page...wants password and email...

I signed up for paypal about eight years ago and odered flowers and the site release info to third party and i was billed for something else too. I canceled both. One wasn't ordered and the other"flowers" I canceled because of the third party billing...paypal then informed me they were canceling my account...a year or so later I tried to set up an account and paypal declined...It pissed me off.

Pay pal can kiss me where the sun doesn't shine...I' will not join that company, of course this was before ebay bought em...Still...I will not let pay pal make one penny from me!

regards, charles nelson

Comment by dynotoaq...@gmail.com, Aug 14, 2010

hello, I'm hoping you're still maintaining these error forums. I have been running bwhf for a long time, however it was on an older xp machine. Now I'm on a vista 32bit machine, and can't get it to start. I see the splash screen, but bwhf never loads. I've tried editing the code as you suggested, but I'm still not having any luck. I have the latest version of java, and it's in the standard place.

When I load the command prompt version I get:

Exception in thread "swingwt-dispatch" java.lang.unsatisfiedlinkerror: no swt-win32-3347 or swt-win32 in swt.library.path/java.library.path or the jar file at org.eclipse.swt.internal.library.loadlibrary<unknown source> at org.eclipse.swt.internal.library.loadlibrary<unknown source> at org.eclipse.swt.internal.C.<clinit><unknown Source> at org.eclipse.swt.widgets.Display.<clinit><Unknown Source> at swingwtx.swing.swing.WTUils$1.run<swingWTUtils.java:205>

If you could help me diagnose this problem I will be very grateful.

I love your hackfinder

Thanks,

Will

Edit: I think I understand the error, it's implying that I need the 32bit version of java, but how I am unsure of how to verify what version I have, or where to get the 32bit.

edit2: When I do java -version in cmdprompt 32 or 64 bit are not shown...

edit3: I'm pretty sure I just installed java 32bit and I'm still getting identical errors, sorry about spamming the page too, but there's no edit function...

Comment by project member icz...@gmail.com, Aug 14, 2010

Check the original BWHFAgent.cmd file how it starts the application. You have to provide a -Djava.library.path argument to specify which libraries to load.

Comment by dynotoaq...@gmail.com, Aug 15, 2010

Is this what you mean?

"start javaw -Xmx320m -Djava.library.path=lib/win32/"

Comment by project member icz...@gmail.com, Aug 15, 2010

Yes. Your error is somehow related to that the libraries are not loaded.

Comment by dynotoaq...@gmail.com, Aug 15, 2010

How do I fix this? Copy the java library path, paste it in the cmd file?

Comment by project member icz...@gmail.com, Aug 15, 2010

I don't know how you want to start it. If you navigate to the BWHFAgent folder, and you start with the cmd file from there, it should work.

Comment by dynotoaq...@gmail.com, Aug 15, 2010

I have tried all 3 ways to start it, and none successfully load the program. They all go to the splash screen and stop.

Comment by project member icz...@gmail.com, Aug 15, 2010

Please continue this conversation on this page: http://code.google.com/p/bwhf/issues/detail?id=91

Comment by Zoral...@gmail.com, Sep 22, 2010

iczaaa, this is charles nelson here. again I'll send a Donation anyway but through paypal. Personally, I like to see it go out of business. charlesn21@yahoo.com

I did notice no hacker reports in lobby. I have an issue though. On east no problem but on west sever it continually claimed I was a posible Hacker..My BroodWar? name is bnwild... This google account of mine is old and I have not changed the user name here.

I'll send check, money order, a wire to Bank, and or use credit card.

I almost decided to sign up on paypall.. If you insist on paypal. I'll do without a working BWHF until a time one can donate without using paypal.

Comment by sfmarco...@gmail.com, Oct 15, 2011

Hi,

I am getting the following error. In mapped my directory to my starcraft folder and it is green, but I still get the "could not start starcraft.exe! Is starcraft directory properly set?"

Which it is, it is mapped to the folder where i play from.

You may email me at SFMarco102@aol.com

THank you,


Sign in to add a comment
Powered by Google Project Hosting