On your configuration file, you can set for every stat a 6 digit
hexadecimal code of a color with
hudcolor="#98FFB0"
You can also change the color if the stat is higher and/or lower
of a fixed value. Example:
Code:
<stat click="tog_decorate" col="1" popup="default" row="0" stat_hicolor="#F05000" stat_hith="30" stat_locolor="#408000" stat_loth="14" stat_name="vpip_0" tip="tip1"/>
--
I wanna share this with you.
I wanted to use the HUD "offline" (not while playing) to see all stats
of a player. Using the replayer of the poker client is a bit boring,
and the WIKI says this can be done without relying on it (but
doesn't explain how). I tried to figure it out by myself and I guessed
it all depends on the window name, so I wrote a little tcl/tk script to
create an empty window with a title that you can specify in the
command line and use that window as a "hook" for the HUD.
1)
So, first I need a handid of a hand involving that player and the
name of the table were that hand was played, so I use this SQL query
(thanks to ChazDazzle) with a database browser (like SQLite database browser)
Quote:
SELECT H.id, H.tableName
FROM Hands H
INNER JOIN HandsPlayers HP ON (H.id = HP.handId)
INNER JOIN Players P ON (P.id = HP.playerId)
WHERE P.name = 'NICKNAME'
let's say I get "1 FakeTableName" as output.
2)
Now I start this script, named window.tcl, with "wish window.tcl FakeTableName"
Code:
# SYNTAX: wish window.tcl
wm title . [lindex $argv 0]
wm geometry . +100+100
wm minsize . 640 480
wm resizable . 1 1
3)
then I start the HUD as a standalone program wth
Code:
python HUD_main.pyw -x -d ~/.fpdb/database/fpdb.db3 -c ~/.fpdb/HUD_config.xml
and, on the same prompt where I executed this last command, I wrote
the handid ("1" on the example above) to get the HUD on the window.
--
But then I wondered...
if we name the "fpdb replayer window" with the table's name were the
hand we want to see was played, can't' we easily have the HUD on the
replayer itself? Maybe not with the stats we had back then, but who cares.
Now, this with a way to mark hands and filter them to only show marked
hands on the "Hand Viewer" would make me very happy.
EDIT: oh, even a button/checkbox to unselect all hands on the Hand Viewer tab
would be welcome, it's a pain in the "Ace" unselect them one by one ^^
I know that was poorly explained, I'm sorry.
Last edited by Arsil; 09-15-2012 at 03:48 AM.