Open Side Menu Go to the Top

07-02-2008 , 09:51 AM
Quote:
Originally Posted by Herrigel
thx, thats it

I got there in the end
AHK Script: Party Cashgame Tools Quote
AHK Script: Party Cashgame Tools
$25m Guaranteed WPM on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
AHK Script: Party Cashgame Tools
07-02-2008 , 10:02 AM
Quote:
Originally Posted by fourkingbs
would it be possible to add "amount" of buyin and rebuy?
i.e. Buyin/rebuy for 50bbs

great program.

cheers
Thanks.
I used it for a while on my own and I use the full buyin so there was no need, but when I decided others would like to use it I figured I would get asked that, can't believe it took this long actually. It was easy to do the full stack as the amount is written in the box on Party already so it only needed a click by the script to buyin full. I'm not sure if I can get it to do that but I'll look into it for you.
AHK Script: Party Cashgame Tools Quote
07-03-2008 , 12:25 AM
Quote:
Originally Posted by HighSteaks
Thanks.
I used it for a while on my own and I use the full buyin so there was no need, but when I decided others would like to use it I figured I would get asked that, can't believe it took this long actually. It was easy to do the full stack as the amount is written in the box on Party already so it only needed a click by the script to buyin full. I'm not sure if I can get it to do that but I'll look into it for you.
yea, well last night I looked into ahk "programming" for the 1st time... I made a simple ahk script with hot keys (proud of myself) but it buyins for dollar amount not BB so not as good as possible.

really need the Bigblind buyin... as i play alot of diff stakes.

if u want a laugh heres my ahk:

m::
Click 509, 364
sleep, 400
send 400{Enter}
return

:
AHK Script: Party Cashgame Tools Quote
07-03-2008 , 12:46 AM
Hey, if it works it works I made a start on it actually so I' ll have it included within a few days.

I put out a small revision and it would only be important to anyone who wants 'auto buyin for max' unchecked. I noticed it was closing the window when I guess you would want to alter the amount.

1.05b on Overcards.com
AHK Script: Party Cashgame Tools Quote
07-03-2008 , 01:37 AM
I put another ammendment into 1.05b for the tourney popup also. God I hate that thing, it's cursed, I was going to steer clear but couldn't help myself....
AHK Script: Party Cashgame Tools Quote
07-05-2008 , 09:57 AM
Looks like I had it right the first time with Static1 unless different tourneys have different window ID's. Anyway, I'm going to give this a go, no telling if it's right as I had Static9 in my script at the time this came up....



Code:
TourneyPopup:

  LobbyWindowTitle = Poker Lobby
  TableWindowTitle = Good Luck

  WinGet, lobbyID, ID, %LobbyWindowTitle%
  WinGet, pid, PID, ahk_id%lobbyID%
  WinGet, rlist, LIST, %TableWindowTitle% ahk_pid%pid%

  Loop %rlist%
  {
   this_id := rlist%a_index%
    If this_id != %lobbyID%
    {
      ControlGet, v, Visible, , Static1, ahk_id%this_id%
      if (v)
        Control, Hide, , Static1, ahk_id%this_id%
    }
  }

return
Just run that over the top of the corresponding piece of code in the script. Here's hopin'

Last edited by HighSteaks; 07-05-2008 at 10:09 AM.
AHK Script: Party Cashgame Tools Quote
07-09-2008 , 05:54 AM
I removed the 'rebuy to max' hotkey and put in a tile/cascade hotkey instead. The rebuy to max key is of no use since the auto rebuy to max checkbox was added to the Party client and the script autochecks that anyway. You edit the script to set your default at either tile or cascade and then enter your hotkey through the GUI as usual.



Download 1.05c at Overcards.com
AHK Script: Party Cashgame Tools Quote
07-11-2008 , 07:51 PM
Quote:
Originally Posted by HighSteaks
Looks like I had it right the first time with Static1 unless different tourneys have different window ID's. Anyway, I'm going to give this a go, no telling if it's right as I had Static9 in my script at the time this came up....



Code:
TourneyPopup:

  LobbyWindowTitle = Poker Lobby
  TableWindowTitle = Good Luck

  WinGet, lobbyID, ID, %LobbyWindowTitle%
  WinGet, pid, PID, ahk_id%lobbyID%
  WinGet, rlist, LIST, %TableWindowTitle% ahk_pid%pid%

  Loop %rlist%
  {
   this_id := rlist%a_index%
    If this_id != %lobbyID%
    {
      ControlGet, v, Visible, , Static1, ahk_id%this_id%
      if (v)
        Control, Hide, , Static1, ahk_id%this_id%
    }
  }

return
Just run that over the top of the corresponding piece of code in the script. Here's hopin'
Sadly this doesn't work. I've tested the function by replacing the "Control, Hide" line with a "MsgBox ..." and it definitely does detect the popup's presence so that's not the problem (ie: it is called "Static1", etc).

I've also tried to resize the window to 1x1 pixel using: "ControlMove, Static1, , , 1, 1, ahk_id%this_id%", but that doesn't work either.

I've also tested both your "Control, Hide" line and my "ControlMove" on other static controls such as "Static3" (the "you have X secs to respond" window) and both lines of code hid them fine...

Running out of ideas now; what else can I try? I could try to tweak the alpha blending I guess and make the window totally transparent, but since it modifies the alpha channel itself (to make itself "fade" in/out) I doubt it will work.

I swear, this ****ing POS popup was made was made by the devil himself!

Juk
AHK Script: Party Cashgame Tools Quote
07-11-2008 , 08:34 PM
Can somebody give this a try (I've stopped playing for a rest now):

Code:
TourneyPopup:

  LobbyWindowTitle = Poker Lobby ; identify poker lobby substring
  TableWindowTitle = Good Luck ; identify pokertable substring

  WinGet, lobbyID, ID, %LobbyWindowTitle%

  WinGet, pid, PID, ahk_id%lobbyID%
  WinGet, rlist, LIST, %TableWindowTitle% ahk_pid%pid%
  Loop %rlist%
  {
    this_id := rlist%a_index%
    If this_id != %lobbyID%
    {
      ControlGet, v, Visible, , Static1, ahk_id%this_id%
      if (v)
      {
        ControlGet, control_id, Hwnd, , Static1, ahk_id%this_id%
        WinHide, ahk_id%control_id%                               ; Hide it.
        WinMove, ahk_id%control_id%, , 0, 0, 1, 1                 ; Shrink it.
        WinSet, Transparent, 0, ahk_id%control_id%                ; Make it transparent.
        ; MsgBox, %control_id%
      }
    }
  }

return
Since the ****ing thing seems to be impervious to the AHK "control" commands, I've now got the HWND of the control and am trying the "win" commands instead. The above bit of code attempts to hide it, then shrink it to 1x1 pixel then finally set the alpha channel to zero so as to make it fully transparent.

Not very hopeful (this pos popup seems like it would be impervious the thermo-nulclear warfare...), but it's worth a try.

Juk
AHK Script: Party Cashgame Tools Quote
07-11-2008 , 11:55 PM
This is becoming amusing. Just out of interest Juk, can you get the tile button (AfxWnd42u38) to press without the mouse being over any Party window and the active window being a window other than a PP window? if so, can you show me the code. My clash with the popup lead me to this and I tried to write a code to do this and looked through others and couldn't do it. I seem to be running into this often and am wondering if this same problem is happening with the popup. Problem is, (as you know) we can get a decent crack at it. The people on 10NL must think I'm either insane or a malfunctioning bot, buyin, test, sit out. But I saw similarities in these two problems and focused on the tile button as I can test on it over and over, but then I got caught up in another project....
AHK Script: Party Cashgame Tools Quote
07-12-2008 , 12:14 AM
Quote:
Originally Posted by HighSteaks
This is becoming amusing. Just out of interest Juk, can you get the tile button (AfxWnd42u38) to press without the mouse being over any Party window and the active window being a window other than a PP window? if so, can you show me the code. My clash with the popup lead me to this and I tried to write a code to do this and looked through others and couldn't do it. I seem to be running into this often and am wondering if this same problem is happening with the popup. Problem is, (as you know) we can get a decent crack at it. The people on 10NL must think I'm either insane or a malfunctioning bot, buyin, test, sit out. But I saw similarities in these two problems and focused on the tile button as I can test on it over and over, but then I got caught up in another project....
Have you tried posting a click using PostMessage to the control instead of using AHK commands? If that doesn't work then you can also try using AHK's DLL call mechanism to use the Win32 API function: SendMessage() instead as sometimes in C code I've found SendMessage() to work when PostMessage() would not (no idea why though).

Juk
AHK Script: Party Cashgame Tools Quote
07-12-2008 , 12:24 AM
Ok, i'll give that a go- I'm just not so sure that the commands we are sending at the popup are striking anything. The same has happened when I'm sending things at other buttons, I can see the buttons flashing and yet the clicks aren't happening. I have tried your Postelftclick on these buttons also. I think that this problem might be across the board. I'm going to have another go at the tile problem with what you have suggested, if I get it to work, then I'll have a stab at the popup using the same solution
AHK Script: Party Cashgame Tools Quote
07-12-2008 , 01:36 AM
Quote:
Originally Posted by HighSteaks
Ok, i'll give that a go- I'm just not so sure that the commands we are sending at the popup are striking anything. The same has happened when I'm sending things at other buttons, I can see the buttons flashing and yet the clicks aren't happening. I have tried your Postelftclick on these buttons also. I think that this problem might be across the board. I'm going to have another go at the tile problem with what you have suggested, if I get it to work, then I'll have a stab at the popup using the same solution
Perhaps the buttons ignoring your clicks could be caused by the message handler having some random bit of code in there that checks if the window is active or something. I guess the popup creator could also have created message handlers for the stuff we are trying to send to the popup too.

If it can't be defeated with AHK then I think I can prolly manage to find the creation code based on the hex value of the distinctive (pink/cream) RGB colour it uses and nuke it with a machine code patch. One way or another that popup is going away...

Juk
AHK Script: Party Cashgame Tools Quote
07-12-2008 , 02:09 AM
Quote:
Originally Posted by jukofyork
One way or another that popup is going away...

Juk
LMAO, yeah, it's starting to get personal . Might be a blessing though, could lead to some more reliable solutions for clicking, waitlists, registering etc, particularly with a lot of tables running. Just been looking at the postmessage stuff, looks pretty interesting, I'm going to see if that gets me clicking the tile button from off the screen, if I can get that I can improve a lot of cashgame issues and maybe get some insight on the popup.
AHK Script: Party Cashgame Tools Quote
07-12-2008 , 02:37 AM
Quote:
Originally Posted by HighSteaks
LMAO, yeah, it's starting to get personal . Might be a blessing though, could lead to some more reliable solutions for clicking, waitlists, registering etc, particularly with a lot of tables running. Just been looking at the postmessage stuff, looks pretty interesting, I'm going to see if that gets me clicking the tile button from off the screen, if I can get that I can improve a lot of cashgame issues and maybe get some insight on the popup.
I've got a nice array of messages to send to the popup now:
Code:
        ControlGet, control_id, Hwnd, , Static1, ahk_id%this_id%
        WinHide, ahk_id%control_id%                               ; Hide it.
        WinMove, ahk_id%control_id%, , 0, 0, 1, 1                 ; Shrink it.
        WinSet, Transparent, 0, ahk_id%control_id%                ; Make it transparent.
        ; MsgBox, %control_id%
        
        PostMessage, 0x10, 0, 0, Static1, ahk_id%this_id%         ; WM_CLOSE
        PostMessage, 0x112, 0xf060, 0, Static1, ahk_id%this_id%   ; WM_SYSCOMMAND+SC_CLOSE.
Hopefully one of these will do something (unlike all that I tried today). I'm pretty hopeful about the WM_SYSCOMMAND message, as even if they have a custom handler to ignore the WM_CLOSE message then hopefully they won't have realized there is an alternative method of closing windows.

Will report back tomorrow.

Juk
AHK Script: Party Cashgame Tools Quote
07-12-2008 , 11:40 AM
Awesome, SendMessage can tile the windows with the cursor off the screen and no Party window being the active window, that's pretty encouraging. I'm going to try this,
Code:
Popup:  

 ControlGet, Static1, ahk_id%id%
    {
         ControlFocus, Static1, ahk_id%id%
         Sleep, -1
         Sendmessage,0x201, 0, 0, Static1, Good Luck
         Sendmessage,0x202, 0, 0, Static1, Good Luck
         }       
 return
AHK Script: Party Cashgame Tools Quote
07-12-2008 , 01:06 PM
Throwing a left click at it isn't going to do much lol, you know what I mean, that with the close in it, errr need sleep. Destroy looks pretty good, 0x02, that's the kind of language the popup speaks....
AHK Script: Party Cashgame Tools Quote
07-12-2008 , 01:27 PM
Quote:
Originally Posted by HighSteaks
Throwing a left click at it isn't going to do much lol, you know what I mean, that with the close in it, errr need sleep. Destroy looks pretty good, 0x02, that's the kind of language the popup speaks....
Be careful about using WM_DESTROY as IIR it's not a message you are meant to send directly to stuff and is used by the OS (you call a function to trigger as cascade of them) to ensure that windows are closed in the correct child/parent order.

Juk
AHK Script: Party Cashgame Tools Quote
07-12-2008 , 11:22 PM
Ok, I'll stck with the 0x10. That same type of code has worked on a few things that I was previously having to use mousemove on etc, looks like I'll get quite a few changes out of it. So I'll go with this for a few days...

Code:
TourneyPopup:

 ControlGet, Static1, ahk_id%id%
    {
         ControlFocus, Static1, ahk_id%id%
         Sleep, -1
         Sendmessage,0x10, 0, 0, Static1, Good Luck         
         }
return
AHK Script: Party Cashgame Tools Quote
07-12-2008 , 11:25 PM
Quote:
Originally Posted by HighSteaks
Ok, I'll stck with the 0x10. That same type of code has worked on a few things that I was previously having to use mousemove on etc, looks like I'll get quite a few changes out of it. So I'll go with this for a few days...

Code:
TourneyPopup:

 ControlGet, Static1, ahk_id%id%
    {
         ControlFocus, Static1, ahk_id%id%
         Sleep, -1
         Sendmessage,0x10, 0, 0, Static1, Good Luck         
         }
return
My whole barrage of messages failed miserably Somehow that ****ing popup managed to ignore them all. Pretty much out of AHK-based ideas now.

Juk
AHK Script: Party Cashgame Tools Quote
07-12-2008 , 11:36 PM
I notice that SendMessage works on a lot of buttons that PostMessage won't. But yeah, it's a pretty slim hope and then it's back to the drawing board. Would the image be in a part of the Party programme that we could get at with something like PE explorer?
AHK Script: Party Cashgame Tools Quote
07-13-2008 , 12:37 AM
Quote:
Originally Posted by HighSteaks
I notice that SendMessage works on a lot of buttons that PostMessage won't. But yeah, it's a pretty slim hope and then it's back to the drawing board. Would the image be in a part of the Party programme that we could get at with something like PE explorer?
You can prolly get at it by disassembling the client and then tracking down the HEX value that sets the colour of the window. The code around that part can then be nuked and it'll stop the popup from appearing (atm I've not got time as still doing my "Free Ride" days, but if no AHK solution has been found soon I'll look into doing this).

Juk
AHK Script: Party Cashgame Tools Quote
07-13-2008 , 12:57 PM
Quote:
Originally Posted by HighSteaks
Awesome, SendMessage can tile the windows with the cursor off the screen and no Party window being the active window, that's pretty encouraging. I'm going to try this,
Code:
Popup:  

 ControlGet, Static1, ahk_id%id%
    {
         ControlFocus, Static1, ahk_id%id%
         Sleep, -1
         Sendmessage,0x201, 0, 0, Static1, Good Luck
         Sendmessage,0x202, 0, 0, Static1, Good Luck
         }       
 return

Party doesn't like SendMessage being used with a timer based setup, only for clicks by the look of it. I'm getting table resizing issues with that in my script . Popup never came up when I had it in there but it would be no good for me if it worked anyway, I'm forever adding and dropping tables and as soon as they changed size everything was screwed. Time for a rethink I guess. Made some great changes to the script with that popup episode just the same, made a table layout system using sendmessage which is great for opening new tables and adding them to the layout.
AHK Script: Party Cashgame Tools Quote
07-13-2008 , 11:18 PM
IMO you should just leave the popup message alone.. I find if you start clicking the close button, it causes it to get stuck and flicker. It only pops up for a few seconds anyway..
AHK Script: Party Cashgame Tools Quote
07-14-2008 , 12:35 AM
Your the lucky one . For some people it's effects range from stopping AHK's working to making the games pretty much unplayable (doesn't go away, flashes, lag's etc). It always seems to come when I'm in a big hand and I nine table so I hate it. But for the moment I am wiping out what I put in. I can't see why they can't put the image momentarily across the chat window.

That waitlist leave problem you mentioned, I'm not sure about that, I have the button's ID correct and I actually have the click co-ordinates set to the spot of the 'leave list' button. I tested it again and sat in and out of lists over and over and couldn't get it to happen. I am looking at another method but I'm not so sure that would stop the bug either...
AHK Script: Party Cashgame Tools Quote
AHK Script: Party Cashgame Tools
$25m Guaranteed WPM on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
AHK Script: Party Cashgame Tools

      
m