Open Side Menu Go to the Top
Register
StackAndTile StackAndTile

12-17-2009 , 06:42 AM
Quote:
Originally Posted by greg nice
"move to grid on flop only" is a bigger job than i thought.

currently, with StackAndTile, you dont play at all in the stack. its just a placeholder. in fact, the reason why i added custom coords for the stack, is so you could place it partially off the screen, since its of no use. that way you save screen real estate that can be used for an extra slot.

with this, you would be playing all preflop in the stack. with one site, you run into the trouble of keeping the stack updated. if stars pops up a table in slot2 that is most urgent, no stack tables will pop to the top of the stack until you act on the table in slot2. you can potentially time out in the stack.

but when you throw two sites in the mix, you encounter yet another problem: you'll have both sites popping up in the stack. if youre playing both stars and fulltilt, in the stack stars table auto pops up, 27o, you are about to click Fold. but fulltilt has its own pop up feature, so a fulltilt table with AA becomes urgent and pops up on top of your stars table, causing you to potentially misclick fold.
just make the active tabel Always on Top and if it dont need atantion anymore remove the alway on top atribute,that wil solf the stacking popping up
StackAndTile Quote
12-17-2009 , 07:11 AM
perhaps, but im not sure i like setting always on top. then you cant use other windows
StackAndTile Quote
12-17-2009 , 07:47 AM
There are 3 ways to solf that poblem
1E : handel the popping up your self,Turning of the auto popup by the poker clients
2E : The always on top
3E : different Main Stack fore Ps and Full Tilt
StackAndTile Quote
12-17-2009 , 08:24 AM
Greg: Have you (or anyone else you know of) considered watching the pokerstars.log.0 file instead of trying to pixelread? It has every mouseclick event (even if hotkey routed through TN) with the coordinates in it. The only problem I see with using it is whether it's updated quickly enough.
StackAndTile Quote
12-17-2009 , 11:13 AM
Quote:
Originally Posted by malloc
Greg: Have you (or anyone else you know of) considered watching the pokerstars.log.0 file instead of trying to pixelread? It has every mouseclick event (even if hotkey routed through TN) with the coordinates in it. The only problem I see with using it is whether it's updated quickly enough.
no, i never knew this. sounds interesting. if you find any examples, let me know
StackAndTile Quote
12-17-2009 , 11:28 AM
Yes, there is update rate issue and it also might be hard to determind when action is on hero.
StackAndTile Quote
12-17-2009 , 12:48 PM
Quote:
Originally Posted by NeedAJoker
Not really sure, it just doesnt want to fold.
i dont think the full tilt buttons scale well with different table sizes. i found myself having the same problem as you during testing tonight, it just wouldn't fold. i'm gonna spam some different coordinates, next version should be better
StackAndTile Quote
12-17-2009 , 12:57 PM
Yeah, noticed that too, buttons are being changed with different table sizes so it should be better to make comparison with background color.
StackAndTile Quote
12-17-2009 , 03:12 PM
Quote:
Originally Posted by greg nice
i dont think the full tilt buttons scale well with different table sizes. i found myself having the same problem as you during testing tonight, it just wouldn't fold. i'm gonna spam some different coordinates, next version should be better
Cool, do u still want me to try the PM'd version or just hold off?
StackAndTile Quote
12-17-2009 , 05:36 PM
What about moving the table out of the stack only when the bet/raise button is pressed? Of course the table would stay in the stack when a you check your BB in a limped pot but that's not a big deal.

It wouldn't be a problem to move a table back to the stack by pressing the fold button if everyone else folded to your bet.
StackAndTile Quote
12-17-2009 , 08:06 PM
Quote:
Originally Posted by Dread Wings
What about moving the table out of the stack only when the bet/raise button is pressed? Of course the table would stay in the stack when a you check your BB in a limped pot but that's not a big deal.

It wouldn't be a problem to move a table back to the stack by pressing the fold button if everyone else folded to your bet.
this was talked about starting at post #32 in this thread

this method is the alternative to doing flop detection. it obviously can be done, but then i would have to handle more hotkeys (ugh, seems the biggest bug report is 'Fold' button problems), and it starts to be a halfway Table Ninja replacement. but i guess its only two more hotkeys, Check/Call and Bet/Raise.

the alternative i chose was flop card detection. it is most certainly slower than the method above. should be ready soon for ppl to try and give feedback
StackAndTile Quote
12-17-2009 , 08:48 PM
is there any value to adding a "Manually move table out of stack into next open grid slot" hotkey?
StackAndTile Quote
12-18-2009 , 12:24 AM
v 1.10
- adds flop detection
- fixes Fold hotkey problems (hopefully)
- otherstuff

you will be able to get the latest at overcards

http://www.overcards.com/wiki/moin.cgi/StackAndTile
StackAndTile Quote
12-18-2009 , 07:12 AM
Windows 7/Vista users, have in mind that pixel detection function works about 2x faster with aero theme turned off.
StackAndTile Quote
12-18-2009 , 08:47 AM
does CreateCompatibleBitmap work better with aero on?
StackAndTile Quote
12-18-2009 , 09:08 AM
Didn't check it there, but i get flickering while running your script even on XP.
You should use RedrawWindow function for visible controls only and not for all.
StackAndTile Quote
12-18-2009 , 07:59 PM
hrm, will look into it
StackAndTile Quote
12-18-2009 , 09:18 PM
Hello, I have a little problem setting this up. I'm using 2 screens and want both the stack and tile on my left screen. When I'm setting this up right now I get the stack to be positioned upper left corner of left screen but then when it tiles it shows up on my right screen (upper left corner[slot1?] how can I change this?

Tank you!
StackAndTile Quote
12-19-2009 , 05:33 AM
Quote:
Originally Posted by xK1nGeNx
Hello, I have a little problem setting this up. I'm using 2 screens and want both the stack and tile on my left screen. When I'm setting this up right now I get the stack to be positioned upper left corner of left screen but then when it tiles it shows up on my right screen (upper left corner[slot1?] how can I change this?

Tank you!
so when you press Start, the stack is positioned in the upperleft corner of the left monitor. and when tables start to be tiled, they start in the upperleft of the right monitor? is that right?

i dont have 2 monitors right now to test on. can you copy and paste all the lines from the StackAndTile.ini file ?
StackAndTile Quote
12-19-2009 , 06:05 AM
nice program I cant play more then 14 tables without it lagging pretty bad but it definitely has some potential
StackAndTile Quote
12-19-2009 , 06:26 AM
And did you try turning aero off (for Vista/W7)?
StackAndTile Quote
12-19-2009 , 06:53 AM
Quote:
Originally Posted by Max1mums
And did you try turning aero off (for Vista/W7)?
I have Aero disabled as well as UAC.Pokerstars is running at high priority so is Autohotkey and TableNinja.I have no firewall or av running and the services that are running are identical to the "Windows Vista 'Safe' Settings" from http://www.speedyvista.com/registry.php except that I also have my wireless service running.I am running the 64bit version of Windows Vista Home Premium SP2.My screen resolution is 1280 - 800 and as such I am only running 4 tiled slots.My computer specs are listed below.It may be my ****ty ass video card who knows.
  • Processor:Intel(R) Core(TM) 2 Duo CPU T6400 @ 2.00GHz (2 CPUs),~2.00GHz
    Ram:4GIGS DDR
    On board Intel 4 series for video
StackAndTile Quote
12-19-2009 , 07:14 AM
Hmm try setting processes priority to normal. Don't really know whether getpixel procedure should work slower/faster under x64 OS.
StackAndTile Quote
12-19-2009 , 07:39 AM
Try running this speed test, just open any 20 PS/FT tables (Playmoney cash easiest), press f12 several times, how much will it be for you?
Code:
#NoEnv
#SingleInstance, Force
Settitlematchmode, 2


SysGet, xbord, 32
SysGet, ybord, 33
SysGet, cap, 4


f12::
StartTime:=A_TickCount
WinGet, listst, List, ahk_class PokerStarsTableFrameClass
WinGet, listft, List, ahk_class QWidget,,Full Tilt
Loop, %listst%
{
win:=listst%A_index%
col%A_index%:=PixelColorA(0.5,0.5,win)
}
Loop, %listft%
{
win:=listft%A_index%
col%A_index%:=PixelColorA(0.5,0.5,win)
}
ElapsedTime:=A_TickCount - StartTime
Gui, 2:Add, Text,,%ElapsedTime% milliseconds have elapsed
Gui, 2:+ToolWindow
Gui, 2:Show, w180 h40
Sleep, 1000
Gui, 2:Destroy
return




CreateDIBSection(hDC, nW, nH, bpp = 32, ByRef pBits = "") {
   NumPut(VarSetCapacity(bi, 40, 0), bi)
   NumPut(nW, bi, 4)
   NumPut(nH, bi, 8)
   NumPut(bpp, NumPut(1, bi, 12, "UShort"), 0, "Ushort")
   NumPut(0,  bi,16)
   Return DllCall("gdi32\CreateDIBSection", "Uint", hDC, "Uint", &bi, "Uint", 0, "UintP", pBits, "Uint", 0, "Uint", 0)
}

PixelColorA(colxa,colya,id)
{
critical ;speed up
global xbord,ybord,cap
hdc_frame := DllCall( "GetDC", "UInt", id)
hdc_buffer := DllCall("gdi32.dll\CreateCompatibleDC", "UInt",  hdc_frame)
WinGetPos, X, Y, W, H, ahk_id %id%
hbm_buffer := CreateDIBSection(hdc_frame, w, h)
DllCall( "gdi32.dll\SelectObject", UInt,hdc_buffer, UInt,hbm_buffer)
DllCall( "PrintWindow", "UInt" , id , "UInt" , hdc_buffer , "UInt" , 0 )
WinGetPos, X, Y, W, H, ahk_id %id%
DllCall("RedrawWindow",uint,id,uint,0,uint,0,uint, 1|16|32|128|256|1024) ; with all children windows
w := w - (2*xbord)
h := h - (2*ybord) - cap
Transform, X, Floor, W*colxa
Transform, Y, Floor, H*colya
pixel_x := x + xbord
pixel_y := y + ybord + cap
pix := DllCall("GetPixel", "UInt", hdc_buffer, "Int", pixel_x , "Int", pixel_y) 
SetFormat, IntegerFast, hex
pix += 0  ; Sets Var (which previously contained 11) to be 0xb.
pix .= ""  ; Necessary due to the "fast" mode.
SetFormat, IntegerFast, d
DllCall( "gdi32.dll\DeleteObject", "uint", hbm_buffer )
DllCall( "gdi32.dll\ReleaseDC"    , "uint", hdc_frame )
DllCall( "gdi32.dll\DeleteDC"    , "uint", hdc_frame )
DllCall( "gdi32.dll\DeleteDC"    , "uint", hdc_buffer )
return pix
}
StackAndTile Quote
12-19-2009 , 08:20 AM
Quote:
Originally Posted by Max1mums
Try running this speed test, just open any 20 PS/FT tables (Playmoney cash easiest), press f12 several times, how much will it be for you?
[/CODE]
If you want samples of speed I'm getting 175ms on a Core2duo 3ghz (E8400). 20 tables


Thanks greg for stack and tile btw. It works pretty good
StackAndTile Quote

      
m