#931
|
|||
|
|||
Re: TableNavigator
Canta,
I just added a brief explanation on how to write the IsTableWaiting function. I will upload a new version of TableNavigator shortly - I would like to avoid for you and other to have to change anything apart from the plug-ins when adding site support, so we have to set the 'pixelCasinos' variable dynamically. |
#932
|
|||
|
|||
v3.02
Just uploaded.
No no features or anything, just the framework for adding AttentionQueue support for more sites. |
#933
|
|||
|
|||
Re: v3.02
Hi Roland!
Where have you put the explanation to write the IsTableWaiting function? |
#934
|
|||
|
|||
Re: v3.02
On the 'Guide' page... use the links at the top of the main wiki page.
|
#935
|
|||
|
|||
Re: v3.02
Oh cool!
Now I learned something today too. :-) |
#936
|
|||
|
|||
Re: v3.02
@canta:
Very nice work with the plug-ins... I assume you wrote the isTableWaiting function? It would be a good idea if you put your name somewhere, at the top of the plug in if you wrote it all, or at the top of the function if you wrote the function or edited it - that way I can give credit where credit is due and also people will know who to ask if there's a problem. (That goes for everyone of course). Keep up the good work. @LangeErnst: I'm glad you learned something... you gonna take a stab at it then? |
#937
|
|||
|
|||
Re: v3.02
hmm, i didnt exactly write them, just copied from the pacific.ahk and changed the name. I still dont get how to make it work without changing the Prefs.ahk? Somehow the new Casino need to appear in preference GUI to get the pixel config done, or?
Anyways, i got the AQ working on Prima, and im enjoying every minute of it. (so is my cashier [img]/images/graemlins/smile.gif[/img] ) |
#938
|
|||
|
|||
Re: v3.02
Since theres no way to "fold to any bet" on Prima, i have borrowed that function and inserted a rebuy function instead:
{ WinActivate, ahk_id %Id% PostLeftClick(80, 500, id) WinWait, Bring More Chips to the Table ControlClick, Button3, ahk_class #32770 ControlClick, Button1, ahk_class #32770 WinWait, Chips Received ControlClick, Button1, ahk_class #32770 } But if i run this in a seperate script it wont work. Are there anyway to make it cooperate with TN? |
#939
|
|||
|
|||
Re: v3.02
[ QUOTE ]
I still dont get how to make it work without changing the Prefs.ahk? Somehow the new Casino need to appear in preference GUI to get the pixel config done, or? [/ QUOTE ] In v3.02, Start.ahk takes a look at the plug-ins and builds the pixelCasinos list dynamically... Just realized I completely forgot to update the changelog etc though, so maybe you missed the update. [ QUOTE ] But if i run this in a seperate script it wont work. Are there anyway to make it cooperate with TN? [/ QUOTE ] Yes. My functions (RolandsFunctions, can be found on the wiki) contain a function called 'TableNav()'. It returns the handle (ahk_id) to the currently selected window. Pass that id to your rebuy function. Btw, the WinWait command sets the so-called 'Last Found Window', which is thw window that will be used whenever you don't specify anything for the WinTitle,WinText, etc. parameters. So you could write you're function like this: Rebuy(id) { WinActivate, ahk_id %Id% PostLeftClick(80, 500, id) WinWait, Bring More Chips to the Table ControlClick, Button3 ControlClick, Button1 WinWait, Chips Received ControlClick, Button1 } Makes you're code easier to read and saves a lot of typing. [img]/images/graemlins/smile.gif[/img] |
#940
|
|||
|
|||
Re: v3.02
I tried Canta's method and it worked allright so I will stick to that for now.
One quick question to you, Roland: I am using TN with joypad hotbuttons. It works fine. My Joy6 button works as the raise button. Besides that I am using another script (borrowed from the Betpot script) to make one joybutton simulate an allin action in SNG's. It looks like this: Joy3:: AlterAmount(getid(),"up",99999,"bb") Send {Joy6} return It fills out the text field but it doesnt press Joy6. Do you know what I am doing wrong? |
|
|