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-02-2007 12:02 PM

Quote:

Originally Posted by kylek (Post 1351234)
Only thing I can see right now is that it names the casino - Innovative Martial Arts Casino. Will have to search to see where it can be changed.

I'll track that down and fix it for the next update, thought I'd go all of them.

Quote:

A question - When setting up first draw in Lottery the jackpot had a number already set, I think in one site it was $24320.00 Is this resettable? It would be nice if we could have a set amount to start out with.
Draw amount is based off of the range and number of balls and price, it's setup to calculate a jackpot that will maintain about 100% win, and increases over time until it's won. I could add a option to manually edit it though.

Quote:

A suggestion or two - instead of showing richest users top 10 could it maybe just show the top 10 members who have made the most in the casino? Have it separate from total points (use vbcredits which has option to keep amounts private) as some members do not like others seeing how much they have.
Yes, it does track a number of stats that aren't being used for anything yet, so in later versions there should be more available.

Quote:

And the possibility of adding a $25 or $50 token for the big spenders. So poker and blackjack would have $1, $5, $10, and $25 or $50.00
Yes, it's in the plans, as well as a switch to allow each amount in the admincp.

kiril_cvetkov 10-02-2007 12:34 PM

When i want to uninstall this modification - i get mysql error :(

HTML Code:

Database error in vBulletin 3.6.8:

Invalid SQL:
ALTER TABLE user DROP 'casino_cash';

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 ''casino_cash'' at line 1
Error Number : 1064
Date        : Tuesday, October 2nd 2007 @ 07:29:01 AM
Script      : http://www.bryansrequestsite.com/forum/admincp/plugin.php?do=productkill
Referrer    : http://www.bryansrequestsite.com/forum/admincp/plugin.php?do=productdelete&productid=casino&s=
IP Address  : 85.30.68.39
Username    : kiril_Cvetkov
Classname    : vb_database

Can i uninstall this when i disable the hooks
HTML Code:

define('DISABLE_HOOKS', true);

Andrew Green 10-02-2007 12:52 PM

Quote:

Originally Posted by kiril_cvetkov (Post 1351405)
When i want to uninstall this modification - i get mysql error :(

The update to .11 should fix that. You can also manually fix the uninstall code:

Change the uninstall code for the product, first line to:

Code:

$query = "ALTER TABLE ". TABLE_PREFIX . "user DROP COLUMN 'casino_cash'";
Adding "COLUMN" in between "DROP" and "'casino_cash'"

acegames 10-02-2007 01:26 PM

Quote:

Originally Posted by Andrew Green (Post 1351381)
as in vbookie_cash?

in the setup change the cash field to "vbookie_cash"


Perfect thankyou :)

ChU v2 10-02-2007 02:10 PM

Looks good, I'll be watching this mod for a texas hold em integration and multiplayer will be great.

ArchangelX 10-02-2007 05:53 PM

Anyway to integrate this with the other casino mod available? Thanks!

And will this work on 3.5? Thanks again!

Andrew Green 10-02-2007 05:57 PM

Quote:

Originally Posted by ArchangelX (Post 1351591)
Anyway to integrate this with the other casino mod available? Thanks!

I'm not sure which other casino mod you mean, but I imagine that they would have no problem sharing the same cash. In the admincp you can set the name of the cash field to match the one the other casino uses.

Quote:

And will this work on 3.5? Thanks again!
I see no reason why it shouldn't, but haven't actually tried it.

ArchangelX 10-02-2007 06:01 PM

Thanks for the quick response!

It's here: https://vborg.vbsupport.ru/showthread.php?t=158139

It's been out for a while now...and has been constantly updated for each new version of VB. One of the oldest hacks, I believe.

I'll try it out...unfortunately, I'll have to change the casino.php file's name. Thanks!

Andrew Green 10-02-2007 06:03 PM

Quote:

Originally Posted by ArchangelX (Post 1351595)
I'll try it out...unfortunately, I'll have to change the casino.php file's name. Thanks!

Might be trickier then it sounds, all of the links go through "casino.php", so changing it without also changing any reference to it in the templates and files will break it. Which of course would need to be done again with every update...

stangger5 10-02-2007 06:08 PM

I have them both installed with no problems...

Casino for vBulletin uses casino.php
and
vbcasino uses lottery.php


All times are GMT. The time now is 11:07 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.02948 seconds
  • Memory Usage 1,747KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_html_printable
  • (9)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