vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - Casino (w/ 10 player poker) (https://vborg.vbsupport.ru/showthread.php?t=159151)

Andrew Green 11-22-2007 02:19 AM

Quote:

Originally Posted by Tulsa (Post 1387196)
Andrew - is the any plans on giving the admin control of the odds for each of the games? I'd like to loosen mine up a bit as winning is fun for people and breaking even gets a tad bit old.

Not really, for most games it's not even possible without "rigging" the game, which is something I definitely don't want to do.


Quote:

Originally Posted by Spinball (Post 1387190)
There are set prizes :
3 numbers ?10 56:1 (i.e. 1 in 57)
4 numbers 22% of remaining fund 1,031:1
5 numbers 10% of remaining fund 55,490:1
5 numbers and bonus ball 16% of remaining fund 2,330,635:1
6 numbers 52% of remaining fund 13,983,815:1 (i.e. 1 in 13,983,816)

I can imagine that programming the lottery could get quite complicated, but we could have it so that the whole fund rolls over (if it doesn't already).


Yeah, that was a day of math...

Basically that is what happens, although the percentages are different, and set up to payout about 100% overtime regardless of the numbers plugged in. However the percentages are set up with less number choices in mind, so a 6 number draw would pay very little for 3 & 4 hits. Which I think would annoy folks, as mentioned above, people like to win. If the lottery goes a year with no winners, chances are it would have no players either.


Quote:

Originally Posted by Spinball (Post 1387172)
Got a bug for you.
Changed the currency symbol to a pound as per another post here.
The change is not reflected in the user profile page. It still shows a dollar sign.

Yes, I'm undecided on whether I am calling it a bug yet or not though :D

You can manually change it in the plugin, but can't use the phrase in the plugin as that "group" isn't loaded outside the casino. I will probably end up moving it to the global group at some point though, and fixing that. But for now just edit the template. It will say something like "$$cash", just change the first dollar sign.

fxs158 11-22-2007 03:43 AM

Andrew thanks for a great mod, three request not sure if they have been asked or if it is possible.

For pools would it be possible to add the handicap or points to the individual teams?

Also would it be possible to create a football ticket where one could lets say add all nfl games and members select a team for each game, the tickets are sold lets say for 10 dollars and all the money is put in one pot. Whom ever selects the most team that won will get the total jackpot?

Lastly on poker, would mo limit Texas hold them be a possibility?

This is by far the best mod on my forum and really popular.

waller99 11-22-2007 03:57 AM

Andrew,

can you shoot me a quick reply to this?
https://vborg.vbsupport.ru/showpost....postcount=1870

Thanks.

Andrew Green 11-22-2007 04:06 AM

Quote:

Originally Posted by waller99 (Post 1387316)
Andrew,

can you shoot me a quick reply to this?
https://vborg.vbsupport.ru/showpost....postcount=1870

Thanks.

Yes I can, I'll have a look at making it more obvious next time I update.

Spinball 11-22-2007 05:53 AM

Quote:

Originally Posted by Andrew Green (Post 1387264)
It will say something like "$$cash", just change the first dollar sign.

Will do, thanks.
Another request (which is surely an indication of the enthusiasm with which you hack is being adopted) : is it possible to give people cash when they post to their blogs in the official vBulletin blog please? I really want to encourage the blog element of the site and this is one nice way to do so.
Also in some games, I think it would be useful to have a 'Leave table' type button or link (in Blackjack for example) so make it a little clearer for folks who miss the nav breadcrumb.
Thanks

DieselMinded 11-22-2007 11:59 AM

Database error in vBulletin 3.6.8:

Invalid SQL:
UPDATE casino_blackjack_dealt SET hand = 1 WHERE cardnum = AND playerid = 1022;

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 'AND playerid = 1022' at line 1
Error Number : 1064
Date : Thursday, November 22nd 2007 @ 12:51:03 AM
Script : http://dieselbombers.com/casino/blackjack_deal.php
Referrer : http://dieselbombers.com/casino.php?do=blackjack
IP Address : 0000000000000
Username : xzaq103
Classname : vb_database

evesve 11-22-2007 02:57 PM

Quote:

Originally Posted by Andrew Green (Post 1386976)
Well, I never claimed it was done. the version is listed at 0.70, and I'd say about 70% done is right.

This is also a free product, and is not my job. I work full time, teach evening classes, have a girlfriend, etc. This is a small piece of my time, and to be perfeclty honest works quite well. 405 installs and over 50% of the votes for MOTM this month. Not bad for a release that is less then 2 months old.

This is bad, really bad, that people don?t understand that this is a BETA!
Please, Andrew, don?t run too fast!
It?s better with a bug-free product than 20 new games!
I can promise you a donation when we get 1.0! :up:

towermatt 11-22-2007 03:42 PM

I don't mind beta testing it a bit. My site is very much member developed so everyone lends a hand in developing this great product.

Its really fun

evesve 11-22-2007 06:47 PM

Quote:

Originally Posted by evesve (Post 1386418)
Nice game Roulette!
A bug...Winning number "0", I didn?t bet "0", I won ~4000

Once again.
I bet 50 (x9 but not on "0")
After bet I had 5209.
After winning number "0" I had 12409
Maybe important to know how much I won?

evesve 11-22-2007 06:50 PM

Quote:

Originally Posted by evesve (Post 1387658)
Once again.
I bet 50 (x9 but not on "0")
After bet I had 5209.
After winning number "0" I had 12409
Maybe important to know how much I won?

"0" came up again.
I bet 200 (from my 12409) on "0" and now I have 19409
Now I am a very rich man!


All times are GMT. The time now is 04:06 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.04371 seconds
  • Memory Usage 1,756KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete