Sleuth Home - Message Boards - Sleuth Talk


0 0
Automated Sleuth Helper complete!
  <<First Page  |  <Previous Next>  |  Last Page>>  

Pidgeot
Pidgeot

Jan-30-2007 12:13

Hello, fellow Sleuths!

Over the last two months, I've been working on a brand new Sleuth helper. You might not think that sounds all that special - after all, great helpers are already available - but what makes this one different is that it's automated!

What it does is monitor your progress in the game, and extract relevant information from the pages. The information is stored and analyzed, in order to help you determine who did it, and who didn't.

It's heavily inspired by Evita's JavaScript-based Sleuth Helper, so a special "thank you" goes out there.

The application is made with Delphi 2005, and should run on any machine with Windows NT/98/ME/2K/XP/Vista and Internet Explorer 4 or later. Additionally, source code is included (ZLib license) in case someone wants to port it to another platform and/or language (such as Java).

The program can be downloaded from http://download.birdiesoft.dk/SleuthHelper.exe (330 KB), and a screenshot of the program can be seen at http://download.birdiesoft.dk/sleuth_helper.png.

Please take a look at the help file before using the program (it's very short), so you are familiar with how the program works.

(Disclaimer: The application depends heavily on the current structure of the game pages, and changes to this may break the program. Although the application is designed in such a way that it should fail entirely if something goes wrong, this cannot be guaranteed. Use of this program is entirely at your own risk, and any cases lost because of errors in the program should not be blamed on the program or the author.)

Replies

Cornelius Sledge
Cornelius Sledge

Sep-8-2007 04:39

I've had a similar thing happen once after visiting a suspect and having the page time out twice. When the page finally got loaded, the helper registered the suspect with wrong characteristics (IE straight hair instead of curly).

I think the helper will only check characteristics once (which makes sense since characteristics never change). If characteristics were refreshed every time a suspect was visited or checked out on the case page, then maybe glitches like this could more easily be countermanded. I have no idea what kind of havoc a suspect changing characteristics mid-case would wreak on the rest of the logic though.

Adonis Parker
Adonis Parker

Sep-8-2007 05:11

^ Cornelius that's it. :P

My contact was the Tailor and I was checking out PEs and the footprints were the one turning green. :P Then after the last no match, the whole thing went The Hulk.

lilangel
lilangel
Sleuth About Town

Sep-12-2007 01:23

(just a bump) I haven't had any problems lately, and you may need to check to see if you have all the suspects... or redouble check something.

Dave Von Wave
Dave Von Wave
Well-Connected

Sep-12-2007 09:04

For v1.15 would it be too out of place to have a menu item that goes through a list of suspects with a PE until it got "Yes, this belongs to ###"

I mean something you would use with a contact to get a quick answer from them. I know that this thing would be downright dangerous with a non-contact. You'd use up your questions like toiletpaper, but it's not as if it needs to check for any of the detectives info right?

AKAs
AKAs
Well-Connected

Sep-12-2007 19:50

I assume this does not run under Linux. Does it run on the Mac yet?

I haven't ported the program, however I have written my own. I have not tested it on any platform apart from ubuntu - linux (accuse does not work yet) and windows XP.

It can be found on my agencies web site.

As an answer to the previous question, my program does go through PE contacts automatically and checks to see if they are a match.








Dave Von Wave
Dave Von Wave
Well-Connected

Sep-13-2007 11:29

Well, I like the look of your Sleuth Robot. But until it takes down info automatically, I'll stick to Pidgeots Automated Sleuth Helper.

AKAs
AKAs
Well-Connected

Sep-13-2007 13:37

By not automatically all you need to do is say "new case" (at any time). and it will get everything apart from clammed and suspected that you have checked.

Although I have never used Pidgeots helper, I assume it embeds explorer inside it allowing him to examine each page, useful but not very portable since it will use COM to do so which definitely does not work on linux and probably not on the Mac.

I think can do it for Firefox by making a plugin that talks to the sleuth robot though, but I have never done a firefox plugin before but it is just java script I hear.





Pidgeot
Pidgeot

Sep-14-2007 15:33

That's more or lesss correct, however, all that really needs to differ is the web browser itself. Since it's a component, there's very little code specific to it - almost everything is wrapped away in the TWebBrowser component, and only about 20 lines of code make it do something that's necessary for the concept to work - most of the related code is specific to IE, and can be omitted.

As a result, porting to a different system really only requires that you have a way of showing a web page, a way of knowing when a page has finished loading, and a way of getting a string containing the HTML that is shown in the browser. The code that doesn't deal with the web browser is essentially platform independent, allowing for what is essentially a direct port.

Though I'd gladly make a version for Linux and Mac users, I'm afraid I don't have any experience with GUIs outside of Windows-only stuff. If someone wants to team up with me in order to do that part, I should be able to do the rest without much trouble, more or less regardless of what programming language they can do the GUI in.

It could most likely be done as a Firefox plug-in as well, but I wouldn't want to make it there - in part because I don't use it myself. I'm also not sure if you can get at the unprocessed HTML within a plug-in, and if you can't that could make it a bit more troublesome. However, you are most welcome to give it a shot if you want to - that's one of the reasons source code is included.

FWIW, I haven't forgotten - v1.15 is still planned for release soon, but there are a couple of things I need to take care of first.

Dave Von Wave
Dave Von Wave
Well-Connected

Sep-16-2007 02:39

I know, I know. I write here a lot with suggestions. But I get ideas for the next little improvement here and there and.... I just can't keep my yap shut!

Annyway, here's another one. Could there be something where I tell the Sleuth helper that there will be one less person for this case? I ask this because I've gotten into the habit of switching cases back and forth with some people in my agency and It's pretty annoying to pay the fortune teller twice for the same case. (counting the other detective, thrice) Just something to click on to force-feed it some knowledge I know beforehand.

As always, I love the sleuth Helper. It is so much easier to compare people with this thing. Quicker too.

Adonis Parker
Adonis Parker

Sep-23-2007 07:32

Ouch.

I couldn't take a screenshot this time buddy. But my contact, the Barber, said a PE matched a suspect with a fake alibi.

I accused.

I paid Shady. :(

Ouch. It was a LOT of money.

  <<First Page  |  <Previous Next>  |  Last Page>>  

[ You must login to reply ]