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
  #1892  
Old 11-22-2007, 02:19 AM
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 Tulsa View Post
Andrew - is the any plans on giving the admin control of the odds for each of the games? I'd like to loosen mine up a bit as winning is fun for people and breaking even gets a tad bit old.
Not really, for most games it's not even possible without "rigging" the game, which is something I definitely don't want to do.


Quote:
Originally Posted by Spinball View Post
There are set prizes :
3 numbers ?10 56:1 (i.e. 1 in 57)
4 numbers 22% of remaining fund 1,031:1
5 numbers 10% of remaining fund 55,490:1
5 numbers and bonus ball 16% of remaining fund 2,330,635:1
6 numbers 52% of remaining fund 13,983,815:1 (i.e. 1 in 13,983,816)

I can imagine that programming the lottery could get quite complicated, but we could have it so that the whole fund rolls over (if it doesn't already).

Yeah, that was a day of math...

Basically that is what happens, although the percentages are different, and set up to payout about 100% overtime regardless of the numbers plugged in. However the percentages are set up with less number choices in mind, so a 6 number draw would pay very little for 3 & 4 hits. Which I think would annoy folks, as mentioned above, people like to win. If the lottery goes a year with no winners, chances are it would have no players either.


Quote:
Originally Posted by Spinball View Post
Got a bug for you.
Changed the currency symbol to a pound as per another post here.
The change is not reflected in the user profile page. It still shows a dollar sign.
Yes, I'm undecided on whether I am calling it a bug yet or not though

You can manually change it in the plugin, but can't use the phrase in the plugin as that "group" isn't loaded outside the casino. I will probably end up moving it to the global group at some point though, and fixing that. But for now just edit the template. It will say something like "$$cash", just change the first dollar sign.
Reply With Quote
  #1893  
Old 11-22-2007, 03:43 AM
fxs158 fxs158 is offline
 
Join Date: May 2003
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Andrew thanks for a great mod, three request not sure if they have been asked or if it is possible.

For pools would it be possible to add the handicap or points to the individual teams?

Also would it be possible to create a football ticket where one could lets say add all nfl games and members select a team for each game, the tickets are sold lets say for 10 dollars and all the money is put in one pot. Whom ever selects the most team that won will get the total jackpot?

Lastly on poker, would mo limit Texas hold them be a possibility?

This is by far the best mod on my forum and really popular.
Reply With Quote
  #1894  
Old 11-22-2007, 03:57 AM
waller99 waller99 is offline
 
Join Date: Oct 2006
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Andrew,

can you shoot me a quick reply to this?
https://vborg.vbsupport.ru/showpost....postcount=1870

Thanks.
Reply With Quote
  #1895  
Old 11-22-2007, 04:06 AM
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 waller99 View Post
Andrew,

can you shoot me a quick reply to this?
https://vborg.vbsupport.ru/showpost....postcount=1870

Thanks.
Yes I can, I'll have a look at making it more obvious next time I update.
Reply With Quote
  #1896  
Old 11-22-2007, 05:53 AM
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
Location: Telford, England
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Andrew Green View Post
It will say something like "$$cash", just change the first dollar sign.
Will do, thanks.
Another request (which is surely an indication of the enthusiasm with which you hack is being adopted) : is it possible to give people cash when they post to their blogs in the official vBulletin blog please? I really want to encourage the blog element of the site and this is one nice way to do so.
Also in some games, I think it would be useful to have a 'Leave table' type button or link (in Blackjack for example) so make it a little clearer for folks who miss the nav breadcrumb.
Thanks
Reply With Quote
  #1897  
Old 11-22-2007, 11:59 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Database error in vBulletin 3.6.8:

Invalid SQL:
UPDATE casino_blackjack_dealt SET hand = 1 WHERE cardnum = AND playerid = 1022;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND playerid = 1022' at line 1
Error Number : 1064
Date : Thursday, November 22nd 2007 @ 12:51:03 AM
Script : http://dieselbombers.com/casino/blackjack_deal.php
Referrer : http://dieselbombers.com/casino.php?do=blackjack
IP Address : 0000000000000
Username : xzaq103
Classname : vb_database
Reply With Quote
  #1898  
Old 11-22-2007, 02:57 PM
evesve evesve is offline
 
Join Date: Jul 2005
Location: Sweden
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Andrew Green View Post
Well, I never claimed it was done. the version is listed at 0.70, and I'd say about 70% done is right.

This is also a free product, and is not my job. I work full time, teach evening classes, have a girlfriend, etc. This is a small piece of my time, and to be perfeclty honest works quite well. 405 installs and over 50% of the votes for MOTM this month. Not bad for a release that is less then 2 months old.
This is bad, really bad, that people don?t understand that this is a BETA!
Please, Andrew, don?t run too fast!
It?s better with a bug-free product than 20 new games!
I can promise you a donation when we get 1.0! :up:
Reply With Quote
  #1899  
Old 11-22-2007, 03:42 PM
towermatt towermatt is offline
 
Join Date: Apr 2007
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't mind beta testing it a bit. My site is very much member developed so everyone lends a hand in developing this great product.

Its really fun
Reply With Quote
  #1900  
Old 11-22-2007, 06:47 PM
evesve evesve is offline
 
Join Date: Jul 2005
Location: Sweden
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by evesve View Post
Nice game Roulette!
A bug...Winning number "0", I didn?t bet "0", I won ~4000
Once again.
I bet 50 (x9 but not on "0")
After bet I had 5209.
After winning number "0" I had 12409
Maybe important to know how much I won?
Reply With Quote
  #1901  
Old 11-22-2007, 06:50 PM
evesve evesve is offline
 
Join Date: Jul 2005
Location: Sweden
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by evesve View Post
Once again.
I bet 50 (x9 but not on "0")
After bet I had 5209.
After winning number "0" I had 12409
Maybe important to know how much I won?
"0" came up again.
I bet 200 (from my 12409) on "0" and now I have 19409
Now I am a very rich man!
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:41 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.11541 seconds
  • Memory Usage 2,335KB
  • 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
  • (8)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