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)

dyna88 10-05-2007 10:49 AM

Quote:

Originally Posted by Andrew Green (Post 1352886)
double down rules vary, I choose to allow it at any time. Any number of cards, any total, and after splits. Splitting can be done more then once as well.

Could there be options added to not allow this?

Robp57 10-05-2007 11:57 AM

Hey Dyna.........
It is also a big problem with Blackjack and seeing the card total when the game starts....
You know how much the dealer has, but can only see the one card.....
Can you disable the point count untill you stay?
Love the upgrades too.....
But you should let all know which files need to be uploaded and which ones dont.....just to upgrade.....
I am very pleased with this and will continue to use.......Good Job

Now if we only had multiplayer......lol

Andrew Green 10-05-2007 12:54 PM

Blackjack showing the dealers hand is fixed, if you've installed between the update and this post replace the existing 'blackjack_deal.php' file with the new one attached to the main post.

Andrew Green 10-05-2007 12:56 PM

Quote:

Originally Posted by dyna88 (Post 1353383)
Could there be options added to not allow this?

Certainly possible, does anyone else want this?

I'm thinking 3 switches.
DD after split yes/no
DD with any number of cards yes/no
DD with any value (rather then just 10 & 11) yes/no

Andrew Green 10-05-2007 01:05 PM

Quote:

Originally Posted by Greek Wizard (Post 1353296)
Also, it works fine with vbbux (gasp, yes I am still using it), however when it comes up it has 4 decimal points, while the rest of my site only uses two. Alos, I am not sure how it is sorting the top 10, but it's not by value, seems to be user_id.

It was designed with integers as the cash value in mind, if vbux is the only one that uses a decimal it shouldn't be hard to add a few "round()" functions anywhere things get displayed, however bets will still only work in whole numbers. (ie you can't bet $1.50 in the sportspool)

I'll look into it though.

Quote:

Would like to see a roulette (maybe from the other less polished casino), and some other games if possible, but IMO you are off to an awesome start.
More games will come ;)

Mark.B 10-05-2007 06:26 PM

...

Andrew Green 10-05-2007 06:40 PM

did you make any template changes to the old version before updating? If so revert them, sounds like that is the problem. (casino templates, not any templates in there ;))

Mark.B 10-05-2007 06:46 PM

Looks like it might be that...I reverted the wrong one.....it's the _intro ones that need reverting. I only did the _main.

Thanks.

Greek76 10-05-2007 11:05 PM

Will this work with vbplaza?

Andrew Green 10-06-2007 12:18 AM

Quote:

Originally Posted by Greek76 (Post 1353783)
Will this work with vbplaza?

Yes, it will work with any cash field that is in the user table. You just have to set it in the admincp.

Jason Black 10-06-2007 01:16 AM

where does the casino.php file go?

Andrew Green 10-06-2007 01:25 AM

main forum folder, same place as "index.php"

if it's the site in your sigline: http://www.rapfeinds.com/casino.php

EmpireZ 10-06-2007 05:00 AM

Great Job Andrew.

One thing is that when members buy a lottery ticket, they don't have a way of getting back to the casino homepage. The navbar breadcrumb is forum and then under is blackjack, while they are in the lottery. Im using version 12.
Thanks !!

Andrew Green 10-06-2007 05:44 AM

Added to the list of things for the next update, which will be bigger and include a slots game as well as a few other configuration options :)

EmpireZ 10-06-2007 06:34 AM

Thanks.

I didn't have a navbar link either, maybe that had something to do with it. :p

Cigarcritic 10-06-2007 06:57 AM

Works great in 3.6.8!

The ticket price in the Lotto does not update. It's hung on $2.

Can we get a setting for the numbers that can be selected? I'd like to see "0"-"9" for a Pick Three, and the same for the number of balls. In Texas we have Pick Three, Just pick three numbers from "0" to "9". Better odds for a small group.

And a setting for how many ticket a User can buy per lottery. At $2 to $10 dollars, a user could buy an unlimited number of tickets.

For Video Poker and BlackJack, some custom button images would be nice.

A reset chips option for the users.

Thanks for this excellent hack and I'm looking forward to future updates. PM me your Paypal so I can send you a Donation.

AuroraStorm 10-06-2007 12:26 PM

This looks very interesting and promising. I'll upload when you finish beta testing. Multiplayer games is something my board eagerly awaits...

Question: is it possible to add a spades game or better yet, something like an Uno game? My members would never log off if we had those two games...

Andrew Green 10-06-2007 02:53 PM

Quote:

Originally Posted by Cigarcritic (Post 1353944)
Works great in 3.6.8!

The ticket price in the Lotto does not update. It's hung on $2.

It will when the current draw ends, changing the settings effects the next draw, but the one that is already running finishes before anything changes.

Quote:

Can we get a setting for the numbers that can be selected? I'd like to see "0"-"9" for a Pick Three, and the same for the number of balls. In Texas we have Pick Three, Just pick three numbers from "0" to "9". Better odds for a small group.
20 and 3 is as low as it goes right now, but allowing lower numbers shouldn't be a problem. 10 seems to mess up the payouts though, it ends up paying 135% or so over time, 15 is still good though :)

Quote:

And a setting for how many ticket a User can buy per lottery. At $2 to $10 dollars, a user could buy an unlimited number of tickets.
So you want a cap? Like no more then X tickets? ( I don't really see a reason to limit tickets to be honest, I can go to the corner store and buy as many as I like)

Quote:

For Video Poker and BlackJack, some custom button images would be nice.
Yes, but it was make everything work first, then make it pretty :D

Quote:

A reset chips option for the users.
I don't know, I just see users dropping the highest value they can into a high payout option and resetting until they win...

Quote:

Thanks for this excellent hack and I'm looking forward to future updates. PM me your Paypal so I can send you a Donation.
paypal@innovativema.ca (There is a link at the top in the first post), thanks :D

Andrew Green 10-06-2007 02:55 PM

Quote:

Originally Posted by AuroraStorm (Post 1354065)
This looks very interesting and promising. I'll upload when you finish beta testing. Multiplayer games is something my board eagerly awaits...

Question: is it possible to add a spades game or better yet, something like an Uno game? My members would never log off if we had those two games...

I'd have to do some research, No idea what spades is and has been a long time since I played Uno...

But Poker will come first regardless as I figure there is more interest for that and I've already written a few of the pieces for it :)

aztecboi2003 10-06-2007 03:00 PM

Any idea when this next version will come out? This weekend perhaps? Will it be out of beta? I really want to install this, just waiting patiently. looks good what you have done with it so far.

Andrew Green 10-06-2007 03:23 PM

I expect the next update by Monday.

It will include a slots game (preview attached. AJAX powered and yes, wheels do spin ;)) as well as all of the fixes for bugs I know about, which are pretty minor at this point (navbar breadcrumbs and things like that)

Should also give more options in the setup, like turning on/off each chip value per game, controlling double down options in BJ and some more player / game stats.

It should be pretty much stable, not really "finished" in the sense that I will still have a couple games to add and need to phrase everything.

1.0 will have a minimum of a well tested multiplayer Texas Hold 'em table, and probably a couple other games as well, so it's a ways off. But along the way each individual game should be pretty stable. I also have some cleaning up on some of the visuals that I want to do, some things where just put in to be functional.

Cigarcritic 10-06-2007 04:09 PM

Quote:

Originally Posted by Andrew Green (Post 1354135)
So you want a cap? Like no more then X tickets? ( I don't really see a reason to limit tickets to be honest, I can go to the corner store and buy as many as I like)

I run a cigar forum and we can pool for cigars. Having a limit on tickets makes the odds fair.

Quote:

I don't know, I just see users dropping the highest value they can into a high payout option and resetting until they win...
But it's just a game...not real money. :D
Even with Pluginpoker.com the members can reset their chips.

Quote:

paypal@innovativema.ca (There is a link at the top in the first post), thanks :D
Sending after this message.

Poker does not pay out on A, 2, 3, 4 ,5 straight.

How about an option for the members to place their own Betting Pools? It's too time consuming to post all the games that members want listed.

Cigarcritic 10-06-2007 04:15 PM

Quote:

Originally Posted by Andrew Green (Post 1354153)
It will include a slots game (preview attached. AJAX powered and yes, wheels do spin ;))


Looks good!

Andrew Green 10-06-2007 04:25 PM

Quote:

Originally Posted by Cigarcritic (Post 1354178)
I run a cigar forum and we can pool for cigars. Having a limit on tickets makes the odds fair.

Gotcha, but I might have something better.

Also looking at a raffle addition, This would allow a fixed ticket price, limit on tickets and options to have the winner get a fixed cahs prize, total entered or some other prize (which could be a real world item)


Quote:

But it's just a game...not real money. :D
Even with Pluginpoker.com the members can reset their chips.
True enough, I've just been thinking along the lines of "If you want more, earn them by posting and coming on daily and referrals" :) Added as a possible addition in the future.

Quote:

Sending after this message.
Thanks much :)

Quote:

Poker does not pay out on A, 2, 3, 4 ,5 straight.
Nope, nor a straight flush, thanks, will fix for next update

Quote:

How about an option for the members to place their own Betting Pools? It's too time consuming to post all the games that members want listed.
Will come, based on usergroup. My reason for doing it this way was I found looking up odds to time consuming, so I am all for less work :D

aztecboi2003 10-06-2007 04:30 PM

Slots looks great. As far as the ufc photo, I could have nfl teams there right? It's totally configurable to whatever betting event I want.

Andrew Green 10-06-2007 04:40 PM

Quote:

Originally Posted by aztecboi2003 (Post 1354206)
Slots looks great. As far as the ufc photo, I could have nfl teams there right? It's totally configurable to whatever betting event I want.


Yes, I have a martial arts site so MMA events get listed :)

You set up your groups as you need them, (NFL, NBA, NHL, etc)

kylek 10-06-2007 09:50 PM

This is getting better by the day!! If you like it dont forget to click "MOTM"

For now we would like to remove the Top Players section, where or what needs to be removed so it will not show? Did a quick look in the templates but nothing jumped out right away.

Thanks!!

Ski-Whiz 10-06-2007 10:17 PM

Few questions........

Have you looked into providing directions on using other point systems??

Also, when the bets are being made in the pool, can anyone see who bet????

I'd like to keep the bets private, meaning no one can see who bet what.. Even after the results..

Ski-Whiz 10-06-2007 10:33 PM

Also, what are the possibilities of adding more games? Is there a bunch you could add? or just a few more??

Just asking so I know what to expect..

ChU v2 10-06-2007 11:15 PM

Looking better, I'm still waiting on the hold em integration to fully install. BTW, your I tried your demo and the usergroup doesn't have perms to access to the casino.

EmpireZ 10-06-2007 11:31 PM

Quote:

Originally Posted by ChU v2 (Post 1354448)
Looking better, I'm still waiting on the hold em integration to fully install. BTW, your I tried your demo and the usergroup doesn't have perms to access to the casino.

This was mentioned in the release. :p

Quote:

If you want to see a demo, it's live at http://innovativema.ca, it does require registration though as it needs a userid to attach your money too

Ski-Whiz 10-06-2007 11:41 PM

Not sure if anyone else had this issue, but my font is white.

The body can't be seen, as it matches the background..

Not sure what is different on my site than everyone else's, but by default it's white (text).

EDIT: Nevermind, my Body text color was white.. Not sure what this affects on my site, as my body text is all black...

Ski-Whiz 10-06-2007 11:42 PM

Also, something I think that would help this out immensely, the ability for a certain usergroup to place a Sporting event from the bet page.

Basically so they don't have to enter the admincp or modcp everytime they want to add an event.

Also the ability to settle the bet on the page....

ChU v2 10-06-2007 11:54 PM

Quote:

Originally Posted by EmpireZ (Post 1354458)
This was mentioned in the release. :p

I read that. I registered, still having the perms issue.

edit: nevermind had to verify the account :p

Ski-Whiz 10-07-2007 03:51 AM

Also, just a suggestion, put an option where members can buy tickets in bulk..

Since tickets are max 10 points, some members might want to drop some major money..

I'm not saying grab a blank amount, but maybe a drop down where they can by them in packs of 5-20???

Andrew Green 10-07-2007 05:49 AM

Quote:

Originally Posted by kylek (Post 1354395)
This is getting better by the day!! If you like it dont forget to click "MOTM"

For now we would like to remove the Top Players section, where or what needs to be removed so it will not show? Did a quick look in the templates but nothing jumped out right away.

Thanks!!

Glad you like it :)

It's in the casino_index_main template, near the bottom. Pulling this section out should do it:

Code:

<table class='tborder' align='center' border='0' cellpadding='6' cellspacing='1' width='250px;'>
                                                <thead>
                                                        <tr align='center'>
                                                                  <td class='tcat' colspan='2'>Top Players</td>
                                                        </tr>
                                                </thead>
                                                <tbody>

$t_players

                                                </tbody>
                                        </table>

However remember to revert templates on updates if you make changes as it may effect other things. This section will likely end up changing, I plan to have a few other top 10 lists that rotate through and a link to a main stats page in there ;)

Quote:

Originally Posted by Ski-Whiz (Post 1354415)
Few questions........

Have you looked into providing directions on using other point systems??

I will, but I have to go through them and figure out what fields they use.

Quote:

Also, when the bets are being made in the pool, can anyone see who bet????

I'd like to keep the bets private, meaning no one can see who bet what.. Even after the results..
Yes, bets are private.

Quote:

Originally Posted by Ski-Whiz (Post 1354465)
Also, something I think that would help this out immensely, the ability for a certain usergroup to place a Sporting event from the bet page.

Basically so they don't have to enter the admincp or modcp everytime they want to add an event.


Also the ability to settle the bet on the page....

On the to do list already, next little while that will get done.

Quote:

Originally Posted by Ski-Whiz (Post 1354573)
Also, just a suggestion, put an option where members can buy tickets in bulk..

Since tickets are max 10 points, some members might want to drop some major money..

I'm not saying grab a blank amount, but maybe a drop down where they can by them in packs of 5-20???

Not thought of that, but certainly a option.



Quote:

Originally Posted by Ski-Whiz (Post 1354426)
Also, what are the possibilities of adding more games? Is there a bunch you could add? or just a few more??

Just asking so I know what to expect..

Well, I write them all myself, so more are coming, they just take time. Slots should be added in the next couple days, and others will follow over time :)

Anyways, here's some of the things that are coming:

Already Done for next release:
- New game: Slots machine
- Sportspool now allows closing / cancelling events that haven't occurred yet.
- Can turn different chip denominations on/off on a per game basis
- Fixed Aces as low in a straight on poker
- Breadcrumbs are all set up properly
- Stats page is partially done. It tracks how much each person has put into and got out of each game, so there are a lot of stats that can be displayed.

Will likely be done for this next one:
- Some house rules settings for blackjack. When you can double down, whether you can split multiple times.


Other things on which I am looking at:
- Roulette, not sure on this one, but might write it eventually. Not a terribly hard module to build.
- A raffle system. Buy tickets, one person wins. Prize can be a fixed amount, winner takes all, or something outside of that (supporting membership, physical prize, whatever you like)
- Multiplayer Poker, some of the functions are written, I've figured out most of the tricky pieces (simple chat, picking the best possible hand, finding the winner) just a matter of putting them together and turning it into a game. Still, this is a bigger piece and will take longer. Will start with Texas Hold em, however other rules might follow later on.
- Sportspool needs some polishing, initially I wrote a lot of this just for my site and it shows on that one especially. The setup interface needs work and to become something non-admins can do.
- Better graphics. The chips are ugly and where thrown together quickly, the buttons are about as plain as they could be.

Ski-Whiz 10-07-2007 05:55 AM

Awesome!!!

I can say one thing, if you get a multi player game (live) going, this will be a HUGE mod!!

I didn't want to swamp you with a wish list, just providing some feedback. :D

Thanks for getting back to me.. Also, once this comes out of beta, I'd as for a major addition mod forum on here. :D

My staff is testing the casino out now.. So far so good.

Andrew Green 10-07-2007 06:03 AM

Wish lists are good, I might not do everything everyone asks for, but I'll definitely use the better ideas :)

Multiplayer is obviously the biggest piece, which is why I'm leaving it until I got a fairly good handle on the vB api, first product for me so it's a learning experience.

Robbed 10-07-2007 06:46 AM

If we set the daily bonus, it seems like it awards every hour when the scheduled task runs.

evesve 10-07-2007 10:15 AM

Its getting better and better!!! :D
Perfect card size!
Mass Cash Adjustments works fine!
(Can you edit singel user there too?)

Now I wait for multiplayer Texas Holdem! :up: ;)


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