Code Monkey home page Code Monkey logo

cspoker's Introduction

cspoker's People

Watchers

 avatar

cspoker's Issues

Help me about compile source !

Some body help me how to compile this source !i'm newbie ! thank alot

Original issue reported on code.google.com by nguyenchanhtruc on 7 Sep 2011 at 6:24

Great to see project getting along so well

Hi

Great to see things going so well. I can't offer much help but I can host
the website on my server for you free of charge for now and help with the
setup etc.

Let me know

Gary 

Original issue reported on code.google.com by [email protected] on 19 Aug 2008 at 4:53

Server Events Handling

Server events should also be collected and propagated to the client. 
Herefor a system to throw events is necessary, also for server (not game) 
related events.

Original issue reported on code.google.com by [email protected] on 1 Sep 2007 at 12:45

Hand Histories

Hand histories allow us to examine player performance and other things offline.

We need to decide:
- Format (may be oriented on a standard format from a popular internet
client such as Poker Stars)

- Where they are stored on the server
- In what format are they stored (As string, as List of HoldemTableEvents
which are converted upon retrieval etc.)
- How many are stored
- Command to retrieve them by a client
- How are they generated (for example, the HoldemTableEvent toString()
methods should somehow convert the PlayerId into the player's name etc.)

Together with Account and Cashier functionality this demands persistency
support so maybe we can group this into a single issue or document it in
the wiki

Stephan

Original issue reported on code.google.com by [email protected] on 13 Nov 2008 at 9:52

Server logic bug: when big blind folds after calls only, the round doesn't end.

New game with #1: RuleBasedBot v1-1 ($4795 in chips)
New game with #2: RuleBasedBot v2-1 ($568 in chips)
New game with #3: SearchBot (4 Part Distribution Showdown Node factory)
v1-1 ($14756 in chips)
New game with #4: SearchBot (4 Part Distribution Showdown Node factory)
v1-2 ($1295 in chips)
New game with #5: RuleBasedBot v1-2 ($4588 in chips)
New game with #6: RuleBasedBot v2-2 ($3998 in chips)
RuleBasedBot v2-1: posts small blind $5
SearchBot (4 Part Distribution Showdown Node factory) v1-1: posts big blind $10
*** HOLE CARDS ***
Dealt to RuleBasedBot v1-1 [Qs, 9h]
Dealt to RuleBasedBot v2-1 [Jc, 9s]
Dealt to SearchBot (4 Part Distribution Showdown Node factory) v1-1 [Kh, 8c]
Dealt to SearchBot (4 Part Distribution Showdown Node factory) v1-2 [7d, 7s]
Dealt to RuleBasedBot v1-2 [Kc, Jh]
Dealt to RuleBasedBot v2-2 [Qh, 3s]
SearchBot (4 Part Distribution Showdown Node factory) v1-2 calls.
RuleBasedBot v1-2 calls.
RuleBasedBot v2-2 calls.
RuleBasedBot v1-1 calls.
RuleBasedBot v2-1 calls.
SearchBot (4 Part Distribution Showdown Node factory) v1-1: folds
SearchBot (4 Part Distribution Showdown Node factory) v1-2: raises with $25
to $35
RuleBasedBot v1-2 calls.
RuleBasedBot v2-2 calls.
RuleBasedBot v1-1 calls.
RuleBasedBot v2-1 calls.
*** FLOP *** [2c, 6d, 8s]
RuleBasedBot v2-1 bets 19.
SearchBot (4 Part Distribution Showdown Node factory) v1-2 calls.
RuleBasedBot v1-2 calls.
RuleBasedBot v2-2: folds
RuleBasedBot v1-1 calls.
*** TURN *** [2c, 6d, 8s, 8h]
RuleBasedBot v2-1 checks.
SearchBot (4 Part Distribution Showdown Node factory) v1-2 bets 51.
RuleBasedBot v1-2 calls.
RuleBasedBot v1-1 calls.
RuleBasedBot v2-1 calls.
*** RIVER *** [2c, 6d, 8s, 8h, 3d]
RuleBasedBot v2-1 checks.
SearchBot (4 Part Distribution Showdown Node factory) v1-2 bets 32.
RuleBasedBot v1-2 calls.
RuleBasedBot v1-1 calls.
RuleBasedBot v2-1: folds
SearchBot (4 Part Distribution Showdown Node factory) v1-2 has a Eights and
Sevens: [6d, 7d, 7s, 8h, 8s] for $561
RuleBasedBot v1-1 has a Pair of Eights: [6d, 8h, 8s, 9h, Qs] for $561
RuleBasedBot v1-2 has a Pair of Eights: [6d, 8h, 8s, Jh, Kc] for $561
SearchBot (4 Part Distribution Showdown Node factory) v1-2 has gained 561.


Original issue reported on code.google.com by [email protected] on 19 May 2009 at 1:57

Module for statistical analysis of hand and card odds

Module for statistical analysis of hand and card odds so that AI components
can easily base their decisions and strategy upon these commonly used
functions.

It should contain the following features:

*)calculating the odds of turning a given number of cards in to a stated
hand type (fi the odds of completing a straight with 4 cards given)

*)calculating the odds whether there exists a stronger hand than a given
hand with the same combination of common cards

Please state other functions needed in this module and give feedback.


Original issue reported on code.google.com by [email protected] on 15 Jul 2007 at 11:18

Event logger

We need some kind of system where you can subscribe to events (deal, raise,
...) happening at a certain table. This is needed for logging but more
importantly to be able to provide all clients with event updates.

I'm sure kenzo knows what design pattern this is.

Original issue reported on code.google.com by [email protected] on 23 Jul 2007 at 1:06

Compile problem on Windows 7

Just downloaded and compiled using eclipse and Netbeans.
Getting same error.

NetBeans: Executing 'mvn.bat -Dnetbeans.execution=true --also-make --projects 
org.cspoker:client-gui-swt -Pwin64 install'
NetBeans:      JAVA_HOME=C:\Program Files\Java\jdk1.6.0_21
Scanning for projects...
Reactor build order: 
  CSPoker Client-GUI
  CSPoker Client-GUI-SWT
------------------------------------------------------------------------
Building CSPoker Client-GUI
   task-segment: [install]
------------------------------------------------------------------------
[site:attach]
[install:install]
Installing C:\hari\cspokernb\client\gui\pom.xml to 
C:\Users\hari\.m2\repository\org\cspoker\client-gui\0.1-SNAPSHOT\client-gui-0.1-
SNAPSHOT.pom
------------------------------------------------------------------------
Building CSPoker Client-GUI-SWT
   task-segment: [install]
------------------------------------------------------------------------
[resources:resources]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, 
i.e. build is platform dependent!
Copying 77 resources
snapshot org.cspoker:server:0.1-SNAPSHOT: checking for updates from 
maven2-repository.dev.java.net
[WARNING] repository metadata for: 'snapshot org.cspoker:server:0.1-SNAPSHOT' 
could not be retrieved from repository: maven2-repository.dev.java.net due to 
an error: Error transferring file: download.java.net
Repository 'maven2-repository.dev.java.net' will be blacklisted
snapshot org.cspoker:server:0.1-SNAPSHOT: checking for updates from 
maven1-repository.dev.java.net
[WARNING] repository metadata for: 'snapshot org.cspoker:server:0.1-SNAPSHOT' 
could not be retrieved from repository: maven1-repository.dev.java.net due to 
an error: Error transferring file: download.java.net
Repository 'maven1-repository.dev.java.net' will be blacklisted
snapshot org.cspoker:server:0.1-SNAPSHOT: checking for updates from 
public.cspoker.org
[WARNING] repository metadata for: 'snapshot org.cspoker:server:0.1-SNAPSHOT' 
could not be retrieved from repository: public.cspoker.org due to an error: 
Error transferring file: cspoker.org
Repository 'public.cspoker.org' will be blacklisted
------------------------------------------------------------------------
[ERROR]BUILD ERROR
------------------------------------------------------------------------
Failed to resolve artifact.



What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
compilation error

What version of the product are you using? On what operating system?
Latest version

Please provide any additional information below.

If you need any more info, please send email to 
[email protected]

Thanks,
--Hari

Original issue reported on code.google.com by [email protected] on 4 Sep 2010 at 12:17

StackChangedEvent should not be used?

The only point of having a StackChangedEvent is to update the Player chip
count at the client side without keeping track of the pot. The problem this
poses is that you'll typically see a RaiseEvent followed by a
StackChangedEvent. However you would want to update the Player chip count
before throwing the RaiseEvent because the user can do
getPlayer().getStackValue() and then the stack value will be incorrect.

There are 2 options:
 *  we clearly specify that the SavedPlayer object returned by the event
represents the player right before the event takes place.
 *  we get rid of StackChangedEvent

Original issue reported on code.google.com by [email protected] on 30 Sep 2007 at 11:17

login errors/no response to client

What steps will reproduce the problem?
1. get rev 1067 and assemble server-xml properly and client-text
2. login, and do a getTableListAction, then request the first table (id 0)
3. send:  <ns5:getHoldemTableInformationAction tableId="0" id="3"
xmlns:ns5="http://www.cspoker.org/api/2008-11/"/> either from text or flex
client

What is the expected output? What do you see instead?
A tables list is returned is expected.

Instead I get no response from either the newest text client or flex
client.  The stack trace of an error that happens in the server:

http://cspoker.pastebin.com/m5bbebd5d




Original issue reported on code.google.com by [email protected] on 13 Nov 2008 at 5:01

Provide build files in the trunk

It would be great if the build files (maven, ant, whatever) would be placed
in the trunk also, so one can easily compile cspoker from the sources  (it
is kind of a hassle to set this up) into the output format that is supplied
as the downloadable version.

Best regards,
Stephan


Original issue reported on code.google.com by [email protected] on 27 Mar 2008 at 3:24

Same Player - logged in twice

What steps will reproduce the problem?
1. Start the client
2. Login as user "A"
3. Open a second Client
4. Login with the same user "A"

Actual result:
The same player is loggede in both

Axpected result:
One connection for player.




Original issue reported on code.google.com by [email protected] on 9 Dec 2008 at 7:56

NullpointerException in timeout task.

http://cspoker.pastebin.com/f1e6a91

in "MutableSeatedPlayer gcPlayer = tableState.getGame().getCurrentPlayer();"
gcPlayer is null
is this after sitout or due to stale memory?

Original issue reported on code.google.com by [email protected] on 23 Feb 2009 at 1:21

Show Hand should be available as an action for the player

What steps will reproduce the problem?
1. Only one player is left in the hand, all others have folded (no one else
is all in).
2.
3.

What is the expected output? What do you see instead?
The player should be able to show his hand if he so chooses, it should not
be done automatically for him. If he does not do anything within the
timeout before the new deal starts, his hand is mucked automatically.


Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 11 Nov 2008 at 3:52

Fine grained locking for recieveing unique objects

Right now when Player, XmlPlayerCommunication, ... or other unique Objects
are recieved from their HashMaps a global lock is set. It would be better
to use the putIfAbsent method of ConcurrentHashMap for this. 

To be able to do this for Player objects the Player instantiation needs to
be  postponed using a wrapper Object (because of the unique Player ID
requirement).

Original issue reported on code.google.com by [email protected] on 7 Oct 2007 at 3:34

Chip image not found

What steps will reproduce the problem?
1. Start CSPoker server
2. Run TestSWTWithRMI

What is the expected output? What do you see instead?
http://cspoker.pastebin.com/f1e3bd9aa

The SWT client can't find the chip images on a Linux platform. Used to work.

Original issue reported on code.google.com by [email protected] on 24 Nov 2008 at 9:41

callAmount is set as 0 after bigBlind posting

What steps will reproduce the problem?
1. start a server/normal game on rev 1081 with a flex client and a text client
2. create a table and have players sit in
3. receive small and big blind events.  The player who posted the
smallBlind must now choose to call or raise the difference between the big
blind and small blind (5 chips on a 5/10 game).

What is the expected output? What do you see instead?
callAmount should be 5 (bigBlind - smallBlind already posted).

Instead:  callAmount is 0, leading to some game logic errors on the client
side.

<ns2:holdemTableTreeEventWrapper tableID="0"
xmlns:ns2="http://www.cspoker.org/api/2008-11/">
    <event xsi:type="ns2:nextPlayerEvent" playerId="0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <callAmount>0</callAmount>
    </event>

stack trace link:  (server-xml): http://cspoker.pastebin.com/m37603dc8

Nota Bene: if a bet or raise is made, then callAmount is reflected properly
after that.  it seems to only be incorrectly set to zero right after the
blinds.

Original issue reported on code.google.com by [email protected] on 18 Nov 2008 at 1:04

Namespace for cspoker in package names

Right now all code is in packages in the default namespace. We should
probably move them to a package by the name of _org.cspoker.server_ or
something similar. This prevents clashes and is best practice (i think).

Original issue reported on code.google.com by [email protected] on 24 Jul 2007 at 7:51

Compile problem

mvn compile after downloading source on Windows 7 maven 2.2.1:

[INFO] --------------------------------------------------------------------
----
[ERROR] BUILD FAILURE
[INFO] --------------------------------------------------------------------
----
[INFO] Compilation failure

C:\dev\pokerai\cspoker\ai\bots\src\main\java\org\cspoker\ai\bots\util\Inver
seGau
ssian.java:[4,37] package umontreal.iro.lecuyer.probdist does not exist

C:\dev\pokerai\cspoker\ai\bots\src\main\java\org\cspoker\ai\bots\util\Inver
seGau
ssian.java:[39,2] cannot find symbol
symbol  : class InverseGaussianDist
location: class org.cspoker.ai.bots.util.InverseGaussian

C:\dev\pokerai\cspoker\ai\bots\src\main\java\org\cspoker\ai\bots\util\Inver
seGau
ssian.java:[39,30] cannot find symbol
symbol  : class InverseGaussianDist
location: class org.cspoker.ai.bots.util.InverseGaussian

Original issue reported on code.google.com by [email protected] on 15 Mar 2010 at 3:49

Implementation of HandEval.decode

I added this method to HandEval as I found it useful for debugging.


  public static Set<Card> decode(long encodedCards) {
    Set<Card> cards = new HashSet<Card>();
    for (int i = 0; i < 52; i++) {
      if (((encodedCards >>> i) & 1) == 1) {
        cards.add(Card.valueOf(Rank.values()[i % 13].name()
            + "_" + Suit.values()[i / 13].name()));
      }
    }
    return cards;
  }


Original issue reported on code.google.com by [email protected] on 11 Apr 2009 at 6:24

Server error when connection dropped

What steps will reproduce the problem?
1. i had 2 clients connected, and closed JavaFX clinet

What is the expected output? What do you see instead?

in attachment


Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 10 Aug 2008 at 12:52

Attachments:

login errors (rev 1049) http://cspoker.pastebin.com/m6b75aae1

What steps will reproduce the problem?
1. connect to xml server and send: <ns2:loginAction id="0"
xmlns:ns2="http://www.cspoker.org/api/2008-11/">
    <username>guy</username>
    <passwordHash>test</passwordHash>
</ns2:loginAction> either from text client or flex client
2.
3.

What is the expected output? What do you see instead?
a normal login

Please use labels and text to provide additional information.

see:
http://cspoker.pastebin.com/m6b75aae1

Original issue reported on code.google.com by [email protected] on 10 Nov 2008 at 11:28

Maven repository for CSPoker is offline

What steps will reproduce the problem?
1. Checkout project
2. Start to importing in IDE
3. Maven can't download some of depencies

What version of the product are you using? On what operating system?
WinXp_32, Win7_64

ArtifactDescriptorException: Failed to read artifact descriptor for 
cs.waikato.ac.nz:weka:jar:3.6.0: ArtifactResolutionException: Could not 
transfer artifact cs.waikato.ac.nz:weka:pom:3.6.0 from/to 
maven1-repository.dev.java.net (http://download.java.net/maven/1): No connector 
available to access repository maven1-repository.dev.java.net 
(http://download.java.net/maven/1) of type legacy using the available factories 
AsyncRepositoryConnectorFactory, 
WagonRepositoryConnectorFactory pom.xml /ai-opponentmodels-weka line 1  Maven 
Dependency Problem
ArtifactDescriptorException: Failed to read artifact descriptor for 
it.unibo.tuProlog:tuProlog:jar:2.1.1: ArtifactResolutionException: Could not 
transfer artifact it.unibo.tuProlog:tuProlog:pom:2.1.1 from/to 
maven1-repository.dev.java.net (http://download.java.net/maven/1): No connector 
available to access repository maven1-repository.dev.java.net 
(http://download.java.net/maven/1) of type legacy using the available factories 
AsyncRepositoryConnectorFactory, 
WagonRepositoryConnectorFactory pom.xml /ai-opponentmodels-prolog   line 1  Maven 
Dependency Problem
ArtifactDescriptorException: Failed to read artifact descriptor for 
org.cspoker:ai-opponentmodels-prologcafe:jar:0.1: ArtifactResolutionException: 
Could not transfer artifact org.cspoker:ai-opponentmodels-prologcafe:pom:0.1 
from/to maven1-repository.dev.java.net (http://download.java.net/maven/1): No 
connector available to access repository maven1-repository.dev.java.net 
(http://download.java.net/maven/1) of type legacy using the available factories 
AsyncRepositoryConnectorFactory, 
WagonRepositoryConnectorFactory pom.xml /ai-opponentmodels-prolog   line 1  Maven 
Dependency Problem
Missing artifact 
com.google.collections:google-collections:jar:0.9   pom.xml /ai-opponentmodels-pro
log line 1  Maven Dependency Problem
Missing artifact 
com.google.collections:google-collections:jar:0.9   pom.xml /ai-opponentmodels-wek
a   line 1  Maven Dependency Problem
Missing artifact 
commons-math:commons-math:jar:1.2   pom.xml /ai-opponentmodels-prolog   line 
1   Maven Dependency Problem
Missing artifact 
commons-math:commons-math:jar:1.2   pom.xml /ai-opponentmodels-weka line 1  Maven 
Dependency Problem
Missing artifact 
jp.ac.kobe_u.cs.prolog:external-plcafe:jar:1.2.5-SNAPSHOT   pom.xml /ai-opponentmo
dels-prolog line 1  Maven Dependency Problem
Missing artifact junit:junit:jar:3.8.1  pom.xml /ai-opponentmodels-prolog   line 
1   Maven Dependency Problem
Missing artifact junit:junit:jar:3.8.1  pom.xml /ai-opponentmodels-weka line 
1   Maven Dependency Problem
Missing artifact log4j:log4j:jar:1.2.14 pom.xml /ai-opponentmodels-prolog   line 
1   Maven Dependency Problem
Missing artifact log4j:log4j:jar:1.2.14 pom.xml /ai-opponentmodels-weka line 
1   Maven Dependency Problem
Missing artifact 
net.jcip:jcip-annotations:jar:1.0   pom.xml /ai-opponentmodels-prolog   line 
1   Maven Dependency Problem
Missing artifact 
net.jcip:jcip-annotations:jar:1.0   pom.xml /ai-opponentmodels-weka line 1  Maven 
Dependency Problem
Missing artifact 
org.cspoker:ai-bots:jar:0.1-SNAPSHOT    pom.xml /ai-opponentmodels-prolog   line 
1   Maven Dependency Problem
Missing artifact 
org.cspoker:ai-bots:jar:0.1-SNAPSHOT    pom.xml /ai-opponentmodels-weka line 
1   Maven Dependency Problem
Missing artifact 
org.cspoker:client-common:jar:0.1-SNAPSHOT  pom.xml /ai-opponentmodels-prolog   lin
e 1 Maven Dependency Problem
Missing artifact 
org.cspoker:client-common:jar:0.1-SNAPSHOT  pom.xml /ai-opponentmodels-weka line 
1   Maven Dependency Problem
Missing artifact 
org.cspoker:common-common:jar:0.1-SNAPSHOT  pom.xml /ai-opponentmodels-prolog   lin
e 1 Maven Dependency Problem
Missing artifact 
org.cspoker:common-common:jar:0.1-SNAPSHOT  pom.xml /ai-opponentmodels-weka line 
1   Maven Dependency Problem
Missing artifact 
org.cspoker:common-handeval:jar:0.1-SNAPSHOT    pom.xml /ai-opponentmodels-prolog   l
ine 1   Maven Dependency Problem
Missing artifact 
org.cspoker:common-handeval:jar:0.1-SNAPSHOT    pom.xml /ai-opponentmodels-weka lin
e 1 Maven Dependency Problem
Missing artifact oro:oro:jar:2.0.8  pom.xml /ai-opponentmodels-prolog   line 
1   Maven Dependency Problem
Missing artifact oro:oro:jar:2.0.8  pom.xml /ai-opponentmodels-weka line 1  Maven 
Dependency Problem

Original issue reported on code.google.com by [email protected] on 20 Mar 2012 at 3:22

First playable version ready, please test for bugs.

The first playable version has been completed.

Please take a look at GameFlowTest class to reproduce any specific game-flow.
All player actions should be possible.

Few critical featues that will be added soon (so please ignore while testing):
  * player with 0 chips is not removed from table (goes every time all-in
with 0 chips).
  * player who raises or bets with all his money is not automatically all-in.
  * player exit method needed to take care of consistency with dealer button. 

Original issue reported on code.google.com by [email protected] on 14 Jul 2007 at 11:26

Where can I find the flash source of the client?

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 6 Nov 2007 at 3:48

Allowed bet size bug after allin

19:52:14,869 WARN  (org.cspoker.server.common.gamecontrol.Game.java:197)
[dealNewHand] - New game with #1: RuleBasedBot v1-1 ($4997 in chips)
19:52:14,869 WARN  (org.cspoker.server.common.gamecontrol.Game.java:197)
[dealNewHand] - New game with #2: RuleBasedBot v2-1 ($4451 in chips)
19:52:14,869 WARN  (org.cspoker.server.common.gamecontrol.Game.java:197)
[dealNewHand] - New game with #3: SearchBot (4 Part Distribution Showdown
Node factory) v1-1 ($29 in chips)
19:52:14,869 WARN  (org.cspoker.server.common.gamecontrol.Game.java:197)
[dealNewHand] - New game with #4: SearchBot (4 Part Distribution Showdown
Node factory) v1-2 ($676 in chips)
19:52:14,869 WARN  (org.cspoker.server.common.gamecontrol.Game.java:197)
[dealNewHand] - New game with #5: RuleBasedBot v1-2 ($4907 in chips)
19:52:14,869 WARN  (org.cspoker.server.common.gamecontrol.Game.java:197)
[dealNewHand] - New game with #6: RuleBasedBot v2-2 ($14940 in chips)
19:52:14,869 INFO 
(org.cspoker.server.common.gamecontrol.rounds.BettingRound.java:378)
[collectSmallBlind] - RuleBasedBot v2-1: posts small blind $5
19:52:14,869 INFO 
(org.cspoker.server.common.gamecontrol.rounds.BettingRound.java:401)
[collectBigBlind] - SearchBot (4 Part Distribution Showdown Node factory)
v1-1: posts big blind $10
19:52:14,869 INFO 
(org.cspoker.server.common.gamecontrol.rounds.PreFlopRound.java:74)
[<init>] - *** HOLE CARDS ***
19:52:14,869 INFO 
(org.cspoker.server.common.gamecontrol.rounds.PreFlopRound.java:79)
[<init>] - Dealt to RuleBasedBot v1-1 [Js, Jd]
19:52:14,869 INFO 
(org.cspoker.server.common.gamecontrol.rounds.PreFlopRound.java:79)
[<init>] - Dealt to RuleBasedBot v2-1 [8c, 3c]
19:52:14,869 INFO 
(org.cspoker.server.common.gamecontrol.rounds.PreFlopRound.java:79)
[<init>] - Dealt to SearchBot (4 Part Distribution Showdown Node factory)
v1-1 [2d, 4d]
19:52:14,869 INFO 
(org.cspoker.server.common.gamecontrol.rounds.PreFlopRound.java:79)
[<init>] - Dealt to SearchBot (4 Part Distribution Showdown Node factory)
v1-2 [Qh, Ac]
19:52:14,869 INFO 
(org.cspoker.server.common.gamecontrol.rounds.PreFlopRound.java:79)
[<init>] - Dealt to RuleBasedBot v1-2 [9h, 7d]
19:52:14,869 INFO 
(org.cspoker.server.common.gamecontrol.rounds.PreFlopRound.java:79)
[<init>] - Dealt to RuleBasedBot v2-2 [2c, 9c]
19:52:14,919 INFO 
(org.cspoker.server.common.gamecontrol.rounds.BettingRound.java:156) [call]
- SearchBot (4 Part Distribution Showdown Node factory) v1-2 calls.
19:52:14,919 INFO 
(org.cspoker.server.common.gamecontrol.rounds.BettingRound.java:156) [call]
- RuleBasedBot v1-2 calls.
19:52:14,919 INFO 
(org.cspoker.server.common.gamecontrol.rounds.BettingRound.java:156) [call]
- RuleBasedBot v2-2 calls.
19:52:14,919 INFO 
(org.cspoker.server.common.gamecontrol.rounds.BettingRound.java:156) [call]
- RuleBasedBot v1-1 calls.
19:52:14,919 INFO 
(org.cspoker.server.common.gamecontrol.rounds.BettingRound.java:156) [call]
- RuleBasedBot v2-1 calls.
19:52:14,919 INFO 
(org.cspoker.server.common.gamecontrol.PlayingTableState.java:186) [check]
- SearchBot (4 Part Distribution Showdown Node factory) v1-1 checks.
19:52:14,919 INFO 
(org.cspoker.server.common.gamecontrol.rounds.FlopRound.java:45) [<init>] -
*** FLOP *** [10d, Jc, 3h]
19:52:14,919 INFO 
(org.cspoker.server.common.gamecontrol.PlayingTableState.java:186) [check]
- RuleBasedBot v2-1 checks.
19:52:14,969 INFO 
(org.cspoker.server.common.gamecontrol.rounds.BettingRound.java:281)
[goAllIn] - SearchBot (4 Part Distribution Showdown Node factory) v1-1:
raises to $19 and is all-in
19:52:15,019 WARN  (org.cspoker.client.bots.bot.search.SearchBot.java:93)
[run] - Raise bounds: 19 to 647
19:52:15,019 ERROR (org.cspoker.client.bots.bot.search.SearchBot.java:94)
[run] - org.cspoker.common.api.shared.exception.IllegalActionException: #4:
SearchBot (4 Part Distribution Showdown Node factory) v1-2 ($666 in chips)
can not raise with $19. ERROR : the bet amount must be at least the amount
of the previous bet/raise in the current round
19:52:15,019 ERROR
(org.cspoker.common.util.threading.SingleThreadRequestExecutor.java:80)
[run] - java.lang.IllegalStateException: Action was not allowed.
java.lang.IllegalStateException: Action was not allowed.
    at org.cspoker.client.bots.bot.search.SearchBot$1.run(SearchBot.java:95)
    at
org.cspoker.common.util.threading.SingleThreadRequestExecutor$1.run(SingleThread
RequestExecutor.java:74)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(
ScheduledThreadPoolExecutor.java:98)
    at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Schedul
edThreadPoolExecutor.java:207)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:8
86)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
Caused by: org.cspoker.common.api.shared.exception.IllegalActionException:
#4: SearchBot (4 Part Distribution Showdown Node factory) v1-2 ($666 in
chips) can not raise with $19. ERROR : the bet amount must be at least the
amount of the previous bet/raise in the current round
    at
org.cspoker.server.common.gamecontrol.rounds.BettingRound.raise(BettingRound.jav
a:181)
    at
org.cspoker.server.common.gamecontrol.PlayingTableState.raise(PlayingTableState.
java:203)
    at org.cspoker.server.common.gamecontrol.PokerTable.raise(PokerTable.java:323)
    at
org.cspoker.server.common.HoldemPlayerContextImpl.betOrRaise(HoldemPlayerContext
Impl.java:25)
    at
org.cspoker.common.api.lobby.holdemtable.holdemplayer.context.ForwardingRemoteHo
ldemPlayerContext.betOrRaise(ForwardingRemoteHoldemPlayerContext.java:35)
    at
org.cspoker.client.bots.bot.search.action.RaiseAction.perform(RaiseAction.java:4
0)
    at
org.cspoker.client.bots.bot.search.node.BotActionNode.performbestAction(BotActio
nNode.java:66)
    at org.cspoker.client.bots.bot.search.SearchBot$1.run(SearchBot.java:70)
    ... 9 more

Original issue reported on code.google.com by [email protected] on 5 Mar 2009 at 7:27

SitInState is initialized with null GameState

What steps will reproduce the problem?
1. Start a new game with TestSWTClient
2. after sitIn event, make a call to getGameState()
3. This returns a non-null GameState object (SitInState)
4. Further method invocations on this SitInState fail with uncaught
NullPointerExceptions since the SitInState was initialized with a null
object in ForwardingGameState
What is the expected output? What do you see instead?


Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 18 Nov 2008 at 10:02

disconnected after sending crossdomain xml file? (its also sending the open source license with the crossdomain text)

What steps will reproduce the problem?
1. start server remotely.
2. send a <policy-file-request/>
3. receive a cross domain xml file back.
4. flex client disconnects right after.  i think there is an error in the
cross domain xml that it sends.  it seems to send the open source license
with it as well:  

#
<!--
#

#
    This program is free software; you can redistribute it and/or modify
#
    it under the terms of the GNU General Public License as published by
#
    the Free Software Foundation; either version 2 of the License, or
#
    (at your option) any later version.
#

#
    This program is distributed in the hope that it will be useful,
#
    but WITHOUT ANY WARRANTY; without even the implied warranty of
#
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#
    GNU General Public License for more details.
#

#
    You should have received a copy of the GNU General Public License
#
    along with this program; if not, write to the Free Software
#
    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#

#
-->
#

#
<cross-domain-policy>
#
        <allow-access-from domain="*" to-ports="*"/>
#
</cross-domain-policy>


even though the top is commented out xml style, I think it could still be
causing the error or it could be a problem with my flex client.  please
advise.  

Check out the pastebin: 

http://cspoker.pastebin.com/mec94c02

Original issue reported on code.google.com by [email protected] on 15 Dec 2008 at 11:50

DetailedHoldemTable snapshot information lacks community cards

What steps will reproduce the problem?
1. A game is going on between several players who are in the middle of a hand
2. Another player sits in and gets the DetailedHoldemTable object to
reconstruct the game state
3.

What is the expected output? What do you see instead?
The community cards that have already been dealt are needed, then the
snapshot information of the table should be complete.


Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 12 Nov 2008 at 4:31

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.