Problem with Ongame network (bwin.it)
The bulk inport don't work. (fpdb=0.25 locale=it_IT.UTF-8 debian=testing python=2.7.2). I think there are 2 problems: locale + an error in ongame filter.
I solved and I can import only if I use BOTH the workaround above:
1) I launch fpdb with the command:
LANG=en_US.utf8 fpdb
2) I convert my handhistory with the command:
sed -i "s/CEST/GMT+0200/" ~/P5JavaClientSettings/handhistory/handhistory0.txt
This is the begin of an Ongame's original uncoverted handhistory (it blocks fpdb with Italian locale AND with US locale):
Code:
***** History for hand R5-52705698-18 *****
Start hand: Sat Oct 29 08:44:30 CEST 2011
Table: Valverde [52705698] (NO_LIMIT TEXAS_HOLDEM €0.02/€0.05, Real money)
This is the begin of an converted handhistory (it blocks fpdb with Italian locale but works very well with US locale):
Code:
***** History for hand R5-52705698-18 *****
Start hand: Sat Oct 29 08:44:30 GMT+0200 2011
Table: Valverde [52705698] (NO_LIMIT TEXAS_HOLDEM €0.02/€0.05, Real money)
To have HUD-autoimport I set fpdb to import from ~/handhistory_converted and I put on my crontab this:
Code:
0-59/1 * * * * /home/LINUXUSERNAME/bin/converti_handhistory.sh
this is converti_handhistory.sh
Code:
#!/bin/bash
conv.func () {
if [ /home/LINUXUSERNAME/P5JavaClientSettings/handhistory/handhistory0.txt -nt /home/LINUXUSERNAME/handhistory_converted/handhistory000.txt ] ; then
cat /home/LINUXUSERNAME/P5JavaClientSettings/handhistory/handhistory0.txt \
| sed "s/^\(Start hand: .*\)CEST\(.*\)/\1GMT+0200\2/" \
| sed "s/^\(Start hand: .*\)CET\(.*\)/\1GMT+0100\2/" \
> /home/LINUXUSERNAME/handhistory_converted/handhistory000.txt
fi
}
###### MAIN
conv.func
sleep 20
conv.func
sleep 20
conv.func
P.S.
Italian windows client of ongame network don't run on wine.
I use the HUD with Java online client inside firefox. I search on google but no people use fpdb + firefox. If anybody wants know how to this, ask me.
(sorry for my poor English)
Last edited by Xenomanes; 10-29-2011 at 09:06 AM.