Jump to content

Download: Texas Hold'em Poker


LuckyRiver

Recommended Posts

File Name: Texas Hold'em Poker

File Submitter: LuckyRiver

File Submitted: 30 Dec 2012

File Category: Applications

Supported Versions: IP.Board 3.1.x, IP.Board 3.2.x, IP.Board 3.3.x, IP.Board 3.4.x



This is a separate web application which allows one to play real-time texas-hold'em poker using IPB authentication which means that existing users of a site use the same user/password to log on to the game.

Credits of the game go to Cubeia : http://cubeia.com .
The game is open source which makes this add-on FREE.

Board service is a specific module designed to support most board type. This release add support for IPB which bridges Cubeia poker game with IPB.

Please take a look at documentation to those who are interested to install it.

Documentation is provided to make installation easier. Everything should be in there to get the game up and running.

%7Boption%7D
Here is some specs of the game:

Play on any Tablet or Mobile Device
In-Game Player Chat
Multi-table Tournaments : Sit&Go, Scheduled
Three Game Types Available:
No limit, Pot Limit, and Fixed Limit poker game types.
Multi-Language Capabilities through localization resource file. I believe there is a full russian localized resource file.
Hand history through admin console
Poker Logic
Possibility of skinning through css.

Use IPB authentication 3.1 and 3.4.x
Forum Avatar/Gravatar display

Currently work in progress: Leaderboard

As previously announced, I release the version 2 for IPB/Xenforo which contains updated Cubeia's poker code.

Main features are:
Telesina game.
Lobby layout redesign
Chips display.
And as always, updated client code to user IPB/Xenforo avatar in game session display and add custom logo as to demo skin support..

This version is almost exactly as the one shown in http://quarterpoker.com.

Cheers!

LR



Click here to download this file

Link to comment

installed the new file you provided RobVol, that fixed the build but getting this error when running mvn firebase:run

[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.cubeia.games:poker-logic:jar:1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 68, column 21
[WARNING] 'reporting.plugins.plugin.version' for org.codehaus.mojo:cobertura-maven-plugin is missing. @ line 85, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.cubeia.games:poker-protocol:jar:1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for net.alchim31.maven:yuicompressor-maven-plugin is missing. @ line 65, column 21
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ line 48, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Poker
[INFO] Protocol Modules
[INFO] Poker Protocol
[INFO] Bot Modules
[INFO] Poker Bot
[INFO] Common Modules
[INFO] Backend API
[INFO] Hand History API
[INFO] Poker Timings
[INFO] Firebase Service Modules
[INFO] Backend Service
[INFO] Backend Service Contract
[INFO] Backend Service Mock
[INFO] Backend Service Adapter For Cubeia Wallet Service
[INFO] Bot Service
[INFO] Hand Debugger Service
[INFO] Handhistory Collector Service
[INFO] Handhistory Storage Service
[INFO] Game Modules
[INFO] Poker Blinds Logic
[INFO] Poker Logic
[INFO] Tournament Modules
[INFO] Poker Tournament
[INFO] Poker Game
[INFO] Poker Unified Archive
Downloading: http://m2.cubeia.com/nexus/content/groups/public/org/codehaus/mojo/maven-metadata.xml
Downloading: http://m2.cubeia.com/nexus/content/groups/public/org/apache/maven/plugins/maven-metadata.xml
Downloaded: http://m2.cubeia.com/nexus/content/groups/public/org/apache/maven/plugins/maven-metadata.xml (14 KB at 24.9 KB/sec)
Downloaded: http://m2.cubeia.com/nexus/content/groups/public/org/codehaus/mojo/maven-metadata.xml (27 KB at 44.0 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (11 KB at 85.3 KB/sec)
Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (22 KB at 166.7 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Poker ............................................. SKIPPED
[INFO] Protocol Modules .................................. SKIPPED
[INFO] Poker Protocol .................................... SKIPPED
[INFO] Bot Modules ....................................... SKIPPED
[INFO] Poker Bot ......................................... SKIPPED
[INFO] Common Modules .................................... SKIPPED
[INFO] Backend API ....................................... SKIPPED
[INFO] Hand History API .................................. SKIPPED
[INFO] Poker Timings ..................................... SKIPPED
[INFO] Firebase Service Modules .......................... SKIPPED
[INFO] Backend Service ................................... SKIPPED
[INFO] Backend Service Contract .......................... SKIPPED
[INFO] Backend Service Mock .............................. SKIPPED
[INFO] Backend Service Adapter For Cubeia Wallet Service . SKIPPED
[INFO] Bot Service ....................................... SKIPPED
[INFO] Hand Debugger Service ............................. SKIPPED
[INFO] Handhistory Collector Service ..................... SKIPPED
[INFO] Handhistory Storage Service ....................... SKIPPED
[INFO] Game Modules ...................................... SKIPPED
[INFO] Poker Blinds Logic ................................ SKIPPED
[INFO] Poker Logic ....................................... SKIPPED
[INFO] Tournament Modules ................................ SKIPPED
[INFO] Poker Tournament .................................. SKIPPED
[INFO] Poker Game ........................................ SKIPPED
[INFO] Poker Unified Archive ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.559s
[INFO] Finished at: Thu Jan 03 08:48:15 EST 2013
[INFO] Final Memory: 6M/14M
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'firebase' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/root/.m2/repository), cubeia-nexus (http://m2.cubeia.com/nexus/content/groups/public/), central (http://repo.maven.apache.org/maven2)] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException


Thanks,

Kyle

Link to comment

Your correction fixed this problem:

Correction:

Correct folder : server/game-modules/poker-uar to run mvn firebase:run

It should fix the problem!

You may want to update the documentation and then it will be correct.

Also if anyone else is having problems installing this give us a shout as i have now successfully installed this for RobVol at Voltalk.com

Link to comment

As you mentioned to RobVol, the two files you told him to re-add. I have and now getting this error:

at com.cubeia.firebase.server.service.DefaultServiceRegistry.init(DefaultServiceRegistry.java:118)
at com.cubeia.firebase.server.instance.ServerInstance.initAndStartRegistry(ServerInstance.java:743)
at com.cubeia.firebase.server.instance.ServerInstance.initServices(ServerInstance.java:676)
at com.cubeia.firebase.server.instance.ServerInstance.init(ServerInstance.java:259)
... 35 more
Caused by: java.lang.NoClassDefFoundError: com/google/inject/Module
at com.board.games.service.PokerBoardService.<init>(PokerBoardService.java:54)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.cubeia.firebase.server.service.ServiceArchive.instantiateService(ServiceArchive.java:189)
at com.cubeia.firebase.server.service.ServiceRegisytryHandle.initService(ServiceRegisytryHandle.java:194)
... 44 more
Caused by: java.lang.ClassNotFoundException: com.google.inject.Module
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 53 more

Link to comment

Can you make this any easier?

It's already easier with much detailed documentation. It's the whole package you are getting: server and the HTML5 client. You need to have basic linux knowledge so that you can install it yourself. Luckily there is Black Nova Designs who has done every step in the provided documentation and manages to get the game up and running. I can only provide support for installation issues to get the game up and running as advertised.

Link to comment

Most authentication failures comme from bad configuration. Check beans.xml, JDBCConfig.ini for database configuration and its prefixes if there is any.

Specially check server log for error. eg. password not match error msg.

Check latest documentation as I've added IPB 3.1.4 avatar support and the special tag you need to add to JDBCConfig.ini file.

Hope it helps!

SF

Link to comment
  • 3 weeks later...

Your correction fixed this problem:

You may want to update the documentation and then it will be correct.

Also if anyone else is having problems installing this give us a shout as i have now successfully installed this for RobVol at Voltalk.com

Yes please redirect your requests to BlackNovaDesigns for install services you may need since I don't do it. Thanks!

Link to comment
  • 1 month later...

How to install, because i dont see install mode in youtube or readme

Download the attached document which details every step how to install it.

There is requirements for installation such as root account and some basic knowledge of linux. Ideally a vps is recommended.

I'll be helping with game installation issues only.

Link to comment
  • 4 weeks later...

ok when i buy a vps i contact you okay?... how big must be vps?

Ideally minimum is 1gb of ram but I will recommended 2gb of ram. 2gb or ram is much pricier. Below 1gb I will not recommend.

I've deployed the code on ChicagoVps (selected Chicago location) , my first time with them, dirt cheap. They have a promo code which brings the price from $254.49 USD down to $40 / year. http://forums.redflagdeals.com/chicagovps-2048mb-ram-50gb-disk-2tb-bandwidth-2x-ips-40-yr-4-locations-1310490/. It also comes with 2 ips allow you to host your own DNS.

So far, the server is pretty stable. Installed game demo on Ubuntu to showcase game running on IPB and XF. Currently, I'm running only the game server, web server and bot controller, mysql, apache, phpmyadmin and webmin all together takes around 1gb of ram. More memory needed if you run the admin console which allows you to configure your own table (seats/type of poker/timings). But 2gb will be enough to run the game and the board. I haven't any issue so far with chicagovps. Bandwith of 2TB is great. I've run bots for a week, it does not take up a lot of bandwidth though they play 24/7! lol I believe Cubeia compress the message using their own Styx protocol.

No problem, I can only help with installation issues you may encounter. Man, the game is getting much playable and rock solid! :smile:

Link to comment
  • 6 months later...

A poker system which ties in with the IPB auth? yes please!

The one quesiton I do have is will this work with Windows? I read the doc and did search for 'windows' and it seems that it is possible to get it to work.

Yes, it works definitely on Windows. All development and tests are made on Windows before deployment on Linux on my test vps.

If you want to take a look of the new version which I'm currently testing, check out this site: http://quarterpoker.com, My version sports the same look and feel but that site uses external login authentication as FB, Twitter, Google+. I've having fun playing with real people too.

Basically to get it working on Windows, you simply need to perform the same command lines. The only difference is the third party softwares installation are a little bit different. But technically, it's pretty much identical.

Hope it helps!

Link to comment

Excellent news! I was going to give it a shot last night to try and figure out the install but totally ran out of time.

The example site you linked to is very well laid out, and just feels right. My setup won't be anything near as complete as yours. The only thing I plan on doing with the poker install is letting my online gaming clan play the occasional poker game right on our site. Should be pretty nifty with integrated install and linked accounts like you've got with IPB.

Thanks again. I will be giving the windows install a test this weekend.

Link to comment

Just want to let you guys know, I've updated my poker test site http://holdemfever.net with latest version of Cubeia code which has new lobby layout, new circular progress bar with color which changes with time to act left, chip graphic and a lot of bug fixes since the first version I've released. The game play looks more like the version you see in http://quarterpoker.com site. Also the big change, it now supports Telesina, a variant of 5 card stud but I've not had time to configure any table yet so there is none for now.

Til I find it stable enough with IPB/Xenforo, I'll release the new version.

Just sign up a test account at http://holdemfever.net and join the game with same credentials at http://holdemfever.net:8181/poker/cubeiaclassic.

Link to comment
  • 2 weeks later...
  • 3 weeks later...

So I followed the guide, im getting errors for:

mvn firebase:run -o

error.log:

2013-11-22 19:52:22,233 ERROR main board.games.service.PokerBoardService - T[] P[] - Exception occurred in PokerBoardService : org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from URL [file:/usr/local/poker/beans.xml]; nested exception is java.io.FileNotFoundException: /usr/local/poker/beans.xml (No such file or directory)
2013-11-22 19:52:23,713 ERROR main cubeia.service.crossdomain.FlashCrossDomainService - T[] P[] - Unable to start cross domain policy service
2013-11-22 19:52:25,688 ERROR shutdown hook firebase.server.instance.ServerInstance - T[] P[] - Failed to Stop node 'mtt1'.
java.lang.NullPointerException
at com.cubeia.firebase.server.node.BaseNode.getClusterConnection(BaseNode.java:145)
at com.cubeia.firebase.server.mtt.MttNode.stopListenForRemoval(MttNode.java:311)
at com.cubeia.firebase.server.mtt.MttNode.destroy(MttNode.java:168)
at com.cubeia.firebase.server.instance.ServerInstance$NodeHandle.destroy(ServerInstance.java:1117)
at com.cubeia.firebase.server.instance.ServerInstance.destroyHandle(ServerInstance.java:956)
at com.cubeia.firebase.server.instance.ServerInstance.destroyNodes(ServerInstance.java:942)
at com.cubeia.firebase.server.instance.ServerInstance.doDestroy(ServerInstance.java:612)
at com.cubeia.firebase.server.instance.ServerInstance.destroy(ServerInstance.java:270)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.game.server.bootstrap.Server.destroyServer(Server.java:487)
at com.game.server.bootstrap.Server.destroy(Server.java:181)
at com.game.server.bootstrap.Server$1.run(Server.java:466)
at java.lang.Thread.run(Thread.java:744)
2013-11-22 19:59:50,839 ERROR LoginHandler-IPBPokerLoginServiceImpl-1 games.handler.ipb.IPBPokerLoginServiceImpl - T[] P[] - Error : java.sql.SQLException: Access denied for user 'admin'@'localhost' (using password: YES)

Link to comment

You need to have the file named called beans.xml with the correct database configuration in the specified folder: file:/usr/local/poker/beans.xml
Read the guide again:
Excerpt of partial content

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">

<bean id="dataSource" destroy-method="close" class="org.apache.commons.dbcp.BasicDataSource">
<property name="driverClassName" value="com.mysql.jdbc.Driver"/>
<property name="url" value="jdbc:mysql://localhost/[YOUR_DATABASE_NAME]"/>
<property name="username" value="[DATABASE_USR]"/>
<property name="password" value="[DATABASE_PWD]"/>
</bean>

<bean id="ipbDAO" class="com.board.games.dao.ipb.IPBJdbcDAOImpl">
<property name="dataSource" ref="dataSource"/>
</bean>

Link to comment

You need to have the file named called beans.xml with the correct database configuration in the specified folder: file:/usr/local/poker/beans.xml
Read the guide again:
Excerpt of partial content

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">

<bean id="dataSource" destroy-method="close" class="org.apache.commons.dbcp.BasicDataSource">
<property name="driverClassName" value="com.mysql.jdbc.Driver"/>
<property name="url" value="jdbc:mysql://localhost/[YOUR_DATABASE_NAME]"/>
<property name="username" value="[DATABASE_USR]"/>
<property name="password" value="[DATABASE_PWD]"/>
</bean>

<bean id="ipbDAO" class="com.board.games.dao.ipb.IPBJdbcDAOImpl">
<property name="dataSource" ref="dataSource"/>
</bean>

I have the correct values of the forum database, user and pass.

Link to comment

Then you must have either mispelled the file name or the file name does not exist in the folder. I just read the trace you gave 2013-11-22 19:52:22,233 ERROR main board.games.service.PokerBoardService - T[] P[] - Exception occurred in PokerBoardService : org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from URL [file:/usr/local/poker/beans.xml]; nested exception is java.io.FileNotFoundException: /usr/local/poker/beans.xml (No such file or directory) Make sure to give read access to the file too!

Link to comment

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...