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
  #1722  
Old 11-14-2007, 12:23 PM
ScottRowan ScottRowan is offline
 
Join Date: May 2007
Location: Glasgow, Scotland
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can someone tell me how I can sort it so that , when you see all the chips you can bet with, they are all in a line and it distorts my forum, is there a way you can make it go so far then go into a new line?
Reply With Quote
  #1723  
Old 11-14-2007, 01: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 jewropa View Post
hello, Andrew Green
at first: it is a very useful mod! I love it!

Not the second thing: I would like place a image in the game description box.
I is possible to enable html in the description of the games so i can do it?
That isn't necessary, there is another way which involves a fairly simple template edit.

Have a look at mine:
http://www.bowlandcentral.com/forum/casino.php

When I get home later I shall get some instructions together as I know a couple of people are interested in this.
Reply With Quote
  #1724  
Old 11-14-2007, 01:43 PM
chatzworld chatzworld is offline
 
Join Date: Apr 2007
Posts: 253
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

love the way you have ur casino mark maybe the makers mite make it similar is looks very good and much improved
Reply With Quote
  #1725  
Old 11-14-2007, 02:12 PM
towermatt towermatt is offline
 
Join Date: Apr 2007
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mark.B View Post
That isn't necessary, there is another way which involves a fairly simple template edit.

Have a look at mine:
http://www.bowlandcentral.com/forum/casino.php

When I get home later I shall get some instructions together as I know a couple of people are interested in this.
That is amazing! I would love to do something like that with mine. Thanks Mark
Reply With Quote
  #1726  
Old 11-14-2007, 03:27 PM
Mark.B Mark.B is offline
Senior Member
 
Join Date: Feb 2004
Posts: 1,354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok...how to get images next to the game names.

(This won't give you a casino index exactly like mine, this will give you a standard casino index but with images of your choice next to the game names.)

First you need to choose some copyright-free images. Look for free icon sites. Ideally your images should be around 32 X 32 in size. Create a folder within your casino folder and call it "images". So the path is then yourdomain.com/forum/casino/images.

You then need to upload each image to the server, but rename it to the same as the gamename for the game it relates to. These are listed in
AdminCP > Casino > Casino Settings
under "Games Available", they are the first (unalterable) name, not the name you can change. So for example the icon you want to appear for Video Poker needs be named videopoker.gif.

Upload all these to the /casino/images/ folder you have just created.

Then go to your casino_index_game template. (Take a copy of it first if you have customised it in any way.)

Replace the whole template with this:
Code:
<tr>
<td class='alt$i'>

<table>
<td width='36px' align='center'>
<a href='casino.php?do=$gamefile'><img class='inlineimg' src='casino/images/$gamefile.gif' border='0' /></a></td>
<td align='left' width='95%'><span><b><a href='casino.php?do=$gamefile'>$gamename</a></b></span><br />
</td>
</td></table>

</td>
<td class='alt$i'>
$gamedesc
</td>
</tr>
If your images are jpgs or pngs rather than gifs, then just change $gamefile.gif to $gamefile.jpg or $gamefile.png.

If your images are all the same size then you can add width='xx' height='xx' into the <img> tag, that will assist with smoother page loading.

I have tested the above on my site and it works fine but I offer no guarantees. If anyone wishes to make any changes/improvements etc to the above then feel free to do so and post it here, I'm fine with that. These instructions can also be taken and posted anywhere, I'm not fussy about that either.
Reply With Quote
  #1727  
Old 11-14-2007, 06:54 PM
ezurick ezurick is offline
 
Join Date: Mar 2007
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried to weed thru many posts on this thread and I see very few issues with the lottery... I need more options for the lottery... but first, when i change settings and go to the casino lottery, they don't take effect. My lottery is set for every wednesday... but it was default to friday (I think)... it took a week to catch up and now it does do the lottery on wednesday, but at 11pm? I might as well set it for tuesday... with a time like that... .lol

Also, I don't have a large member base, so the jackpot is very low... how about allowing the admin to set the BASE jackpot... and what ever is added will be on top of that...

Just a little story... I use the vbcredits program with this casino.. I installed this and warned my members that it could be costly... and be careful... just about all of my users with large balances went in there and lost their shirts... and now they post crap in the forums just to earn credits to gamble.... .:rotf:
Reply With Quote
  #1728  
Old 11-14-2007, 07:26 PM
jewropa jewropa is offline
 
Join Date: Sep 2007
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mark.B View Post
Ok...how to get images next to the game names.

(This won't give you a casino index exactly like mine, this will give you a standard casino index but with images of your choice next to the game names.)

First you need to choose some copyright-free images. Look for free icon sites. Ideally your images should be around 32 X 32 in size. Create a folder within your casino folder and call it "images". So the path is then yourdomain.com/casino/images.

You then need to upload each image to the server, but rename it to the same as the gamename for the game it relates to. These are listed in
AdminCP > Casino > Casino Settings
under "Games Available", they are the first (unalterable) name, not the name you can change. So for example the icon you want to appear for Video Poker needs be named videopoker.gif.

Upload all these to the /casino/images/ folder you have just created.

Then go to your casino_index_game template. (Take a copy of it first if you have customised it in any way.)

Replace the whole template with this:
Code:
<tr>
<td class='alt$i'>

<table>
<td width='36px' align='center'>
<a href='casino.php?do=$gamefile'><img class='inlineimg' src='casino/images/$gamefile.gif' border='0' /></a></td>
<td align='left' width='95%'><span><b><a href='casino.php?do=$gamefile'>$gamename</a></b></span><br />
</td>
</td></table>

</td>
<td class='alt$i'>
$gamedesc
</td>
</tr>
If your images are jpgs or pngs rather than gifs, then just change $gamefile.gif to $gamefile.jpg or $gamefile.png.

If your images are all the same size then you can add width='xx' height='xx' into the <img> tag, that will assist with smoother page loading.

I have tested the above on my site and it works fine but I offer no guarantees. If anyone wishes to make any changes/improvements etc to the above then feel free to do so and post it here, I'm fine with that. These instructions can also be taken and posted anywhere, I'm not fussy about that either.
thank you very much i try it now
Reply With Quote
  #1729  
Old 11-14-2007, 07:42 PM
waller99 waller99 is offline
 
Join Date: Oct 2006
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mark.B View Post
Ok...how to get images next to the game names.

(This won't give you a casino index exactly like mine, this will give you a standard casino index but with images of your choice next to the game names.)

First you need to choose some copyright-free images. Look for free icon sites. Ideally your images should be around 32 X 32 in size. Create a folder within your casino folder and call it "images". So the path is then yourdomain.com/casino/images.

You then need to upload each image to the server, but rename it to the same as the gamename for the game it relates to. These are listed in
AdminCP > Casino > Casino Settings
under "Games Available", they are the first (unalterable) name, not the name you can change. So for example the icon you want to appear for Video Poker needs be named videopoker.gif.

Upload all these to the /casino/images/ folder you have just created.

Then go to your casino_index_game template. (Take a copy of it first if you have customised it in any way.)

Replace the whole template with this:
Code:
<tr>
<td class='alt$i'>

<table>
<td width='36px' align='center'>
<a href='casino.php?do=$gamefile'><img class='inlineimg' src='casino/images/$gamefile.gif' border='0' /></a></td>
<td align='left' width='95%'><span><b><a href='casino.php?do=$gamefile'>$gamename</a></b></span><br />
</td>
</td></table>

</td>
<td class='alt$i'>
$gamedesc
</td>
</tr>
If your images are jpgs or pngs rather than gifs, then just change $gamefile.gif to $gamefile.jpg or $gamefile.png.

If your images are all the same size then you can add width='xx' height='xx' into the <img> tag, that will assist with smoother page loading.

I have tested the above on my site and it works fine but I offer no guarantees. If anyone wishes to make any changes/improvements etc to the above then feel free to do so and post it here, I'm fine with that. These instructions can also be taken and posted anywhere, I'm not fussy about that either.
Good stuff. Thanks a ton for this. Makes it look very nice.
Reply With Quote
  #1730  
Old 11-14-2007, 07:47 PM
NFLfbJunkie NFLfbJunkie is offline
 
Join Date: Sep 2006
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I hope I'm not being a pest, but I have asked a couple of times now if the following is possible: re-setting all of the user stats for all of the games and removing the green table images from the pages that use them. Any advice would be greatly appreciated.
Reply With Quote
  #1731  
Old 11-14-2007, 07:47 PM
Basscat Basscat is offline
 
Join Date: Jan 2005
Location: Otsego, MI
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just installed this on my test site. This may have been asked already.

Will there be an option so there can be multiple tables for the same game? Kind of like flash chat having multiple rooms, or yahoo having multiple tables.

It would be neat to have a texas hold'em tourney on the site with multiple tables playing at once.
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 10:47 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.07384 seconds
  • Memory Usage 2,341KB
  • 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_code
  • (4)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