Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Internet Gambling > Software

Reply
 
Thread Tools Display Modes
  #1  
Old 10-24-2006, 05:49 PM
beset beset is offline
Senior Member
 
Join Date: Nov 2004
Location: anarchocapistan
Posts: 3,977
Default Auto-Sit Out Script for Poker Stars ($50 OBO offered)

I will pay $50 OBO if someone can write me a quick .ahk script that does the simple task of sitting out at all active pstars tables at the click of a button. It could be an add-on to the chip-reloader script for stars if need be.
Reply With Quote
  #2  
Old 10-24-2006, 06:01 PM
APerfect10 APerfect10 is offline
Senior Member
 
Join Date: Jan 2005
Location: PokerTracker 3
Posts: 979
Default Re: Auto-Sit Out Script for Poker Stars ($50 OBO offered)

Well this is going to be apart of my "No Spam" script which I should have ready within the next few weeks (busy with other stuff).

<font class="small">Code:</font><hr /><pre>
hotkey_sitout = F10
hotkey_return = F11

#NoEnv
#SingleInstance Force
#Persistent

Hotkey, %hotkey_sitout%, Sitout_Label, UseErrorLevel
Hotkey, %hotkey_return%, Return_Label, UseErrorLevel

Sitout_Label:
Lib_Sitout_PokerStars()
return

Return_Label:
Lib_Return_PokerStars()
return

Lib_Sitout_PokerStars()
{
BlockInput, MouseMove
MouseGetPos, mX, mY

SetTitleMatchMode, 2
WinGet, tables, List, Logged In as, , PokerStars Lobby
Loop, %tables%
{
winID := tables%a_index%
WinActivate, ahk_id%winID%

PixelSearch, myX, myY, 14, 403, 20, 409, 0x000000
if ErrorLevel
MouseClick, LEFT, 18, 407 ; sitout

PixelSearch, myX, myY, 14, 423, 18, 429, 0x000000
if ErrorLevel = 0
MouseClick, LEFT, 18, 431 ; auto-post
}

MouseMove, mX, mY, 0
BlockInput, MouseMoveOff
}

Lib_Return_PokerStars()
{
BlockInput, MouseMove
MouseGetPos, mX, mY

SetTitleMatchMode, 2
WinGet, tables, List, Logged In as, , PokerStars Lobby
Loop, %tables%
{
winID := tables%a_index%
WinActivate, ahk_id%winID%
PixelSearch, myX, myY, 14, 403, 20, 409, 0x000000
If ErrorLevel = 0
{
MouseClick, LEFT, 18, 407 ; sitout
}
}

MouseMove, mX, mY, 0
BlockInput, MouseMoveOff
}</pre><hr />
Reply With Quote
  #3  
Old 10-24-2006, 06:24 PM
beset beset is offline
Senior Member
 
Join Date: Nov 2004
Location: anarchocapistan
Posts: 3,977
Default Re: Auto-Sit Out Script for Poker Stars ($50 OBO offered)

PM me your stars name.
Reply With Quote
  #4  
Old 10-26-2006, 08:23 AM
beset beset is offline
Senior Member
 
Join Date: Nov 2004
Location: anarchocapistan
Posts: 3,977
Default Re: Auto-Sit Out Script for Poker Stars ($50 OBO offered)

This doesn't work when the tables are resized. any ideas?
Reply With Quote
  #5  
Old 10-26-2006, 11:43 AM
MrMoo MrMoo is offline
Senior Member
 
Join Date: Sep 2004
Location: Las Vegas
Posts: 750
Default Re: Auto-Sit Out Script for Poker Stars ($50 OBO offered)

He's using mouse coordinates to click which change when you resize the table. If the sitout button has a button code identifier I'm sure he'll update the code to use control click or whatever it's called as soon as he sees this.
Reply With Quote
  #6  
Old 10-26-2006, 04:46 PM
APerfect10 APerfect10 is offline
Senior Member
 
Join Date: Jan 2005
Location: PokerTracker 3
Posts: 979
Default Re: Auto-Sit Out Script for Poker Stars ($50 OBO offered)

Thats the problem with PokerStars, they dont use standard widgets so you have to click at a spot. If you are using resized tables, I can get the window size and calculate approximately from there but things start to get dicey. I'll update the code when I have some free time (probably not until tomorrow morning EST).
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 08:42 AM.


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