PDA

View Full Version : Cause of Party Lag (not related to HM, but can solve your performance problems)



starf
09-02-2008, 09:30 AM
ok so for all of you that play party and have bought HM to solve performance issues, the solution with kudos to a real genius, jukofyork :)
he probably also roams these forums

http://forumserver.twoplustwo.com/showthread.php?t=65991

version 3 of his script (AHK) gets rid of the square box at the bottom right of
the lobby

first install autohotkey, simply copy the code into a .ahk file and run



; PartyBets scrolling-spam killer v3
; ==================================
; 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%!

#SingleInstance force
DetectHiddenWindows On

SetTitleMatchMode 1

; Kill when we open the script (ie: "kill on run" mode).
KillSpam()

WinWait, PartyAccount Login
WinWaitClose

; ### You might have to increase this value if it fails sometimes. ###
Sleep, 1000

; Kill when we open the party client (ie: "kill on open" mode).
KillSpam()

WinWaitClose, Status
Reload

; Use this function to kill the PartyBets spam window.
; NOTE: Tries lots of differnt IDs which all work.
KillSpam()
{

; We send a WM_COMMAND (0x111) along with one of the IDs that kill the window.
PostMessage, 0x111 , 2126, 0, Internet Explorer_Server3, PartyPoker.com:
PostMessage, 0x111 , 2127, 0, Internet Explorer_Server3, PartyPoker.com:
PostMessage, 0x111 , 2300, 0, Internet Explorer_Server3, PartyPoker.com:
PostMessage, 0x111 , 3610, 0, Internet Explorer_Server3, PartyPoker.com:
PostMessage, 0x111 , 3611, 0, Internet Explorer_Server3, PartyPoker.com:
PostMessage, 0x111 , 6041, 0, Internet Explorer_Server3, PartyPoker.com:
PostMessage, 0x111 , 6042, 0, Internet Explorer_Server3, PartyPoker.com:
PostMessage, 0x111 , 6043, 0, Internet Explorer_Server3, PartyPoker.com:
PostMessage, 0x111 , 6044, 0, Internet Explorer_Server3, PartyPoker.com:

; IDs of 3612 to 3644 also work.
loop, 33
{
ID:=a_index+3611
PostMessage, 0x111 , %ID%, 0, Internet Explorer_Server3, PartyPoker.com:
}

}

fabio
09-02-2008, 10:00 AM
Correct me if I'm wrong, but isn't the script obsolete now? I think party fixed this

starf
09-02-2008, 10:01 AM
i just tested this for half an hour and the performance gain is enormous, going to test it again now

starf
09-02-2008, 10:58 AM
so i tested it again, what i did was open 6 tiled tables with hud and everything running

first time i ran it WITH the script and average "partygaming" cpu usage was 4-5%
then i restarted pp without the script and got an average "partygaming" cpu usage of 20-21%
restarted pp, opened the script and it was 4-5% again

i'd post screenshots but i don't have to
so happy i can play without lag now :D:D:D:D

fabio
09-02-2008, 11:24 AM
Nice :)