Two Plus Two Newer Archives

Two Plus Two Newer Archives (http://archives1.twoplustwo.com/index.php)
-   Software (http://archives1.twoplustwo.com/forumdisplay.php?f=47)
-   -   NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables) (http://archives1.twoplustwo.com/showthread.php?t=245982)

_dave_ 10-26-2006 10:00 PM

NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables)
 
Hello all,

So I got a bit sidetracked trying to fix BetPot, when I realised how some of the parts enable this to be done.

I have a tendancy to get really focused on an idea once it occurs to me, so unfortunately BetPot fixes are gonna have to wait until tomorrow [img]/images/graemlins/frown.gif[/img]

So, here is a real early version of my Party Planner clone for PokerStars - StarsPlanner [img]/images/graemlins/smile.gif[/img]

<font color="blue">-----------------------------------------------------------------------</font>

This script Mimics the automatic table resizing and positioning found in PartyPlanner, but for Poker Stars.

You can set desired table size, and a grid for tables sppecified by height and width. Tables will fill up from the top of leftmost column downward, starting a new column when specified.

Once tables are open, they may be dragged to another "slot", swapping with the table already there if there is one (like PartyPlanner)

I have included presets for 3 common table layouts:

<ul type="square">[*]12 mini-tables, on a 1920x1200 24" widescreen monitor (default) [*]8 normal size tables, across two 20" 1600x1200 monitors[*]4 slightly smaller tables, on a single 17" 1280x1024 standard monitor. [/list]

<font color="blue">-----------------------------------------------------------------------</font>


As always, let me know if you have any problems / find this useful etc.

Early version seems to work great, but (as demonstrated by latest BetPot) what works for me does not always work for others lol [img]/images/graemlins/smile.gif[/img]

Enjoy,

dave.

www.overcards.com/wiki/moin.cgi/StarsPlanner


EDIT: Changed title to be a bit more descriptive

poisonxfree 10-26-2006 10:04 PM

Re: NEW AHK Script: StarsPlanner
 
Thanks for this. I will be checking it out soon.

poisonxfree 10-26-2006 10:36 PM

Re: NEW AHK Script: StarsPlanner
 
Hm, question. How do I create layouts for it to use [the grid you spoke of] and also how so I save those and select between them?

_dave_ 10-26-2006 10:45 PM

Re: NEW AHK Script: StarsPlanner
 
[ QUOTE ]
Hm, question. How do I create layouts for it to use [the grid you spoke of] and also how so I save those and select between them?

[/ QUOTE ]

Right near the top of the script (open it in notepad) you will see a section looking like this:

---------------------------------------------------------------------------------
ideal_width := 475 ; &lt;-- THIS IS CLIENT AREA WIDTH (475 is the minimum)
tables_across := 4 ; This will get you 12 mini-tables
tables_down := 3 ; good for 1920x1200 monitor, eg dell 2405fpw
---------------------------------------------------------------------------------

These create a grid, starting from the top-left of your primary monitor, going down by "tables_down", and across by "tables_across", using table sizes of "ideal_width" (table height is calculated, depending upon specified width).


Change these numbers to your liking, save &amp; reload the script for changfes to take effect. It should resize any tables ytou have already open, but if for some reason it does not, just closa them all and open new tables to test a layout - you don't have to sit for it to work.



I will probably make a GUI to simplify this if there is much interest.


What Monitor size / number of tables / grid layout do you have in mind - I can give you some numbers if you want?


dave.

poisonxfree 10-26-2006 11:07 PM

Re: NEW AHK Script: StarsPlanner
 
I'm not sure yet, was going to experiment. I hadn't glanced at the code for the script yet but I will play around with it. I have 2 Dell 2005 FPWs, but typically just use the left for poker. I will likely figure out a good 6 and 9 table setup.

_dave_ 10-26-2006 11:31 PM

Re: NEW AHK Script: StarsPlanner
 
[ QUOTE ]

I have 2 Dell 2005 FPWs


[/ QUOTE ]

this has a 1680x1050 resolution, yes?

a setup such as this:

---------------------------------------------------------------------------------
ideal_width := 552
tables_across := 6
tables_down := 2
---------------------------------------------------------------------------------

should give 6 tables per screen, in a 3x2 grid per monitor, utilising the full width of these panels.

The first 6 should appear on the left monitor, providing it is the primary display.

(These numbers are a (calculated) guess) - Poker computer off now, late at night [img]/images/graemlins/smile.gif[/img] )

dave.

mason55 10-27-2006 12:37 AM

Re: NEW AHK Script: StarsPlanner
 
wow this works great on my 1280x1024 flat panel. Thanks _dave_!!!

Reef 10-27-2006 01:15 AM

Re: NEW AHK Script: StarsPlanner
 
omfg I want to give you sweet sweet (non homosexual) loving!

poisonxfree 10-27-2006 01:17 AM

Re: NEW AHK Script: StarsPlanner
 
Awesome. I will give it a shot tomorrow morning. Thanks much!

Dexter_Cain 10-27-2006 01:34 AM

Re: NEW AHK Script: StarsPlanner
 
is it possible for it to be edited to fill slots in a different order. specifically for the 8 monitor set-up, can i have it start on top left of left monitor, then go to top right on LEFT monitor. Then bottom left left monitor etc..How would I do that?

also, this thing [censored] rocks, ty.

Jehaim 10-27-2006 01:43 AM

Re: NEW AHK Script: StarsPlanner
 
What's the difference between this script and letting PokerStars Tile the tables and using PokerStars' "remember table positioning" option?

cassolete 10-27-2006 02:00 AM

Re: NEW AHK Script: StarsPlanner
 
Thanks a lot !! Great work !

KLJ 10-27-2006 02:09 AM

Re: NEW AHK Script: StarsPlanner
 
Nice work. Are you gonna fancify this?

I have two monitors, but put 12 tables on one monitor. Thus, the interface of PP worked really good for me, cause I'd want the screen to fill up like:
_______
|_1_|_2_|
|_3_|_4_|

and then 5 going under 1, etc. The built in "keep lobby" feature was useful as well.

I'd be happy to shoot you a donation for this, I'm not sure what's standard.

mason55 10-27-2006 02:33 AM

Re: NEW AHK Script: StarsPlanner
 
Don't know if this is supposed to happen but sometimes when I double click a window it swaps spots with another one. Also a window seems to swap for no reason every once in awhile (although it's possible it's getting a double click event from a click being passed through when I click to activate it)

Edit: Ok it's definitely swapping without double clicks. If I double click a few times on a window it will swap with another as well. I've been playing 2 cash tables and one tournament table on the supplied 1280x1024 layout.

ICMoney 10-27-2006 03:51 AM

Re: NEW AHK Script: StarsPlanner
 
A GUI would be sweet.

Thanks

PatInTheHat 10-27-2006 04:07 AM

Re: NEW AHK Script: StarsPlanner
 
Dave you are a machine. Going to give this a try now.

PatInTheHat 10-27-2006 04:22 AM

Re: NEW AHK Script: StarsPlanner
 
Just took a look at it and I think it's going to be very difficult to get this working for my layout. Dave this is probably gonna be a huge pain in the ass so don't put much effort in advising me here but this is what my layout looks like while im playing on stars: (Sorry its black and white because it was a huge file)

http://i4.photobucket.com/albums/y12...Sky/Layout.jpg

Basically I have 9 re-sized tables on my 30" in the middle and another 4 full sized on a 21". Any ideas? :P Maybe best to wait for a gui version that can capture and save my table setup like pplanner could?

Wynton 10-27-2006 10:11 AM

Re: NEW AHK Script: StarsPlanner
 
[ QUOTE ]
What's the difference between this script and letting PokerStars Tile the tables and using PokerStars' "remember table positioning" option?

[/ QUOTE ]

_dave_ 10-27-2006 11:37 AM

Re: NEW AHK Script: StarsPlanner
 
[ QUOTE ]
What's the difference between this script and letting PokerStars Tile the tables and using PokerStars' "remember table positioning" option?

[/ QUOTE ]

Jahaim, Wynton:

This script is similar, but acts more like Party Planner than the built in PokerStars "Remember Table Positioning" does.

In addition to auto-resize &amp; tile tables, this script will:
<ul type="square">[*]Create a table-sized grid your tables will "snap-to", when you move them. [*]New tables always open in the lowest numbered, unused area.[*]Table Positions can be swapped, by dragging over another area[*]Put a table back in it's place should you accidentaly move one a little bit[*]Resize a table back to what it should be, should you accidentaly resize one[/list]
Try it and you will see the difference.

dave.

_dave_ 10-27-2006 11:40 AM

Re: NEW AHK Script: StarsPlanner
 
[ QUOTE ]

sometimes when I double click a window it swaps spots with another one


[/ QUOTE ]

Mason,

I will look in to (fix) this tonight. I think I know why this happens, but I'm away from my machine right now.

dave.

cassolete 10-27-2006 12:08 PM

Re: NEW AHK Script: StarsPlanner
 
[ QUOTE ]
[ QUOTE ]
What's the difference between this script and letting PokerStars Tile the tables and using PokerStars' "remember table positioning" option?

[/ QUOTE ]

[/ QUOTE ]

man lol =) it seems u are not sng player.
to Dave: Could u please add table sorting by blinds? If it's not hard, of course. I mean tables with higher blinds goes on top slots of primary (left) monitor, with lower blinds - on right monitor. Thanks anyway .

punter11235 10-27-2006 01:28 PM

Re: NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables)
 
Dave, GUI would be great. Also I am not sure if its possible to set up tables with overlay (I like playing this way) like in PartyPlanner.

Awesome job man [img]/images/graemlins/smile.gif[/img]

Jehaim 10-27-2006 02:28 PM

Re: NEW AHK Script: StarsPlanner
 
[ QUOTE ]
Try it and you will see the difference.

dave.

[/ QUOTE ]

Yep I see the light now. [img]/images/graemlins/cool.gif[/img]

Ty. [img]/images/graemlins/grin.gif[/img]

poisonxfree 10-27-2006 03:08 PM

Re: NEW AHK Script: StarsPlanner
 
I'm only having one problem. It seems to "fight" with the little notification box that comes up when you get seated at a sng. It won't resize/move the table until i can close out of that, which proves to be difficult since I don't have control of the mouse. I've had decent luck mashing the space bar to close it, but if anything could be done about this that would be great. Also, I'm fairly new at stars so if there's anyway to turn off those notifications, please let me know.

This is MUCH better than stars' solution, thank you.

poisonxfree 10-27-2006 03:45 PM

Re: NEW AHK Script: StarsPlanner
 
Just popped up with a new problem which someone else may have mentioned, I just thought I'd say I'm having it too. Whenever I slide the bar over to increase bet size it swaps that table with another =\

_dave_ 10-27-2006 04:46 PM

Re: NEW AHK Script: StarsPlanner
 
[ QUOTE ]

Just popped up with a new problem which someone else may have mentioned, I just thought I'd say I'm having it too. Whenever I slide the bar over to increase bet size it swaps that table with another =\


[/ QUOTE ]

This is the same problem Mason posted about earlier - It is not triggered by double clicking, but by holding the mouse for a short period (like when you move the slider).

I have found the fix for this, will post shortly, just as soon as I fix this one aswell...

[ QUOTE ]

It seems to "fight" with the little notification box that comes up when you get seated at a sng. It won't resize/move the table until i can close out of that, which proves to be difficult


[/ QUOTE ]

Difficult indeed. I just registered for a tourney, waited with anticipation for the message box, and LOLed - you can see the mouse repeatedly trying, in vain, to resize the window... quite funny if only I wansn't looking at my hand about to time out [img]/images/graemlins/smile.gif[/img]... )

Because of this, I mashed space, got past it, but was unable to screenshot or windowspy the pop-up... gonna have to play another tourney, fix, then play another to test again. good job they have $1.50 tournies [img]/images/graemlins/smile.gif[/img]


I'm thinking the script should just kill these pop-ups the instant they appear - are they actually of use to anyone? is there any reason this would be a bad idea?

dave.

cassolete 10-27-2006 09:26 PM

Re: NEW AHK Script: StarsPlanner
 
I think no=)) we all are waiting for upgrade =)

_dave_ 10-28-2006 12:25 AM

Re: NEW AHK Script: StarsPlanner
 
New version uploaded [img]/images/graemlins/smile.gif[/img]

www.overcards.com/wiki/moin.cgi/StarsPlanner

<ul type="square">[*]Fixed issue with random tables swapping about[*]Added PopUp buster to fix "Tourney Starting..." problems etc.[*]Increased "mouse speed" to MAX, for faster resizing (This may cause problems - it is fine for me, but who knows - Please report any trouble)[/list]
Enjoy,

dave.

mason55 10-28-2006 12:56 AM

Re: NEW AHK Script: StarsPlanner
 
dave,

works good now! thanks a ton.

one question, have you considered using the AHK DllCall function to call SetWindowPos on the table windows instead of manually doing it with mouse movements? might solve some issues.

poisonxfree 10-28-2006 01:07 PM

Re: NEW AHK Script: StarsPlanner
 
Thank you very much for addressing those issues. I'm out of town for the weekend so likely won't be playing again until Tuesday, but I will report back ASAP.

skreemer7 11-07-2006 02:47 AM

Re: NEW AHK Script: StarsPlanner
 
Quick question, I play on my laptop and what I do is just maximize every table and use the activetable option for TN. Could I use this somehow to automatically press Ok for the new table popup thingy and have it maximize each table in the process as well? I could even try working with the code if someone walked me through it. Thanks

blainestar 11-07-2006 10:26 AM

Re: NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables)
 
[ QUOTE ]
Dave, GUI would be great. Also I am not sure if its possible to set up tables with overlay (I like playing this way) like in PartyPlanner.

Awesome job man [img]/images/graemlins/smile.gif[/img]

[/ QUOTE ]
i also would be VERY interested in being able to overlay and possibly being able to tile from bottom if its not hard........ VERY SWEET LIL PROGRAM! DAVE!

poisonxfree 11-07-2006 12:07 PM

Re: NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables)
 
One thing I've noticed also is that this forces the lobby to stay up. Is it possible to change this?

_dave_ 11-07-2006 05:37 PM

Re: NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables)
 
Blainstar,
[ QUOTE ]

i also would be VERY interested in being able to overlay and possibly being able to tile from bottom if its not hard...


[/ QUOTE ]

Done [img]/images/graemlins/smile.gif[/img]

Poinsonxfree,
[ QUOTE ]

One thing I've noticed also is that this forces the lobby to stay up. Is it possible to change this?


[/ QUOTE ]

Done [img]/images/graemlins/smile.gif[/img]

New version just going up now...

I think I have covered all feature requests in this thread so far, apart from the "re-sort tables by blind amount" -
next version for this, I'm afraid Casolette.

Anyway, here it is:

StarsPlanner v0.03

www.overcards.com/wiki/moin.cgi/StarsPlanner


http://img299.imageshack.us/img299/4...nerv003td0.png

New Features
<ul type="square">[*] GUI for ease of use[*] Can capture layout from open Stars tables[*] Saves as many layouts as you like[*] Can be (graphically) configured to fill slots in any order[*] Overlapping tables now supported[*] Gets rid of some Pop-Up spam windows (please suggest more if desired)[*] Can auto buyin max (on NL tables)[*] Can Keep Lobby on screen (now optional)[*] Can sit out / in again at all tables with a single click[/list]

I hope this works OK for everyone - if not, or for any feedback / suggestions, please let me know.

dave.

Reef 11-07-2006 06:33 PM

Re: NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables)
 
This update has INCREDIBLE potential

----
Very close to earning your $100 dave [img]/images/graemlins/smile.gif[/img]

_dave_ 11-07-2006 11:35 PM

Re: NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables)
 
It appears there was a bug or two in the new GUI code... [img]/images/graemlins/frown.gif[/img]

Was my fist effort in AHK GUI coding, so nevermind, pls forgive me.

New (bugfix) release - no new features:

Stars Planner v 0.03a

Enjoy,

dave.

blainestar 11-08-2006 03:06 AM

Re: NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables)
 
[ QUOTE ]
Blainstar,
[ QUOTE ]

i also would be VERY interested in being able to overlay and possibly being able to tile from bottom if its not hard...


[/ QUOTE ]

Done [img]/images/graemlins/smile.gif[/img]

Poinsonxfree,
[ QUOTE ]

One thing I've noticed also is that this forces the lobby to stay up. Is it possible to change this?


[/ QUOTE ]

Done [img]/images/graemlins/smile.gif[/img]

New version just going up now...

I think I have covered all feature requests in this thread so far, apart from the "re-sort tables by blind amount" -
next version for this, I'm afraid Casolette.

Anyway, here it is:

StarsPlanner v0.03

www.overcards.com/wiki/moin.cgi/StarsPlanner


http://img299.imageshack.us/img299/4...nerv003td0.png

New Features
<ul type="square">[*] GUI for ease of use[*] Can capture layout from open Stars tables[*] Saves as many layouts as you like[*] Can be (graphically) configured to fill slots in any order[*] Overlapping tables now supported[*] Gets rid of some Pop-Up spam windows (please suggest more if desired)[*] Can auto buyin max (on NL tables)[*] Can Keep Lobby on screen (now optional)[*] Can sit out / in again at all tables with a single click[/list]

I hope this works OK for everyone - if not, or for any feedback / suggestions, please let me know.

dave.

[/ QUOTE ]
jesus christ dave u r a machine, thank you man! i'm sure its been posted millions of times but where can i get info to make donations??? if u dont wanna post it please send me a PM Dave! TY AGAIN

Reef 11-08-2006 03:55 AM

Re: NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables)
 
his stars name is in his profile

rubbishaka80 11-08-2006 07:14 PM

Re: NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables)
 
Hi there!

Would it be possible to automatically move tables up when a table is closed?

_dave_ 11-08-2006 09:12 PM

Re: NEW AHK Script: StarsPlanner (Auto Resize / Arrange Tables)
 
[ QUOTE ]
Hi there!

Would it be possible to automatically move tables up when a table is closed?

[/ QUOTE ]

Hi rubbishaka80,

It is probably possible, but I can't figure out quite what you mean - is this a tourney thing?

Pls give details how I can produce a "Closed Table" - I will look in to it [img]/images/graemlins/smile.gif[/img]

dave.


All times are GMT -4. The time now is 09:57 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.