View Single Post
Rage2100
Old 11-19-2009, 07:17 PM #9 (permalink)  
Rage2100's Avatar
Full House

Join Date: Jan 2007
Location: UK
Posts: 712
Rage2100 is on a distinguished road
Quote:
Originally Posted by Joaggi
it was a vista problem.

i changed PokerTracker, PokerStars and AHK to run as administrator and moved the scripts to my users folder.

i dont know why but now it works
This was going to be my next suggestion, but you beat me to it.


Quote:
Originally Posted by Joaggi
I wanna modify your script but iam such a noob in these things so i need help

1) i wanna change settable and movetable to 5 slots instead of 3.
2) i wanna move the tables automatically instead of pushing a button. i thought, if i push the fold button the table stays in main stack, if i check/bet the table will move to an available slot until i fold or the hand is over.
1) I think the script would need to be almost completely re-written to have 5 slots. I was just learning AHK when I wrote it, so it's probably quite crude. I think it would be possible to use some kind of array to check 5 slots, and this would be better than the way I originally wrote it.
2) Again, I'm sure this is possible to do. You would need to check the position of the mouse click on the screen, see if this matches the position of the Fold/Check/Bet buttons, and take the appropriate action.

I'll try and have a look at this when I get chance, but I don't have a lot of spare time at the moment. I was working on a couple of other scripts, but haven't done any work on them for over a month.

You could try opening a few notepad windows and messing around with the code. This is what I did when I was writing it. The only thing with 5 slots is that it becomes quite longwinded using the method I used. You would need to check whether Slot 5 contains more tables than Slot 4, and Slot 4 contains more tables than Slot 3, and Slot 1 contains more tables than Slot 4, etc. This is why some kind of array may be better.
Reply With Quote