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)

trackpads 10-01-2007 03:24 AM

Installed but how comes there is blackjack in the demo screenshots but not in the game?

trackpads 10-01-2007 03:27 AM

Never mind, I had the other casino installed, now installing this one :)

Andrew Green 10-01-2007 03:30 AM

Found the problem with it not loading, I have some paths hardcoded into templates that I forgot I changed, vbulletin doesn't really care for having things outside of the main forum folder.

Temporary fix:

in headinclude:

change
HTML Code:

<script type="text/javascript" src="clientscript/vbulletin_global.js?v=$vboptions[simpleversion]"></script>
<if condition="$show['popups']"><script type="text/javascript" src="clientscript/vbulletin_menu.js?v=$vboptions[simpleversion]"></script></if>

to:

HTML Code:

<script type="text/javascript" src="/forum/clientscript/vbulletin_global.js?v=$vboptions[simpleversion]"></script>
<if condition="$show['popups']"><script type="text/javascript" src="/forum/clientscript/vbulletin_menu.js?v=$vboptions[simpleversion]"></script></if>

replacing "/forum/" with whatever folder your forum is in.

kylek 10-01-2007 03:45 AM

That fixed it for me, the only thing I cant seem to show is the lottery, playing with the settings right now. Looks good though.

stangger5 10-01-2007 03:58 AM

My forum and everything is in the root folder...I renamed the index.php file to forum.php..
Theres no forum folder..

Andrew Green 10-01-2007 04:02 AM

Quote:

Originally Posted by stangger5 (Post 1350602)
My forum and everything is in the root folder...I renamed the index.php file to forum.php..
Theres no forum folder..


then just add a "/" in front ;)

ex:
HTML Code:

src="/clientscript/vbulletin_global.js?v=$vboptions[simpleversion]">

Andrew Green 10-01-2007 04:03 AM

Quote:

Originally Posted by kylek (Post 1350599)
That fixed it for me, the only thing I cant seem to show is the lottery, playing with the settings right now. Looks good though.

Ok... I know why, I'll stick a fix up tomorrow.

kylek 10-01-2007 04:20 AM

Quote:

Originally Posted by Andrew Green (Post 1350605)
Ok... I know why, I'll stick a fix up tomorrow.

Other than the lottery problem, this is cool, members are going to love this!!

Where do you change the percentages for the lottery? If you have it set for 3 balls right now it looks like 3/3 gets 50 %, 2/3 gets 50% and 1/3 gets 0

Andrew Green 10-01-2007 04:25 AM

Quote:

Originally Posted by kylek (Post 1350613)
Other than the lottery problem, this is cool, members are going to love this!!

Where do you change the percentages for the lottery? If you have it set for 3 balls right now it looks like 3/3 gets 50 %, 2/3 gets 50% and 1/3 gets 0

those percentages are misleading, that's not 50 percent of the pot, it also takes odds into account on that. It's more of a internal modification thing to keep the payout balanced that probably shouldn't be shown outside of testing purposes.

The Minimum payout is a better number to look at. But basically you have odds x percent = payout. In the end it should work out to about 100% payout overtime regardless of what numbers you put in for # of balls and range on them.

stangger5 10-01-2007 04:59 AM

Quote:

Originally Posted by Andrew Green (Post 1350604)
then just add a "/" in front ;)

ex:
HTML Code:

src="/clientscript/vbulletin_global.js?v=$vboptions[simpleversion]">


That fixed the loading problem...I still see a few red X`s...


All times are GMT. The time now is 05:09 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.02551 seconds
  • Memory Usage 1,745KB
  • 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
  • (4)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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