![]() |
|
|
|
#1
|
|||
|
|||
|
OK, thank you, I'll try it out
Greets. K. |
|
#2
|
|||
|
|||
|
Does something similar or another work-around exist for Full Tilt? I looked but couldn't find. I could try to hack this script, but i'm not sure if i'm up to it...! Since i'm a parasite, i thought i'd ask first. (-:
|
|
#3
|
|||
|
|||
|
I have a little problem with the script, it seems like I'm not seat 0 but seat 1 because the stats are shifted of one seat. Could anyone help me to edit the script please ?
|
|
#4
|
|||
|
|||
|
Reposition the labels once, it should be correct from then on.
|
|
#5
|
|||
|
|||
|
Nice work!
However I multitable with 4 6-max tables and 4 10-max tables. So I will get HH of SH and FR tables. Can I just use the script or won't that work? I don't know anything about Python, however I do know some AutoItv3 and was thinking of coding something like this myself. However I don't know how the Everest HH's work and since I know nothing about Python, I can't make much out of your code. If I have the following HH as an example and my Screenname is "Cusem", how should the HH be adjusted. That all the data of seat 5 (my seat) will become in seat 0? And all the data of seat 6 will become in seat 1? What should the parsedfile look like? [ QUOTE ] <SESSION time="1188253255" tableName="Malabo-0" id="276.35.613" type="ring" money="$" screenName="Cusem" game="hold-em" gametype="no-limit"/> <HAND time="1188253259" id="1997228239" index="0" blinds="$.15/$.25" stakes="$.25/$.25"> <SEAT position="0" name="Empousa" balance="2546"/> <SEAT position="1" name="tjappie81" balance="2385"/> <SEAT position="2" name="@kerstin@" balance="4055"/> <SEAT position="3" name="mathieu07" balance="700"/> <SEAT position="4" name="cornev" balance="1795"/> <SEAT position="5" name="Cusem" balance="2500"/> <SEAT position="6" name="fred3463" balance="5170"/> <SEAT position="7" name="Horstus" balance="2700"/> <SEAT position="8" name="k4l4sh" balance="3010"/> <SEAT position="9" name="Dr-Hugo" balance="1072"/> <DEALER position="0"/> <BLIND position="1" amount="15" penalty="0"/> <BLIND position="2" amount="25" penalty="0"/> <XBLIND position="5"/> <HOLE position="1">--</HOLE> <HOLE position="2">--</HOLE> <HOLE position="3">--</HOLE> <HOLE position="4">--</HOLE> <HOLE position="6">--</HOLE> <HOLE position="7">--</HOLE> <HOLE position="8">--</HOLE> <HOLE position="9">--</HOLE> <HOLE position="0">--</HOLE> <HOLE position="1">--</HOLE> <HOLE position="2">--</HOLE> <HOLE position="3">--</HOLE> <HOLE position="4">--</HOLE> <HOLE position="6">--</HOLE> <HOLE position="7">--</HOLE> <HOLE position="8">--</HOLE> <HOLE position="9">--</HOLE> <HOLE position="0">--</HOLE> <FOLD position="3"/> <FOLD position="4"/> <FOLD position="6"/> <FOLD position="7"/> <BET position="8" amount="25"/> <FOLD position="9"/> <FOLD position="0"/> <BET position="1" amount="10"/> <BET position="2" amount="0"/> <SWEEP rake="0">75</SWEEP> <COMMUNITY>4c, Js, 4d</COMMUNITY> <BET position="1" amount="0"/> <BET position="2" amount="0"/> <BET position="8" amount="25"/> <BET position="1" amount="25"/> <FOLD position="2"/> <SWEEP rake="5">120</SWEEP> <COMMUNITY>10d</COMMUNITY> <BET position="1" amount="100"/> <FOLD position="8"/> <PUSH position="1" amount="100"/> <SWEEP rake="5">120</SWEEP> <XSHOW position="1"/> <WIN position="1" amount="120" pot="0", potAmount="120"/> </HAND> [/ QUOTE ] |
|
#6
|
|||
|
|||
|
Figured it out. I'm not a programmer, so the code isn't very tidy and probably can be much more efficient, but it works.
It is written in AutoITv3 ;testvariables $parsechk = 1 $maxplayers = 10 Opt("TrayIcondebug",1) #include <file.au3> $hh_everestpath = "C:\Program Files (x86)\Everest Poker\history\" $hh_outputpath = "C:\Program Files (x86)\Everest Poker\historyparsed\" $hh_backuppath = "C:\Program Files (x86)\Everest Poker\historyparsed\BackupHH" $parsetimeout = 2500 $search = FileFindFirstFile($hh_everestpath & "*.*") $hh_file = FileFindNextFile($search) $lines = _FileCountLines($hh_everestpath&$hh_file) ;===>>> Get ScreenName $screenname = "" $hh_in = FileOpen($hh_everestpath&$hh_file,0) For $a = 1 to $lines $line = FileReadline($hh_in) $result = StringInStr($line, "screenName", 1, 1) If $result <> 0 Then $screenname = StringMid($line, $result + 12, 45) $stoppos = StringInStr($screenname, Chr(34), 0, 1) $screenname = StringTrimRight($screenname, 44 - $stoppos) EndIf Next FileClose($hh_in) ;===>>> Get Seat Position $offset = 0 $hh_in = FileOpen($hh_everestpath&$hh_file,0) For $a = 1 to $lines $line = FileReadline($hh_in) $result = StringInStr($line, $screenname & Chr(34) & " balance", 1, 1) If $result <> 0 Then $offset = Int(StringMid($line, 19, 1)) EndIf Next FileClose($hh_in) ;===>>> FileParsing $hh_in = FileOpen($hh_everestpath&$hh_file,0) $hh_out = FileOpen($hh_outputpath&$hh_file,1) For $a = 1 to $lines $line = FileReadLine($hh_in) $replace = StringInStr($line, "position=", 1, 1) If $replace <> 0 Then $seat = Int(StringMid($line, $replace + 10, 1)) $seat = $seat - $offset If $seat < 0 Then $seat = $seat + $maxplayers $line = StringReplace($line, $replace + 10, $seat, 1, 1) EndIf FileWriteLine($hh_out, $line) Next FileClose($hh_in) FileClose($hh_out) FileMove($hh_everestpath&$hh_file, $hh_backuppath, 1) |
![]() |
| Thread Tools | |
| Display Modes | |
|
|