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

 
 
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
  #812  
Old 10-20-2007, 04:23 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 Rushty View Post
im getting an sql error when trying to install v.34 on vb 3.6.8, error is:
What version of mysql are you using?

(Front page of your admincp has "MySQL Version")

Quote:
Originally Posted by towermatt View Post
I was hoping there could be a way to edit sports pool events. I put in a wrong closing time on one of the football games I added for this Sunday
It will, just not yet. That whole setup piece needs reworked.
Reply With Quote
  #813  
Old 10-20-2007, 04:55 PM
Mark.B Mark.B is offline
Senior Member
 
Join Date: Feb 2004
Posts: 1,354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For some reason my lottery did not set up a new draw for today when the cron ran.

I have tried running the cron manually, and no errors show up, but no new draw gets created.

It's been working ok previously. I'm a bit baffled.
Reply With Quote
  #814  
Old 10-20-2007, 05:16 PM
Mark.B Mark.B is offline
Senior Member
 
Join Date: Feb 2004
Posts: 1,354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mark.B View Post
For some reason my lottery did not set up a new draw for today when the cron ran.

I have tried running the cron manually, and no errors show up, but no new draw gets created.

It's been working ok previously. I'm a bit baffled.
Just an update - I have created a draw manually now for today (nicked bits of the cron script and patched it together), so that's why there's now one showing up, but for some reason it wouldn't create automatically.
Reply With Quote
  #815  
Old 10-20-2007, 05:26 PM
Mark.B Mark.B is offline
Senior Member
 
Join Date: Feb 2004
Posts: 1,354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Additionally, I'm still struggling with the time zones on the Sports Pool. Something isn't right.

I had an event that I set to close at 19:20hrs BST (GMT +1) today, and just now at 19.20hts it was still open. When I converted the timestamp in a converter, it equated to 01:00 BST. Even though the event did say ion the public screen that it would close at 19:00 BST.

I fixed it by manually changing the timestamp, but I don't think I have ever once managed to get an event to close at the desired time without altering the timestamp afterwards in the database.

When we select a time in the admincp, what timezone is it actually using? And what timezone then displays on the public site?
Reply With Quote
  #816  
Old 10-20-2007, 05:31 PM
towermatt towermatt is offline
 
Join Date: Apr 2007
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For me, I am adding games that start at 1PM EST (for instance). I set my site to use Eastern Standard Time

So for me in Colorado (2hrs behind) it shows that it closes at 11am

I assume it is taking that from the board setting
Reply With Quote
  #817  
Old 10-20-2007, 05:34 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 Mark.B View Post
For some reason my lottery did not set up a new draw for today when the cron ran.

I have tried running the cron manually, and no errors show up, but no new draw gets created.

It's been working ok previously. I'm a bit baffled.
I have a couple ideas, I'll implement them all, should solve this, as well as give you the ability to start a draw if there isn't one.

Quote:
Originally Posted by Mark.B View Post
Additionally, I'm still struggling with the time zones on the Sports Pool. Something isn't right.

I had an event that I set to close at 19:20hrs BST (GMT +1) today, and just now at 19.20hts it was still open. When I converted the timestamp in a converter, it equated to 01:00 BST. Even though the event did say ion the public screen that it would close at 19:00 BST.

I fixed it by manually changing the timestamp, but I don't think I have ever once managed to get an event to close at the desired time without altering the timestamp afterwards in the database.

When we select a time in the admincp, what timezone is it actually using? And what timezone then displays on the public site?
Right now it's using the server time, not vb time, but the server time. I'm going to slap in a adjustment to use the users time settings though.
Reply With Quote
  #818  
Old 10-20-2007, 05:35 PM
towermatt towermatt is offline
 
Join Date: Apr 2007
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool! My server time must be EST.

That works well.
Reply With Quote
  #819  
Old 10-20-2007, 05:37 PM
Mark.B Mark.B is offline
Senior Member
 
Join Date: Feb 2004
Posts: 1,354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by towermatt View Post
For me, I am adding games that start at 1PM EST (for instance). I set my site to use Eastern Standard Time

So for me in Colorado (2hrs behind) it shows that it closes at 11am

I assume it is taking that from the board setting
I dunno anymore. I get totally confused by time zones.

I have just made some changes to sportspool.php along the following lines:

Code:
$eventdate = vbdate($vbulletin->options['dateformat'], $eventtime);
$eventtime = vbdate($vbulletin->options['timeformat'], $eventtime);
Then I have gone into the template casino_sportspool_event, and added $eventtime next to $eventdate.

With a test event, if I now create the event with a time six hours before the time I actually want it to close, the close time shows correctly in BST on the public page.

The question then is, will the event actually close at that time or not? Because today's didn't, but that was before I made the changes.

I am assuming this works the same as the add scheduled tasks window, which also requires times to be six hours aheaed (for me anyway) but then shows them in my local time in the management window.

I *hate* timezones!!!!

PS....please don't think I'm criticising you in any way here Andrew. It's my own confusion with timezones that causes this, not your mod! I have the same problem trying to get crons to run at the right time.
Reply With Quote
  #820  
Old 10-20-2007, 05:48 PM
aztecboi2003 aztecboi2003 is offline
 
Join Date: Apr 2007
Location: Marysville,Wa
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to add advertising or banners to the blackjack or the slots pages?
Reply With Quote
  #821  
Old 10-20-2007, 08:01 PM
sandt38's Avatar
sandt38 sandt38 is offline
 
Join Date: Aug 2007
Location: In a house
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by towermatt View Post
Wonderful!

I should have investigated that, totally logical. Thanks again for the help, the chips look great

They are on and are perfect. My site has all these black colors so they came across well
Excellent. I am sorry i wasn't here to help you load these, but as long as you got it done that is what matters.

I designed these with my dark BGs in mind as well, although I actually labeled them with my forum's casino name. I have several skins, and most use a dark BG... I find it easier on the eyes. I am glad you like them.
Reply With Quote
 


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:33 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.12446 seconds
  • Memory Usage 2,324KB
  • 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
  • (7)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