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
  #11  
Old 01-05-2007, 05:19 PM
_dave_ _dave_ is offline
Senior Member
 
Join Date: Feb 2005
Location: UK
Posts: 2,628
Default Re: Stars Buddy List AHK Script

[ QUOTE ]
[ QUOTE ]
someone make a DB with tables matching limits!!

[/ QUOTE ]

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.

[/ QUOTE ]

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.
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 01:45 AM.


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