Open Side Menu Go to the Top
Register
Stars Buddy List AHK Script Stars Buddy List AHK Script

12-05-2006 , 03:33 AM
Hi.

I tried this script today but I can´t get it to work. The script searches the lobby at Stars (showing pop-ups saying "player XXX not found") for all the players in my list. I added a name from a player I knew was online, but the script still couldn´t find him. Ant ideas???

Sub qusetion: Would it be possibe to make something like this for the Cryptos? With their new software it´s a pain to find your buddies since the tables change places in the table list when players leave or join. They don´t have a "Find a player" function, but it would be nice just to know if my buddies are out there, and if thats the case I will look them up. As it is now I have to check every table and look at my hand drawn list of buddies and that takes a lot of time.

// M
Stars Buddy List AHK Script Quote
01-05-2007 , 03:24 PM
bump? is this the wrong thread or can someone make a diff stars buddy list. or more user friendly, gui or w/e its called.
Stars Buddy List AHK Script Quote
01-05-2007 , 04:13 PM
Quote:
It would be, but unfortunately there is no way to read the "found player" box in autohotkey as far as I know. So I believe we're stuck with this pretty much the way it is.
Yes there is:

ControlGet, info, list,, ListBox1, % " Find Player"
Msgbox % info

The fact that Stars dialog titles start with a space is annoying...

I wouldn't mind writing a quick gui for this, but there's no way to find out the LIMIT I'm afraid (unless someone feels like creating a database matching table names to limit).
Stars Buddy List AHK Script Quote
01-05-2007 , 04:43 PM
roland i would pay you to make a successful GUI for it. someone make a DB with tables matching limits!!
Stars Buddy List AHK Script Quote
01-05-2007 , 04:47 PM
Quote:
someone make a DB with tables matching limits!!
Well - I thought about it a bit. I could just write a quick parser that goes through the processed hhs from PT or whatever hhs you have and matches limits to table names. Then we could even combine everbodies data I guess. Shouldn't be too hard.
I'll take a stab at the gui.
Stars Buddy List AHK Script Quote
01-05-2007 , 05:19 PM
Quote:
Quote:
someone make a DB with tables matching limits!!
Well - I thought about it a bit. I could just write a quick parser that goes through the processed hhs from PT or whatever hhs you have and matches limits to table names. Then we could even combine everbodies data I guess. Shouldn't be too hard.
I'll take a stab at the gui.
We can use postgres to get the table names (EDIT: and of course their associated limits) in to an easy to parse AHK variable:

<font class="small">Code:</font><hr /><pre>
#NoEnv
#include postgres.ahk

sql := "SELECT DISTINCT table_name, game_level_desc FROM game g, game_level gl"
sql .= " WHERE g.game_level_id = gl.game_level_id AND g.site_id = 2"
sql .= " ORDER BY table_name ASC"
sql .= ";"
result := psql(sql)


Msgbox, %result%

</pre><hr />

A different method needed for Access DBs tho...

dave.
Stars Buddy List AHK Script Quote
01-05-2007 , 05:52 PM
oooooo you guys are my heros.
Stars Buddy List AHK Script Quote
01-05-2007 , 08:56 PM
Here.

Works pretty well I think. I have a few more ideas, but too tired now.
Oh yeah, stakes don't work yet of course.
Stars Buddy List AHK Script Quote
01-05-2007 , 08:58 PM
Quote:
We can use postgres to get the table names
Cool.
All we need is an .ini file tableX=$2/$4 etc...
Stars Buddy List AHK Script Quote
01-05-2007 , 09:35 PM
Quote:
Quote:
We can use postgres to get the table names
Cool.
All we need is an .ini file tableX=$2/$4 etc...
I was thinking the script could just look up the stakes via postgres query when it finds a buddy online...

I figure anyone playing for long enough to have a collection of "buddies" will have decent coverage of the table names in the stakes they play at, and a single file will all tablenames/stakes will be large... and can you have spaces in an ini key? I never tried that, I always assumed not (although I see nothing about this on the AHK pages at first glance)

I was wondering about Access - but now I see on the PT forums all three variants can use Postgres Anyone using the omaha / stud version attest to stability (or lack thereof)?

dave.
Stars Buddy List AHK Script Quote
01-05-2007 , 09:43 PM
forget access just focus on the postgres lol. anyone who uses acess is oldschool. im going to test this out right now thoguh. thanks guys so far!!
Stars Buddy List AHK Script Quote
01-05-2007 , 09:56 PM
blah... error



thoughts? i am pretty sure i copied and pasted everything correctly.

edit: if you were to delete the junk that comes at the top/beginning of the AHK scripts when you create a new file the error would be located at line 799.
Stars Buddy List AHK Script Quote
01-05-2007 , 10:41 PM
Tcorbin16,

I have nothing looking like that code section anywhere near lines 813 or 799 in roland's functions.ahk...

Did you update to the latest version?

Maybe try downloading it from the "attachments" page rather than copy/paste (did you try this already)?

dave.
Stars Buddy List AHK Script Quote
01-05-2007 , 11:33 PM
ok dave i fixed the problem. i downloaded the most recent version of AHK. I think mine was outdated which was causing the problem. :-D
Stars Buddy List AHK Script Quote
01-05-2007 , 11:40 PM
Holy crap, I had no idea this thread was still around - Roland great job, and thanks for the tip about reading that find player message box, I didn't think it was possible.
Stars Buddy List AHK Script Quote
01-06-2007 , 06:54 AM
Quote:
I was thinking the script could just look up the stakes via postgres query when it finds a buddy online...
Sure, you're right. I'll give it a try later. (Not sure if you can have spaces in the key either now).

Quote:
Anyone using the omaha / stud version attest to stability (or lack thereof)?
I just converted a few days ago, seems to work fine.
Stars Buddy List AHK Script Quote
01-06-2007 , 06:55 AM
Quote:
blah... error
I'm tired of these. The functions will be download only from now on.
Stars Buddy List AHK Script Quote
01-06-2007 , 06:57 AM
Quote:
Holy crap, I had no idea this thread was still around - Roland great job
Thanks.
Stars Buddy List AHK Script Quote
01-06-2007 , 02:04 PM
Stakes are now functional. Please read the instructions carefully.
Thanks to dave for the sql statement.
Stars Buddy List AHK Script Quote
01-06-2007 , 04:51 PM
Quote:
Quote:
blah... error
I'm tired of these. The functions will be download only from now on.
no sweat roland it was an error on my behalf. I ran the script with an older version of AHK which made the script not work. I copied/pasted fine from your website but since I was using an old version it didn't work. I downloaded the newest one and bingo worked fine .
Stars Buddy List AHK Script Quote
01-06-2007 , 05:14 PM
Yeah, I know. I'm just tired of having to update the page and the attachment every time and needed an excuse
Stars Buddy List AHK Script Quote
01-07-2007 , 07:43 AM
One-click add player to buddy list, refresh for individual players and a nicer gui and tray icon.
Stars Buddy List AHK Script Quote
01-07-2007 , 11:48 AM
Think I found a bug. I have two buddies at the same table and it's only finding one. No idea if this is because they're at the same table or if it's just somehow unable to find one of my buddies.

Lemme know what info you need and I'll PM it to you.. I don't wanna give away my buddylist.
Stars Buddy List AHK Script Quote
01-07-2007 , 11:51 AM
Maybe he's hiding from search?
Stars Buddy List AHK Script Quote
01-07-2007 , 12:35 PM
Quote:
Maybe he's hiding from search?
You're a wise man, sir.
Stars Buddy List AHK Script Quote

      
m