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-15-2007 02:28 AM

Quote:

Originally Posted by hornstar1337 (Post 1360197)
bug in blackjack: if you get for eg. 2 3's then you split them, then you get a 3 for the top one, you can split them again. I believe you are only meant to be able to split once right?

That was intentional, just depends on the table. Sometimes you can, other times not.

GoTTi 10-15-2007 02:29 AM

the uninstall for this is not working right. gives a mysql error

GoTTi 10-15-2007 02:30 AM

i would like all my users to start with $0 bankroll and have to donate to get funds on their casino. how can that be setup?

GoTTi 10-15-2007 02:36 AM

getting problems with this after uninstall. wont remove itself, and it wont overwrite itself to reinstall.

what do i need to remove from my mysql db to completely remove this mod from my forum?

GoTTi 10-15-2007 02:38 AM

ok i got it removed from deleting the casino cash field from users....

the uninstall needs some work. i have reinstalled it, please provide answers for my last few questions if you can.

1. can the cash amount be set to $0 for everyone? i rather have donating users or users donate to have playable funds in their account.

Andrew Green 10-15-2007 02:38 AM

Quote:

Originally Posted by GoTTi (Post 1360336)
getting problems with this after uninstall. wont remove itself, and it wont overwrite itself to reinstall.

what do i need to remove from my mysql db to completely remove this mod from my forum?

I am guessing you updated from .1 along the way?

uninstall code for the mod should have this next to .1 (product manager -> edit)

Code:

$query = "ALTER TABLE ". TABLE_PREFIX . "user DROP COLUMN 'casino_cash'";
$db->query($query);

$query = "DROP table casino_settings";
$db->query($query);

$query = "DROP table casino_vidpok_dealt";
$db->query($query);

$query = "DROP table casino_blackjack_dealt";
$db->query($query);

$query = "DROP table casino_sb_groups";
$db->query($query);

$query = "DROP table casino_sb_events";
$db->query($query);

$query = "DROP table casino_sb_outcomes";
$db->query($query);

$query = "DROP table casino_sb_bets";
$db->query($query);

$query = "DROP table casino_bet_stats";
$db->query($query);

$query = "DROP table casino_lotto_tickets";
$db->query($query);

$query = "DROP table casino_lotto_draw";
$db->query($query);


If you want to do it manually all of the tables that start with "casino_" as well as the casino_cash field from the user table need to be removed.

Andrew Green 10-15-2007 02:41 AM

Quote:

Originally Posted by GoTTi (Post 1360339)
ok i got it removed from deleting the casino cash field from users....

the uninstall needs some work. i have reinstalled it, please provide answers for my last few questions if you can.

1. can the cash amount be set to $0 for everyone? i rather have donating users or users donate to have playable funds in their account.

yes, sort of. The option to set that isn't built in, but can be done manually.

You need to change the default value for casino_cash from 250 to 0. Are you using phpmyadmin? it can be done through that fairly simply.

GoTTi 10-15-2007 02:46 AM

i registered a new account and it gave my new test account the default $250. how can that be set to $0????

Andrew Green 10-15-2007 02:49 AM

Quote:

Originally Posted by GoTTi (Post 1360346)
i registered a new account and it gave my new test account the default $250. how can that be set to $0????

Did you change the default value in your table?

GoTTi 10-15-2007 02:52 AM

on the slots if there is not enough cash, a prompt box pops up saying so....

can that be a option on all the games ? i see when a chip is clicked, it takes us to another page, i rather have the popup box.


All times are GMT. The time now is 03:19 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.04684 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
  • (1)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