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-25-2007 04:41 PM

it's not too heavy, but every minute would really be pushing it... but you can give it a try, every 15 minutes might be a better option though.

Andrew Green 10-25-2007 04:45 PM

Another option here might be a button that lets them reset to 100 (or some other amount)

perju 10-25-2007 04:50 PM

Just so I understand...

If a member goes down to 0, they have to wait 15 minutes (or whatever i set it to) before they get back their reset value. Let's say a member hits 0, and then writes a post (+$5). Now, they're no longer at 0. What happens? Does the cron ignore them since they're not at 0?

Is there a way to pop open a button on any casino page if the user has 0? If the user clicks the button, it resets the value to [$whatever]?

perju 10-25-2007 04:51 PM

Ahhh, you read my mind. :)

lasto 10-25-2007 04:55 PM

Quote:

Originally Posted by Andrew Green (Post 1368466)
What version does it way you have installed?

I can send you a script to clean house and reset things to where they should be for what is installed, then the upgrade should work.


Casino .34 Casino for VBulletin

yes can u plz send me the script -

i got all them errors when i tried to run the 0.50 version (just import the porduct and overwite)

Mark.B 10-25-2007 05:16 PM

A question on "Past Draws" on the lottery.

My table that displays these is getting quite big now. Just does it just carry on adding them for ever, or will it paginate at some point?

Failing that, does it cause any problem just deleting old draws from the database directly?

Andrew Green 10-25-2007 05:19 PM

I'll stick a limit in there next round, only show the last 20 or something...

Mark.B 10-25-2007 05:23 PM

Quote:

Originally Posted by Andrew Green (Post 1368513)
I'll stick a limit in there next round, only show the last 20 or something...

Cool, never thought of that...I shall probably try add that in myself as a temporary measure. Not that I enjoy messing with code or anything....

Mark.B 10-25-2007 05:25 PM

Quote:

Originally Posted by Mark.B (Post 1368519)
Cool, never thought of that...I shall probably try add that in myself as a temporary measure. Not that I enjoy messing with code or anything....

Hmm, I think it's already got a limit on as it happens:

Code:

SELECT * FROM casino_lotto_draw WHERE drawtime < $currenttime ORDER BY drawtime DESC LIMIT 20

Andrew Green 10-25-2007 05:29 PM

Quote:

Originally Posted by lasto (Post 1368459)
cant install the 0.50 version get dataabse error that let it ride table already exists.

Attached will dump your settings table and rebuild it up to .33/.34 defaults, then dump the letitride_dealt table.

upload it to your main forum directory, run it, and once everything is done delete it.

After that you should be able to upgrade normally to .50, if not let me know and I can do a bigger wipe and rebuild.

Andrew Green 10-25-2007 05:30 PM

Quote:

Originally Posted by Mark.B (Post 1368523)
Hmm, I think it's already got a limit on as it happens:

Code:

SELECT * FROM casino_lotto_draw WHERE drawtime < $currenttime ORDER BY drawtime DESC LIMIT 20

see, those are ninja skills, changed your code and you didn;t even see me :D

Mark.B 10-25-2007 05:35 PM

Quote:

Originally Posted by Andrew Green (Post 1368532)
see, those are ninja skills, changed your code and you didn;t even see me :D

Heh, LOL. :D

lasto 10-25-2007 06:18 PM

it worked as all installed now something weird has happened

from the menu of the games the top 4 when clicked hust go back to casino.php page

Video Poker Jacks or better to win.
Blackjack Classic Casino Game.
Sports Betting Pool Place bets on upcoming events.
Lottery Buy into the lottery

the above 4 dont work yet the rest do

Andrew Green 10-25-2007 06:32 PM

can you send me a link?

ry215 10-25-2007 06:52 PM

Quote:

Originally Posted by Andrew Green (Post 1368043)
gotcha, I'll fix it next round. If you want it fixed now in the file letemride_deal.php on line 330:

Code:

        if($cash > 0)       
                $cash = ($cash * $bet);

to
Code:

        if($cash > 0)       
                $cash = ($cash * $bet) + $bet;


Thanks Andrew, works like it should be now! :D

ArchangelX 10-25-2007 06:53 PM

Quote:

Originally Posted by Andrew Green (Post 1368288)
So you do get a ready button but can't click it?

Yepz...no Ready button...just the red waiting button. Plus, it's like sometimes, it doesn't even give us an option...after it shows the cards for the winners and losers, it just automatically skips everyone.

Also, I noticed that there's now an uncached template that's added an extra query. I assume once you make it a non-beta, that'll be gone, but I just wanted to mention it.

It was fine before the upgrade to .50...after that, that's when the skipping problem started.

lasto 10-25-2007 06:59 PM

thanks for your help in fixing my problem Andrew Green - all working as it should now :)

Andrew Green 10-25-2007 07:02 PM

Quote:

Originally Posted by ArchangelX (Post 1368579)
Yepz...no Ready button...just the red waiting button. Plus, it's like sometimes, it doesn't even give us an option...after it shows the cards for the winners and losers, it just automatically skips everyone.

Also, I noticed that there's now an uncached template that's added an extra query. I assume once you make it a non-beta, that'll be gone, but I just wanted to mention it.

It was fine before the upgrade to .50...after that, that's when the skipping problem started.


I'll see what I can do, the updates should have stabalized the chatbox a bit, but I probably overlooked something for the folded players.

ry215 10-25-2007 07:27 PM

Quote:

Originally Posted by SLY LS1 (Post 1368390)
Ha ha this is to good, I have a car forum so I just changed the ninja slots to car brand slots, see attached file, then just changed the names in the casino_slots_main template to the car brands.
Will be good once the final product is released as people can make the slots wheel to suit their forum theme etc.

I've been craving for this option since the first version of casino. I also like to have wheels that suit my forum. Please let me and the rest know of your progress. Thanks.

ry215 10-25-2007 07:35 PM

Andrew, will there be a Chinese Poker next? :D It's a simple 2 to 4 people game :D

Andrew Green 10-25-2007 07:40 PM

Quote:

Originally Posted by ry215 (Post 1368598)
I've been craving for this option since the first version of casino. I also like to have wheels that suit my forum. Please let me and the rest know of your progress. Thanks.

You can just edit the image files & payout chart, just keep in mind that the payouts would still match up with the locations on the wheel.

ry215 10-25-2007 07:42 PM

I thought about that, too, but was afraid of messing up my forum, :erm: Thanks for the confirmation.

edytwinky 10-25-2007 07:42 PM

Is there a way to Just at the Texas Hold Em part?

Andrew Green 10-25-2007 07:45 PM

All of the games can be turned on / off individually in the admincp.

ry215 10-25-2007 08:09 PM

Here is another very easy game to play and quite popular in my community:

It's call "3 Cards Vpoker", up to 10 players can play. From 52 cards deck, each of the players is deal 3cards, after they put in a fixed-option bet to a total pool (10 players x $10bet = $100 pool).

If the player's 3 cards add up to the highest points, he/she will win the pool. Highest point being 3 faces, and 0 point being the lowest....

For ex: J K Q = 3 faces (highest point)
9 J K = 9 points (second high)
8 A K = 9 points
6 A A = 6 points
5 2 10 = 7 points
7 2 2 = 1 point
10 K J = 0 point

If there are more than 1 highest point players, they split the pool.

The cards are faced down, the players can view their cards and points adding up when they open each of the cards.

It would be nice to have this game, Andrew! :-).

Rushty 10-25-2007 08:14 PM

any chance in the next version you can escape out `range` in the lottery sql, got .5 installed on my forums by correcting this for mysql5.1 but would be nice if I dont have to go re-do it on installing the next version.

prity please

Andrew Green 10-25-2007 08:17 PM

it will :)

towermatt 10-25-2007 09:33 PM

I'm hoping to get the ability to delete sports events too.

My tests are piling up. :D

NeilK 10-25-2007 11:23 PM

Stupid question of the day... How do I change the text color in the sportsbook? Things like Recent Events, Add Events, etc are invisible as they match the background color in my skin.

Thanks,

-noob

csavern 10-25-2007 11:40 PM

Replace ninja slots With 7'S Slots

You will Need to Download slotwheel2 Add to casino/cards Folder and overwrite Then Make A Template Change

In a few secs i will show pictures of the new Reel but to make this correct you will need to Go to your Admincp - Styles and Templates - Edit templates - Casino Templates then edit your casino_slots_main Template

Find
Code:

<if condition="$slotsgame==2">
                                                <table class='tborder' >
                                                        <thead>
                                                                <tr>
                                                                        <td class='thead' colspan='2'>Payout chart</td>
                                                                </tr>
                                                        </thead>
                                                        <tbody>
                                                                <tr>
                                                                        <td class='alt1'>3 x Black Ninjas</td>
                                                                        <td class='alt1'>1000</td>
                                                                </tr>
                                                                <tr>
                                                                        <td class='alt2'>3 x Blue Ninjas</td>
                                                                        <td class='alt2'>200</td>
                                                                </tr>
                                                                <tr>
                                                                        <td class='alt1'>3 x Green Ninjas</td>
                                                                        <td class='alt1'>50</td>
                                                                </tr>
                                                                <tr>
                                                                        <td class='alt2'>3 x Red Ninjas</td>
                                                                        <td class='alt2'>20</td>
                                                                </tr>
                                                                <tr>
                                                                        <td class='alt1'>3 x Stars</td>
                                                                        <td class='alt1'>10</td>
                                                                </tr>                                                       
                                                                <tr>
                                                                        <td class='alt2'>3 x Ninjas</td>
                                                                        <td class='alt2'>3</td>
                                                                </tr>
                                                                <tr>
                                                                        <td class='alt1'>2 x Stars</td>
                                                                        <td class='alt1'>2</td>
                                                                </tr>
                                                                <tr>
                                                                        <td class='alt2'>1 x Star</td>
                                                                        <td class='alt2'>1</td>
                                                                </tr>
                                                                <tr>
                                                                        <td class='alt1'>3 x Blanks</td>
                                                                        <td class='alt1'>1</td>
                                                                </tr>
                                                </table>

                                        </td>
                                </tr>
                        </table>


</if>

Replace with
Code:

<if condition="$slotsgame==2">
                                                <table class='tborder' >
                                                        <thead>
                                                                <tr>
                                                                        <td class='thead' colspan='2'>Payout chart</td>
                                                                </tr>
                                                        </thead>
                                                        <tbody>
                                                                <tr>
                                                                        <td class='alt1'>3 x Gold 7</td>
                                                                        <td class='alt1'>1000</td>
                                                                </tr>
                                                                <tr>
                                                                        <td class='alt2'>3 x Blue 7</td>
                                                                        <td class='alt2'>200</td>
                                                                </tr>
                                                                <tr>
                                                                        <td class='alt1'>3 x Grey 7</td>
                                                                        <td class='alt1'>50</td>
                                                                </tr>
                                                                <tr>
                                                                        <td class='alt2'>3 x Red 7</td>
                                                                        <td class='alt2'>20</td>
                                                                </tr>
                                                                <tr>
                                                                        <td class='alt1'>3 x Cherrys</td>
                                                                        <td class='alt1'>10</td>
                                                                </tr>                                                       
                                                                <tr>
                                                                        <td class='alt2'>3 x Any 7's</td>
                                                                        <td class='alt2'>3</td>
                                                                </tr>
                                                                <tr>
                                                                        <td class='alt1'>2 x Cherrys</td>
                                                                        <td class='alt1'>2</td>
                                                                </tr>
                                                                <tr>
                                                                        <td class='alt2'>1 x Cherrys</td>
                                                                        <td class='alt2'>1</td>
                                                                </tr>
                                                                <tr>
                                                                        <td class='alt1'>3 x SingleBar</td>
                                                                        <td class='alt1'>1</td>
                                                                </tr>
                                                </table>

                                        </td>
                                </tr>
                        </table>
</if>

https://vborg.vbsupport.ru/

https://vborg.vbsupport.ru/

Also Added a New Set of Poker Chips

https://vborg.vbsupport.ru/

Can be downloaded here

https://vborg.vbsupport.ru/showpost....&postcount=962

If anyone would like to see the slot in action visit http://www.rotormadness.com

SLY LS1 10-26-2007 01:33 AM

Not sure if anyone else has meantioned this but everytime thers an apostrophy in a name I get

Let &apos;em Ride

instead of

Let 'em Ride

Maybe we could do away with the '

Edit

I see the template is called "Let it ride"

I just changed it to that in the casino_letitride_main template

csavern 10-26-2007 01:43 AM

I dont have no problems with mine
I went in to my admincp and casino and changed it from Let &apos;em Ride
to let'em ride and it works fine

Andrew Green 10-26-2007 01:45 AM

Realization that "Let it Ride" is trademarked is why it's let 'em ride ;)

Anyways, it's a result of IE not recognizing that as a entity, so I'm just switching them all to the number ( ') which will fix that.

jasculs 10-26-2007 01:49 AM

Suggestion:

This may have been talked about already, but how about a raffle system where winners can buy tickets and then a winner is announces. I would love to use this for my prize contests!

SLY LS1 10-26-2007 01:57 AM

Quote:

Originally Posted by jasculs (Post 1368803)
Suggestion:

This may have been talked about already, but how about a raffle system where winners can buy tickets and then a winner is announces. I would love to use this for my prize contests!


Thats basicly what the lotto system is...

You could do it with that easy

Andrew Green 10-26-2007 02:03 AM

It has been, somewhere in there.

I do want a raffle system, it's probably the only "game" left on the definitely getting in list.

Admin sets ticket price, number of tickets a person can buy, and a prize that is open. Could just be a winner takes all, or anything else. (supporting membership, fixed amount, whatever )

jasculs 10-26-2007 02:34 AM

Quote:

Thats basicly what the lotto system is...

You could do it with that easy
Not really the lottery system doesn't guarantee that there will be a winner. A raffle system can guarantee that there is a winner.

Quote:

I do want a raffle system, it's probably the only "game" left on the definitely getting in list.

Admin sets ticket price, number of tickets a person can buy, and a prize that is open. Could just be a winner takes all, or anything else. (supporting membership, fixed amount, whatever )
Awesome...This is something I could really use.

Hornstar 10-26-2007 02:55 AM

Users say they keep lagging out in texas poker, is this due to my server or due to there connection, or maybe something else?

Andrew Green 10-26-2007 03:06 AM

Quote:

Originally Posted by hornstar1337 (Post 1368840)
Users say they keep lagging out in texas poker, is this due to my server or due to there connection, or maybe something else?


When are they lagging out? Between hands or during play? Is it skipping them, or are they getting dropped from the room?

blind-eddie 10-26-2007 03:16 AM

Both on my site. Also page loads, but with errors on page


All times are GMT. The time now is 06:19 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.04025 seconds
  • Memory Usage 1,886KB
  • 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
  • (15)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