Two Plus Two Publishing LLC
Two Plus Two Publishing LLC
 

Go Back   Two Plus Two Poker Forums > > >

Notices

Free Software Discussion of Free / Freeware / Donationware / Open Source poker software and Free Graphics mods

Reply
 
Thread Tools Display Modes
Old 08-06-2008, 04:39 PM   #51
Hood
Carpal \'Tunnel
 
Hood's Avatar
 
Join Date: Apr 2004
Location: 99 problems but a TT+ just ship pf
Posts: 6,771
Re: PlaceMint: Window Positioning Tool

Big issue with the new version - i cant drag windows in to slots 1 and 2 (I have a layout of 1 and 2 at the top, 3 and 4 at the bottom).

Also (perhaps related issue) - funny things happen in the main window. If I click (or perhaps just hover over, cant recall right now), it seems to duplicate itself in the list. V. odd behaviour.

sorry for the crappy explanation, let me know if you cant replicate it and i'll try and be a bit clearer.
Hood is offline   Reply With Quote
Old 08-06-2008, 06:24 PM   #52
TheIrishThug
Pooh-Bah
 
TheIrishThug's Avatar
 
Join Date: Jan 2005
Location: Belligerent and numerous
Posts: 5,223
Re: PlaceMint: Window Positioning Tool

Found and fixed the bug about dragging into slots 1 or 2.

You are going to have to give me a better explanation about what is happening in the main window. What exactly do you mean by "duplicate itself"? Also, if you can let me know if it's clicking or hovering? And what exactly are you clicking/hovering over, is it a slot in tree view, a group, or part of the menu?
TheIrishThug is offline   Reply With Quote
Old 08-07-2008, 10:36 AM   #53
Hood
Carpal \'Tunnel
 
Hood's Avatar
 
Join Date: Apr 2004
Location: 99 problems but a TT+ just ship pf
Posts: 6,771
Re: PlaceMint: Window Positioning Tool



Now when I put the mouse cursor over the text in slot 3 (i dont need to click it)

Hood is offline   Reply With Quote
Old 08-07-2008, 11:30 AM   #54
TheIrishThug
Pooh-Bah
 
TheIrishThug's Avatar
 
Join Date: Jan 2005
Location: Belligerent and numerous
Posts: 5,223
Re: PlaceMint: Window Positioning Tool

In the second picture, there is a tool tip with the window name. Where is that coming from? PlaceMint only uses tool tips within the configuration window to warn about setup errors. My guess is that the tool tip's title is the same as it's display text, which means it would be a window PlaceMint should watch because it has a title that matches the regular expression.
TheIrishThug is offline   Reply With Quote
Old 08-07-2008, 11:54 AM   #55
Hood
Carpal \'Tunnel
 
Hood's Avatar
 
Join Date: Apr 2004
Location: 99 problems but a TT+ just ship pf
Posts: 6,771
Re: PlaceMint: Window Positioning Tool

You're nearly there. It's shown because the window name is long and so doesnt fit fully in the control, and a tooltip is shown. The tooltip is a default behaviour of this treeview list control. (If I expand the window so the full title fits, then this behaviour doesnt occur).
Hood is offline   Reply With Quote
Old 08-07-2008, 02:14 PM   #56
TheIrishThug
Pooh-Bah
 
TheIrishThug's Avatar
 
Join Date: Jan 2005
Location: Belligerent and numerous
Posts: 5,223
Re: PlaceMint: Window Positioning Tool

That's it, I can see it now. Stupid default windows actions . Now that I can reproduce and know exactly what is happening, I can look at what is the best fix. Thanks for help debug PlaceMint.
TheIrishThug is offline   Reply With Quote
Old 08-07-2008, 06:59 PM   #57
TheIrishThug
Pooh-Bah
 
TheIrishThug's Avatar
 
Join Date: Jan 2005
Location: Belligerent and numerous
Posts: 5,223
Re: PlaceMint: Window Positioning Tool

I've fixed the tool tip bug. The end result is that PlaceMint will ignore all tool tip windows. Based on how tool tips are used, I don't see there being a situation where someone actually wants to position and size tool tip windows.

If no one comments on the increased update frequency, I'm going to close the bug without any further changes.

This leaves just the bug of changes in the configuration window taking effect before they are saved and the configuration window is closed. I haven't been able to reproduce this. I saw it once and it was reported once by someone, but I can't do debug work if I can't make the bug happen.

With all that said, it looks like there will be one more patch for the v0.3 cycle to come out at some point this weekend. Then I will look at the feature requests and decide what should be included for v0.4. If people have a preference, let me know. You can see the requests here.
TheIrishThug is offline   Reply With Quote
Old 08-07-2008, 08:28 PM   #58
uncleshady
veteran
 
uncleshady's Avatar
 
Join Date: Apr 2005
Location: thousands of useless posts
Posts: 3,329
Re: PlaceMint: Window Positioning Tool

Im super retarded, so could somebody post a step by step guide on how to make this work with a poker site?

thx

shady
uncleshady is offline   Reply With Quote
Old 08-08-2008, 12:31 AM   #59
TheIrishThug
Pooh-Bah
 
TheIrishThug's Avatar
 
Join Date: Jan 2005
Location: Belligerent and numerous
Posts: 5,223
Re: PlaceMint: Window Positioning Tool

There are How-To's on the project's wiki and a short bit written by HighStakes. Can you ask specific questions about what you don't understand? I need more than "I can't get it to work" to help you.
TheIrishThug is offline   Reply With Quote
Old 08-08-2008, 07:16 AM   #60
Hood
Carpal \'Tunnel
 
Hood's Avatar
 
Join Date: Apr 2004
Location: 99 problems but a TT+ just ship pf
Posts: 6,771
Re: PlaceMint: Window Positioning Tool

Quote:
Originally Posted by TheIrishThug View Post
I've fixed the tool tip bug. The end result is that PlaceMint will ignore all tool tip windows. Based on how tool tips are used, I don't see there being a situation where someone actually wants to position and size tool tip windows.
That's a good idea, because there were probably other similar issues (e.g. getting the same popup in the windows task manager)

Quote:
If no one comments on the increased update frequency, I'm going to close the bug without any further changes.
Setting the refresh helped, I still say it's quite flickery dragging around windows, but I would definately put this down as a low priority feature request, not a bug, as it doesnt effect the running of the program, it's just a visual thing.

Quote:
This leaves just the bug of changes in the configuration window taking effect before they are saved and the configuration window is closed. I haven't been able to reproduce this. I saw it once and it was reported once by someone, but I can't do debug work if I can't make the bug happen.
I see if I can replicate it.


Edit: Have you uploaded a new version that fixes the slots bug and the popup issue? It's still 1.3.2 on sourceforge.
Hood is offline   Reply With Quote
Old 08-08-2008, 09:25 AM   #61
Hood
Carpal \'Tunnel
 
Hood's Avatar
 
Join Date: Apr 2004
Location: 99 problems but a TT+ just ship pf
Posts: 6,771
Re: PlaceMint: Window Positioning Tool

Bug report: this has happened to be a few times, but I can't reproduce it on-demand. It occurs when a window that placemint had been controlling closes. I get a .NET framework error window, but I can continue and the program will continue working correctrly.

There doesn't seem to be any specific environment when this occurs, and it's pretty infrequent - I use placemint to manage 15-20 windows an hour, and have been using it constantly all week, and I've seen this error perhaps 5 or 6 times.

Anyway, The error is:

SetWindowPos failed to move and size the window: 87.

PlaceMint.Manager.PMException.Win32Exception: SetWindowPos failed to move and size the window: 87
en PlaceMint.Manager.Slot.moveAndSizeWin(Boolean movable, Boolean sizable)
en PlaceMint.Manager.WindowGroup.refresh(Boolean dragDropSwap)
en PlaceMint.Manager.Configuration.refreshGroups(Bool ean dragDropSwap)
en PlaceMint.Access.MainGUI.refreshTimer_Tick(Object sender, EventArgs e)
en System.Windows.Forms.Timer.OnTick(EventArgs e)
en System.Windows.Forms.Timer.TimerNativeWindow.WndPr oc(Message& m)
en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


(I hope you don't mind bug reports here rather than on sourceforge, navigating that site puts me on tilt)
Hood is offline   Reply With Quote
Old 08-08-2008, 11:01 AM   #62
TheIrishThug
Pooh-Bah
 
TheIrishThug's Avatar
 
Join Date: Jan 2005
Location: Belligerent and numerous
Posts: 5,223
Re: PlaceMint: Window Positioning Tool

A Win32Exception is something I throw when a call to a WinAPI function fails for some reason. 87 is there error code for invalid parameter, so it has to be a timing thing. The window closes in refresh after I check if windows have closed, but before I start repositioning windows. Since this will easily get corrected on the next loop thru refresh, I can just turn these into log messages.

I'm using the trackers more to keep myself organized. Compared to using this thread and a text file on my computer, the trackers are the best option. The Sourceforge website is going to look funking for a little while because they are rolling out a lot of updates to both the back end and layout this week.

I'll bang out the new bug fix and upload v0.3.3 soon.
TheIrishThug is offline   Reply With Quote
Old 08-08-2008, 11:31 AM   #63
Hood
Carpal \'Tunnel
 
Hood's Avatar
 
Join Date: Apr 2004
Location: 99 problems but a TT+ just ship pf
Posts: 6,771
Re: PlaceMint: Window Positioning Tool

Quote:
Originally Posted by TheIrishThug View Post
I'm using the trackers more to keep myself organized. Compared to using this thread and a text file on my computer, the trackers are the best option. The Sourceforge website is going to look funking for a little while because they are rolling out a lot of updates to both the back end and layout this week.
I hope they clean and simplify things a lot. It's been in need of a facelift for years in my opinion. Compared to the lean google code system, it always seems such a hassle to track and post fixes and requests.

Quote:
I'll bang out the new bug fix and upload v0.3.3 soon.
Great, and thanks again for your continued support on this great little app.
Hood is offline   Reply With Quote
Old 08-08-2008, 11:48 AM   #64
TheIrishThug
Pooh-Bah
 
TheIrishThug's Avatar
 
Join Date: Jan 2005
Location: Belligerent and numerous
Posts: 5,223
Re: PlaceMint: Window Positioning Tool

v0.3.3 patch is uploaded. v0.4 will be at least a week out because I have a lot of work for school to do.

I haven't looked at the google system, but knowing them, it's probably very well done. I haven't had many problems with sourceforge. Just once when I uploaded the wrong zip and had to wrestle with the release system to get it to recognize the correct one. The layout is not very "pretty" but it's very functional when you work with it.
TheIrishThug is offline   Reply With Quote
Old 08-08-2008, 09:09 PM   #65
rhizome
grinder
 
Join Date: Jul 2004
Posts: 477
Re: PlaceMint: Window Positioning Tool

I got this to work for Stars cash games, but there is no defined regular expression for stars tourneys. How do I get this to work with Stars tourneys?
rhizome is offline   Reply With Quote
Old 08-09-2008, 12:06 PM   #66
TheIrishThug
Pooh-Bah
 
TheIrishThug's Avatar
 
Join Date: Jan 2005
Location: Belligerent and numerous
Posts: 5,223
Re: PlaceMint: Window Positioning Tool

You can define a custom Regular Expression Stars tournaments. If you don't know all the syntax of regular expressions, you can just do simple text compares and that will work just the same.
TheIrishThug is offline   Reply With Quote
Old 08-09-2008, 01:02 PM   #67
Antidote
adept
 
Antidote's Avatar
 
Join Date: Mar 2008
Posts: 723
Re: PlaceMint: Window Positioning Tool

Does PlaceMint work with multiple monitors?
Antidote is offline   Reply With Quote
Old 08-09-2008, 01:04 PM   #68
TheIrishThug
Pooh-Bah
 
TheIrishThug's Avatar
 
Join Date: Jan 2005
Location: Belligerent and numerous
Posts: 5,223
Re: PlaceMint: Window Positioning Tool

It will work with any setup you have. Since the user is the one deciding what coordinates to use to position windows, it give you full flexibility.
TheIrishThug is offline   Reply With Quote
Old 08-09-2008, 02:01 PM   #69
rhizome
grinder
 
Join Date: Jul 2004
Posts: 477
Re: PlaceMint: Window Positioning Tool

Quote:
Originally Posted by TheIrishThug View Post
You can define a custom Regular Expression Stars tournaments. If you don't know all the syntax of regular expressions, you can just do simple text compares and that will work just the same.
I really don't know how the expressions work, but I made a super simple "Tournament" expression. It finds all the tourney windows. However, it also finds the tourney lobby windows, which are not resizable. Most of the time, I close the lobby windows, but it throws things off until I can do so.

I'm sure it's possible to exclude the lobbys, but I don't understand all the things going on in a string like this (for pokerstars ring games):
\s+-\s+\$[0-9]+(|\.[0-9][0-9])/\$[0-9]+(|\.[0-9][0-9])\s+-\s+(No\sLimit|Pot\sLimit|Limit)\s(Hold'em|Omaha\sH/L|Omaha|Stud H/L|Stud|Razz|5-Card\sDraw|Triple\sDraw\s2-7)\s*$

I tried reading the microsoft msdn site, but the only thing I learned was that "\s" refers to a space.

Any help?
rhizome is offline   Reply With Quote
Old 08-09-2008, 03:24 PM   #70
TheIrishThug
Pooh-Bah
 
TheIrishThug's Avatar
 
Join Date: Jan 2005
Location: Belligerent and numerous
Posts: 5,223
Re: PlaceMint: Window Positioning Tool

Here is a quick reference guide that was written for the AutoHotkey help file:
http://www.autohotkey.com/docs/misc/RegEx-QuickRef.htm
The commonly used syntax section will cover the symbols that will get lots of use.

Once you understand the syntax, if you need help making sure that your expression does what you want it to, Regex Coach is a great tool.
TheIrishThug is offline   Reply With Quote
Old 08-09-2008, 05:56 PM   #71
rhizome
grinder
 
Join Date: Jul 2004
Posts: 477
Re: PlaceMint: Window Positioning Tool

Thanks. That's what I needed and was able to get it working. Very nice program.
rhizome is offline   Reply With Quote
Old 08-10-2008, 12:51 AM   #72
rhizome
grinder
 
Join Date: Jul 2004
Posts: 477
Re: PlaceMint: Window Positioning Tool

As SNGs close, I often get a .Net error. It's not everytime, but it's quite frequent.

************* Exception Text **************
PlaceMint.Manager.PMException.Win32Exception: SetWindowPos failed to move and size the window: 1400
at PlaceMint.Manager.Slot.moveAndSizeWin(Boolean movable, Boolean sizable)
at PlaceMint.Manager.WindowGroup.refresh(Boolean dragDropSwap)
at PlaceMint.Manager.Configuration.refreshGroups(Bool ean dragDropSwap)
at PlaceMint.Access.MainGUI.refreshTimer_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndPr oc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
rhizome is offline   Reply With Quote
Old 08-10-2008, 05:01 AM   #73
r0eKY
veteran
 
r0eKY's Avatar
 
Join Date: Dec 2005
Location: in the moment
Posts: 2,957
Re: PlaceMint: Window Positioning Tool

irishthug is the best thanks for the tools i use them all. The drag and drop makes the tables shake as u move them anyway to fix?
r0eKY is offline   Reply With Quote
Old 08-10-2008, 09:37 AM   #74
Hood
Carpal \'Tunnel
 
Hood's Avatar
 
Join Date: Apr 2004
Location: 99 problems but a TT+ just ship pf
Posts: 6,771
Re: PlaceMint: Window Positioning Tool

rhizome: bug has been reported on this I think.
r0eKY: Also reported, the flicker reduces if increase refresh frequency in options, see discussion above.
Irish: Bug for you. Create one slot, then clone it twice. No problems. Go back to the first slot. Try to change the position. You can the popup "this position is already in use, please change". Whatever you it to, it isn't accepted (because the collision is in the other two slots). This is pretty critical, as you can't actually escape the situation and have to kill the placemint process.

Personally I think this solution generally isn't the best way to go, because people should ligitimately set up a slot in exactly the same position as another (think table stacking).
Hood is offline   Reply With Quote
Old 08-10-2008, 10:51 AM   #75
lennois
grinder
 
Join Date: Oct 2007
Posts: 525
Re: PlaceMint: Window Positioning Tool

I've set up 12 slightly overlapping slots for 12 tables. Problem I'm having is they don't seem to load in order from 1-12. They'll load in random order and sometimes one will be loaded to a currently used slot and the table already in that slot will be bumped to a different slot.

I'm guessing this isn't how it should be working? Any ideas on how to fix?

Otherwise cool program
lennois is offline   Reply With Quote

Reply
      

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Forum Jump


All times are GMT -4. The time now is 01:49 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright © 2008-2017, Two Plus Two Interactive
 
 
Poker Players - Streaming Live Online