Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Internet Gambling > Software
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 11-25-2007, 03:01 AM
jukofyork jukofyork is offline
Senior Member
 
Join Date: Sep 2004
Location: Leeds, UK.
Posts: 2,551
Default Re: PartyPoker 100% CPU usage

[ QUOTE ]
Well, on further analysis, what's really slowing down this app is not the ads within it or the bad beat jackpot counter, it's the Partybets scrolling text at the bottom. Now if anyone could figure out a way to disable it!

[/ QUOTE ]
You're 100% right on this and it is that that's causing the CPU spikes. I managed to cause it to crash and as soon as it crashed then CPU use went back to a nice constant 4-5%!

I have tried the "standard" ahk methods to hide/disable the window, but sadly not work.

The only choice is to send a message to the window using WM_COMMAND, but here is the tedious bit... You have to run this script through all possible 65000 values to see which is the value that will either crash or exit the window:

<font class="small">Code:</font><hr /><pre>
SendMode Input

DetectHiddenText, off

SetTitleMatchMode 2

LobbyWindowTitle = Poker Lobby ; identify poker lobby substring
WinGet, lobbyID, ID, %LobbyWindowTitle%

loop
{
; WM_COMMAND=0x111,
Alt:=a_index+1000
PostMessage, 0x111 , %Alt%, 0, Internet Explorer_Server3, ahk_id%lobbyID%
msgbox, , , %Alt%, 0.05
}
</pre><hr />
I managed to get upto 1000 which is the most irritating bit because most of the commands are low values and they open up stuff like the html source or the ctrl-f seach window, etc, but I strongly suspect that the exit command is much higher.

There should be a method to figure out the IDs to send using Spy++ and a copy of IE, but for some reason all the IDs I find this way are wrong (I suspect Party is using IE6 and I'm using IE7 or something).

I'll see if I can find the ID, but I've already got a headache and that flashing messagebox is not nice, so feel free to try and get the ID:

1) Open up Party.
2) Run the script and cover up the flashing messagebox with your hand.
3) Keep watching the PartyBets box and wait until something happens (ie: it crashes, it goes away or stops scrolling).
4) Quickly note the approximate number that is in the messagebox when this happened.

Juk [img]/images/graemlins/smile.gif[/img]
Reply With Quote
 


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 03:27 PM.


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