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 10-08-2007 09:01 PM

Quote:

Originally Posted by kylek (Post 1355750)
What would be needed to just display Most Won always instead of richest players?
Thanks!!

Just a matter of changing the "5" to the one you want:

1 - Individuals stats
2 - Total stats
3 - Most Won
4 - Luckiest
5 - Richest

sandt38 10-08-2007 09:58 PM

Now slots doesn't display any images at all

I believe it is something in the products_casino.xml Because reloading the slots .phps did nothing, but reloading the product file brought back the images.

Andrew Green 10-08-2007 10:03 PM

did you upload the image? it changed, now it's one image rather then a seperate one for each fruit. If not upload the slotwheel.png file to the casino/cards folder

kylek 10-08-2007 11:28 PM

Andrew,

Got a weird problem on one site, went from .20 to .21 and now the pay window where it says what you won in slots is not showing, any suggestion where to look or what might have not uploaded right, or is it the style we are using?

Attachment 70802

Andrew Green 10-08-2007 11:47 PM

Did you modify any templates by hand? If so they need to be reverted.

Is it there but in a black font?

kylek 10-08-2007 11:50 PM

Oops sorry, just saw that the text is black and hidden in this style, looking at the casino_slots_main to see where I can change it now.

Andrew Green 10-09-2007 12:00 AM

Change this:

Code:

<td style='vertical-align:top;width:150px;text-align:center;' 'class='thead'><p style='font-size:18pt;'>Payout<br/><span style='font-size:36pt;font-weight:bold;' id='outcome'></span></p></td>

To this:
Code:

<td style='vertical-align:top;width:150px;text-align:center;' 'class='thead'><span style='font-size:18pt;'>Payout</span><br/><span style='font-size:36pt;font-weight:bold;' id='outcome'></span></td>
That should fix it and will go into the next update.

gwerzal 10-09-2007 12:57 AM

Hi

I have just installed the newest version of the casino (0-21) and there isn'e a link showing in my admincp.

Any ideas why it wouldn;t be there.

I installed it on a test forum with the version 0-20 and it worked fine.

Any help is much appreciated.
Ben Jones

gwerzal 10-09-2007 01:01 AM

Is there any way of adding more set outcomes to the sports betting pool?

Andrew Green 10-09-2007 01:11 AM

Quote:

Originally Posted by gwerzal (Post 1355905)
Hi

I have just installed the newest version of the casino (0-21) and there isn'e a link showing in my admincp.

Any ideas why it wouldn;t be there.

I installed it on a test forum with the version 0-20 and it worked fine.

Any help is much appreciated.
Ben Jones


Did you upload all of the admincp files, including the includes/xml folder?

Andrew Green 10-09-2007 01:11 AM

Quote:

Originally Posted by gwerzal (Post 1355907)
Is there any way of adding more set outcomes to the sports betting pool?


Not sure what you mean?

Jason Black 10-09-2007 01:15 AM

can you intergrate this into VB plaza?

Ski-Whiz 10-09-2007 01:19 AM

Quote:

Originally Posted by Jason Black (Post 1355920)
can you intergrate this into VB plaza?

Yes... In the point system field, use "vbbux" (assuming you haven't renamed your point system default in vbplaza)

stangger5 10-09-2007 02:21 AM

In the slots,,if you bet 10 and you get:
one cherry ,,you get 10 points,,
two cherries ,, you get 30 points,,
Three cherries ,, you get 10 points...

Shouldnt it pay out 100 points for three cherries ??

Andrew Green 10-09-2007 02:32 AM

Quote:

Originally Posted by stangger5 (Post 1355950)
In the slots,,if you bet 10 and you get:
one cherry ,,you get 10 points,,
two cherries ,, you get 30 points,,
Three cherries ,, you get 10 points...

Shouldnt it pay out 100 points for three cherries ??


It should, and it does for me...?

Can you can force a 3 cherry result and confirm this?

Below (line 142):
Quote:

$a = (rand() % 64);
$a = $wheel1[$a];
$b = (rand() % 64);
$b = $wheel2[$b];
$c = (rand() % 64);
$c = $wheel3[$c];
add

Code:

$a = $b = $c = 1;
in slots_ajax.php

(Make sure the latest versions of all the files are up first too)

stangger5 10-09-2007 03:05 AM

Below line 142 ??

So it will look like this ??
Code:

$a = (rand() % 64);
$a = $b = $c = 1;

I added it there and played some more..
I hit three cherries again and got 100 this time...

Andrew Green 10-09-2007 03:08 AM

well no, bellow the whole block. but if you hit it twice something is definitely wrong, do other 3 of a kinds pay out properly? (can force them the same way)

stangger5 10-09-2007 03:09 AM

Its scoring right now....Must have been a one time thing....

Thanks !!

Robbed 10-09-2007 04:23 AM

Thanks, looks good.

I'm getting Uncached templates: casino_slots_slotimage (21)

SBlueman 10-09-2007 05:14 AM

I just noticed there are no breadcrumbs setup in the Sports Pool Page (see attached)

Andrew Green 10-09-2007 11:52 AM

Quote:

Originally Posted by stangger5 (Post 1355974)
Its scoring right now....Must have been a one time thing....

Thanks !!

I think I know what might have done it, display error rather then a scoring error that could have occured if the server was experiencing heavy lag. Will take care of this, the casino_slots_image template (which isn't even needed anymore) and the sportspool breadcrumbs bugs with the next update.

xxxsaint 10-09-2007 02:27 PM

the Lottery doesn't seem to be working correctly, I've disabled it on every day , and then enabled it on every day to see if it would " reset " and it still says No Draw Active at this time, please check back later

Andrew Green 10-09-2007 02:33 PM

I'll look into that, some of the admincp stuff is really not doing a lot of error checking, so doing something it doesn't expect could get funny results.

My guess is that it will start up again, after the next draw time. I believe going to the scheduled task and hitting "Run now" should start a draw up for you though.

Tulsa 10-09-2007 05:01 PM

On a blackjack it seems to be paying 1:1 instead of 1.5:1, is this intentional?

On the ajax refresh of the card screen, can any adjustments be made to this, like just refreshing the cards themselves and not the title bars above them?

My members are really enjoying this addition, thanks! :)

Andrew Green 10-09-2007 05:10 PM

No, it should be returning 3:2, I'll look into that.

edit: Found the problem, missing a "else", will be fixed with next update.

kpa4941 10-09-2007 09:41 PM

Can I integrate this hack with vbcredits. I want my members to use Credits instead of Casino money.

sinisterpain 10-09-2007 09:46 PM

The Lotto main template wraps to right side.
Looking at the template you have
Code:

<html>
need to change to
Code:

$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">

Fixes the problem

Mark.B 10-09-2007 09:59 PM

Quote:

Originally Posted by kpa4941 (Post 1356497)
Can I integrate this hack with vbcredits. I want my members to use Credits instead of Casino money.

Yes, you just specify "credits" as the cash to use in the casino options.

kylek 10-09-2007 10:08 PM

Works great with vbcredits, just set the points awards to 0 for vbcasino also. Only drawback is the many extra decimal points.

Andrew Green 10-09-2007 10:29 PM

Quote:

Originally Posted by kylek (Post 1356513)
Works great with vbcredits, just set the points awards to 0 for vbcasino also. Only drawback is the many extra decimal points.

I'll cut the decimals off for those using other systems in the next update...

Andrew Green 10-09-2007 10:57 PM

Quote:

Originally Posted by kylek (Post 1356513)
Works great with vbcredits, just set the points awards to 0 for vbcasino also. Only drawback is the many extra decimal points.

Or disable the plugins that award cash on those actions.

kylek 10-10-2007 01:16 AM

Hello Andrew - questions about the lottery.

We have two sites set for pick 3 out of 20 numbers.

How is the payout set for these. On both sites with a draw that just happened the number was drawn but shows no winners. Do you have to have all three numbers correct, or does it pay for one number correct, or two, etc.

Here is some tickets recorded on one site for todays draw:

2 10 17
9 10 17
1 2 8
1 2 15
3 6 10
2 8 12
9 10 17

Numbers drawn 6, 16, 19,

Another sites numbers for todays draw:

1 7 9
5 10 16
7 15 17
15 17 19
9 10 16
3 12 18
7 12 18
8 16 18

The numbers drawn were 1, 10, 19.

If you get something for pick 1 right then in the above tickets I should have been a winner 4 times. Yet next to the drawn number it says no winners in the box.

Also how does one know if they win anything in the lottery, is it announced anywhere?

Sorry for the questions, just trying to get it straight as i know members are going to ask the same questions.

Andrew Green 10-10-2007 01:58 AM

Not announced anywhere, unless it is a full match.

With those 3 x 20 you would need 2 of 3 to win anything.

At the bottom of the casino setup screen it shows the minimum payouts for each number of hits. This is what you would get if you won and no tickets had been bought, however the jackpot goes up. In reality actual payouts will average about double that. Some smaller, some bigger.

On average you would be looking at a JP of 580 and a 2 of 3 win of 11.

Odds of a JP are 1 in 1140
2 of 3 1 in 22

The math behind it should provides a payout over time of about 100% no matter what values you choose. (I ran simulations of millions of draws across the whole range)

kylek 10-10-2007 04:16 AM

Thank you very much, that helps me and my members a lot!!

wilburshere 10-10-2007 08:12 AM

loving this mod thank you the slot machine awesome

eurofunny 10-10-2007 06:14 PM

Yes very nice mod thx. For the Future Version here are my wish:

Multiplayer Onlinescrabble like this one http://ryan.buterbaugh.org/wabble/ :)

hoopsta 10-10-2007 07:40 PM

where can I change Top 10 money winners to Top 25?

Mark.B 10-10-2007 07:48 PM

Looking good!

The slots game and the stats page are not covered in the who's online display plugin.

hoopsta 10-10-2007 07:55 PM

BTW - I can't even see the Top 10 stats

Andrew Green 10-10-2007 07:58 PM

Quote:

Originally Posted by hoopsta (Post 1357119)
BTW - I can't even see the Top 10 stats

Meaning you see less then 10? If that is the case then you probably just haven't had 10 people go into the casino yet ;)

If not what is your site's URL? ( the link in your profile is broken.)


All times are GMT. The time now is 04:04 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.02480 seconds
  • Memory Usage 1,825KB
  • 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
  • (6)bbcode_code_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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