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
  #1  
Old 11-25-2007, 04:31 AM
jukofyork jukofyork is offline
Senior Member
 
Join Date: Sep 2004
Location: Leeds, UK.
Posts: 2,551
Default Party\'s high CPU usage is the fault of \"PartyBets spam-bar\": AHK fix!

I thought I had better make a new thread about this as perhaps people won't notice the posts in the other thread (see here).

It turns out that nearly all of the CPU spikes, chugs, etc, comes from the scrolling "PartyBets spam-bar" at the bottom of the lobby. We should all thank Tankjoo for noticing this!

After a bit of fiddling about I managed to find a windows message to turn it off and when it's off idle CPU usage is back to under 1%! Here is the AHK script:

<font class="small">Code:</font><hr /><pre>; PartyBets scrolling-spam killer
; ===============================
; Simply run this app to kill the CPU hogging PartyBets scrolling-spam bar.
; - CPU usage on my machine goes from 5%-25% spikes right down to constant 0%-1%!
; - Must be logged in for it to work (not sure why?).

SetTitleMatchMode 2

; Kill PartyBets spam window (WM_COMMAND = 0x111, ID_EXIT=2126).
PostMessage, 0x111 , 2126, 0, Internet Explorer_Server3, Poker Lobby
</pre><hr />
Basically just run the script after you have logged in and the PartyBets bar will quit (and leave a white rectangle where it was before).

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

PS: Perhaps somebody can add my code into the DeMonster AHK script?
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 09:41 AM.


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