Thread: Major Additions - Casino (w/ 10 player poker)
View Single Post
  #1892  
Old 11-22-2007, 02:19 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 Tulsa View Post
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 View Post
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 View Post
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

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.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01189 seconds
  • Memory Usage 1,767KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete