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)

Mark.B 10-22-2007 08:23 PM

I haven't got this option either.

Casino
Casino Settings
Sports Pool Groups
Sports Pool Events
Sports Pool Settle Events
Lottery Setup
Texas Hold em Setup

Andrew Green 10-22-2007 08:26 PM

Should be right here:

sinisterpain 10-22-2007 08:27 PM

Quote:

Originally Posted by Andrew Green (Post 1365647)
Strange, should be rendering that as a '

You can rename games and rewrite the descriptions in the CP, so change it there :)

Its in the template and the letemride.php file as well
Code:

$navbits = array();
        $navbits['casino.php'] = "Casino";
        $navbits[''] = "Let 'em Ride";
        $navbits = construct_navbits($navbits);


Mark.B 10-22-2007 08:31 PM

Quote:

Originally Posted by Andrew Green (Post 1366210)
Should be right here:

Ah I see, I thought it was an option in the menus on the left...got it now.

Andrew did you see my comment about the texasholdem ajax file? The 0.40 version seems to stop mine from working. I tried reverting the relevant templates etc but I couldn't make it work.

It loads and shows the "Start" button but won't go any further, even if you press the button.

Reverting to the previous file makes it work. Browser is Firefox.

Andrew Green 10-22-2007 09:14 PM

you have all 5 texasholdem files up and in place?

NeilK 10-22-2007 09:26 PM

Has something changed in the code for Video Poker and Slots? My biggest "degenerate" who I have reloaded with 100 in chips like 20 times, this afternoon turned $200 into $38,000. Most of that on VP but then some massive slot payouts too I'm told. Seems like an inside job ;).

towermatt 10-22-2007 09:42 PM

Quote:

Originally Posted by Andrew Green (Post 1366210)
Should be right here:

That seems really straight forward. I still don't have it after the upload.

all that I have in the download for AdminCP are

casino_lotto_setup.php
casino_sb_events.php
casino_sb_groups.php
casino_sb_settle.php
casino_settings.php
casino_texasholdum.php

All were over written in the most recent upload.

I'd be happy to give your signon admin privileges if you would like to have a look Andrew

Mark.B 10-22-2007 09:42 PM

Quote:

Originally Posted by Andrew Green (Post 1366243)
you have all 5 texasholdem files up and in place?

I have four in the /casino/ folder and one in the /admincp/folder.

ry215 10-22-2007 09:45 PM

Where can I change the default $250 to $0 for new user. Which table or template? Thanks!

Mark.B 10-22-2007 09:56 PM

Quote:

Originally Posted by ry215 (Post 1366264)
Where can I change the default $250 to $0 for new user. Which table or template? Thanks!

This actually involves a database edit, unless I've missed something obvious. You'll need phpMyAdmin or similar.

Edit the table 'user', and find the row 'casino_cash' in the structure. Edit this and change the value 'Default' to '0'.

I always advise backing up your database first before altering it directly...in this case you could just back up the structure and data for the "user' table rather than the entire database. Easy enough to restore it then if anything goes wrong.

ry215 10-22-2007 10:18 PM

Mark, it works! Thanks for your quick help!

ry215 10-22-2007 10:22 PM

Andrew, thanks for the casino mode. Can't wait for some more multiplayers games such as Crap and Roulette.

What a great and easy-install mode.

NeilK 10-22-2007 10:34 PM

Quote:

Originally Posted by NeilK (Post 1366248)
Has something changed in the code for Video Poker and Slots? My biggest "degenerate" who I have reloaded with 100 in chips like 20 times, this afternoon turned $200 into $38,000. Most of that on VP but then some massive slot payouts too I'm told. Seems like an inside job ;).

Looks like part of the problem is payouts on Jacks or Better hands (AKA High Pair). The user bets 1000, gets a pair of kings and is paid 2000. In typical casino video poker, the user would only break even (be paid 1000). The payout chart should be multiplied by the bet and that given to the winner.

I just bet 10, got two pair and was paid 30. (In my thinking, I should only get 20 or double my bet).

Maybe this is intentional and if so I can accept that. I just wanted to point ot that it's different than the VP machine at the casinos I go to.

Thanks for this cool hack, my users love it.

NeilK 10-22-2007 10:56 PM

Ditto on payouts for Let It Ride.

Mark.B 10-22-2007 10:59 PM

I see we have now broken 200 installs!

This modification has certainly caught the imagination, and it's extremely popular on my site.

I would hope that this will be a dead cert for the next Mod of the Month award now.

towermatt 10-22-2007 11:02 PM

I'll vote it in, its amazing.

I still can't see the field to let others add/edit sports pools but that is minor on this great mod.

not to mention, its probably my fault. Just can't figure out how.

Mark.B 10-22-2007 11:16 PM

Quote:

Originally Posted by towermatt (Post 1366325)
I'll vote it in, its amazing.

I still can't see the field to let others add/edit sports pools but that is minor on this great mod.

not to mention, its probably my fault. Just can't figure out how.

It took me a bit to find it, but if you have uploaded the casino_settings.php file from 0.40 in the admin panel, then go to:

AdminCP > Casino > Casino Settings

It is the third option down (Sportspool admin usergroups)

Attachment 71380

Tulsa 10-22-2007 11:22 PM

Quote:

Originally Posted by Mark.B (Post 1366322)
I see we have now broken 200 installs!

This modification has certainly caught the imagination, and it's extremely popular on my site.

I would hope that this will be a dead cert for the next Mod of the Month award now.

Already nominated.

ry215 10-22-2007 11:28 PM

Quote:

Originally Posted by NeilK (Post 1366307)
Looks like part of the problem is payouts on Jacks or Better hands (AKA High Pair). The user bets 1000, gets a pair of kings and is paid 2000. In typical casino video poker, the user would only break even (be paid 1000). The payout chart should be multiplied by the bet and that given to the winner.

I just bet 10, got two pair and was paid 30. (In my thinking, I should only get 20 or double my bet).

Maybe this is intentional and if so I can accept that. I just wanted to point ot that it's different than the VP machine at the casinos I go to.

Thanks for this cool hack, my users love it.


:) oopppsss you're right!

towermatt 10-23-2007 12:38 AM

Quote:

Originally Posted by Mark.B (Post 1366329)
It took me a bit to find it, but if you have uploaded the casino_settings.php file from 0.40 in the admin panel, then go to:

AdminCP > Casino > Casino Settings

It is the third option down (Sportspool admin usergroups)

Attachment 71380

Thanks Mark,

I did go back and do a full upload and studied that screen shot but the option is simply not there for me, its kind of weird because the instructions are totally straight forward.

scratch that, I got it now!! Thanks for the help.

I take every file in the folder and upload it when I do these but I brought over the one you mentioned one more time and its there. Serious user error somehow.

towermatt 10-23-2007 01:08 AM

And now I am not sure where to go to edit them :D

Wow! I'm high maintenance.

Andrew Green 10-23-2007 02:29 AM

Quote:

Originally Posted by NeilK (Post 1366319)
Ditto on payouts for Let It Ride.

It was intentional, still experimenting a little, it was the other way before. Will likely end up using standard casino payouts in the end, and having the ability to edit them through the admincp if desired.

Quote:

Originally Posted by Mark.B (Post 1366271)
This actually involves a database edit, unless I've missed something obvious. You'll need phpMyAdmin or similar.

Nothing missed, I will eventually get a option in there to change this through the admincp rather then having to go to phpmyadmin though.


Quote:

Originally Posted by towermatt (Post 1366394)
And now I am not sure where to go to edit them :D

Wow! I'm high maintenance.

Edit what?

xxxsaint 10-23-2007 02:54 AM

Is there any way to make the texas hold'em table contain a background image so we can create our own custom " table tops " ?

hoof 10-23-2007 02:54 AM

Installed, had the adminCP missing issue on V34 but V40 is running smooth :) Thanks for this cool mod, my users are loving it.

Andrew Green 10-23-2007 02:57 AM

Quote:

Originally Posted by xxxsaint (Post 1366435)
Is there any way to make the texas hold'em table contain a background image so we can create our own custom " table tops " ?

not yet, by the time this hits that 1.0 release there will be more options for customization

Vi3t4Lov3 10-23-2007 03:22 AM

Quote:

Originally Posted by sandt38 (Post 1364372)
in .33 I saw apostrophes causing errors. It was with user names, however. It doesn't appear to be an issue with .34 Try removing it.




And here is the file for the upload. It includes all the markers from 1-10,000, not just the 5,000 and 10,000. Also, if you have a black or dark background the 10,000 chip has an outer glow, to make it stand out.

awesome ...I Appreciate that ....very helpful

pitzerwm 10-23-2007 03:35 AM

Looks like a great add on, but I was over at Dark Tower's and played Video Poker, at one point I had $168 and bet $100, it doesn't show me what cards replaced the discarded just comes up with "a washer on a string...." statement. The only thing to was to go back to Casino and then Video Poker again, it was showing $68, I play a bit more and got down to $18 I bet $10 and it does the same thing. A minor bug, I'd imagine.

Andrew Green 10-23-2007 03:48 AM

It is minor, and it should be fixed with the latest (0.40) release.

The Bish 10-23-2007 04:16 AM

Pure Greatness!

thunder_sti 10-23-2007 04:27 AM

Clicked Installed !!

1st time go--No issues--currently running great w/3.6.7 (Pl1) :)

Thanks

Cigarcritic 10-23-2007 05:37 AM

Andrew....Please add "Three Card Poker" to the wish list.

You're doing an excellent job and thanks for adding Let'em Ride and juicing up the Betting Pool.

teedizz 10-23-2007 08:13 AM

Thank you for this hack. I just wanted to report one small bug. Im currentl using the vbcredits intergration which is embedded in the coding and for some reason when I click on " more Stats " under casino.php, under " Richest Players " the Amount field is blank although the display of the richest usernames is correct. It just doesnt show the amount but order of the richest members is correct, a bit wierd....lol

jasculs 10-23-2007 08:37 AM

Does anyone know if it's possible to cheat at javascript or ajax based games because I have two people who have ridiculous point totals from the casino right now and I can't quite seem to see how it's is possible.

I have everyone 5,000 points and the most people can bet on a game is 100 points because that is the highest chip.

The person with the highest points from the casino by this Wednesday will win a prize.

One person had 1,200 points at one time on about last Thursday. Now they have over 110,000 points and their totals seem to be going up very fast. How is this? It just doesn't seem possible. If anyone knows can you shoot me a pm or maybe this person and one other person are just really lucky.

There were 25 people in this contest and more then half are eliminated because they lost all of their points.

Thanks

BuckRodgers 10-23-2007 09:02 AM

1. is there anyway you could incorporate a start button for Texas hold em ?
as when you have a few players in there its hard to get them all to start @ the same time

2. had 9 players in the room last night and as soon as the tenth player entered the room starting kicking players ?

3. still getting db error on clicking more stats
Code:

Database error in vBulletin 3.6.8:

Invalid SQL:

                SELECT sum(bet) AS bet, sum(won) AS won, cs1.switch2
                FROM casino_settings AS cs1, casino_settings AS cs2, casino_bet_stats
                WHERE cs1.settingname = 'gamename'
                AND cs2.settingname = 'gameactive'
                AND cs1.switch1 = gameid
                AND cs2.switch2 = '1'
                AND cs1.switch1 = cs2.switch1
                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

any help greatly received :)

SLY LS1 10-23-2007 10:09 AM

Hope you don't mind Andrew but I have made some new buttons, just tidied them up a bit, zip attached if anyone wants to use them.

If anyone would like differant colours etc, let me know and ill do some.

Cheers
SLY

SLY LS1 10-23-2007 10:15 AM

oh and

leeman 10-23-2007 10:25 AM

Quote:

Originally Posted by teedizz (Post 1366583)
Thank you for this hack. I just wanted to report one small bug. Im currentl using the vbcredits intergration which is embedded in the coding and for some reason when I click on " more Stats " under casino.php, under " Richest Players " the Amount field is blank although the display of the richest usernames is correct. It just doesnt show the amount but order of the richest members is correct, a bit wierd....lol


I noticed that too ...

It "fixed" it self when they used the casino.

leeman 10-23-2007 10:26 AM

I must ask....

Anyone here who have got the casino installed successfully WITH the Inferno Shout box lite...????

BuckRodgers 10-23-2007 10:37 AM

Quote:

Originally Posted by leeman (Post 1366651)
I must ask....

Anyone here who have got the casino installed successfully WITH the Inferno Shout box lite...????

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

Tulsa 10-23-2007 10:39 AM

I had this reported to me from a user.

Quote:

Tonight, there seemed to be a bug that forced a player to sit out the next hand if they folded. We also got booted on occasion, and often in the middle of a hand.
I've seen a lot of people get booted myself when playing and I've not played it since the .40 update so I've not seen where someone is forced to sit out the next hand if they fold.


All times are GMT. The time now is 03:12 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.05995 seconds
  • Memory Usage 1,845KB
  • 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
  • (18)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
  • (40)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