PDA

View Full Version : PokerBot -- Full Source


JoeAbrams
03-27-2005, 09:44 AM
I developed a bot that plays relatively decently on one of the 3 major pokerrooms.

I was wondering if there wuold be an interest in purchasing the bot for something small, perhaps, $200 -- and this $200 would give you FULL SOURCE to customize the strategy/gameplay/bot as you want.

1) The bot is not perfect, of course not.
2) he DOES play decently. Email me for HAND HISTORY examples that he has played.
3) Heplays according to a predefined preflop strategy, which takes into consideration #of callers/raises his hole cards, and his position. -- no player modelling in this version.
4) he plays flop/turn/river based on the same criteria along with evaluatinig the flop/turn/river for #ofwins/losses/ties he has currently, and evaluating the flop/turn for possible draws/outs.

I was thinking of adding a front end to quickly change various strategies/variables so you wouldn't need programming experience.

I don't know, I'm throwing it out there,checking for interest.

The sources of course are 100% license-free / unique. There is no 3rd party code used. You will have access to your own hand evaluation code, your own board enumeration stuff, etc.

it's all 100% written by me, no third prty code is used.
*ps* I would consider selling just a binary version of the bot for $50. if anyone just wants to see it in action.

budidharma
03-27-2005, 11:28 AM
What language is it written in, C++? VB? How does it work? What sites does it work on? How does it get its information; manual entry, client-side graphic detection, or through packet interpretation?

I'd be interested in looking at the source code, but not really using it.

JoeAbrams
03-27-2005, 01:01 PM
woops -- it's written in C#.
I don't want to disclose how it reads the cards/pot/action
not yet anyways.

If you're willing to pa yto look at it.. let me know /images/graemlins/wink.gif

I can demonstrate the bot via VNC to anyone _seriously_ interested in buying it.

thanks,

Joe

sublime
03-27-2005, 01:02 PM
DIE

Dr_Freeze
03-27-2005, 07:28 PM
I second that.

Luv2DriveTT
03-27-2005, 08:51 PM
MAT!!!!!! Get rid of this loser!

TT /images/graemlins/club.gif

ThePimpulator
03-27-2005, 11:38 PM
I find it hard to believe your bot is very good if you are touting it for just 50 bucks. Also, the software youve been trying to sell/give away in your other posts seems very basic. I doubt your ability to produce a bot that makes more than a few pennies. Its probably bug ridden too.

JoeAbrams
03-28-2005, 01:37 AM
think whatever yuo want. heh.

Noone claimed it played world class. I claimed it played, and I can show hand histories to show it plays decently.

And no -- its not bug ridden. It's currentl +$21.75 in 2hr session of .50/1 full table.

JoeAbrams
03-28-2005, 01:41 AM
Also - the only "software" ive posted is somehting i wrote in an hour to address a need that players here wanted -- something i didnt even test under real $ -- very basic? sure, thats why i wrote it in about an hour. Doubtful yo cuold even write that - so keep talking.

amirpc
03-28-2005, 03:51 AM
Well I could write it, better than you too. I agree with the previous poster's statements.

Also, correct punctuation and spelling goes a long way towards credibility. You know, just for future reference.

Terry
03-28-2005, 04:13 AM
Since when are spelling and punctuation important to a programmer?

amirpc
03-28-2005, 04:24 AM
My bad.

wacki
03-28-2005, 04:37 AM
I wonder how long it will be before bots seriously hurt online play, if they aren't already.

JoeAbrams
03-28-2005, 05:18 AM
I don't know why I'm bothering to waste my time, I'm sure you can't even code period /images/graemlins/frown.gif But I'll bite -- I've modified my bot to play headsup, please develop yours and lets have them go at it headsup. We can have people from the boards actualy view via VNC technologies that it is our bots playing, and not us.

Please let me know if you accept the challenge to showcase your outstanding (and much better than mine) programming skills.

Thank you!

jealousy surrounds us. /images/graemlins/frown.gif

amirpc
03-28-2005, 05:25 AM
[ QUOTE ]
I don't know why I'm bothering to waste my time, I'm sure you can't even code period /images/graemlins/frown.gif But I'll bite -- I've modified my bot to play headsup, please develop yours and lets have them go at it headsup. We can have people from the boards actualy view via VNC technologies that it is our bots playing, and not us.

Please let me know if you accept the challenge to showcase your outstanding (and much better than mine) programming skills.

Thank you!

[/ QUOTE ]

what

JoeAbrams
03-28-2005, 05:36 AM
The bot just finished a .50/1 full handed session.

He saw 391 hands, he finished -$2.75.

He had AA cracked twice, and flopped set over set(losing end)
Overall, played pretty good.

JoeAbrams
03-28-2005, 05:51 AM
You must have poor reading comprehension. Perhaps english is not your primary language.

Of course my grammar and spelling are horrible! but is it really incomprehensible to you?? lol.

Let me be very clear now:
I am eagerly awaiting YOUR bot so that we may truely see that your statements:
[ QUOTE ]
Well I could write it, better than you too.

[/ QUOTE ]

weren't without merit!

Or were you just shooting your jealous mouth off? big surprise. All talk - no action.

amirpc
03-28-2005, 05:54 AM
[ QUOTE ]
You must have poor reading comprehension. Perhaps english is not your primary language.

Of course my grammar and spelling are horrible! but is it really incomprehensible to you?? lol.

Let me be very clear now:
I am eagerly awaiting YOUR bot so that we may truely see that your statements:
[ QUOTE ]
Well I could write it, better than you too.

[/ QUOTE ]

weren't without merit!

Or were you just shooting your jealous mouth off? big surprise. All talk - no action.

[/ QUOTE ]

I give up, you win.

JoeAbrams
03-28-2005, 05:59 AM
Is it my poor english again? or maybe it's YOUR poor english?

www.free-english-lessons.com (http://www.free-english-lessons.com)

Perhaps after you take their free lessons we'll be able to
communicate with eachother.

Or are you admitting that you are full of [censored] -- and that you couldn't code if your life depended on it?

you're right.. i win.

amirpc
03-28-2005, 06:11 AM
I'm sad I spent 3 minutes on this because I doubt you'll even figure out how to compile it.

#include "stdafx.h"
#include <time.h>

char iData[17] = {
0x59, 0x4F, 0x55, 0x20, 0x41, 0x52, 0x45,
0x20, 0x41, 0x4E, 0x20, 0x49, 0x44, 0x49,
0x4F, 0x54, 0x00
};

int APIENTRY _tWinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
HDC dc = GetDC(NULL);
int iHeight = GetDeviceCaps(dc, VERTRES);
int iWidth = GetDeviceCaps(dc, HORZRES);
char cData[255];
srand(time(NULL));

SetBkMode(dc, TRANSPARENT);

while(true) {
SetTextColor(dc, RGB(rand() % 255, rand() % 255, rand() % 255));
TextOut(dc, rand() % iWidth, rand() % iHeight, iData, strlen(iData));
}

return -1;
}

JoeAbrams
03-28-2005, 06:23 AM
[ QUOTE ]

I'm sad I spent 3 minutes on this because I doubt you'll even figure out how to compile it.

[/ QUOTE ]

Yea -- you're sad to have spent any time at all on somehting that doesn't relate to the conversation at all? what? am i supposed to run this to watch it print out "you.." im guessing the rest is "suck ass" or somehting of even greater importance! I stopped looking up the ascii code after "you"

you're worthless. Playerview sucks ass too btw. I might just write m yown playerview (TAKE ME 2 DAYS MAX -- and it would be MUCH better than that [censored] yo ugive away) you give it away for a reason.. noone will buy that crap.

Please -- go and write another 15 lines of code which has no relation to this thread? plz? pretty please? and you're right, I didn't bother to compile it -- not becaise I couldn't but becase it's pointless? ill write "you suck" all over my screen myself, if i really wanted to.

Thank u honey.

amirpc
03-28-2005, 06:27 AM
Honestly, man you type like crap when you're worked up about something. Do you have fat fingers?

JoeAbrams
03-28-2005, 06:34 AM
I type like crap all the time. But honestly, I'm 3 tabling as I comment on your pathetic posts.

I have an idea for your next piece of code which has no relation to the thread:

Give us some code that constantly plays fart.wav over and over.. I think this code snippet would be a great folluw up the your previous -- was this to show you can code? cuz it had the opposite effect for me.. looks like kid in "Windows Dev 101" with "Intro to C" under his belt wrote it.

<font class="small">Code:</font><hr /><pre>
.amir:
.string "you suq"

.imleet:
subl $12, %esp
pushl $.amir
call puts
addl $16, %esp
jmp .imleet
</pre><hr />

amirpc
03-28-2005, 06:43 AM
I can't write any more code for you, I've gotta go to bed. Sorry /images/graemlins/frown.gif

AngryCola
03-28-2005, 06:59 AM
I would just like to add my name to list of posters who hope something bad happens to you.

JoeAbrams
03-28-2005, 07:08 AM
[ QUOTE ]
<font class="small">Code:</font><hr /><pre>
char iData[17] = {
0x59, 0x4F, 0x55, 0x20, 0x41, 0x52, 0x45,
0x20, 0x41, 0x4E, 0x20, 0x49, 0x44, 0x49,
0x4F, 0x54, 0x00
};
</pre><hr />

[/ QUOTE ]

char iData[17] ? You think your compiler is going to optimize this for EXACTLY 17 bytes? clueless moron.

"iData" what kind of naming convention is this anyways? reverse-hungarian notation? You're a pro, I can tell. clueless moron.


[ QUOTE ]
<font class="small">Code:</font><hr /><pre>
HDC dc = GetDC(NULL);
int iHeight = GetDeviceCaps(dc, VERTRES);
int iWidth = GetDeviceCaps(dc, HORZRES);
</pre><hr />

[/ QUOTE ]

No checking of return values? I guess you're such a pro that your API calls NEVER fail? Resource exhaustion is unheard of ? clueless moron. No wonder playerview is such a piece of trash.
[ QUOTE ]
<font class="small">Code:</font><hr /><pre>
char cData[255];
</pre><hr />

[/ QUOTE ]
cData iData we all love the data -- Your variable naming skills are impeccable. You try to conserve space by declaring "iData: as exactly 17bytes -- and yet you include "cData" which is unused in the life of the program ? You rock.

[ QUOTE ]
<font class="small">Code:</font><hr /><pre>
SetBkMode(dc, TRANSPARENT);
</pre><hr />

[/ QUOTE ]
What is SetBkMode were to return 0 ? say, perhaps, because the dc passed in was NULL ? This couldn't happen though, could it? .. wait.. as stated above, you don't check return values, sure it can!

[ QUOTE ]
<font class="small">Code:</font><hr /><pre>
while(true) {
SetTextColor(dc, RGB(rand() % 255, rand() % 255, rand() % 255));
TextOut(dc, rand() % iWidth, rand() % iHeight, iData, strlen(iData));
}
</pre><hr />

[/ QUOTE ]

Brilliant. Absolutely - PlayerView code is in VERY capable hands.
[ QUOTE ]
<font class="small">Code:</font><hr /><pre>
return -1;
</pre><hr />

[/ QUOTE ]

Certainly must return -1 because it's impossible to reach this code block. You knew that though, didn't you?



And you question my coding abilities?

JoeAbrams
03-28-2005, 07:14 AM
Cool. I'd add you to the list of people who's opinion I couldn't care less about ? fair deal?

Ms. Kwote
03-28-2005, 07:31 AM
[ QUOTE ]
My name is Joe Abrams. You'd think that there would be an "h" in my last name somewhere, but you'd be mistaken.

When I'm not writing super awesome code, I play full contact racquetball with my friend Carl. He's so cool. and handsome.

One time I called one of Carl's shots out. He told me that there are no out of bounds in racquetball. I said, "Carl, if I kiss you on your mouth with my mouth, will it make you feel better?"

He got pretty worked up about it and asked me if I was into guys. That's when I stopped being friends with him. What a gay-face, right?

It's too bad. I bet the ladies love him too. He has such a ruggedness about him and he has huge testicles. What a waste.


[/ QUOTE ]

You're right... I would have thought there was an "h" in your last name.

-Ms. K

JoeAbrams
03-28-2005, 07:34 AM
I'm speechless, while wondering if you're mentally ill ..

AngryCola
03-28-2005, 09:55 AM
[ QUOTE ]
Cool. I'd add you to the list of people who's opinion I couldn't care less about ? fair deal?

[/ QUOTE ]

No problem.

All cheaters deserve pain.
Let's hope that you get more than your fair share of it.

sfwusc
03-28-2005, 09:56 AM
I think bots are against the T&amp;C.

Anyone know if blackjack bots are against the T&amp;C of casinos?

If they arent, then playing switch with a bot would be EV+.

If it is against the T&amp;C, then I wont do it.

SFWUSC

sfwusc
03-28-2005, 10:10 AM
Very True.

You agree to the T&amp;C of a site. You should follow through with your agreement.

I dont care if I play against bots b/c I am pretty sure I can beat them. I would rather play a fish though.

SFWUSC

Derek in NYC
03-28-2005, 11:35 AM
This must be the nerdiest flame ever posted on the internet.

Derek in NYC
03-28-2005, 11:36 AM
I agree, bots are irrelevant except in the lowest of low limit games.

wacki
03-28-2005, 12:49 PM
[ QUOTE ]
I would just like to add my name to list of posters who hope something bad happens to you.

[/ QUOTE ]

Trump
03-28-2005, 02:13 PM
http://img21.exs.cx/img21/9919/threadpunish8bi.gif

philnewall
03-28-2005, 05:05 PM
LMFAO!

PuckNPoker
03-28-2005, 06:47 PM
[ QUOTE ]
woops -- it's written in C#.
I don't want to disclose how it reads the cards/pot/action
not yet anyways.

[/ QUOTE ]

Just guessing, you pull the hand summary text from the chat box and parse it, then have your program push the buttons based on the the resultant data.

Freakin
03-28-2005, 08:03 PM
[ QUOTE ]
[ QUOTE ]
woops -- it's written in C#.
I don't want to disclose how it reads the cards/pot/action
not yet anyways.

[/ QUOTE ]

Just guessing, you pull the hand summary text from the chat box and parse it, then have your program push the buttons based on the the resultant data.

[/ QUOTE ]

Probably from the hhf

Freakin

PuckNPoker
03-28-2005, 08:16 PM
I dont think that gets written until the end of the hand (?),I've never checked though.

illunious
03-28-2005, 08:27 PM
[ QUOTE ]
I dont think that gets written until the end of the hand (?),I've never checked though.

[/ QUOTE ]

It is appended live with the hand.

JoeAbrams
03-28-2005, 09:14 PM
Any reason why you don't believe I'm doing screen captures ? or that i'm not intercepting ssl calls? or 1 of the other million possibilities? :P

illunious
03-28-2005, 09:16 PM
[ QUOTE ]
Any reason why you don't believe I'm doing screen captures ? or that i'm not intercepting ssl calls? or 1 of the other million possibilities? :P

[/ QUOTE ]

Why was that a reply to me?

ThePimpulator
03-28-2005, 10:25 PM
[ QUOTE ]
Noone claimed it played world class. I claimed it played, and I can show hand histories to show it plays decently.

And no -- its not bug ridden. It's currentl +$21.75 in 2hr session of .50/1 full table.
...
he bot just finished a .50/1 full handed session.
He saw 391 hands, he finished -$2.75.

[/ QUOTE ]

For a moment I thought that said $21.75 per hour. Iwas ready to admit I might have spoken too soon. But this was once, after one two hour session? Andit finished down anyway? And this 391 hand session tells us what?

Now I also doubt you have the poker knowledge to make your bot any kind of a worth while winner, whether you can actually program it or not.

You say you have hand histories to back it up. How many?

PokerAce
03-28-2005, 10:39 PM
Dear Party Poker,

I am writing you as a concerned player on your network. There is a user on a very popular poker forum (2+2) that is bragging about a poker bot he wrote. You can view the thread in question here:

http://forumserver.twoplustwo.com/showflat.php?Cat=&amp;Number=2014563&amp;page=0&amp;view=colla psed&amp;sb=5&amp;o=&amp;fpart=1

He does not specifically mention your network, but please investigate just in case. I will be sending this email to all the major poker sites in the interest of shutting this guy down.

The user in question goes by the name of "Joe Abrams". He brags in one post:

"The bot just finished a .50/1 full handed session.

He saw 391 hands, he finished -$2.75.

He had AA cracked twice, and flopped set over set(losing end)
Overall, played pretty good."

He made this post on 3/28/05 at around 4:36 AM. Would it be possible for you to review your database to check for a user on your network with this name (may be fake), and the results of the session he mentions?

I am very concerned about bots destroying online poker. Could you please take every action possible to ban this person from using your networks and please prevent his bot from accessing your software.

Thank you very much.

sfwusc
03-28-2005, 11:07 PM
Why did you do that? /images/graemlins/smile.gif

There are a lot of micro player that would have loved to build a bankroll off that thing. How can a bot make reads? If it cant think then it is worthless. If it can think then we have more problems than poker ones.

SFWUSC

JoeAbrams
03-28-2005, 11:26 PM
wow -- I'm sure they'll be right on that. heh.

On the off chance they do, I'm very pissed at you /images/graemlins/mad.gif ! it will take me a good 5 minutes to create a new account.
Damn you.

JoeAbrams
03-28-2005, 11:28 PM
I'm desiging a headsup strategy now, ill create a new account and deposit $50 into it -- care to play him headsup?

We can create a private table and play 1/2 headsup. It'll be done by tomorrow. Let me know if you are interested, figure i'd give you first crack at his money.

sfwusc
03-28-2005, 11:28 PM
They will take the funds in the account.

SFWUSC

JoeAbrams
03-28-2005, 11:34 PM
Just because some random idiot on the internet says a bot is playing -- doesn't mean partypoker is going to cancel my account or freeze the funds.

If they do, the funds on my account is very minimal /images/graemlins/smile.gif for testing only.
But like I said, ill make a new account and play you headsup 1/2 if you want.

Please let me know.

techrush
03-29-2005, 12:02 AM
i hope that joes bot takes everyones money and online limit poker is ruined forever

sthief09
03-29-2005, 12:50 AM
I'll play your bot

Ms. Kwote
03-29-2005, 01:14 AM
[ QUOTE ]
I have many hopes in life. One is that my childhood pony, Mister Flapjack, comes back to life and races in the Daytona 500. He was soooo fast.
I remember this one time when we were in the yard. I said to him, "Mister Flapjack, you run very fast."
He just pooped.

[/ QUOTE ]

I don't think you understand the difference between cars and horses.

Cars race in the Daytona 500 and poop. Horses eat hay and talk.

-Ms. K

skoal2k4
03-29-2005, 01:31 AM
my card protector says your full of [censored]

ThePimpulator
03-29-2005, 12:59 PM
[ QUOTE ]
I'll play your bot

[/ QUOTE ]

Joe? You have a taker. Now are you going to allow people to observe the game so we can see your bot in action?

PokerAce
03-29-2005, 02:24 PM
Not only will you need to make a new poker site account, you will need to create a new neteller/whatever you use account, a different email, different address, etc.

I have received replies from the poker sites and they are very concerned and have their specialists looking into the matter. Yes, they have specialists for this kind of thing. The sites take problems like this very seriously.

I did this because I work hard at my poker skills. I don't want the fish to be able to download some piece of software and have the same results as me. I put in the hands and use my brain to make the decisions. Everyone else should have to do the same.

JoeAbrams
03-29-2005, 04:38 PM
Wow.. what a hassle you're putting me through..

I sure hope they don't cancel my account.

JoeAbrams
03-29-2005, 04:40 PM
People have already observed, I gave an open invitation to anyone who wanted to see it via vnc.. several have taken me up on this offer and have observed the bot playing.

After all the hostility directed towards me in this post though, im no longer interested in proving [censored] to anyone.

thank you!

xCEO
03-29-2005, 04:49 PM
[ QUOTE ]
DIE

[/ QUOTE ]

JoeAbrams
03-29-2005, 05:05 PM
Wow, you're bright. I can tell.

ThePimpulator
03-29-2005, 05:08 PM
[ QUOTE ]
After all the hostility directed towards me in this post though, im no longer interested in proving [censored] to anyone.

[/ QUOTE ]

How convenient. However, im not talking via VNC. I just want to know the table name so I can observe the game and see the action. Um, you are going to take up that offer to play your bot aren't you? After you were so confidently putting the challenge out there...

JoeAbrams
03-29-2005, 05:10 PM
No, I'm not.

The bot doesn't exist. It was all a big hoax. Happy? /images/graemlins/wink.gif

slavic
03-29-2005, 08:20 PM
You know trolls use to be more creative.

MarkL444
03-30-2005, 08:32 AM
[ QUOTE ]
I'm desiging a headsup strategy now, ill create a new account and deposit $50 into it -- care to play him headsup?

We can create a private table and play 1/2 headsup. It'll be done by tomorrow. Let me know if you are interested, figure i'd give you first crack at his money.

[/ QUOTE ]

certainly someone with enough poker knowledge to make a bot would know a little bit more about variance.

sfwusc
03-30-2005, 11:26 AM
Maybe he is getting of the kiddie pool and making some moves.

SFWUSC

JoeAbrams
03-30-2005, 11:29 AM
uh, it was a proposal so that people could see that the bot plays decently. Certainly you're a total moron.

sfwusc
03-30-2005, 12:13 PM
Did you say it was all a joke? You are the one cheating on the T&amp;C. Can't you read?

SFWUSC

sfwusc
03-30-2005, 12:16 PM
By the way..... Dont call people morons when you are a cheater with 30 post.
Stop cheating and add something useful to the board----then you can call people morons.

By the way...I would kill your bot----1/2 isnt worth my time. How about 2/4 or 3/6. He can join a ring game that I am in.

SFWUSC

splashpot
03-30-2005, 12:36 PM
This bot, brilliant in my opinion.

MFM874
07-03-2005, 02:35 AM
Regardless of how you feel about his software and him as a person, what you did was wrong! Ratting on him to PP. As a boy, where you the little tattle tail ?

12AX7
07-03-2005, 04:51 AM
Ummm.... OK, you gonna give me back the money you just won by breaking the rules? Or are bots legal?

[ QUOTE ]
think whatever yuo want. heh.

Noone claimed it played world class. I claimed it played, and I can show hand histories to show it plays decently.

And no -- its not bug ridden. It's currentl +$21.75 in 2hr session of .50/1 full table.

[/ QUOTE ]

PokerAce
07-03-2005, 01:07 PM
Wow, why bring up such an old post?

To answer your question, bots can potentially ruin online poker. If you are a winning player, you work hard to learn how to play. Why should some new player be able to use a piece of software and win without putting forth the same effort?

It's nothing personal against this guy. I saw someone cheating and I notified who needed to be notified.

Can we please let this old thread die?