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
  #1402  
Old 11-02-2007, 02:47 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 Black Tiger View Post
I just installed this one, looks great!

I have a couple of questions though:

1.) I've vBA running. Now I want to integrate this in the sidebare so I have to edit the casino.php and add these lines:
Code:
define('VBA_PORTAL', true);
define('VBA_PAGE', 'RSide');
If I don't, all is working fine. If I do, I get this error notice:
Error is coming from VBA code, not casino. I have no idea as I don't use that product.


Quote:
2.) In the lottery I put it to 40 numbers. But I would like to get 6 numbers drawn, but that isn't possible, maximum 5. Why?
to be perfectly honest, with 6 x 40 you'd be looking at odds of about 1 in 4 million, didn't think anyone would want it that high. From what I have seen I think most are only using 3 balls with a range of 15-20.

I can increase that with the next set, there really wasn't a reason, but with those numbers you will get very few people winning anything.

Quote:
3.) How can I change the amount of winnings? Now the Casino Jackpot for the lottery is 817685 and I would like to adjust this, same as with some other prices, how is this done?
It increases as people buy tickets, and is calculated for a payout of 100% over time. There is no way to manually set it as it is based on the number of balls and the range of numbers.

Quote:
4.) Foud a little bug, in the Let 'em Ride the title Let 'em Ride is ok, but in the forumlink it says:
Myforums->casino->Let 'em Ride
Yes, this has been fixed with the next release. Internet explorer quirk.

Quote:
Originally Posted by Black Tiger View Post
5.) I see a Dollar sign everywhere. Where can I change this to a ? (euro) sign?
No where right now, once phrases are in place you would edit the phrase.
Reply With Quote
  #1403  
Old 11-02-2007, 02:48 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 DiesellMinded View Post
Can you make this add a [x] after the nav bar link to display how many people are in the casino please

http://www.dieselbombers.com/
You will get a display under the navbar saying how many people are in the Texas Hold'em game if that is what you are after. But if no one is in there you won't see it.
Reply With Quote
  #1404  
Old 11-02-2007, 03:05 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would like a more suttle approch at whos in there currently i have my chat and vbay set up to show [x] after the link in the navbar and i would really love for this to be the same , Can you help ?
Reply With Quote
  #1405  
Old 11-02-2007, 03:07 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can i convert it ?

heres my Vbay Link Code in my nav bar how do i change this to the amount of users in texas holdem

<td class="vbmenu_control"><a href="vbay.php">$vbphrase[vbay_navbar]<if condition="$vbulletin->options['vbay_auctionsinnav'] == '1'"> [$auctions]</if></a></td>
Reply With Quote
  #1406  
Old 11-02-2007, 03:09 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<td class="vbmenu_control"><a href="casino.php?$session[sessionurl]">Casino</a></td><if condition="$vbulletin->options['vbay_auctionsinnav'] == '1'"> [$inpoker]</if></a></td>

????
Reply With Quote
  #1407  
Old 11-02-2007, 03:21 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 DiesellMinded View Post
I would like a more suttle approch at whos in there currently i have my chat and vbay set up to show [x] after the link in the navbar and i would really love for this to be the same , Can you help ?

Change the plugin "casino players in poker" to this:
Code:
$pokertimeout = time() - 30;

$result = $db->query_read("SELECT count(userid) AS np FROM casino_texasholdem_whoisin WHERE lastcheck > $pokertimeout");

$row = $db->fetch_array($result);

$inpoker = $row[np];

and put "$inpoker" wherever you want the number to show up. However this is just players in the poker game, not the single player games.
Reply With Quote
  #1408  
Old 11-02-2007, 03:30 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That seems to be working great !! Thank YOU !! do you know how to remove the [] from the nav bar if no ones in poker ?

Never mind its showing [0] thats cool

thanks again
Reply With Quote
  #1409  
Old 11-02-2007, 03:33 AM
Andrew Green's Avatar
Andrew Green Andrew Green is offline
 
Join Date: Nov 2005
Location: Winnipeg, MB
Posts: 996
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
<if condition="! $inpoker">[$inpoker]</if>
Reply With Quote
  #1410  
Old 11-02-2007, 03:40 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That dont seem to be working i get nothing on index then it will go to [] on some pages all tests done with 1 player in poker

<td class="vbmenu_control"><a href="casino.php?$session[sessionurl]">Casino <if condition="! $inpoker">[$inpoker]</if></a></td>
Reply With Quote
  #1411  
Old 11-02-2007, 03:49 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i removed the ! and its working
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 06:33 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.06634 seconds
  • Memory Usage 2,323KB
  • 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
  • (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
  • (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