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
  #2752  
Old 01-31-2008, 08:37 AM
ezurick ezurick is offline
 
Join Date: Mar 2007
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Andrew, a nother question about the Casino Lottery... my users are getting very frustrated because they are spending hard earned credits (we use vbcredits) on lottery tickets, but they are claiming it is unfair and cheats! To this day, there has been no winners. It is set at 3 tickets, draw 25 on wednesday's. Last night another drawing happened. Of course I am the admin and can't see what happened. I had about 10 people purchase tickets... In my thinking, how on earth does this program NOT have a winner in about 4 months... pulling 25 numbers and no one getting 3 of those numbers. Now the bad part... if you pull up the past drawings, you see 3 numbers... Where is the 25 numbers that it was suppose to pick? Or, does the program pick 3 numbers out of the 25 and the members's ticket has to match that? If that is so... the odds are overwhelming and that needs to be changed or something...

They are also upset that they have to write down their numbers, because the program loses them after the drawing... Since members can vary in how many tickets they purchase, perhaps there could be an option in the lottery to PM yourself the numbers?

Lastly, I am watching the jackpot and it is still not adding properly. Each ticket costs 10 credits... when you purchase a ticket, the jackpot raises only 5. And once again, the jackpot was close to 7K credits, after last night's drawing, the jackpot is now 6.3K.

Thanks for any help....
Reply With Quote
  #2753  
Old 01-31-2008, 11:44 AM
rknight111 rknight111 is offline
 
Join Date: Oct 2006
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had a reset cash button on the casino for members and now its gone, I have alot of requests to reset cash. Do you have the coding and where I can add that to get that to happen?

Thanks,
RON
Reply With Quote
  #2754  
Old 01-31-2008, 11:57 AM
DrKNickel DrKNickel is offline
 
Join Date: Oct 2007
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

great mod!!

I have one question: I would like to show the players currently playing holdem on the game index. When i add "$inpoker" command nothing happens.

Any ideas?

Greets
Reply With Quote
  #2755  
Old 01-31-2008, 08:23 PM
lordtopcat lordtopcat is offline
 
Join Date: Oct 2004
Location: New Zealand
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey man,

Got an urgent problem, as the casino is one of the most used mods on my board. I just upgraded to 0.91, and whenever someone bets on any slots game, the reel just keeps going round and round and never stops. All of my users have been experiencing this problem. Are you able to help me out? As I need my casino! LOL. Most users report it using FireFox, but it also happens on Internet Explorer too.

The same with roulette, once I hit spin, the ball just keeps going round and round.

And with black jack, when I hit start game it opens up another browser inside the box, and keeps doing that.

Please help

Cheers
LTC
Reply With Quote
  #2756  
Old 01-31-2008, 08: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

A fair bit of internals changed with .91, chances are something didn't update properly.

Ensure the slots.php and slots_ajax.php overwrote old versions. Same for the main casino.php file. Also check the slots templates, if any of them have been modified that would do it too. If you still have no luck send me a link (the one in your profile doesn't work)
Reply With Quote
  #2757  
Old 01-31-2008, 08:41 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 DrKNickel View Post
Hello,

great mod!!

I have one question: I would like to show the players currently playing holdem on the game index. When i add "$inpoker" command nothing happens.

Any ideas?

Greets

I'll have a look later, you mean above the games on casino.php? Might just mean changing the plugin hook location.
Reply With Quote
  #2758  
Old 02-01-2008, 02:00 AM
GateKeper GateKeper is offline
 
Join Date: Apr 2007
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not sure if this one has been posted, after 180 pages it was hard to find if it was....

Quote:
Database error in vBulletin 3.6.8:

Invalid SQL:
UPDATE casino_blackjack_dealt SET hand = 2, bet = WHERE cardnum = AND playerid = 3029;

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 'WHERE cardnum = AND playerid = 3029' at line 1 Error Number : 1064
Date : Wednesday, January 30th 2008 @ 09:56:36 PM
Script : http://www.xxxxxxx.com/casino.php?do=blackjack&ajax=1
Referrer : http://www.xxxxxxx.com/casino.php?do=blackjack
IP Address : 69.157.000.000
Username : xxxxxxx1.
Classname : vb_database
any ideas ?

Thanks..

I put in all the xxxx's just for privacy issues...
Reply With Quote
  #2759  
Old 02-01-2008, 02:04 AM
Andrew Green's Avatar
Andrew Green Andrew Green is offline
 
Join Date: Nov 2005
Location: Winnipeg, MB
Posts: 996
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah, I was just able to duplicate that, looks like someone was playing 2 hands at once in two different tabs. I'll give it some thought and see if I can work out something to prevent that.
Reply With Quote
  #2760  
Old 02-01-2008, 02:16 AM
GateKeper GateKeper is offline
 
Join Date: Apr 2007
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, I will check back for an update...
Reply With Quote
  #2761  
Old 02-01-2008, 08:30 AM
DrKNickel DrKNickel is offline
 
Join Date: Oct 2007
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Andrew Green View Post
I'll have a look later, you mean above the games on casino.php? Might just mean changing the plugin hook location.
On the main game index where the list of the games is i would like to add the $inpoker to show who is playing hold em at the moment

Thanks for your help,

Greets!
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:23 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.13246 seconds
  • Memory Usage 2,317KB
  • 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
  • (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
  • (5)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