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-24-2007 04:13 AM

Right under .50 :)

Just reuploaded it, a 2 was a 3, so it disappeared for a few seconds ;)

yoyoyoyo 10-24-2007 04:25 AM

Quote:

Originally Posted by Andrew Green (Post 1367216)
Right under .50 :)

Just reuploaded it, a 2 was a 3, so it disappeared for a few seconds ;)

yeah I saw that so I changed my "where is it?" post to a thanks post ;) lol

Andrew Green 10-24-2007 04:45 AM

my guess is that one of the files didn't overwrite properly, or a template needs reverting.

madotds 10-24-2007 05:03 AM

First of all THANK U for this great mod I have "Clicked Install" Voted For MOM and Rated ***** I am on V.40 and as soon as i have finished this post i will be upgrading :) I am very happy with this mod the way it is but if you find yourself running out of ideas and your getting bored:p maybe you could consider the possibility of the following adons.
  • option in admin cp to set custum % payout on slots etc so you can adjust it with ease
  • More than one instance of 10 player poker running at the same time for buisier forums. ( Not mine as yet )

Regards

Mark

leeman 10-24-2007 06:50 AM

Quote:

Originally Posted by samorite (Post 1366655)
got it running fine with Inferno Shout box pro but i had problems when i showed shoutbox on any of the casino games

hope that helps

Well as I said.

I have Lite and the funny thing now is when I move the Inferno Shoutbox: Deploy Shoutbox plugin to forum home complete (Wich disables the shoutbox for me) everything works...

Then when I move it back to global_complete the Casino dies.. (TexasHolem, Stud, Video Poker and Black Jack)

"Sniff"

I have temporary allowed guests to use the casino if someone wanna see the problem.

www.insanetrain.com/forums

Freesteyelz 10-24-2007 08:33 AM

Again, you're doing an awesome job, Andrew. :) I have a question:

I've read in this thread that $inpoker does not display in vBadvanced pages; it also doesn't display in Photoplog gallery or ibProArcade pages. That is when $inpoker is in the navbar.

So I added $inpoker in the footer template just as a test and it displayed in the vBadvanced, Photoplog gallery pages but not the ibProArcade pages. I thought that was interesting.

I understand that you can only support within the scope of your mod. Though, I'm wondering if there's a way to have $inpoker display in all pages by hook or edit of code?

Mark.B 10-24-2007 10:25 AM

Quote:

Originally Posted by Freesteyelz (Post 1367311)
Again, you're doing an awesome job, Andrew. :) I have a question:

I've read in this thread that $inpoker does not display in vBadvanced pages; it also doesn't display in Photoplog gallery or ibProArcade pages. That is when $inpoker is in the navbar.

So I added $inpoker in the footer template just as a test and it displayed in the vBadvanced, Photoplog gallery pages but not the ibProArcade pages. I thought that was interesting.

I understand that you can only support within the scope of your mod. Though, I'm wondering if there's a way to have $inpoker display in all pages by hook or edit of code?

The answer is, you can easily make it display in all pages.

I'm in an internet cafe at the moment so I can't post the exact instructions, however in a few hours I shall be at home and will do so.

The basics are:

vBadvanced, there is an option in the AdminCP (it's under page editing I think) , you can add a variable to a list (you miss off the $ at the start though, so just add inpoker)

Photoplog is much the same, there's an option in the AdminCP and you add the variable without the $ (so just add inpoker)

IBProArcade, you edit the file /arcade/functions.php, there is a line in there with a load of variables, and you add $inpoker to the end (this time you DO need the $ at the start). It needs a comma as well to separate it from the previous variable.

Sorry if this is bit vague, but I'll post exact instructions later on when I get home (uinless someone beats me to it).

Wolf_Hook 10-24-2007 10:45 AM

The addition of a percentage setting in the admin panel would be a god send as my board now has it's first millionaire.

Freesteyelz 10-24-2007 10:57 AM

@Mark.B:

Thanks a ton! I've managed to get $inpoker to work in Photoplog, vBadvanced pages and ibProArcade pages. I did not think about using the variable options for the first two.

1. Instructions for vBadvanced:

Admin CP --> vBa CMPS --> Default Settings --> Main Options --> "Portal Output Global Variables" add:

Code:

inpoker

2. Instructions for Photoplog:

Admin CP --> Photoplog Pro --> General Settings --> PhotoPlog Pro General Settings --> Global Variables and add:

Code:

inpoker

3. Instructions for ibProArcade:

In FTP go to arcade/functions/functions.php and find:

Code:

        global $header, $vbphrase, $vboptions, $stylevar, $headinclude, $bbuserinfo, $session, $show, $pmbox;

And replace it with:

Code:

        global $header, $vbphrase, $vboptions, $stylevar, $headinclude, $bbuserinfo, $session, $show, $pmbox, $inpoker;


Thanks again, Mark. :up:

BuckRodgers 10-24-2007 11:51 AM

okie done update got a few problems,

1, ninja slots. when you place your bet the reels just keep spinning never stop ?

2, more stats. when i click on the more stats still getting db error
Code:

Database error in vBulletin 3.6.8:

Invalid SQL:

                SELECT bet, won, cs1.switch2
                FROM casino_settings AS cs1
                LEFT JOIN casino_settings AS cs2 ON cs1.switch1 = cs2.switch1 
                LEFT JOIN casino_bet_stats ON cs1.switch1 = gameid
                WHERE cs1.settingname = 'gamename'
                AND cs2.settingname = 'gameactive'
                AND cs2.switch2 = '1'
                GROUP BY gameid;

MySQL Error  : The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is okay
Error Number : 1104
Date        : Wednesday, October 24th 2007 @ 01:46:45 PM
Script      : http://www.datadrome.co.uk/forum/casino.php?do=stats
Referrer    : http://www.datadrome.co.uk/forum/casino.php
IP Address  :
Username    : Samorite
Classname    : vb_database

3, admin cp, in "Games Available" when i try to update settings i get this db error

Code:

Database error in vBulletin 3.6.8:

Invalid SQL:

                SELECT cs1.switch1 AS gameid, cs1.switch2 AS gamefile, cs2.switch2 AS gamename, cs3.switch2 AS gamedesc, cs4.switch2 AS active
                FROM casino_settings AS cs1, casino_settings AS cs2, casino_settings AS cs3, casino_settings AS cs4   
                WHERE cs1.switch1=cs2.switch1
                AND cs1.switch1= cs3.switch1
                AND cs1.switch1= cs4.switch1
                AND cs1.settingname='gamefile'
                AND cs2.settingname='gamename'
                AND cs3.settingname='gamedesc'
                AND cs4.settingname='gameactive';

MySQL Error  : The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is okay
Error Number : 1104
Date        : Wednesday, October 24th 2007 @ 01:49:39 PM
Script      : http://www.datadrome.co.uk/forum/admincp/casino_settings.php?gamename1=Video+Poker&gamedesc1=Jacks+or+better+to+win.&gameactive1=1&gamename2=Blackjack&gamedesc2=Classic+Casino+Game.&gameactive2=1&gamename3=Sports+Betting+Pool&gamedesc3=Place+bets+on+upcoming+events.&gameactive3=1&gamename4=Lottery&gamedesc4=Buy+into+the+lottery&gameactive4=1&gamename5=Slots&gamedesc5=3+wheel+slot+machine&gameactive5=1&gamename6=Texas+Hold+&gamedesc6=Limit+game+of+Poker%2C+up+to+10+players&gameactive6=1&gamename7=Let+em+Ride&gamedesc7=5+Card+stud+variation&gameactive7=1&gamename8=Ninja+Slots&gamedesc8=3+wheel+ninja+slot+machine&gameactive8=1&submit=Update+Games
Referrer    : http://www.datadrome.co.uk/forum/admincp/casino_settings.php
IP Address  :
Username    : Samorite
Classname    : vb_database

any help is greatly recived as allways :)


All times are GMT. The time now is 07:58 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.04278 seconds
  • Memory Usage 1,760KB
  • 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
  • (6)bbcode_code_printable
  • (3)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