Open Side Menu Go to the Top

12-02-2008 , 05:23 PM
I am making a quick program for class. I want to be able to press an overlay button, and have the HH imported to a text file to go over later.

I was planning on using c# (I'm a c++ guy, but c# is more suited to this). However, my question is, how do I interface my program with ps/ftp/etc?

I'm really not sure how to start this. Maybe I could use an sql thread.

Any ideas? Wrong forum?

Thanks for the help.
Do I post a programming problem here? Quote
Do I post a programming problem here?
150% up to $2,000 Welcome Bonus on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
Do I post a programming problem here?
12-02-2008 , 05:47 PM
This might be useful...
http://pgfoundry.org/projects/npgsql/
Do I post a programming problem here? Quote
12-02-2008 , 05:49 PM
Adding an overlay button to a Poker client interface is not an easy task.
One problem is re-drawing the button whenever the client overwrites it.

Another problem is accessing the info in the client which you want to save.
I posted some sample code in this thread on how to do it with PokerStars.

If you just remove the 'overlayed button' requirement, your class project solution is already posted in that thread with the "NotMyHand" solutiion. Just modifying that solution I posted to do some things your way is basically what you will do when you first get out of school....figure out and modify someone else's bad code.
Do I post a programming problem here? Quote
12-02-2008 , 07:20 PM
You have to keep track of the opened windows via some win32 magic (GetWindowRect anyone?) then draw your button here. Layered windows can be a solution.
Do I post a programming problem here? Quote
12-02-2008 , 08:36 PM
Quote:
Originally Posted by behemoth
I am making a quick program for class. I want to be able to press an overlay button, and have the HH imported to a text file to go over later.

I was planning on using c# (I'm a c++ guy, but c# is more suited to this). However, my question is, how do I interface my program with ps/ftp/etc?

I'm really not sure how to start this. Maybe I could use an sql thread.

Any ideas? Wrong forum?

Thanks for the help.
Open source FTW (its in python)
In particular, look at the Hud.py module which sticks stat windows on a poker client. Tables.py finds the tables. There is code for Linux and Windows in there so watch for the if ox.name == something: stuff.
Do I post a programming problem here? Quote
12-02-2008 , 09:16 PM
Quote:
Originally Posted by StarTracker
Adding an overlay button to a Poker client interface is not an easy task.
One problem is re-drawing the button whenever the client overwrites it.

Another problem is accessing the info in the client which you want to save.
I posted some sample code in this thread on how to do it with PokerStars.

If you just remove the 'overlayed button' requirement, your class project solution is already posted in that thread with the "NotMyHand" solutiion. Just modifying that solution I posted to do some things your way is basically what you will do when you first get out of school....figure out and modify someone else's bad code.

haha, I already have enough industry experience to know that song by heart.

thanks a bunch. now, if I could only remember all my c# data structures so I can finish my text parsing.

woot.

thanks for the help. wow, python looks easy, may have to give it a shot.
Do I post a programming problem here? Quote
Do I post a programming problem here?
150% up to $2,000 Welcome Bonus on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
Do I post a programming problem here?

      
m