Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Casino (w/ 10 player poker) Details »»
Casino (w/ 10 player poker)
Version: 0.92, by Andrew Green Andrew Green is offline
Developer Last Online: Apr 2010 Show Printable Version Email this Page

Category: Major Additions - Version: 3.6.x Rating:
Released: 09-29-2007 Last Update: 02-17-2008 Installs: 1064
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.

The Gameroom is the follow up to this, and expands on its features. This mod will no longer be supported, Gameroom is here: https://vborg.vbsupport.ru/showthread.php?t=219483

This is a casino addition for vBulletin, so far containing video poker, blackjack, Slots, a lottery, Let 'em Ride, Roulette and a betting pool.

It can use it's own cash as well as cash fields from other products for easy integration. Cash bonuses are also awarded for various actions (posting, starting threads, etc.), you can alter the bonus values through the admincp.

Each of the 10 games can be turned on or off through the control panel, and the casino can be restricted by user group.

I'd consider this a test run, everything should work, but some of the template's and all of the phrasing are not done yet.

Screenshots are attached.

If you want to see a demo, it's live at http://vbgaming.org, it does require registration though as it needs a userid to attach your money too Bug reports and requests can also be posted there, and will probably have less chance of getting buried in this rather massive thread. If you are having a problem, please look there. If it is one that others have been having, there will likely be a solution there (as well as in this thread, just harder to find here)

v 0.90 (Jan 6)
- Fixed a bug in lottery odds calculation that was casuing problems with the jackpot.
- Completed Phrasing of all games & admincp
- Removed card flicker some people experienced in Texas Hold'em
- Removed unused table limit setting from Video Poker settings
- Handled a DB error that occasionally came out of the slots game
- Sports Pool groups are now edited through the game, not the admincp
- Blackjack: Dealer checks for blackjack on A or 10
- Blackjack: Added Five card charlie rule
- Texas Hold'em: poker mod groups can now use the command "/kick username" to kick people out of the game. If a hand is in progress it counts as a forced fold, not returning their share of the pot.
- Blackjack - Fixed bug on bet amount when splitting more then once on a hand

v 0.91 (Jan 13)
- Added missing field for holdem mod groups to settings table
- Removed 0.90 test code of drawin same numbers in lottery
- Piped all the ajax files through casino.php, this should solve some of the conflicts people where having (ex. mkportal)
- Added missing link to add / edit groups in sports pool
- Fixed extra \'s in chatbox some users where getting
- Added a reset cash button in the ACP
- Fixed a bug where the blackjack_dealt table wasn't getting cleared properly
- Fixed "Most Lost" stat calculation


v 0.92 (Feb 18)
- Fixed Default Cash not saving
- Texas Hold'em no longer shows hand after folding
- Texas Hold'em buttons should not reappear after clicking if a request was in progress when they where clicked
- Fixed some of the reinstall issues people have been having

This is pretty minor, working on some major changes to the Texas Hold'em game that are taking longer then I planned due to other things coming up.

Known issues:
- The same player attempting to play more then one instance of the same game at the same time will cause errors.

To update overwrite all of the old files and import the product, revert any modified (casino) templates and don't forget the files in other folders Also some of the images have changed, those need uploaded again. (as well as the includes and admincp files) You DO NOT need to uninstall the previous version to upgrade, this will cause problems. Just overwrite existing files and import the product again, allowing overwrite.

**Make sure you overwrite ALL existing files and revert ALL casino templates**

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #1272  
Old 10-28-2007, 12:22 PM
sandt38's Avatar
sandt38 sandt38 is offline
 
Join Date: Aug 2007
Location: In a house
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had a Texas Hold'em Tourney on my forum last night. It went flawlessly. I had a buy in and switched from vBCredits (my board currency) to casino_cash for markers (500/1500 respectively).

The one thing I did make a mistake on... I didn't create a special usergroup to lock others out of the casino. We had a few people straggle in and start playing with their 500 casino cash credits they are allotted via default. I created a new usergroup for the next time around.

Prizes were:
-Payouts were in casino cash converted to forum currency (so while buyin was 500, we paid out 1500, or the equivalent of casino cash they won)
-Special CT bragging on the poker champ. (will go to the next winner, so only 1 has this title at a time)
-$5000 in currency delivered to the new usergroup "Poker Champion" (to which I attatched the CT, obviously)

Just figured i would share an idea with you all to generate significant interest in the casino... it was great fun.
Reply With Quote
  #1273  
Old 10-28-2007, 12:58 PM
Twilkey's Avatar
Twilkey Twilkey is offline
 
Join Date: Oct 2006
Posts: 314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by peterpigman View Post
getting this error when you bring up stats, I'm guessing it is a server prob and have contacted my host, am I correct?


Code:
Database error in vBulletin 3.6.8:

Invalid SQL:

		SELECT sum(bet) AS bet, sum(won) AS won, cs1.switch2 
		FROM casino_settings AS cs1
		LEFT JOIN casino_settings AS cs2 ON cs1.switch1 = cs2.switch1  
		LEFT JOIN casino_bet_stats ON cs1.switch1 = gameid 
		WHERE cs1.settingname = 'gamename' 
		AND cs2.settingname = 'gameactive'
		AND cs2.switch2 = '1' 
		GROUP BY gameid;

MySQL Error  : The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is okay
Error Number : 1104
Date         : Sunday, October 28th 2007 @ 03:57:29 AM
Script       : http://forum.uncoverreality.com/casino.php?do=stats
Referrer     : http://forum.uncoverreality.com/casino.php
IP Address   : xxxxxxx
Username     : Peterpigman
Classname    : vB_Database
Contacting your host is what you needed to do.

Quote:
Originally Posted by HO3R View Post
Same error here with me!
I keep on looking!

Anyway great work

Greetz
Andrew is making an update so that this will not happen. Just keep looking back here for an update.
Reply With Quote
  #1274  
Old 10-28-2007, 01:07 PM
Tulsa Tulsa is offline
 
Join Date: Jul 2005
Location: Broken Arrow, Oklahoma
Posts: 475
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Question on texas hold'em play.

In one hand yesterday the table cards were a flush and each of the players only had a pair outside of the flush. The game called the hand a draw as the flush on the table was higher than anything with either players hold cards factored in. Is this typical play or should the flush have been ignored and at least one of each players cards been used to determine the winner?

Secondly I am still experiencing players freezing up and having to refresh their screens. Of course it shows as someone playing as suddenly left the game. Not sure if that is happening when they freeze up or when the refresh but I'm guessing it's when they freeze up as they don't immediately show as being back.
Reply With Quote
  #1275  
Old 10-28-2007, 02:36 PM
TaBaTaN TaBaTaN is offline
 
Join Date: Dec 2005
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried uninstall with 0.50 didnt work, i tried wit 0.51 didnt work either

Database error in vBulletin 3.6.8:

Invalid SQL:
DROP TABLE casino_letitride_dealt;

MySQL Error : Unknown table 'casino_letitride_dealt'
Error Number : 1051
Date : Sunday, October 28th 2007 @ 12:35:05 PM
Script : http://www.netplay.com.ar/forum/admi...do=productkill
Referrer : http://www.netplay.com.ar/forum/admi...ctid=casino&s=
Classname : vB_Database

Please help me
Reply With Quote
  #1276  
Old 10-28-2007, 02:45 PM
rungok's Avatar
rungok rungok is offline
 
Join Date: Mar 2007
Location: Oslo
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In your xml-productfile you have to different approaches to the ' sign when putting it into the database. The second approach does not work and produces something like:

Let &epos;em Ride

The approach that works:
$query = "INSERT INTO casino_settings (settingname, switch1, switch2) VALUES ('gamename', 6, 'Texas Hold \'em')";

The approach that does not work:
$query = "INSERT INTO casino_settings (settingname, switch1, switch2) VALUES ('gamename', 7, 'Let &#3 9;em Ride')";

So you should use the first method on both games for your nest release. Not a big deal though. I just changed the title in the database myself, but that's not easy for everyone.
Reply With Quote
  #1277  
Old 10-28-2007, 02:46 PM
SBlueman SBlueman is offline
 
Join Date: Jan 2006
Posts: 717
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Andrew Green View Post
for everyone having installation / uninstallation issues:

I'll put together a update tomorrow afternoon that will be a complete rewrite of the intstall / unintall code. which will check for oddities rather then die on them.

Will also rename the range field completely for anyone using mysql 5.1 getting errors around that.
I noticed many people were bringing up the same issue so I just am quoting the mod author.
Reply With Quote
  #1278  
Old 10-28-2007, 03:40 PM
Andrew Green's Avatar
Andrew Green Andrew Green is offline
 
Join Date: Nov 2005
Location: Winnipeg, MB
Posts: 996
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rungok View Post
In your xml-productfile you have to different approaches to the ' sign when putting it into the database. The second approach does not work and produces something like:

Let &epos;em Ride

The approach that works:
$query = "INSERT INTO casino_settings (settingname, switch1, switch2) VALUES ('gamename', 6, 'Texas Hold \'em')";

The approach that does not work:
$query = "INSERT INTO casino_settings (settingname, switch1, switch2) VALUES ('gamename', 7, 'Let  9;em Ride')";

So you should use the first method on both games for your nest release. Not a big deal though. I just changed the title in the database myself, but that's not easy for everyone.
Newest version does do that, but won't update existing settings.
Reply With Quote
  #1279  
Old 10-28-2007, 04:10 PM
Captain Kirk76 Captain Kirk76 is offline
 
Join Date: Jul 2006
Location: England
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a small feature request/suggestion.
the capability to buy multiple lottery tickets at the same time?
Reply With Quote
  #1280  
Old 10-28-2007, 04:30 PM
rwilkins108's Avatar
rwilkins108 rwilkins108 is offline
 
Join Date: Oct 2006
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Andrew, after updating to .51, I see the Let 'em Ride payouts are wrong again. They're doubled what they should be and that was fixed in .50.

Thanks
Reply With Quote
  #1281  
Old 10-28-2007, 05:47 PM
Andrew Green's Avatar
Andrew Green Andrew Green is offline
 
Join Date: Nov 2005
Location: Winnipeg, MB
Posts: 996
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rwilkins108 View Post
Andrew, after updating to .51, I see the Let 'em Ride payouts are wrong again. They're doubled what they should be and that was fixed in .50.

Thanks
My understanding is that they are correct now, but where incorrect in .50.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:31 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10180 seconds
  • Memory Usage 2,331KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete