Open Side Menu Go to the Top
Register
Free script to Datamine UB Free script to Datamine UB

02-18-2009 , 10:09 AM
Does this work for Absolute too or do I need to start an account at UB :S?
Free script to Datamine UB Quote
02-18-2009 , 10:40 AM
Quote:
Originally Posted by El helado Patata
Does this work for Absolute too or do I need to start an account at UB :S?
Sorry for the ignorant comment.

Just a tip thou - Add all downloadlinks in the opening post.

BTW: Is there any reason why u use python instead of the "standard pokerscript" AHK? Is it easier/better? Really would like to be able to write my own scripts.
Free script to Datamine UB Quote
02-18-2009 , 11:04 AM
Quote:
Originally Posted by El helado Patata
Sorry for the ignorant comment.

Just a tip thou - Add all downloadlinks in the opening post.

BTW: Is there any reason why u use python instead of the "standard pokerscript" AHK? Is it easier/better? Really would like to be able to write my own scripts.
Hey El HP,

I would like a link in the first post but unfortunately it is way too late to edit it.

I use python because I love the language and in my opinion it is better suited to this type of task then AHK is, although it is certainly possible in python. It is probably easier to do window manipulation and hot key stuff in AHK but overall I think it is a pretty ugly language. Lots of people here seem to really like it though.

So if you are primarily going to be writing scripts that interact with poker clients and other Windows programs than AHK is probably the one to learn. If you want to learn a more general purpose programming/scripting language than python is great.

Feel free to PM me if you have an idea for a script and want some advice on which language I think is more appropriate/how to get started.
Free script to Datamine UB Quote
02-22-2009 , 11:09 AM
Noticed a bug, just got the latest version posted and it works very well (even thou it screws up seat position so the HUD is wrong but that does not matter that much for me when i am only datamining) but there is one thing that appears to be a bug.

I keep getting "there is no replay_dirs.txt" and last time this message came up I made a new file with that name and inserted the Instantreplay-folder but this was yesterday and the same errormessage comes up today. So somehow this file keeps getting deleted. Is this maybe because I usually dont hit "Q" to stop the importing or what?

Kudos anyways.
Free script to Datamine UB Quote
02-22-2009 , 12:22 PM
Hey the replay_dirs.txt file needs to be in the same directory as the script is running from, not from the Instant Replay directory...Sorry I didn't make that clear!
Free script to Datamine UB Quote
02-22-2009 , 12:25 PM
Quote:
Originally Posted by Neko
Hey the replay_dirs.txt file needs to be in the same directory as the script is running from, not from the Instant Replay directory...Sorry I didn't make that clear!
It is, but it gets deleted somehow (frequently).
Free script to Datamine UB Quote
02-22-2009 , 01:06 PM
oh ok sorry. I will run a longer test later this afternoon, or this evening to see if I can reproduce this problem. I am going to play for a few hours now though.

Also, with respect to the HUD and the names being in the wrong spot, that is due to the way the HEM hud works and has nothing to do with the script. I'm not sure if it is possible to configure HEM so that it treats observed hands diffrently in the HUD.
Free script to Datamine UB Quote
02-22-2009 , 08:58 PM
EhP...I can't reproduce your problem. Where do you have UB mine installed? Do you have HEM importing directly from the "histories" directory or from the directory above that where the script/executable is located?

Basically I am wondering if HEM is moving the replay_dirs.txt file.

Edit:

If that isn't the problem, try this version http://www.mediafire.com/file/rhzmymjmmxd/UB_mine.zip
or if you are using the python script directly replace the following block of code:
Code:
#list of locations to look for AP instant replay data files
replay_dir_file = "replay_dirs.txt"

#move instant replay files to this directory after processing
root_dir=os.path.dirname(sys.argv[0])
print "Root directory:"+root_dir
converted_dir = root_dir+"/converted/"
with

Code:
root_dir=os.path.dirname(sys.argv[0])
print "Root directory:"+root_dir

#list of locations to look for AP instant replay data files
replay_dir_file = root_dir+"/replay_dirs.txt"

#move instant replay files to this directory after processing
converted_dir = root_dir+"/converted/"

Last edited by Neko; 02-22-2009 at 09:08 PM.
Free script to Datamine UB Quote
02-25-2009 , 02:40 AM
I went ahead and installed Python 3.0 and it didn't work with that . I even changed the print statements to brackets but got "global name 'file' is not defined" or smth like that.
Free script to Datamine UB Quote
02-25-2009 , 09:57 AM
Yeah, I haven't really played around with python 3.0 at all and I'm not too surprised it didn't work. I have a number of projects on the go and I am sticking with python 2.5 and 2.6 since many of the libraries/modules that I use have not been ported to 3.0 yet.

I am guessing it will be a year or more before everyone can switch over. It will be interesting to see when things like Ubuntu start including 3.0 as the default python installation.
Free script to Datamine UB Quote
02-25-2009 , 01:59 PM
That's fine, I got the compiled version to work. Basically posted this as a headsup to anyone (like me) who just takes the latest version of Python and tries to run it.

Thanks for your effort on this.
Free script to Datamine UB Quote
02-26-2009 , 10:34 PM
python 3.0 didnt work for me either. did a version made in mid dec (dont remember which one) and it works just fine.

I am having a problem with these HH tho. They are being copied and imported fine, but HEM wont recognize the HHs for my HUD. Is anyone using this script and using them with a HUD?
Free script to Datamine UB Quote
02-26-2009 , 10:52 PM
tvta,

you need to update HM since the last cereus upgrade broke the HUD. I think this is the link for that. http://rvgsoftware.fileburst.com/Hm1.08Beta.exe
Free script to Datamine UB Quote
03-01-2009 , 03:45 PM
thanks, great! worked right from the start.
Free script to Datamine UB Quote
03-13-2009 , 03:00 AM
Quote:
Originally Posted by Neko
Here is an executable of the lateset version.

For UB:
http://www.mediafire.com/file/z1enezkz3jt/UB_mine.zip

and one for Absolute:

http://www.mediafire.com/file/nnv2tjdtydj/Abs_mine.zip
Neko, I downloaded this version for UB and extraced the folder to C:/Program Files but everytime I try to open the file "ub_mine" in the folder an error message annoying pops up with the big red X saying "This application has failed to start because the application configuration is incorrect."

Am I not extracting it right? I just highlighted the whole "UB Mine" folder and then hit extract... should I extract each specific file? And once it does run properly, how does it data mine then? Do I just run holdem manager and then click on it or something? Thanks.
Free script to Datamine UB Quote
03-13-2009 , 05:50 PM
Quote:
Originally Posted by CitizenJames
Neko, I downloaded this version for UB and extraced the folder to C:/Program Files but everytime I try to open the file "ub_mine" in the folder an error message annoying pops up with the big red X saying "This application has failed to start because the application configuration is incorrect."

Am I not extracting it right? I just highlighted the whole "UB Mine" folder and then hit extract... should I extract each specific file? And once it does run properly, how does it data mine then? Do I just run holdem manager and then click on it or something? Thanks.
Did you download and install Python? http://www.python.org/download/

When it is running just open up the tables you want to mine and set HEM to auto import from the /histories/ folder that UB Mine/AP Mine is in.
Free script to Datamine UB Quote
03-13-2009 , 07:11 PM
Quote:
Originally Posted by Glasgow Rangers
Did you download and install Python? http://www.python.org/download/

When it is running just open up the tables you want to mine and set HEM to auto import from the /histories/ folder that UB Mine/AP Mine is in.
Meh, got it. Running great, thanks a buuuuunch guys.
Free script to Datamine UB Quote
03-13-2009 , 08:45 PM
CJ,
You extracted the file correctly. I'm not 100% sure what the problem is but can you please try installing this package from microsoft http://www.microsoft.com/downloads/d...displaylang=en
and see if that fixes the problem.

If not I will try to put up another version.

Once you get it running you need to open up some UB tables and then point Holdem Manager's import directory to C:\Program Files\ub_mine\histories.
Free script to Datamine UB Quote
03-13-2009 , 08:46 PM
whoops didn't even see that you'd got it running, Thanks Glasgow. CJ, What did you have to do?
Free script to Datamine UB Quote
04-04-2009 , 03:12 PM
Neko, I'd like to donate $10. How do I do it?
Free script to Datamine UB Quote
04-13-2009 , 11:50 AM
Hi sorry if this is a stupid post, I have never used python before but would like to data mine UB.

I have downloaded 2.6.2 and installed it. I need to create a file in the folder in "UBmine" But how do i create a python specific file? sorry if this is a really silly question.

Thanks
Free script to Datamine UB Quote
04-13-2009 , 12:04 PM
copy the code posted above, paste it in notepad. Save it "ubmine.py" (save as all files -- not txt) -- then double click on it.
Free script to Datamine UB Quote
04-13-2009 , 12:30 PM
Ok thanks for that, that seems to have worked,

i'm now getting the following message however

failed to make converted hand directory

Any ideas?
Free script to Datamine UB Quote
04-13-2009 , 12:34 PM
just download the executable file so you don't have to play around with the code.
Free script to Datamine UB Quote
04-13-2009 , 12:38 PM
So where do i down load that from?
Free script to Datamine UB Quote

      
m