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 11-29-2007 02:10 AM

Quote:

Originally Posted by Wolf Link (Post 1391384)
Do you know if this works with VBCredits?


It does, works with just about any points / cahs system. You just change the field in the admincp and turn off anything that overlaps. (ex. Posting bonuses)

mikeylikesitz 11-29-2007 02:57 AM

can the games amounts be changed on how much can be bet and won?

c4smok 11-29-2007 04:22 AM

hmm is there a good shop I can intergrate with this?

shaynehammy 11-29-2007 06:15 AM

I got this error?

Database error in vBulletin 3.6.4:

Invalid SQL:
ALTER TABLE user ADD casino_cash integer default 250;

MySQL Error : Error on rename of './shayneh_vbupgrade/user' to './shayneh_vbupgrade/#sql2-6ca-110a566' (errno: 145)
Error Number : 1025
Date : Thursday, November 29th 2007 @ 02:13:29 AM
Script : http://www.thechiefbaboon.com/Forums...=productimport
Referrer : http://www.thechiefbaboon.com/Forums...?do=productadd
Classname : vb_database

Mine isnt the Duplicate name problem but appears to be different???


EDIT -OH NO!!! I cant get into my forums anymore as i have a database error!! HELP!!

EDIT 2 - Phew. when i tried to install this mod, it somehow locked the USER table on my SQL server or something to that effect. forum is up but not trying to install that again until someone tells me why it fialed the first time.

ragtek 11-29-2007 06:28 AM

it would be better/nicer if you change Casino: WOL display
PHP Code:

if (($userinfo['activity'] == 'casino') || ($userinfo['activity'] == 'blackjack') ||($userinfo['activity'] == 'videopoker')|| ($userinfo['activity'] == 'letemride')|| ($userinfo['activity'] == 'sportspool') || ($userinfo['activity'] == 'lottery')|| ($userinfo['activity'] == 'slots')|| ($userinfo['activity'] == 'texasholdem')|| ($userinfo['activity'] == 'stats')|| ($userinfo['activity'] == 'roulette')) 
{
    
$userinfo['where'] = "<a href=\"casino.php\">Casino</a>";
    if (
$userinfo['activity'] == 'casino')        
        
$userinfo['action'] = "In Casino";
    else if (
$userinfo['activity'] == 'blackjack')        
        
$userinfo['action'] = "Playing Blackjack";
    else if (
$userinfo['activity'] == 'roulette')        
        
$userinfo['action'] = "Playing Roulette";
    else if (
$userinfo['activity'] == 'videopoker')        
        
$userinfo['action'] = "Playing Video Poker";
    else if (
$userinfo['activity'] == 'lottery')        
        
$userinfo['action'] = "Playing the Lottery";
    else if (
$userinfo['activity'] == 'sportspool')        
        
$userinfo['action'] = "Placing bets";
    else if (
$userinfo['activity'] == 'slots')        
        
$userinfo['action'] = "Playing Slots";
    else if (
$userinfo['activity'] == 'stats')        
        
$userinfo['action'] = "Viewing Casino statistics";
    else if (
$userinfo['activity'] == 'letemride')        
        
$userinfo['action'] = "Playing Let em Ride";
    else if (
$userinfo['activity'] == 'texasholdem')        
        
$userinfo['action'] = "Playing Texas Hold em";
    
$handled true;


into a swich case part

buurman 11-29-2007 07:02 AM

Quote:

Originally Posted by ragtek (Post 1391510)
it would be better/nicer if you change Casino: WOL display
PHP Code:

if (($userinfo['activity'] == 'casino') || ($userinfo['activity'] == 'blackjack') ||($userinfo['activity'] == 'videopoker')|| ($userinfo['activity'] == 'letemride')|| ($userinfo['activity'] == 'sportspool') || ($userinfo['activity'] == 'lottery')|| ($userinfo['activity'] == 'slots')|| ($userinfo['activity'] == 'texasholdem')|| ($userinfo['activity'] == 'stats')|| ($userinfo['activity'] == 'roulette')) 
{
    
$userinfo['where'] = "<a href=\"casino.php\">Casino</a>";
    if (
$userinfo['activity'] == 'casino')        
        
$userinfo['action'] = "In Casino";
    else if (
$userinfo['activity'] == 'blackjack')        
        
$userinfo['action'] = "Playing Blackjack";
    else if (
$userinfo['activity'] == 'roulette')        
        
$userinfo['action'] = "Playing Roulette";
    else if (
$userinfo['activity'] == 'videopoker')        
        
$userinfo['action'] = "Playing Video Poker";
    else if (
$userinfo['activity'] == 'lottery')        
        
$userinfo['action'] = "Playing the Lottery";
    else if (
$userinfo['activity'] == 'sportspool')        
        
$userinfo['action'] = "Placing bets";
    else if (
$userinfo['activity'] == 'slots')        
        
$userinfo['action'] = "Playing Slots";
    else if (
$userinfo['activity'] == 'stats')        
        
$userinfo['action'] = "Viewing Casino statistics";
    else if (
$userinfo['activity'] == 'letemride')        
        
$userinfo['action'] = "Playing Let em Ride";
    else if (
$userinfo['activity'] == 'texasholdem')        
        
$userinfo['action'] = "Playing Texas Hold em";
    
$handled true;


into a swich case part

And this does exactly? or where to change this, always in for something new to try :)

GrandHolyKing 11-29-2007 08:33 AM

Quote:

Originally Posted by shaynehammy (Post 1391506)
I got this error?

Database error in vBulletin 3.6.4:

Invalid SQL:
ALTER TABLE user ADD casino_cash integer default 250;

MySQL Error : Error on rename of './shayneh_vbupgrade/user' to './shayneh_vbupgrade/#sql2-6ca-110a566' (errno: 145)
Error Number : 1025
Date : Thursday, November 29th 2007 @ 02:13:29 AM
Script : http://www.thechiefbaboon.com/Forums...=productimport
Referrer : http://www.thechiefbaboon.com/Forums...?do=productadd
Classname : vb_database

Mine isnt the Duplicate name problem but appears to be different???


EDIT -OH NO!!! I cant get into my forums anymore as i have a database error!! HELP!!

EDIT 2 - Phew. when i tried to install this mod, it somehow locked the USER table on my SQL server or something to that effect. forum is up but not trying to install that again until someone tells me why it fialed the first time.

I also get this error, here is what mine says

Database error in vBulletin 3.6.8:

Invalid SQL:
ALTER TABLE user ADD casino_cash integer default 250;

MySQL Error : Duplicate column name 'casino_cash'
Error Number : 1060
Date : Thursday, November 29th 2007 @ 11:27:57 AM
Script : http://forum.multiformat-gamer.co.uk...=productimport
Referrer : http://forum.multiformat-gamer.co.uk...?do=productadd
IP Address :xx.xx.xx.xxxx

ezurick 11-29-2007 09:55 AM

Quote:

Originally Posted by Andrew Green (Post 1391244)
The phrase casino_currency_maker is what you are looking for. Also the change you made to the postbit said "$$cash", change the first "$" there

Ummm... can you explain what or how to change the Phrase please. I see the casino_currency_marker <-- note marker, not maker in my forum, is a $, but I see no way to edit this...

And the postbit change? Not sure what to do there either... Sorry, but me is dumb when it comes to php stuff. I know 'C' and you would think I would pick up on php... but things just ain't the same.

please help???

dodgeboard.com 11-29-2007 11:28 AM

Quote:

Originally Posted by GrandHolyKing (Post 1391532)
I also get this error, here is what mine says

Database error in vBulletin 3.6.8:

Invalid SQL:
ALTER TABLE user ADD casino_cash integer default 250;

MySQL Error : Duplicate column name 'casino_cash'
Error Number : 1060
Date : Thursday, November 29th 2007 @ 11:27:57 AM
Script : http://forum.multiformat-gamer.co.uk...=productimport
Referrer : http://forum.multiformat-gamer.co.uk...?do=productadd
IP Address :xx.xx.xx.xxxx

No, THis is a totally different error and a known one at that. See this thread for the fix:

http://www.vbgaming.org/forum/showthread.php?t=47

Drop the column, reinstall- you should be fine.

dodgeboard.com 11-29-2007 11:49 AM

Quote:

Originally Posted by ezurick (Post 1391562)
Ummm... can you explain what or how to change the Phrase please. I see the casino_currency_marker <-- note marker, not maker in my forum, is a $, but I see no way to edit this...

And the postbit change? Not sure what to do there either... Sorry, but me is dumb when it comes to php stuff. I know 'C' and you would think I would pick up on php... but things just ain't the same.

please help???

This is a reoccuring subject on the thread.

Try searching this thread for "vbcredits". There are 54 posts that discuss it and several that explain how to implement vbcredits into the casino.

Also see:
http://www.vbgaming.org/forum/showthread.php?t=72


To get rid of the casino cash displayed in the posts:
To edit your postbit template, go into the styles & templates for the default style, find the posting templates and find postbit, open it, find the following and delete it:

Quote:

<br />Casino Cash: $$post[casino_cash]


All times are GMT. The time now is 10:11 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.16437 seconds
  • Memory Usage 1,799KB
  • 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_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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