Open Side Menu Go to the Top
Register
WizHUD now free and open source (large "commercial" AHK project) WizHUD now free and open source (large "commercial" AHK project)

11-06-2012 , 05:18 PM
WizHUD is a script, written in AutoHotKey, that overlays a simple heads up display with statistics from Hold’em Manager 1 onto Sit and Go Wizard, the sit-and-go study tool. Screenshots and more details of WizHUD can be seen in the thread here in software.

I thought i'd create a new thread as this may now interest AHK coders. I've open-sourced the code, which consists of over 60k of original AutoHotKey code, and is one of the few "successful" (in that a hundred or so licenses were sold) software packages written exclusively in AHK script that I know of. It's a fully-contained program with help, settings, GUI etc, so offers an interesting "real world" study.

download and more information:
http://pokerfuse.com/software/oss/wizhud/

I make no claims that this is high quality or idiomatic AHK script; but it works and has had likely thousands of users in its lifetime. It doesn't do anything particularly special, most of it is cobbled together example code from better AHK coders. But it does do some interesting things, including maintaining a 'connection' to a postgres database, implanting GUIs onto foreign windows, scraping a foreign IE control's HTML, and loading in images and embedding onto the GUI using GDIP library.

If you have any questions about the code hopefully i can help.
WizHUD now free and open source (large "commercial" AHK project) Quote
11-06-2012 , 08:15 PM
Quote:
Originally Posted by Hood
I make no claims that this is high quality or idiomatic AHK script; but it works and has had likely thousands of users in its lifetime. It doesn't do anything particularly special, most of it is cobbled together example code from better AHK coders. But it does do some interesting things, including maintaining a 'connection' to a postgres database, implanting GUIs onto foreign windows, scraping a foreign IE control's HTML, and loading in images and embedding onto the GUI using GDIP library.
Could be very useful in future, thanks for this!

May I ask what made you decide to give up on the commercial route and open source it?

Juk
WizHUD now free and open source (large "commercial" AHK project) Quote
11-06-2012 , 09:16 PM
thanks, ill check it out at some point
WizHUD now free and open source (large "commercial" AHK project) Quote
11-06-2012 , 10:48 PM
awesome
WizHUD now free and open source (large "commercial" AHK project) Quote
11-07-2012 , 05:09 AM
Quote:
Originally Posted by jukofyork
Could be very useful in future, thanks for this!

May I ask what made you decide to give up on the commercial route and open source it?

Juk
Developing small side projects just isn't +EV hourly, and wizhud needs a lot of work to bring it up to date (HM2, PT4 support, new stats, integrated wiz support etc). I've done it in the past because i've both used teh tools myself and enjoyed it, but I haven't played SNGs in years and now i have other projects (pokerfuse, combonator, new projects) where i sink my development time.

those interested in the code, check the readme I did a more detailed writeup. Most libs and the main AHK have fairly extensive comments.
WizHUD now free and open source (large "commercial" AHK project) Quote
11-07-2012 , 07:36 AM
Thanks for making this open source. I am surprised in a way you can make a full HUD in ahk but in another way I guess I am not surprised
WizHUD now free and open source (large "commercial" AHK project) Quote
11-07-2012 , 07:42 AM
It's not really a full hud, i think it supports like 15 stats and read-only player notes (although adding new stats is pretty easy, that's something wizhud users might be interested in doing themselves).

didn't _dave_ here used to have a pretty complete HUD built in AHK? It was for PT2 back when PokerAce HUD was a separate product i think (memory hazy tho)
WizHUD now free and open source (large "commercial" AHK project) Quote
11-08-2012 , 12:01 AM
Quote:
Originally Posted by Hood
Developing small side projects just isn't +EV hourly
the truth. i'm considering changing my pricing scheme and ppl will probably hate me more
WizHUD now free and open source (large "commercial" AHK project) Quote
11-08-2012 , 05:47 AM
Quote:
It's not really a full hud
As long as you're overlaying on client windows without interfering that's already impressive to me since I had a very hard time figuring that out in .net which has way more documentation/examples out there.

Quote:
the truth. i'm considering changing my pricing scheme and ppl will probably hate me more
Labor of love ftw
WizHUD now free and open source (large "commercial" AHK project) Quote
11-08-2012 , 06:06 AM
Quote:
Originally Posted by Hood
didn't _dave_ here used to have a pretty complete HUD built in AHK? It was for PT2 back when PokerAce HUD was a separate product i think (memory hazy tho)
yep, it was for PT3 when it first came out it had no hud and PA didn't work for it either, I kinda stopped when PT3 HUD became working reasonably. I did want to make it work for all databases, clean it up and post it here but never did. Source is still available on PT3 forum for anyone who wants it

Took considerable effort but was a huge learning experience Even now nearly every few months I'm kinda tempted to fix it up and update it to modern times, some things are just so cumbersome to me without actual SQL!

It does a couple of things similar things to this (SetParent to easily attach GUI, calling psql for database - on which I see I'm a possible credit in the source , it does indeed look like a (heavily modified) version of my psql function).

This source code is a far easier read I would think - AHK-HUD code is in places a horrible mess, half the reason I always don't bother when I think it would be nice to get it working again! In your souce I saw only one /* no idea what this does */ Mine is probably 33% commented out blocks of rubbish lol!.
WizHUD now free and open source (large "commercial" AHK project) Quote

      
m