Hello, I've been searching the web for some specificanion of the
poker-network protocol, but I've found none. I would like to write my
own client and thus I need to know how to communicate with server. I'm
not into C/C++ so the reading of the sources won't help me. I've also
tried pocket sniffing, but the communitation seems do be encoded (no
surprise). Please, tell me where to find some documentation on this.
Thank you
Hi Again,
I am all set now with everything compilable and working - but for the
life of me I cant come up with the simple code required to send
pokenum hard coded arguments rather than the current command line ones...
Ill keep trying but any help would be appreciated.
Thanks,
John.
Right a bit more progress while the missus was singing in the shower
using
using nmake -f makefile.dos
On 133 with the missing files from 124
Compiled with a load of of warnings but I now have libpoker.dll and
libpoker.lib
So now what is the next step to building pokenum for example? Quite
pleased I made something now I need to use it!!
Thanks in advance.
John.
--- In pokersource@yahoogroups.com, "JRWashington" <john@...> wrote:
>
> Ok now I have run out of play time and need to go and finish the
> present wrapping for Christmas.
>
> I got t_maskrank.c compiling ok if I changed the table to
>
> { { 0xfffefffe} } ,
> { { 0xfffdfffd} } ,
> { { 0xfffbfffb} } ,
> { { 0xfff7fff7} } ,
> { { 0xffefffef} } ,
> { { 0xffdfffdf} } ,
> { { 0xffbfffbf} } ,
> { { 0xff7fff7f} } ,
> { { 0xfefffeff} } ,
> { { 0xfdfffdff} } ,
> { { 0xfbfffbff} } ,
> { { 0xf7fff7ff} } ,
> { { 0xefffefff} }
>
> Rather than
>
> { { 0xfffefffe, 0xfffefffe } } ,
> { { 0xfffdfffd, 0xfffdfffd } } ,
> { { 0xfffbfffb, 0xfffbfffb } } ,
> { { 0xfff7fff7, 0xfff7fff7 } } ,
> { { 0xffefffef, 0xffefffef } } ,
> { { 0xffdfffdf, 0xffdfffdf } } ,
> { { 0xffbfffbf, 0xffbfffbf } } ,
> { { 0xff7fff7f, 0xff7fff7f } } ,
> { { 0xfefffeff, 0xfefffeff } } ,
> { { 0xfdfffdff, 0xfdfffdff } } ,
> { { 0xfbfffbff, 0xfbfffbff } } ,
> { { 0xf7fff7ff, 0xf7fff7ff } } ,
> { { 0xefffefff, 0xefffefff } }
>
> Which seemed (I dont know what it is, or does) like a reasonable thing
> to do baed on both columns are the same - in the other 3 files
> uncompiling mask files however the columns are not the same so
> deleting one of them did not seem like a reasonable thing to do. So
> advice would be good on how to proceed.
>
> Many Thanks,
>
> John.
>
> --- In pokersource@yahoogroups.com, "JRWashington" <john@> wrote:
> >
> > Hi,
> >
> > Ive found the missing files in set 124 :) so now I am past the errors
> > below - now I am down to 4 errors...
> >
> > Any clues? I will have a look at it now hopefully its nothing too
> > drastic...
> >
> > c:\documents and settings\john\desktop\newer
> > bot\peval\poker-eval-133.0\lib\t_astudcardmasks.c(15) : error C2078:
> > too many initializers
> >
> > c:\documents and settings\john\desktop\newer
> > bot\peval\poker-eval-133.0\lib\t_cardmasks.c(14) : error C2078: too
> > many initializers
> >
> > c:\documents and settings\john\desktop\newer
> > bot\peval\poker-eval-133.0\lib\t_jokercardmasks.c(15) : error C2078:
> > too many initializers
> >
> > c:\documents and settings\john\desktop\newer
> > bot\peval\poker-eval-133.0\lib\t_maskrank.c(15) : error C2078: too
> > many initializers
> >
> > --- In pokersource@yahoogroups.com, "JRWashington" <john@> wrote:
> > >
> > > Hi,
> > >
> > > I have been trying to compile the poker-eval-133.0, using the
included
> > > poker-eval.vcproj file - VC++ converts it ok to a VC8++ project but
> > > when I try to build it a number of the files are missing from the
> > > .\lib\ folder, are these supposed to be missing from this build and
> > > are they in another so that I can use that set or copy the files
over?
> > > Or am I missing something entirely?
> > >
> > > I did try looking at the cygwin program but I am at a total loss on
> > > where to start after launching the application - so if it works in
> > > that app a little help would be greatly appreciated!!
> > >
> > > VS Version :-
> > >
> > > Microsoft Visual Studio 2005
> > > Version 8.0.50727.42 (RTM.050727-4200)
> > >
> > > Build Log :-
> > >
> > > ------ Build started: Project: poker-eval, Configuration: Debug
Win32
> > > ------
> > > Compiling...
> > > t_astudcardmasks.c
> > > c1 : fatal error C1083: Cannot open source file:
> > > '.\lib\t_astudcardmasks.c': No such file or directory
> > > t_botcard.c
> > > c1 : fatal error C1083: Cannot open source file:
'.\lib\t_botcard.c':
> > > No such file or directory
> > > t_botfivecards.c
> > > c1 : fatal error C1083: Cannot open source file:
> > > '.\lib\t_botfivecards.c': No such file or directory
> > > t_botfivecardsj.c
> > > c1 : fatal error C1083: Cannot open source file:
> > > '.\lib\t_botfivecardsj.c': No such file or directory
> > > t_cardmasks.c
> > > c1 : fatal error C1083: Cannot open source file:
> > > '.\lib\t_cardmasks.c': No such file or directory
> > > t_evx_flushcards.c
> > > c1 : fatal error C1083: Cannot open source file:
> > > '.\lib\t_evx_flushcards.c': No such file or directory
> > > t_evx_pairval.c
> > > c1 : fatal error C1083: Cannot open source file:
> > > '.\lib\t_evx_pairval.c': No such file or directory
> > > t_evx_strval.c
> > > c1 : fatal error C1083: Cannot open source file:
> > > '.\lib\t_evx_strval.c': No such file or directory
> > > t_evx_tripsval.c
> > > c1 : fatal error C1083: Cannot open source file:
> > > '.\lib\t_evx_tripsval.c': No such file or directory
> > > t_jokercardmasks.c
> > > c1 : fatal error C1083: Cannot open source file:
> > > '.\lib\t_jokercardmasks.c': No such file or directory
> > > t_jokerstraight.c
> > > c1 : fatal error C1083: Cannot open source file:
> > > '.\lib\t_jokerstraight.c': No such file or directory
> > > t_maskrank.c
> > > c1 : fatal error C1083: Cannot open source file:
'.\lib\t_maskrank.c':
> > > No such file or directory
> > > t_nbits.c
> > > c1 : fatal error C1083: Cannot open source file:
'.\lib\t_nbits.c': No
> > > such file or directory
> > > t_nbitsandstr.c
> > > c1 : fatal error C1083: Cannot open source file:
> > > '.\lib\t_nbitsandstr.c': No such file or directory
> > > t_straight.c
> > > c1 : fatal error C1083: Cannot open source file:
'.\lib\t_straight.c':
> > > No such file or directory
> > > t_topbit.c
> > > c1 : fatal error C1083: Cannot open source file: '.\lib\t_topbit.c':
> > > No such file or directory
> > > t_topcard.c
> > > c1 : fatal error C1083: Cannot open source file:
'.\lib\t_topcard.c':
> > > No such file or directory
> > > t_topfivebits.c
> > > c1 : fatal error C1083: Cannot open source file:
> > > '.\lib\t_topfivebits.c': No such file or directory
> > > t_topfivecards.c
> > > c1 : fatal error C1083: Cannot open source file:
> > > '.\lib\t_topfivecards.c': No such file or directory
> > > t_toptwobits.c
> > > c1 : fatal error C1083: Cannot open source file:
> > > '.\lib\t_toptwobits.c': No such file or directory
> > > Generating Code...
> > >
> >
>
Ok now I have run out of play time and need to go and finish the
present wrapping for Christmas.
I got t_maskrank.c compiling ok if I changed the table to
{ { 0xfffefffe} } ,
{ { 0xfffdfffd} } ,
{ { 0xfffbfffb} } ,
{ { 0xfff7fff7} } ,
{ { 0xffefffef} } ,
{ { 0xffdfffdf} } ,
{ { 0xffbfffbf} } ,
{ { 0xff7fff7f} } ,
{ { 0xfefffeff} } ,
{ { 0xfdfffdff} } ,
{ { 0xfbfffbff} } ,
{ { 0xf7fff7ff} } ,
{ { 0xefffefff} }
Rather than
{ { 0xfffefffe, 0xfffefffe } } ,
{ { 0xfffdfffd, 0xfffdfffd } } ,
{ { 0xfffbfffb, 0xfffbfffb } } ,
{ { 0xfff7fff7, 0xfff7fff7 } } ,
{ { 0xffefffef, 0xffefffef } } ,
{ { 0xffdfffdf, 0xffdfffdf } } ,
{ { 0xffbfffbf, 0xffbfffbf } } ,
{ { 0xff7fff7f, 0xff7fff7f } } ,
{ { 0xfefffeff, 0xfefffeff } } ,
{ { 0xfdfffdff, 0xfdfffdff } } ,
{ { 0xfbfffbff, 0xfbfffbff } } ,
{ { 0xf7fff7ff, 0xf7fff7ff } } ,
{ { 0xefffefff, 0xefffefff } }
Which seemed (I dont know what it is, or does) like a reasonable thing
to do baed on both columns are the same - in the other 3 files
uncompiling mask files however the columns are not the same so
deleting one of them did not seem like a reasonable thing to do. So
advice would be good on how to proceed.
Many Thanks,
John.
--- In pokersource@yahoogroups.com, "JRWashington" <john@...> wrote:
>
> Hi,
>
> Ive found the missing files in set 124 :) so now I am past the errors
> below - now I am down to 4 errors...
>
> Any clues? I will have a look at it now hopefully its nothing too
> drastic...
>
> c:\documents and settings\john\desktop\newer
> bot\peval\poker-eval-133.0\lib\t_astudcardmasks.c(15) : error C2078:
> too many initializers
>
> c:\documents and settings\john\desktop\newer
> bot\peval\poker-eval-133.0\lib\t_cardmasks.c(14) : error C2078: too
> many initializers
>
> c:\documents and settings\john\desktop\newer
> bot\peval\poker-eval-133.0\lib\t_jokercardmasks.c(15) : error C2078:
> too many initializers
>
> c:\documents and settings\john\desktop\newer
> bot\peval\poker-eval-133.0\lib\t_maskrank.c(15) : error C2078: too
> many initializers
>
> --- In pokersource@yahoogroups.com, "JRWashington" <john@> wrote:
> >
> > Hi,
> >
> > I have been trying to compile the poker-eval-133.0, using the included
> > poker-eval.vcproj file - VC++ converts it ok to a VC8++ project but
> > when I try to build it a number of the files are missing from the
> > .\lib\ folder, are these supposed to be missing from this build and
> > are they in another so that I can use that set or copy the files over?
> > Or am I missing something entirely?
> >
> > I did try looking at the cygwin program but I am at a total loss on
> > where to start after launching the application - so if it works in
> > that app a little help would be greatly appreciated!!
> >
> > VS Version :-
> >
> > Microsoft Visual Studio 2005
> > Version 8.0.50727.42 (RTM.050727-4200)
> >
> > Build Log :-
> >
> > ------ Build started: Project: poker-eval, Configuration: Debug Win32
> > ------
> > Compiling...
> > t_astudcardmasks.c
> > c1 : fatal error C1083: Cannot open source file:
> > '.\lib\t_astudcardmasks.c': No such file or directory
> > t_botcard.c
> > c1 : fatal error C1083: Cannot open source file: '.\lib\t_botcard.c':
> > No such file or directory
> > t_botfivecards.c
> > c1 : fatal error C1083: Cannot open source file:
> > '.\lib\t_botfivecards.c': No such file or directory
> > t_botfivecardsj.c
> > c1 : fatal error C1083: Cannot open source file:
> > '.\lib\t_botfivecardsj.c': No such file or directory
> > t_cardmasks.c
> > c1 : fatal error C1083: Cannot open source file:
> > '.\lib\t_cardmasks.c': No such file or directory
> > t_evx_flushcards.c
> > c1 : fatal error C1083: Cannot open source file:
> > '.\lib\t_evx_flushcards.c': No such file or directory
> > t_evx_pairval.c
> > c1 : fatal error C1083: Cannot open source file:
> > '.\lib\t_evx_pairval.c': No such file or directory
> > t_evx_strval.c
> > c1 : fatal error C1083: Cannot open source file:
> > '.\lib\t_evx_strval.c': No such file or directory
> > t_evx_tripsval.c
> > c1 : fatal error C1083: Cannot open source file:
> > '.\lib\t_evx_tripsval.c': No such file or directory
> > t_jokercardmasks.c
> > c1 : fatal error C1083: Cannot open source file:
> > '.\lib\t_jokercardmasks.c': No such file or directory
> > t_jokerstraight.c
> > c1 : fatal error C1083: Cannot open source file:
> > '.\lib\t_jokerstraight.c': No such file or directory
> > t_maskrank.c
> > c1 : fatal error C1083: Cannot open source file: '.\lib\t_maskrank.c':
> > No such file or directory
> > t_nbits.c
> > c1 : fatal error C1083: Cannot open source file: '.\lib\t_nbits.c': No
> > such file or directory
> > t_nbitsandstr.c
> > c1 : fatal error C1083: Cannot open source file:
> > '.\lib\t_nbitsandstr.c': No such file or directory
> > t_straight.c
> > c1 : fatal error C1083: Cannot open source file: '.\lib\t_straight.c':
> > No such file or directory
> > t_topbit.c
> > c1 : fatal error C1083: Cannot open source file: '.\lib\t_topbit.c':
> > No such file or directory
> > t_topcard.c
> > c1 : fatal error C1083: Cannot open source file: '.\lib\t_topcard.c':
> > No such file or directory
> > t_topfivebits.c
> > c1 : fatal error C1083: Cannot open source file:
> > '.\lib\t_topfivebits.c': No such file or directory
> > t_topfivecards.c
> > c1 : fatal error C1083: Cannot open source file:
> > '.\lib\t_topfivecards.c': No such file or directory
> > t_toptwobits.c
> > c1 : fatal error C1083: Cannot open source file:
> > '.\lib\t_toptwobits.c': No such file or directory
> > Generating Code...
> >
>
Hi,
Ive found the missing files in set 124 :) so now I am past the errors
below - now I am down to 4 errors...
Any clues? I will have a look at it now hopefully its nothing too
drastic...
c:\documents and settings\john\desktop\newer
bot\peval\poker-eval-133.0\lib\t_astudcardmasks.c(15) : error C2078:
too many initializers
c:\documents and settings\john\desktop\newer
bot\peval\poker-eval-133.0\lib\t_cardmasks.c(14) : error C2078: too
many initializers
c:\documents and settings\john\desktop\newer
bot\peval\poker-eval-133.0\lib\t_jokercardmasks.c(15) : error C2078:
too many initializers
c:\documents and settings\john\desktop\newer
bot\peval\poker-eval-133.0\lib\t_maskrank.c(15) : error C2078: too
many initializers
--- In pokersource@yahoogroups.com, "JRWashington" <john@...> wrote:
>
> Hi,
>
> I have been trying to compile the poker-eval-133.0, using the included
> poker-eval.vcproj file - VC++ converts it ok to a VC8++ project but
> when I try to build it a number of the files are missing from the
> .\lib\ folder, are these supposed to be missing from this build and
> are they in another so that I can use that set or copy the files over?
> Or am I missing something entirely?
>
> I did try looking at the cygwin program but I am at a total loss on
> where to start after launching the application - so if it works in
> that app a little help would be greatly appreciated!!
>
> VS Version :-
>
> Microsoft Visual Studio 2005
> Version 8.0.50727.42 (RTM.050727-4200)
>
> Build Log :-
>
> ------ Build started: Project: poker-eval, Configuration: Debug Win32
> ------
> Compiling...
> t_astudcardmasks.c
> c1 : fatal error C1083: Cannot open source file:
> '.\lib\t_astudcardmasks.c': No such file or directory
> t_botcard.c
> c1 : fatal error C1083: Cannot open source file: '.\lib\t_botcard.c':
> No such file or directory
> t_botfivecards.c
> c1 : fatal error C1083: Cannot open source file:
> '.\lib\t_botfivecards.c': No such file or directory
> t_botfivecardsj.c
> c1 : fatal error C1083: Cannot open source file:
> '.\lib\t_botfivecardsj.c': No such file or directory
> t_cardmasks.c
> c1 : fatal error C1083: Cannot open source file:
> '.\lib\t_cardmasks.c': No such file or directory
> t_evx_flushcards.c
> c1 : fatal error C1083: Cannot open source file:
> '.\lib\t_evx_flushcards.c': No such file or directory
> t_evx_pairval.c
> c1 : fatal error C1083: Cannot open source file:
> '.\lib\t_evx_pairval.c': No such file or directory
> t_evx_strval.c
> c1 : fatal error C1083: Cannot open source file:
> '.\lib\t_evx_strval.c': No such file or directory
> t_evx_tripsval.c
> c1 : fatal error C1083: Cannot open source file:
> '.\lib\t_evx_tripsval.c': No such file or directory
> t_jokercardmasks.c
> c1 : fatal error C1083: Cannot open source file:
> '.\lib\t_jokercardmasks.c': No such file or directory
> t_jokerstraight.c
> c1 : fatal error C1083: Cannot open source file:
> '.\lib\t_jokerstraight.c': No such file or directory
> t_maskrank.c
> c1 : fatal error C1083: Cannot open source file: '.\lib\t_maskrank.c':
> No such file or directory
> t_nbits.c
> c1 : fatal error C1083: Cannot open source file: '.\lib\t_nbits.c': No
> such file or directory
> t_nbitsandstr.c
> c1 : fatal error C1083: Cannot open source file:
> '.\lib\t_nbitsandstr.c': No such file or directory
> t_straight.c
> c1 : fatal error C1083: Cannot open source file: '.\lib\t_straight.c':
> No such file or directory
> t_topbit.c
> c1 : fatal error C1083: Cannot open source file: '.\lib\t_topbit.c':
> No such file or directory
> t_topcard.c
> c1 : fatal error C1083: Cannot open source file: '.\lib\t_topcard.c':
> No such file or directory
> t_topfivebits.c
> c1 : fatal error C1083: Cannot open source file:
> '.\lib\t_topfivebits.c': No such file or directory
> t_topfivecards.c
> c1 : fatal error C1083: Cannot open source file:
> '.\lib\t_topfivecards.c': No such file or directory
> t_toptwobits.c
> c1 : fatal error C1083: Cannot open source file:
> '.\lib\t_toptwobits.c': No such file or directory
> Generating Code...
>
Hi,
I have been trying to compile the poker-eval-133.0, using the included
poker-eval.vcproj file - VC++ converts it ok to a VC8++ project but
when I try to build it a number of the files are missing from the
.\lib\ folder, are these supposed to be missing from this build and
are they in another so that I can use that set or copy the files over?
Or am I missing something entirely?
I did try looking at the cygwin program but I am at a total loss on
where to start after launching the application - so if it works in
that app a little help would be greatly appreciated!!
VS Version :-
Microsoft Visual Studio 2005
Version 8.0.50727.42 (RTM.050727-4200)
Build Log :-
------ Build started: Project: poker-eval, Configuration: Debug Win32
------
Compiling...
t_astudcardmasks.c
c1 : fatal error C1083: Cannot open source file:
'.\lib\t_astudcardmasks.c': No such file or directory
t_botcard.c
c1 : fatal error C1083: Cannot open source file: '.\lib\t_botcard.c':
No such file or directory
t_botfivecards.c
c1 : fatal error C1083: Cannot open source file:
'.\lib\t_botfivecards.c': No such file or directory
t_botfivecardsj.c
c1 : fatal error C1083: Cannot open source file:
'.\lib\t_botfivecardsj.c': No such file or directory
t_cardmasks.c
c1 : fatal error C1083: Cannot open source file:
'.\lib\t_cardmasks.c': No such file or directory
t_evx_flushcards.c
c1 : fatal error C1083: Cannot open source file:
'.\lib\t_evx_flushcards.c': No such file or directory
t_evx_pairval.c
c1 : fatal error C1083: Cannot open source file:
'.\lib\t_evx_pairval.c': No such file or directory
t_evx_strval.c
c1 : fatal error C1083: Cannot open source file:
'.\lib\t_evx_strval.c': No such file or directory
t_evx_tripsval.c
c1 : fatal error C1083: Cannot open source file:
'.\lib\t_evx_tripsval.c': No such file or directory
t_jokercardmasks.c
c1 : fatal error C1083: Cannot open source file:
'.\lib\t_jokercardmasks.c': No such file or directory
t_jokerstraight.c
c1 : fatal error C1083: Cannot open source file:
'.\lib\t_jokerstraight.c': No such file or directory
t_maskrank.c
c1 : fatal error C1083: Cannot open source file: '.\lib\t_maskrank.c':
No such file or directory
t_nbits.c
c1 : fatal error C1083: Cannot open source file: '.\lib\t_nbits.c': No
such file or directory
t_nbitsandstr.c
c1 : fatal error C1083: Cannot open source file:
'.\lib\t_nbitsandstr.c': No such file or directory
t_straight.c
c1 : fatal error C1083: Cannot open source file: '.\lib\t_straight.c':
No such file or directory
t_topbit.c
c1 : fatal error C1083: Cannot open source file: '.\lib\t_topbit.c':
No such file or directory
t_topcard.c
c1 : fatal error C1083: Cannot open source file: '.\lib\t_topcard.c':
No such file or directory
t_topfivebits.c
c1 : fatal error C1083: Cannot open source file:
'.\lib\t_topfivebits.c': No such file or directory
t_topfivecards.c
c1 : fatal error C1083: Cannot open source file:
'.\lib\t_topfivecards.c': No such file or directory
t_toptwobits.c
c1 : fatal error C1083: Cannot open source file:
'.\lib\t_toptwobits.c': No such file or directory
Generating Code...
> if i understand well the "eval" example, the Hand_EVAL_N macro is
> computing the hand value. i believe i can use it and compare that
> value to all the others players'possible hands.
> Is there a method in poker-eval to generate all the others hands and
> to use it in a loop or need i to write my own method?
>
sorry for dbl posting... i've forgot to talk about the turn and the
river. I want also to generate all possible board in the hand odd
calculator when knowing just the flop, after the turn and finally with
the final board.
ty
orkblutt
Hi all,
first thanks to put this librarie avaible.
It looks great for what i understood by looking at the example.
The code seems really efficient and fast.
i'm trying to understand the code, particulary on the "eval" example,
to implement a simple hand odd calculator... just with our holdem
hand, the number of players
i've found on codeproject.com a nice c# class based on poker-eval.
http://www.codeproject.com/csharp/pokerhandevaldoc.asp
but you must know it already :)
the "Building a Detailed Hand Odds Calculator" part is really a good
example of what i'm trying to do using poker-eval...
i'm a bit lazzy to dig into the c# class since i'm really not familiar
with c# but i understand the basic algorithm explained on that part.
if i understand well the "eval" example, the Hand_EVAL_N macro is
computing the hand value. i believe i can use it and compare that
value to all the others players'possible hands.
Is there a method in poker-eval to generate all the others hands and
to use it in a loop or need i to write my own method?
maybe someone can give me the general idea to show me how to use
correctly poker-eval...
sorry if i've missed a previous post exposing this same subject...
English is not my native langage and i've sometime some difficulties
to understand all.
regards and thank you :)
orkblutt
Sorry, forgot the error message for problem a). It's:
org/pokersource/eval/StandardEvalImp.o:StandardEvalImp.c:(.text+0xdf):
undefined reference to `_nBitsTable'
Hi,
I'd like to use poker-eval from Java on Windows.
I've spent quite a bit of time trying to compile it, but to no avail.
a) Under Cygwin using poker-eval-src-121 I am getting to the following
error when running make:
cc -shared -L../lib -lpoker -o ../lib/libpokerjni.so
org/pokersource/eval/StandardEvalImp.o
org/pokersource/eval/JokerEvalImp.o
org/pokersource/eval/AsianStudEvalImp.o
org/pokersource/enumerate/EnumerateImp.o jniutil.o pokutil.o
Nevertheless, the poker library is there and the symbol that it cannot
find is defined there:
bash-3.2$ pwd
/cygdrive/c/poker-eval-src-121/lib
bash-3.2$ ls -la libpoker.a
-rw-rw-rw- 1 Janis None 1194338 Dec 5 16:28 libpoker.a
bash-3.2$ nm libpoker.a | grep nBitsTable
00000000 D _nBitsTable
U _nBitsTable
b) If I try to combine the Java sources in CVS with the package from
version 133 I get the same error.
c) The CVS HEAD version warns me on the following among other things:
bash-3.2$ autoreconf --install
/usr/share/aclocal/libsmi.m4:8: warning: underquoted definition of
AM_PATH_LIBSMI
..
examples/Makefile.am:45: compiling `eval.c' with per-target flags
requires `AM_P
ROG_CC_C_O' in `configure.ac'
./configure afterwards fails with:
configure: creating ./config.status
config.status: creating tests/run
.infig.status: error: cannot find input file: Makefile
d) Running nmake in /java/ under MS VC++ yields the following:
C:\projects\poker-eval\java>nmake -f Makefile.dos
Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.
Makefile.dos(9) : fatal error U1000: syntax error : ')' missing in
macro invocation
e) Still, one of the failing make processes produced a
cygpoker-eval-1.dll file which I fed to VC++ (renamed as poker.dll)
and that fails with:
C:\<yadda yadda>\Eval\lib\poker.dll : fatal error LNK1107: invalid or
corrupt file: cannot read at 0x2E0
Has anyone here succeeded in making the poker-eval Java interface on
Windows?
Does anyone have any suggestions?
Best regards,
Janis.
P.S. I've also posted this to poker-source@gna users so my apologies
to those of you who are subscribed to both lists/groups.
--- In pokersource@yahoogroups.com, Matthias Kohlweyer
<kurti08150815@...> wrote:
>
> Thanks a lot, it works fine :)
> One more question: is there a way to specify "any two" (instead of
"TT+ QJ+" for example)?
I don't understand what you mean by "any two". You mean a uniform
distribution across all 169 possible two-card pockets? Or... ?
> I assume the standard hand ranking that is used here is the
Karlson-Slansky ranking?
Look at the javadoc for all the classes that implement the
HoldemHandGroup interface. For example:
HoldemAtomicGroup (the 1326 unique twocard hands: AhKh, Ts4d, etc)
HoldemCanonGroup (the 169 equivalence classes when the specific suit
doesn't matter: AKs, AK, TT, etc)
HoldemAbdulGroup (ranges introduced by Abdul: AJs+, 88+, T8+, etc).
HoldemSMGroup (the Sklansky+Malmuth groups from 1 to 8).
etc...
-Michael M
One more question: is there a way to specify "any two" (instead of "TT+ QJ+" for example)?
I assume the standard hand ranking that is used here is the Karlson-Slansky ranking?
Michael Maurer <mjmaurer@...> wrote:
--- In pokersource@yahoogroups.com, "kurti08150815" wrote: > > I know that I can compute the pot odds multiway when I define the exact > hand of each player. Can I compute the odds also if I don't define the > suits? Example (3 players): "AKo" against "76s" and "TT". > > I want to mention that I only used the java interface so far, that is > org.pokersource.enumeration.Enumerate.PotEquity() >
Yes, the code you want is in SAIE.java. Look at SAIEMain.java or SAIETest.java for examples.
Look at HoldemCanonGroup or HoldemAbdulGroup for ways of naming groups of hands like TT, 76s, TT+, 76s+.
Note, this code is less well-tested than other parts of poker-eval, and you may want to write some of your own unit tests to make sure that your particular usage does not run into any internal bugs.
-Michael M
Yahoo! Groups Links
<*> To visit your group on the web, go to: http://groups.yahoo.com/group/pokersource/
<*> Your email settings: Individual Email | Traditional
<*> To change settings online go to: http://groups.yahoo.com/group/pokersource/join (Yahoo! ID required)
<*> To change settings via email: mailto:pokersource-digest@yahoogroups.com mailto:pokersource-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to: pokersource-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is
subject to: http://docs.yahoo.com/info/terms/
Sponsored Link
Degrees online in as fast as 1 Yr - MBA, Bachelor's, Master's, Associate - Click now to apply
--- In pokersource@yahoogroups.com, "kurti08150815"
<kurti08150815@...> wrote:
>
> I know that I can compute the pot odds multiway when I define the exact
> hand of each player. Can I compute the odds also if I don't define the
> suits? Example (3 players): "AKo" against "76s" and "TT".
>
> I want to mention that I only used the java interface so far, that is
> org.pokersource.enumeration.Enumerate.PotEquity()
>
Yes, the code you want is in SAIE.java. Look at SAIEMain.java or
SAIETest.java for examples. Look at HoldemCanonGroup or
HoldemAbdulGroup for ways of naming groups of hands like TT, 76s, TT+,
76s+.
Note, this code is less well-tested than other parts of poker-eval,
and you may want to write some of your own unit tests to make sure
that your particular usage does not run into any internal bugs.
-Michael M
I mean the "average" odds (taking into account all possible combinations). Take a look at pokerstove, it's doing exactly this. But there is no source code, unfortunately.
Rau Balazs <jomagam@...> wrote:
It's not certain what the odds are in this situation unless you specify all the suits. For example the 76s guy has no change of a royal flush if one of the TT cards has the same suit.
Balazs
--- kurti08150815 wrote:
> I know that I can compute the pot odds multiway when I define the > exact > hand of each player. Can I compute the odds also if I don't define > the > suits? Example (3 players): "AKo" against "76s" and "TT". > > I want to mention that I only used the java interface so far, that is > >
org.pokersource.enumeration.Enumerate.PotEquity() > > > > > > > > Yahoo! Groups Links > > > > >
____________________________________________________________________________________ Sponsored Link
Mortgage rates near 39yr lows. $310k for $999/mo. Calculate new payment! www.LowerMyBills.com/lre
Yahoo! Groups Links
<*> To visit your group on the web, go to: http://groups.yahoo.com/group/pokersource/
<*> Your email settings: Individual Email | Traditional
<*> To change settings online go to: http://groups.yahoo.com/group/pokersource/join (Yahoo! ID required)
<*> To change settings via email: mailto:pokersource-digest@yahoogroups.com mailto:pokersource-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email
to: pokersource-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
It's not certain what the odds are in this situation unless you specify
all the suits. For example the 76s guy has no change of a royal flush
if one of the TT cards has the same suit.
Balazs
--- kurti08150815 <kurti08150815@...> wrote:
> I know that I can compute the pot odds multiway when I define the
> exact
> hand of each player. Can I compute the odds also if I don't define
> the
> suits? Example (3 players): "AKo" against "76s" and "TT".
>
> I want to mention that I only used the java interface so far, that is
>
> org.pokersource.enumeration.Enumerate.PotEquity()
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
________________________________________________________________________________\
____
Sponsored Link
Mortgage rates near 39yr lows.
$310k for $999/mo. Calculate new payment!
www.LowerMyBills.com/lre
I know that I can compute the pot odds multiway when I define the exact
hand of each player. Can I compute the odds also if I don't define the
suits? Example (3 players): "AKo" against "76s" and "TT".
I want to mention that I only used the java interface so far, that is
org.pokersource.enumeration.Enumerate.PotEquity()
A fellow on 2+2 noticed a bug in the poker-eval razz evaluator. It
turns out this is a "known bug", but thought I'd post this here for
the record. The example is 5566777 vs 4488999.
http://forumserver.twoplustwo.com/showflat.php?Number=8093452
The bug is mentioned in include/inlines/eval_low.h with the following
comment that I vaguely remember typing years ago:
"TODO -- review and fix code for hands with >5 cards, in particular
hands like KK77442, KKK7733, 777KK33, 333KK77, 4444KKK."
-Michael M
Eek,
bakert@arthur:~$ sudo apt-get install python-poker-engine
Reading package lists... Done
Building dependency tree... Done
Package python-poker-engine is not available, but is referred to by
another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package python-poker-engine has no installation candidate
Am I being thick?
Thanks,
Tom
On 18/10/06, Loic Dachary <loic@...> wrote:
> Thomas David Baker writes:
> > Hi all,
> >
> > Does anyone have a hint for me on how to install the complete set of
> > pokersource stuff on Dapper? Do I need to build it all from the
> > source?
>
> As per
>
> http://www.pokersource.org/developers/index.php
>
> add
>
> deb
http://www.pokersource.org/packaging-farm/pokersource/gnulinux/debian/dapper/src
./
> deb-src
http://www.pokersource.org/packaging-farm/pokersource/gnulinux/debian/dapper/src
./
>
> to /etc/apt/sources.list and voila.
>
> Cheers,
>
> --
> +33 1 76 60 72 81 Loic Dachary mailto:loic@...
> http://dachary.org/loic/gpg.txt sip:loic@...
>
Hi all,
Does anyone have a hint for me on how to install the complete set of
pokersource stuff on Dapper? Do I need to build it all from the
source?
Thanks,
Tom
On 14/10/06, Thomas David Baker <bakert@...> wrote:
> Hi Loic/everyone,
>
> I hope you can help me.
>
> I've rebuilt my machine as Ubuntu Dapper and I want to get the whole
> pokersource setup running so I can complete my poker bot.
>
> The menkensleep packages I used before don't seem to exist any more.
>
> I found these:
>
> http://download.gna.org/pokersource/poker-network/gnulinux/debian/dapper/src/
>
> but if I add
>
> deb http://download.gna.org/pokersource/poker-network/gnulinux/debian/dapper
> src/
> deb-src
http://download.gna.org/pokersource/poker-network/gnulinux/debian/dapper
> src/
>
> to my sources.list and do
>
> sudo apt-get update
> sudo apt-get install poker2d
>
> it doesn't know about poker2d.
>
> Please excuse my naivety about apt and other related stuff. Can you
> point me in the right direction?
>
> Thanks very much,
>
> Tom
>
> On 17/04/06, Loic Dachary <loic@...> wrote:
> > Thomas David Baker writes:
> > > Thanks Loic.
> >
> > > I'm running this on Ubuntu where the version of automake
> > > installed is 1.4. On prompting to use 1.7 I installed the latest
> > > 1.9.6. I hope that's OK.
> >
> > That's fine. Are you using Ubuntu hoary or breezy ? hoary I presume.
> > I'm not sure if you just want to run the software or if you want to
> > rebuild it from the sources.
> >
> > If you just want to run it try:
> >
> > deb http://mekensleep.org/gnulinux/debian hoary/
> >
> > and
> >
> > apt-get install poker2d
> >
> > it will install both the server and the experimental 2d client.
> >
> > If you want to build from the sources, check the following.
> >
> > > I now get this from bootstrap:
> >
> > > Running 'aclocal-1.9 -I ./config'
> > > Running 'autoheader'
> > > Running 'libtoolize --force'
> >
> > Here is the magic way out:
> >
> > apt-get build-dep poker-network
> >
> > will make sure you have all the dependencies installed (i.e. you
> > don't have to worry about the automake version).
> >
> > apt-get source poker-network
> >
> > will unpack the sources + the Ubuntu packaging information. In
> > order to get the latest stable version, check that you have
> >
> > deb http://mekensleep.org/gnulinux/debian hoary/
> > deb-src http://mekensleep.org/gnulinux/debian hoary/
> >
> > in your /etc/apt/sources.list file (you can add/edit this file
> > manually if needed or thru the synaptic graphic interface if you
> > like).
> >
> > The deb-src indicates that the sources can be found at this
> > location.
> >
> > Once apt-get-source poker-network extracted a source tree, you
> > can cd poker-network-1.0.17 and then
> >
> > debuild -uc -us
> >
> > and it will re-build the package from the source. If you want to
> > make changes, just edit the sources and re-run debuild -uc -us to rebuild
> > everything.
> >
> > Once debuild -uc -us finishes you will see that some *.deb files
> > were deposited in the parent directory. You can install them by hand using
> >
> > dpkg -i *.deb
> >
> > Or you can make a new apt-get installable repository but
> > that's another story ;-)
> >
> > --
> > Loic Dachary, 12 bd Magenta, 75010 Paris. Tel: 33 8 71 18 43 38
> > http://www.fsffrance.org/http://www.dachary.org/loic/gpg.txt
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
>
Hi Loic/everyone,
I hope you can help me.
I've rebuilt my machine as Ubuntu Dapper and I want to get the whole
pokersource setup running so I can complete my poker bot.
The menkensleep packages I used before don't seem to exist any more.
I found these:
http://download.gna.org/pokersource/poker-network/gnulinux/debian/dapper/src/
but if I add
deb http://download.gna.org/pokersource/poker-network/gnulinux/debian/dapper
src/
deb-src http://download.gna.org/pokersource/poker-network/gnulinux/debian/dapper
src/
to my sources.list and do
sudo apt-get update
sudo apt-get install poker2d
it doesn't know about poker2d.
Please excuse my naivety about apt and other related stuff. Can you
point me in the right direction?
Thanks very much,
Tom
On 17/04/06, Loic Dachary <loic@...> wrote:
> Thomas David Baker writes:
> > Thanks Loic.
>
> > I'm running this on Ubuntu where the version of automake
> > installed is 1.4. On prompting to use 1.7 I installed the latest
> > 1.9.6. I hope that's OK.
>
> That's fine. Are you using Ubuntu hoary or breezy ? hoary I presume.
> I'm not sure if you just want to run the software or if you want to
> rebuild it from the sources.
>
> If you just want to run it try:
>
> deb http://mekensleep.org/gnulinux/debian hoary/
>
> and
>
> apt-get install poker2d
>
> it will install both the server and the experimental 2d client.
>
> If you want to build from the sources, check the following.
>
> > I now get this from bootstrap:
>
> > Running 'aclocal-1.9 -I ./config'
> > Running 'autoheader'
> > Running 'libtoolize --force'
>
> Here is the magic way out:
>
> apt-get build-dep poker-network
>
> will make sure you have all the dependencies installed (i.e. you
> don't have to worry about the automake version).
>
> apt-get source poker-network
>
> will unpack the sources + the Ubuntu packaging information. In
> order to get the latest stable version, check that you have
>
> deb http://mekensleep.org/gnulinux/debian hoary/
> deb-src http://mekensleep.org/gnulinux/debian hoary/
>
> in your /etc/apt/sources.list file (you can add/edit this file
> manually if needed or thru the synaptic graphic interface if you
> like).
>
> The deb-src indicates that the sources can be found at this
> location.
>
> Once apt-get-source poker-network extracted a source tree, you
> can cd poker-network-1.0.17 and then
>
> debuild -uc -us
>
> and it will re-build the package from the source. If you want to
> make changes, just edit the sources and re-run debuild -uc -us to rebuild
> everything.
>
> Once debuild -uc -us finishes you will see that some *.deb files
> were deposited in the parent directory. You can install them by hand using
>
> dpkg -i *.deb
>
> Or you can make a new apt-get installable repository but
> that's another story ;-)
>
> --
> Loic Dachary, 12 bd Magenta, 75010 Paris. Tel: 33 8 71 18 43 38
> http://www.fsffrance.org/http://www.dachary.org/loic/gpg.txt
>
>
>
> Yahoo! Groups Links
>
>
>
>
Hello,
Please help.
Can one send me a pypokereval.dll for to be able to
work with the Python's pypoker-eval on Windows?
Thank you in advance.
Best Regards,
Todor (ael54@...)
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
I compiled the poker-eval v129.0 library using the visual studio
command promp with nmake -f makefile.dos and that seems to work fine,
the only thing that didn't compile corrects were the examples.
However, when I tried to add it to the project I was working on it
gave me the following error:
A reference to 'C:\Project\poker\libpoker.dll' could not be added.
This is not a valid assembly or COM component. Only assemplies with
extension 'dll' and COM componenets can be referenced. Please make
sure that the file is accesssible, and that it is a valid assembly or
COM component.
So I'm guessing the file isn't formatted right for VC .NET, if anyone
knows how to solve this problem or has any ideas or suggestions they
would be much appreciated.
Thanks,
- Brandon
Thomas David Baker writes:
> Hi Loic,
>
> I don't have anything called pokerserver but I tried:
>
> python pokerserver.py
ls -l /usr/sbin/poker{server,bot}*
> This gave me an error about not having a config file so I tried:
>
> python pokerserver.py /usr/share/poker-engine2.4/conf/poker.holdem.xml
ls /etc/poker-network*
--
Loic Dachary, 12 bd Magenta, 75010 Paris. Tel: 33 8 71 18 43 38
http://www.fsffrance.org/http://www.dachary.org/loic/gpg.txt
Hi Loic,
I don't have anything called pokerserver but I tried:
python pokerserver.py
This gave me an error about not having a config file so I tried:
python pokerserver.py /usr/share/poker-engine2.4/conf/poker.holdem.xml
and this seemed to get a little further. I know get an error on this line:
parameters = settings.headerGetProperties("/server/database")[0]
to do with configuring the database. I guess I need to supply
database details somewhere? How would I do that?
Thanks,
Tom
On 29/04/06, Loic Dachary <loic@...> wrote:
> Thomas David Baker writes:
> > Oh. Would you like me to write a "beginner's guide"?
>
> That would be great.
>
> > I'll start writing some docs if you give me a clue where to start?
>
> IMHO, the best and most popular subject to write about would
> be "HOWTO make a poker odd calculator with poker-eval ?" This is by
> far the most FAQ ;-)
>
> > What would the command line to start a network game?
>
> pokerserver
>
> > And the command line to join a bot to it?
>
> pokerbot
>
> Can you do any simpler ?-)
>
>
> --
> Loic Dachary, 12 bd Magenta, 75010 Paris. Tel: 33 8 71 18 43 38
> http://www.fsffrance.org/http://www.dachary.org/loic/gpg.txt
>
Thomas David Baker writes:
> Oh. Would you like me to write a "beginner's guide"?
That would be great.
> I'll start writing some docs if you give me a clue where to start?
IMHO, the best and most popular subject to write about would
be "HOWTO make a poker odd calculator with poker-eval ?" This is by
far the most FAQ ;-)
> What would the command line to start a network game?
pokerserver
> And the command line to join a bot to it?
pokerbot
Can you do any simpler ?-)
--
Loic Dachary, 12 bd Magenta, 75010 Paris. Tel: 33 8 71 18 43 38
http://www.fsffrance.org/http://www.dachary.org/loic/gpg.txt
Oh. Would you like me to write a "beginner's guide"?
I'll start writing some docs if you give me a clue where to start?
What would the command line to start a network game? And the command
line to join a bot to it?
Thanks,
Tom
On 29/04/06, Loic Dachary <loic@...> wrote:
> Thomas David Baker writes:
>
> > Is there any documentation on how to connect/play both as a bot and
> > as a human?
>
> No, there is not. The only documentation is the code.
>
> Cheers,
>
> --
> Loic Dachary, 12 bd Magenta, 75010 Paris. Tel: 33 8 71 18 43 38
> http://www.fsffrance.org/http://www.dachary.org/loic/gpg.txt
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
Thomas David Baker writes:
> Is there any documentation on how to connect/play both as a bot and
> as a human?
No, there is not. The only documentation is the code.
Cheers,
--
Loic Dachary, 12 bd Magenta, 75010 Paris. Tel: 33 8 71 18 43 38
http://www.fsffrance.org/http://www.dachary.org/loic/gpg.txt
Brilliant. That's worked great.
Is there any documentation on how to connect/play both as a bot and as a human?
Thanks for your help,
Tom
On 17/04/06, Loic Dachary <loic@...> wrote:
> Thomas David Baker writes:
> > Thanks Loic.
>
> > I'm running this on Ubuntu where the version of automake
> > installed is 1.4. On prompting to use 1.7 I installed the latest
> > 1.9.6. I hope that's OK.
>
> That's fine. Are you using Ubuntu hoary or breezy ? hoary I presume.
> I'm not sure if you just want to run the software or if you want to
> rebuild it from the sources.
>
> If you just want to run it try:
>
> deb http://mekensleep.org/gnulinux/debian hoary/
>
> and
>
> apt-get install poker2d
>
> it will install both the server and the experimental 2d client.
>
> If you want to build from the sources, check the following.
>
> > I now get this from bootstrap:
>
> > Running 'aclocal-1.9 -I ./config'
> > Running 'autoheader'
> > Running 'libtoolize --force'
>
> Here is the magic way out:
>
> apt-get build-dep poker-network
>
> will make sure you have all the dependencies installed (i.e. you
> don't have to worry about the automake version).
>
> apt-get source poker-network
>
> will unpack the sources + the Ubuntu packaging information. In
> order to get the latest stable version, check that you have
>
> deb http://mekensleep.org/gnulinux/debian hoary/
> deb-src http://mekensleep.org/gnulinux/debian hoary/
>
> in your /etc/apt/sources.list file (you can add/edit this file
> manually if needed or thru the synaptic graphic interface if you
> like).
>
> The deb-src indicates that the sources can be found at this
> location.
>
> Once apt-get-source poker-network extracted a source tree, you
> can cd poker-network-1.0.17 and then
>
> debuild -uc -us
>
> and it will re-build the package from the source. If you want to
> make changes, just edit the sources and re-run debuild -uc -us to rebuild
> everything.
>
> Once debuild -uc -us finishes you will see that some *.deb files
> were deposited in the parent directory. You can install them by hand using
>
> dpkg -i *.deb
>
> Or you can make a new apt-get installable repository but
> that's another story ;-)
>
> --
> Loic Dachary, 12 bd Magenta, 75010 Paris. Tel: 33 8 71 18 43 38
> http://www.fsffrance.org/http://www.dachary.org/loic/gpg.txt
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>