BWHF Agent released - free and open source - Page 2
| Forum Index > BW General |
|
skyglow1
New Zealand3962 Posts
| ||
|
DanceCommander
United States1808 Posts
| ||
|
Dakota_Fanning
Hungary2359 Posts
On December 29 2008 16:53 skyglow1 wrote: I started it using the console.cmd script, still the same thing where it just sits there saying it's scanning but nothing new pops up. I tried scanning a single replay and it just sit's there saying it's scanning. There are no additional messages, no errors, and I checked the log file and it has just the stuff that was displayed in the log text area. Can you check what java version u have? Type "java -version" in a command window. It works for others, might be something in your system. Can you send me a replay of yours which it cant scan? Or I can send you one of mine which I know works and can be scanned no problem. What happens if you click on the "Scan LastReplay.rep" button in the manual scan tab? Note that you need to set your Starcraft directory if you want this to work. | ||
|
skyglow1
New Zealand3962 Posts
None of my replays work, no matter what one I try. I also tried the "scan lastreplay.rep" and that didn't work either. All attempts just end with it saying that's it scanning but not doing anything further. The starcraft directory seems to be set up properly. The rest of the program seems to be working properly, just not the scanning bit. | ||
|
GearitUP
United States337 Posts
On December 29 2008 18:48 skyglow1 wrote: Java version "1.5.0_10" None of my replays work, no matter what one I try. I also tried the "scan lastreplay.rep" and that didn't work either. All attempts just end with it saying that's it scanning but not doing anything further. The starcraft directory seems to be set up properly. The rest of the program seems to be working properly, just not the scanning bit. Exact same thing happens to me Work for anyone else if so... How many replays did u guys scan? Amount of hackers found? Server you play on? | ||
|
Dakota_Fanning
Hungary2359 Posts
On December 29 2008 18:48 skyglow1 wrote: Java version "1.5.0_10" None of my replays work, no matter what one I try. I also tried the "scan lastreplay.rep" and that didn't work either. All attempts just end with it saying that's it scanning but not doing anything further. The starcraft directory seems to be set up properly. The rest of the program seems to be working properly, just not the scanning bit. What operating system do u have? Could it be that the replay files are not readable (no permission) with the user you run BWHF Agent with? Are you able to start Starcraft with the "Start/Switch to Starcraft" button? Plz try to restart BWHF Agent too. | ||
|
Moff
United Kingdom166 Posts
| ||
|
skyglow1
New Zealand3962 Posts
On December 29 2008 19:38 Dakota_Fanning wrote: What operating system do u have? Could it be that the replay files are not readable (no permission) with the user you run BWHF Agent with? Are you able to start Starcraft with the "Start/Switch to Starcraft" button? Plz try to restart BWHF Agent too. I use Vista Ultimate 32bit. There is only the adminstrator account on this computer, which I'm using. No other user accounts on this comp. Yeah I can start starcraft with that button. I've restarted it a couple of times and tried scanning replays each time but it still isn't working. Thanks for the help btw this is a really neat program ![]() | ||
|
Dakota_Fanning
Hungary2359 Posts
| ||
|
skyglow1
New Zealand3962 Posts
On December 29 2008 19:49 Dakota_Fanning wrote: It looks I found out why is this. I accidently used some java features which were only added in the 6.0 version. So for now you need Java 6.0 to run the scan. K I'll get Java 6.0 now and try it out. [Edit] Works perfectly now sweet thanks :D | ||
|
Dewis
Finland344 Posts
| ||
|
Dakota_Fanning
Hungary2359 Posts
On December 29 2008 20:45 Dewis wrote: I have like 7000+ replays and, everytime i try to scan it "hangs up" somewhere. It doesn't crash or anything, just stops analyzing replays (the flood of replay scanning text stops). Can you start the BWHF Agent with BWHFAgent-console.cmd and if you see any error or exception on the console, post them here? | ||
|
shikhye
Germany302 Posts
| ||
|
Dewis
Finland344 Posts
Exception in thread "Thread-5" java.lang.NullPointerException at hu.belicza.andras.bwhf.control.ReplayScanner.scanPlayerForHacks(Repla yScanner.java:135) at hu.belicza.andras.bwhf.control.ReplayScanner.scanReplayForHacks(Repla yScanner.java:28) at hu.belicza.andras.bwhfagent.view.ManualScanTab$5.run(ManualScanTab.ja va:185) I guess NullPointerException is something that shouldn't come up? :o | ||
|
Dakota_Fanning
Hungary2359 Posts
On December 29 2008 20:58 Dewis wrote: I get quite a few actually, but when the program stops I get this: I guess NullPointerException is something that shouldn't come up? :o Thanks Dewis, that helps a lot. Can you send me that replay? The last one that was printed in the log text area when the scan stops? I wanna test it myself when I fix the error. I PM u my email. | ||
|
Dewis
Finland344 Posts
On December 29 2008 21:10 Dakota_Fanning wrote: Thanks Dewis, that helps a lot. Can you send me that replay? The last one that was printed in the log text area when the scan stops? I wanna test it myself when I fix the error. I PM u my email. Mailed the rep to you. | ||
|
Dakota_Fanning
Hungary2359 Posts
Version 1.0 is out. I fixed/changed the followings: -Fixed a bug which caused the scan process to hang when tried to scan a replay with actions starting at iteration 0. -Fixed a false multicommand hack alert. -Changed the generated names of the autosaved replays (the previous one was too long and Starcraft couldn't play it without renaming). If you still experience errors/misbehaving in the 1.0 version, or it flags a player you 100% sure doesn't hack, please let me know. To create a report, you should start the program with the "BWHFAgent-console.cmd" file which opens a console window too, and you might see some additional errors and details there. Those are always handy to include in a bug report. You can file a report on the Issues tab of the BWHF Agent home page where you can attach neccessary files like replays or screenshot (you will need a Google account for this): http://code.google.com/p/bwhf/issues/list Many thanks for the reports and feedback for everyone. | ||
|
RaGe
Belgium9950 Posts
| ||
|
Dakota_Fanning
Hungary2359 Posts
On December 30 2008 23:35 RaGe wrote: I used your 1.0 version and got a lot of Java.lang Exceptions at BinReplayUnpacker.unPackSection at line 116 Can you send me a replay causing that? | ||
|
gnuvince
Canada73 Posts
user=> (import '(hu.belicza.andras.bwhf.control BinReplayUnpacker)) nil user=> (def rep (BinReplayUnpacker. (java.io.File. "/home/vince/prog/python/pyreplib/misc/sea_savior.rep"))) #'user/rep user=> (.unpackSection rep 0x279) java.lang.Exception: len == 0 || len > size (NO_SOURCE_FILE:0) I modified the file to add descriptions to the exceptions, this one happens at line 152. I should not that I only compiled BinReplayUnpacker.java and I replaced BinRepParser.HEADER_SIZE with a HEADER_SIZE that I made private to BinReplayUnpacker. Thank you for you assistance. | ||
| ||
