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
  #3452  
Old 07-08-2009, 04:36 PM
imported_silkroad imported_silkroad is offline
 
Join Date: Dec 2003
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by d.j.carusso View Post
Maybe stupid question, but if I install casino on my forum do I have a problem with adsense rules ??

Thanks in advance...
Yes, it seems so, according to Google Adsense / Adwords TOS:

Gambling content


Quote:
AdSense publishers aren't permitted to place Google ads on sites with gambling or casino-related content. In other words, if your site accepts money or allows users to place bets in exchange for an opportunity to earn cash or other prizes, then it's unacceptable to place Google ads on your site. Please note that this policy also prohibits the placement of Google ads on sites that link to online gambling sites
.
Reply With Quote
  #3453  
Old 07-08-2009, 05:58 PM
imported_silkroad imported_silkroad is offline
 
Join Date: Dec 2003
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We need to move this plugin to a sub-directory so we can add access controls and permissions; however, we noticed that so much of the directory structure is hard coded into the PHP code and HTML templates.

Has anyone done this?
Reply With Quote
  #3454  
Old 07-10-2009, 02:58 PM
Stifmeister2 Stifmeister2 is offline
 
Join Date: Feb 2006
Location: Finland
Posts: 755
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by imported_silkroad View Post
Yes, it seems so, according to Google Adsense / Adwords TOS:

Gambling content


.
Yeah but are you sure this applies for "virtual money"? (that's what this mod uses)


I think it only applies for real money but I could be wrong...
Reply With Quote
  #3455  
Old 07-10-2009, 03:07 PM
imported_silkroad imported_silkroad is offline
 
Join Date: Dec 2003
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That is not what Google's policy says. The policy is clear and distinct.
Reply With Quote
  #3456  
Old 07-11-2009, 01:24 PM
Stifmeister2 Stifmeister2 is offline
 
Join Date: Feb 2006
Location: Finland
Posts: 755
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That would also mean that having ibparcade games like poker etc would prevent me from using Adsense?? That's pretty dumb imo..
Reply With Quote
  #3457  
Old 07-15-2009, 04:32 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 imported_silkroad View Post
Yes, it seems so, according to Google Adsense / Adwords TOS:

Gambling content


.
You're fine, although their automated flagging system might catch you. The site I use to demo / get feedback vbgaming.org uses adsense and the casino is the primary purpose of the site. I did get flagged once, emailed google and they removed the flag. However other boards using it never had any problem, but vbgaming.org is pretty much nothing but "gambling" related content, none of it real money, so no problem.

No different then having a arcade with casino flash games (blackjack, roulette, etc.)



Quote:
Originally Posted by shawnkaycie View Post
This is a AWSOME add on!! Love it! but one problem when I try to Mass Cash Adjust I get an error...

Database error in vBulletin 3.8.2:

Invalid SQL:

UPDATE user
SET casino_cash = casino_cash + 300
WHERE usergroupid IN (admin1);

MySQL Error : Unknown column 'admin1' in 'where clause'
Error Number : 1054
Request Date : Saturday, July 11th 2009 @ 02:31:20 PM
Error Date : Saturday, July 11th 2009 @ 02:31:21 PM
Script : http://mysite.com/admincp/casino_set...it=Adjust+cash
Referrer : http://mysite.com/admincp/casino_settings.php
IP Address : 98.223.130.188
Username : Admin1
Classname : vB_Database
MySQL Version : 5.0.75-community-log

Any help?

Shawn
You need the user group id (the number), not name.
Reply With Quote
  #3458  
Old 07-15-2009, 04:35 AM
Andrew Green's Avatar
Andrew Green Andrew Green is offline
 
Join Date: Nov 2005
Location: Winnipeg, MB
Posts: 996
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

New version should be out in the next couple weeks, here is the demo (requires sign in)

http://vbgaming.org/forum/gameroom.php?
Reply With Quote
  #3459  
Old 07-15-2009, 04:41 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 imported_silkroad View Post
Note to Andrew Green (Coder):

We are running this great mod on vB 3.7.x with vBcredits. Our table limit for Blackjack is 100,000. Yesterday one of our users got an error on a bet that awarded him 18,000,000 . This error effected casino_bet_stats.bet which is datatype int(11) and also casino_bet_stats.won, also an int(11). user.credits is datatype double. FYI.

We have not been able to reproduce the error.
If you have a copy of the error fire it over to admin@vbgaming.org

You got some big numbers in there, I'll change the datatypes in the next update if that was the cause. If you look at his stats do they seem "wrong" for that game?

Quote:
Originally Posted by Judicator View Post
Multiplayer Hearts would be fine
lol, yeah, I get a lot of requests

More "casual" card games are something I am considering, but they aren't at the top of the list.

New release brings in more rules for texas hold'em and Chess, Next will be other poker variations (5-card draw, 7-card stud) and additional ranked strategy games (ex. Go, etc)
Reply With Quote
  #3460  
Old 07-15-2009, 05:08 PM
shawnkaycie shawnkaycie is offline
 
Join Date: Apr 2009
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a AWSOME add on!! Love it! but one problem when I try to Mass Cash Adjust I get an error...

Database error in vBulletin 3.8.2:

Invalid SQL:

UPDATE user
SET casino_cash = casino_cash + 300
WHERE usergroupid IN (admin1);

MySQL Error : Unknown column 'admin1' in 'where clause'
Error Number : 1054
Request Date : Saturday, July 11th 2009 @ 02:31:20 PM
Error Date : Saturday, July 11th 2009 @ 02:31:21 PM
Script : http://mysite.com/admincp/casino_set...it=Adjust+cash
Referrer : http://mysite.com/admincp/casino_settings.php
IP Address : 98.223.130.188
Username : Admin1
Classname : vB_Database
MySQL Version : 5.0.75-community-log

Any help?

Shawn
Reply With Quote
  #3461  
Old 07-15-2009, 05:14 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 shawnkaycie View Post
This is a AWSOME add on!! Love it! but one problem when I try to Mass Cash Adjust I get an error...

Database error in vBulletin 3.8.2:

Invalid SQL:

UPDATE user
SET casino_cash = casino_cash + 300
WHERE usergroupid IN (admin1);

MySQL Error : Unknown column 'admin1' in 'where clause'
Error Number : 1054
Request Date : Saturday, July 11th 2009 @ 02:31:20 PM
Error Date : Saturday, July 11th 2009 @ 02:31:21 PM
Script : http://mysite.com/admincp/casino_set...it=Adjust+cash
Referrer : http://mysite.com/admincp/casino_settings.php
IP Address : 98.223.130.188
Username : Admin1
Classname : vB_Database
MySQL Version : 5.0.75-community-log

Any help?

Shawn
Use the user group ID, not user group Name. You are entering "Admin1" as a usergroupID, it should be the ID number associated to that usergroup
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 05:00 PM.


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.15655 seconds
  • Memory Usage 2,330KB
  • 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
  • (3)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