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)

ezurick 09-26-2008 11:55 AM

Quote:

Originally Posted by Red Blaze (Post 1628972)
Not sure if this has been asked, yet. I read and re-read your first post, but still found no solution. I see two versions of the zip. Do I install .91 first, then upgrade to .92? Or can I install version .92 right off the bat?

Yes, install only one of them. The author just left an older version online if you prefer it... but not sure why anyone would want it. Also, if you use this with vbcredits, be sure to weed back through the thread and see manual updates. I don't rmemeber them and I am not sure how far back, but there are a couple to get it working right.

pmcnamara 09-26-2008 03:04 PM

any known time table for the recode ?

developer hasn't been online since june ?

shaunh 09-29-2008 06:41 AM

For time management, does this mod use the vbulletin clock or it's own clock?

I'm considering moving from vBookie to the sports pool in this mod because vBookie will not observe the new US daylight savings, though the rest of the board does.

WildFire.ca 09-29-2008 06:14 PM

I am getting this error "This game is AJAX powered and requires JavaScript to be turned on" It seemed to be working at first now its causing some problems. The problem seems to be with hold'em but one of the members were getting the error in 21 also. My site url is www.couchlockcafe.com if you want to take a look

troybtj 09-30-2008 05:45 PM

Version 0.92 Installed and working in vB 3.7.3 PL1. This add-on ROCKS!

Warning - Raw Database and system changes used below. Do not attempt if changes aren't clear, you could hork your entire installation!

That aside.. The Casino worked OK for a while, then I was getting the "This game is AJAX Powered", or random user page reloads, booting them. By this time, myself, as well as a huge mob of members were... unhappy addicts, and needed their casino back! This is the most AWESOME add-on I've ever come across, by the way! First I unloaded/reloaded add-on. Finally corrected errors by optimizing the DB Tables, then tweaking php5-xcache module options. Optimizer/Cache could also be Zend Server, or any other PHP caching optimizer, something vBulletin recommends for all larger installations.

Below are the general steps I took, which reduced server load greatly, and increased speed by ∞, followed by "Suggestions for next version".

*Note: The below does depend on free real RAM for caching, so if server is digging heavily into swap space to start with, the below may not be as magic as they were for this case, but should still help.

What I did to speed up existing code database access by ∞, most commands entered at mysql client prompt:
  • Change the "text" field types in database to varchar(x) with x being between 20 and 64 for most fields, like game name, in all tables. Make sure the field is big enough, but not overboard, e.g. 200 chars for 'username'. Any time a text field is used in query, it forces a temp table, no matter how small the query. The only fields that couldn't be readily changed were the PHP code storage.
  • Add indexes to all tables linked or used in conditions, pretty good performance increase, small DB size increase due to small table size.
  • Once most "text" fields in most casino_* files were changed to "varchar()", then indexed if needed:
  • Run ANALYZE TABLE casino_<tablename> - for each table.
  • If required, install php5-xcache module (or similar) and tweak settings.

WishList for next version
  • Would LOVE to have plugin use the vbulletin Datastore memcache config if enabled.
  • Lacking full memcache ability, ability to use the php5-memcache module if available, greatly reducing overhead from very frequent DB Reads

Details: Easy-ish explanation, hosting providers may be able/eager to help with this as well. In my.cnf, enable slow-query-log at 1-3 seconds, AND "log queries without indexes". For each <query> that shows up in mysql-slow, run "Explain <query>" in mySQL CLI, if it doesn't show indexes, add them to the fields in search portion of query (where clause, in, =, etc), especially if under "Extra" it says "using filesort" or similar, those are killing performance, especially at the rate the query is called.

Hope this helps some that were having problems with overloading/speed problems.

shot2bits 10-02-2008 09:21 AM

Hi, wondered if someone may be able to help.

I reverted my default template back and all of a sudden the casino (and arcade) vanished from the navbar.

They appear to both still be installed and active according to the admin panel yet thay are no longer on the navbar.

Any ideas?

Thanks, Rob.

troybtj 10-02-2008 09:55 AM

Quote:

Originally Posted by shot2bits (Post 1635462)
Hi, wondered if someone may be able to help.

I reverted my default template back and all of a sudden the casino (and arcade) vanished from the navbar.

They appear to both still be installed and active according to the admin panel yet thay are no longer on the navbar.

Any ideas?

Thanks, Rob.

In "navbar" template in your theme under AdminCP -> Style Manager -> <<expand>>
Search for:
Code:

<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
Above that, add in the template:
Code:

<td class="vbmenu_control"><a href="casino.php?$session[sessionurl]">$vbphrase[casino_casino]</a></td>
That puts the link to the left of Calendar, the default. You can put it in a different spot as well, make sure to not miss a tag for an <if> statment, or put it inside another <td></td>

If you use template-modifications add on, that might be a better way to do the edits.

Disclaimer: I am not the developer of this, or affiliated in any way, just thought I'd help.

RichieBoy67 10-03-2008 06:29 AM

I am sorry I haven't read through this thread yet-- Is there a version for 3.7+ coming out any time soon??

Thanks

dxlwebs 10-03-2008 02:31 PM

does vbcredits work with this ?

sandt38 10-07-2008 12:41 AM

Quote:

Originally Posted by RichieBoy67 (Post 1636260)
I am sorry I haven't read through this thread yet-- Is there a version for 3.7+ coming out any time soon??

Thanks

A friend of mine had issues with his 3.7.X board running .92. They were freezing up constantly. I sent him .91 (I have every version of every software I load on my hard drive at home, in case I need to revert) and it ran smoothly for him. At that time .91 wasn't up here. I can only assume he realized .91 works better with 3.7 then .92 did.

I had to switch to 3.7.3 2 weeks ago (had to get vBCommerce running ;) ) and have also had no issues with .91 running.

Quote:

Originally Posted by dxlwebs (Post 1636487)
does vbcredits work with this ?

Yes, just change the cash field in the adminCP to "credits".


All times are GMT. The time now is 01:01 AM.

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.04298 seconds
  • Memory Usage 1,752KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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