Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
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
  #1022  
Old 10-24-2007, 04:13 AM
Andrew Green's Avatar
Andrew Green Andrew Green is offline
 
Join Date: Nov 2005
Location: Winnipeg, MB
Posts: 996
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Right under .50

Just reuploaded it, a 2 was a 3, so it disappeared for a few seconds
Reply With Quote
  #1023  
Old 10-24-2007, 04:25 AM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Andrew Green View Post
Right under .50

Just reuploaded it, a 2 was a 3, so it disappeared for a few seconds
yeah I saw that so I changed my "where is it?" post to a thanks post lol
Reply With Quote
  #1024  
Old 10-24-2007, 04:45 AM
Andrew Green's Avatar
Andrew Green Andrew Green is offline
 
Join Date: Nov 2005
Location: Winnipeg, MB
Posts: 996
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

my guess is that one of the files didn't overwrite properly, or a template needs reverting.
Reply With Quote
  #1025  
Old 10-24-2007, 05:03 AM
madotds madotds is offline
 
Join Date: Oct 2007
Location: UK
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First of all THANK U for this great mod I have "Clicked Install" Voted For MOM and Rated ***** I am on V.40 and as soon as i have finished this post i will be upgrading I am very happy with this mod the way it is but if you find yourself running out of ideas and your getting bored maybe you could consider the possibility of the following adons.
  • option in admin cp to set custum % payout on slots etc so you can adjust it with ease
  • More than one instance of 10 player poker running at the same time for buisier forums. ( Not mine as yet )

Regards

Mark
Reply With Quote
  #1026  
Old 10-24-2007, 06:50 AM
leeman's Avatar
leeman leeman is offline
 
Join Date: Nov 2004
Location: Sweden
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by samorite View Post
got it running fine with Inferno Shout box pro but i had problems when i showed shoutbox on any of the casino games

hope that helps
Well as I said.

I have Lite and the funny thing now is when I move the Inferno Shoutbox: Deploy Shoutbox plugin to forum home complete (Wich disables the shoutbox for me) everything works...

Then when I move it back to global_complete the Casino dies.. (TexasHolem, Stud, Video Poker and Black Jack)

"Sniff"

I have temporary allowed guests to use the casino if someone wanna see the problem.

www.insanetrain.com/forums
Reply With Quote
  #1027  
Old 10-24-2007, 08:33 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Again, you're doing an awesome job, Andrew. I have a question:

I've read in this thread that $inpoker does not display in vBadvanced pages; it also doesn't display in Photoplog gallery or ibProArcade pages. That is when $inpoker is in the navbar.

So I added $inpoker in the footer template just as a test and it displayed in the vBadvanced, Photoplog gallery pages but not the ibProArcade pages. I thought that was interesting.

I understand that you can only support within the scope of your mod. Though, I'm wondering if there's a way to have $inpoker display in all pages by hook or edit of code?
Reply With Quote
  #1028  
Old 10-24-2007, 10:25 AM
Mark.B Mark.B is offline
Senior Member
 
Join Date: Feb 2004
Posts: 1,354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Freesteyelz View Post
Again, you're doing an awesome job, Andrew. I have a question:

I've read in this thread that $inpoker does not display in vBadvanced pages; it also doesn't display in Photoplog gallery or ibProArcade pages. That is when $inpoker is in the navbar.

So I added $inpoker in the footer template just as a test and it displayed in the vBadvanced, Photoplog gallery pages but not the ibProArcade pages. I thought that was interesting.

I understand that you can only support within the scope of your mod. Though, I'm wondering if there's a way to have $inpoker display in all pages by hook or edit of code?
The answer is, you can easily make it display in all pages.

I'm in an internet cafe at the moment so I can't post the exact instructions, however in a few hours I shall be at home and will do so.

The basics are:

vBadvanced, there is an option in the AdminCP (it's under page editing I think) , you can add a variable to a list (you miss off the $ at the start though, so just add inpoker)

Photoplog is much the same, there's an option in the AdminCP and you add the variable without the $ (so just add inpoker)

IBProArcade, you edit the file /arcade/functions.php, there is a line in there with a load of variables, and you add $inpoker to the end (this time you DO need the $ at the start). It needs a comma as well to separate it from the previous variable.

Sorry if this is bit vague, but I'll post exact instructions later on when I get home (uinless someone beats me to it).
Reply With Quote
  #1029  
Old 10-24-2007, 10:45 AM
Wolf_Hook Wolf_Hook is offline
 
Join Date: Jun 2006
Location: England
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The addition of a percentage setting in the admin panel would be a god send as my board now has it's first millionaire.
Reply With Quote
  #1030  
Old 10-24-2007, 10:57 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Mark.B:

Thanks a ton! I've managed to get $inpoker to work in Photoplog, vBadvanced pages and ibProArcade pages. I did not think about using the variable options for the first two.

1. Instructions for vBadvanced:

Admin CP --> vBa CMPS --> Default Settings --> Main Options --> "Portal Output Global Variables" add:

Code:
inpoker

2. Instructions for Photoplog:

Admin CP --> Photoplog Pro --> General Settings --> PhotoPlog Pro General Settings --> Global Variables and add:

Code:
inpoker

3. Instructions for ibProArcade:

In FTP go to arcade/functions/functions.php and find:

Code:
        global $header, $vbphrase, $vboptions, $stylevar, $headinclude, $bbuserinfo, $session, $show, $pmbox;

And replace it with:

Code:
        global $header, $vbphrase, $vboptions, $stylevar, $headinclude, $bbuserinfo, $session, $show, $pmbox, $inpoker;


Thanks again, Mark. :up:
Reply With Quote
  #1031  
Old 10-24-2007, 11:51 AM
BuckRodgers BuckRodgers is offline
 
Join Date: Jul 2007
Location: U.K>
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

okie done update got a few problems,

1, ninja slots. when you place your bet the reels just keep spinning never stop ?

2, more stats. when i click on the more stats still getting db error
Code:
Database error in vBulletin 3.6.8:

Invalid SQL:

		SELECT bet, 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         : Wednesday, October 24th 2007 @ 01:46:45 PM
Script       : http://www.datadrome.co.uk/forum/casino.php?do=stats
Referrer     : http://www.datadrome.co.uk/forum/casino.php
IP Address   : 
Username     : Samorite
Classname    : vb_database
3, admin cp, in "Games Available" when i try to update settings i get this db error

Code:
Database error in vBulletin 3.6.8:

Invalid SQL:

		SELECT cs1.switch1 AS gameid, cs1.switch2 AS gamefile, cs2.switch2 AS gamename, cs3.switch2 AS gamedesc, cs4.switch2 AS active
		FROM casino_settings AS cs1, casino_settings AS cs2, casino_settings AS cs3, casino_settings AS cs4    
		WHERE cs1.switch1=cs2.switch1 
		AND cs1.switch1= cs3.switch1 
		AND cs1.switch1= cs4.switch1 
		AND cs1.settingname='gamefile' 
		AND cs2.settingname='gamename' 
		AND cs3.settingname='gamedesc'
		AND cs4.settingname='gameactive';

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         : Wednesday, October 24th 2007 @ 01:49:39 PM
Script       : http://www.datadrome.co.uk/forum/admincp/casino_settings.php?gamename1=Video+Poker&gamedesc1=Jacks+or+better+to+win.&gameactive1=1&gamename2=Blackjack&gamedesc2=Classic+Casino+Game.&gameactive2=1&gamename3=Sports+Betting+Pool&gamedesc3=Place+bets+on+upcoming+events.&gameactive3=1&gamename4=Lottery&gamedesc4=Buy+into+the+lottery&gameactive4=1&gamename5=Slots&gamedesc5=3+wheel+slot+machine&gameactive5=1&gamename6=Texas+Hold+&gamedesc6=Limit+game+of+Poker%2C+up+to+10+players&gameactive6=1&gamename7=Let+em+Ride&gamedesc7=5+Card+stud+variation&gameactive7=1&gamename8=Ninja+Slots&gamedesc8=3+wheel+ninja+slot+machine&gameactive8=1&submit=Update+Games
Referrer     : http://www.datadrome.co.uk/forum/admincp/casino_settings.php
IP Address   : 
Username     : Samorite
Classname    : vb_database
any help is greatly recived as allways
Reply With Quote
Reply

Thread Tools

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 03:43 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07215 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
  • (6)bbcode_code
  • (3)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