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)

Ryloth 02-10-2008 04:48 PM

On my site, I've had members complain that when playing Texas Hold Em, the winner doesn't always receive their winnings and in one game it even skipped the betting stage.

DrKNickel 02-11-2008 02:06 PM

How can i display a "WHO IS PLAYING TEXAS HOLD EM" info box somewhere on my forums?

Greets

jdelasko 02-11-2008 05:01 PM

Quote:

Originally Posted by DrKNickel (Post 1440786)
How can i display a "WHO IS PLAYING TEXAS HOLD EM" info box somewhere on my forums?

Greets

Edit the navbar template. Put this variable on the very last line: $inpoker

rknight111 02-11-2008 09:51 PM

This is one of the best mods on my board yet, people are sure addicted to this. It gets the competition going between all the members.

Andrew, when will you have the next upgrade with the reset cash and all that completed. I gave up trying to figure that out, could not ever get it going but I get alot of requests to reset cash. About 10 at least per day. I even found some users come on under a different name, lol.

Theres a few requests I would like to add from people that are on my site and play on others:
1. A colum in the bottom like who's on line, who's playing texas holdem and there names
2. An area where members can just go into the game and be a spectator and view and chat only but not play
3. A option for a second game going
4. An option for each game being played for table limits, some guys wish to go all in.
5. An option for a Tourneyment.

These are just a few suggestions that were given to me from fellow members. You should see all the comotion this has brought on the site, theres a thread that just talks about the casino. This is a total hit :D

Thanks for all your work and attention on this.
RON

Andrew Green 02-12-2008 02:39 AM

A "reset cash" will never be part of the main code, I did put up a additional file to do it at vbgaming.org

1) Possibly, a lot of the Texas Hold'em stuff is being rewritten.. well really more of a reorganization / cleanup.

2) They can sort of do that, just don't get to see cards. But if your in and don't hit that ready button ;)

3) Same as 1

4 / 5) My initial goal was to follow a limit game rules, which only allows bets of equal to, and double the big blind depending on the round. A no limit game is a little more complex, requiring a buy in and cash out, as well as being able to set bets. The big reason for the restructure is so that I can reuse most of the code for other rule variations.

DrKNickel 02-12-2008 12:48 PM

Quote:

Originally Posted by jdelasko (Post 1440886)
Edit the navbar template. Put this variable on the very last line: $inpoker

Can i put it somewhere else, too?

Greets

Andrew Green 02-12-2008 12:56 PM

pretty much wherever you like should work, if it doesn't you probably just have to change the hook location.

Terrie 02-12-2008 09:12 PM

This is a great mod thank you!

I have VB 3.6.8 and casino 0.91
Last night we filled the texas holdem table to 10 players
it seemed like the game had a hard time dealing with the load
it kept booting players out every few seconds and at least 5 times
it booted the whole table. We also had instances of players never
getting a ready button and having to sit out of some hands.

Andrew Green 02-13-2008 02:01 AM

10 players means a lot of requests, I am looking at ways to reduce the number of queries, but you might also want to increase the timeout in the game settings, the game will have a little more lag with fewer people, but should let your server keep up a little better when it gets loaded.

DrKNickel 02-13-2008 10:27 AM

Quote:

Originally Posted by Andrew Green (Post 1441428)
pretty much wherever you like should work, if it doesn't you probably just have to change the hook location.

How can i change the hook location?

Greets

iogames 02-13-2008 05:44 PM

How do I remove the 'Cash" total from Profile, [since I think at the end most ppl will be broke]

Andrew Green 02-13-2008 06:47 PM

Disable the plugin called "Casino cash in profile"

Terrie 02-13-2008 09:07 PM

Quote:

Originally Posted by Andrew Green (Post 1441899)
10 players means a lot of requests, I am looking at ways to reduce the number of queries, but you might also want to increase the timeout in the game settings, the game will have a little more lag with fewer people, but should let your server keep up a little better when it gets loaded.

Thank you i will give that a try :)

namely 02-14-2008 05:18 PM

it says to find in navbar template

Quote:

*************************************************
<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>
*************************************************

i searched the whole code there is nothing there like this

Andrew Green 02-14-2008 05:42 PM

Are you using the default skin? If you are using a custom skin you need to adapt that to fit what you are using.

namely 02-14-2008 06:18 PM

im using a skin called tecktwo

however i would like to place the link in the links section but unsure of what template that is

Andrew Green 02-14-2008 06:49 PM

Do a "Search in templates" for one of the other links in your nav bar. "calender.php" for example.

bamaster 02-14-2008 07:44 PM

Seems like whenever there are 8 or more people in the Hold 'Em game, people keep getting bumped. I got an error:

'This game is AJAX powered and requires javascript to be turned on. "

Smack dab in the middle of the game. Ugh! Ideas?

iogames 02-14-2008 08:08 PM

Quote:

Originally Posted by Andrew Green (Post 1442428)
Disable the plugin called "Casino cash in profile"

:-P~ I searched... BUT-where?

Andrew Green 02-14-2008 08:22 PM

Quote:

Originally Posted by bamaster (Post 1443161)
Seems like whenever there are 8 or more people in the Hold 'Em game, people keep getting bumped. I got an error:

'This game is AJAX powered and requires javascript to be turned on. "

Smack dab in the middle of the game. Ugh! Ideas?

Turn up the delay in the game settings, chances are it's requesting things faster then your server is dishing them up. I am working at optimizing the requests it makes, but 10 players is a fair number of things going on.

Quote:

Originally Posted by iogames (Post 1443185)
:-P~ I searched... BUT-where?

Plugins & Products -> Plugin Manager
Under "Product: Casino"

DrKNickel 02-15-2008 05:24 AM

Hello,

i have a problem:

The Default cash value always was 250, but suddenly it switched to 0, and whenever i want to update it it remains 0. What can i do against it?

Greets

Andrew Green 02-15-2008 01:15 PM

Temp fix here: http://vbgaming.org/forum/showthread.php?t=133

Quote:

Originally Posted by DrKNickel (Post 1443449)
Hello,

i have a problem:

The Default cash value always was 250, but suddenly it switched to 0, and whenever i want to update it it remains 0. What can i do against it?

Greets


punchbowl 02-15-2008 03:07 PM

Quote:

Database error in vBulletin 3.6.8:

Invalid SQL:
UPDATE casino_blackjack_dealt SET hand = 3, bet = WHERE cardnum = 4 AND playerid = 835;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE cardnum = 4 AND playerid = 835' at line 1
Error Number : 1064
Date : Friday, February 15th 2008 @ 02:00:51 PM
Script : http://www.xxxxxxxxx.com/forum/casin...ackjack&ajax=1
Referrer : http://www.xxxxxxxxx.com/forum/casino.php?do=blackjack
IP Address : 88.104.777.000
Username : blah
Classname : vB_Database
first error in a while!:up:

El Burro 02-15-2008 09:18 PM

Hi I've just installed and want to change default cash amount.

It keeps resetting to 0.
I'm using casino_cash.

Any ideas?

How do I give recently registered members their cash?

I guess I'll have to cange th db can you poinyt me to the right table/fields.

Also can I change the time of the lottery draw it's currently at 05:00am (I'm GMT+1)

Thanks

Andrew Green 02-16-2008 01:33 AM

From 2 posts up:

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

El Burro 02-16-2008 07:10 AM

Thanks sorry too busy on a Friday night to read even two posts back ... :)

Anyway to change the lotterry draw time to 21:00 GMT+1

Andrew Green 02-18-2008 04:42 PM

Quote:

Originally Posted by El Burro (Post 1444303)
Thanks sorry too busy on a Friday night to read even two posts back ... :)

Anyway to change the lotterry draw time to 21:00 GMT+1

Not really, it would require altering the code manually, but if you want to give it a try:

Line 219 in the casino_update.php file, cron folder:


Quote:

$nextdrawtime = mktime(21,0,0,$month,$day + $daysleft);
The "21" is the hour, so that's the first thing to change.

You also need to change the time the scheduled task goes off to match what you change this too.

iogames 02-18-2008 07:57 PM

Thaaanks! :up:

peterpigman 02-18-2008 09:30 PM

Quote:

Originally Posted by stangger5 (Post 1350527)
Has anyone got this install ??

I get the first page working fine but when you try to play a game,,,I get red X`s and a box that just says loading...

Fine here.:up:

GuaRRand 02-19-2008 09:57 AM

thnx for the update!

pmcnamara 02-20-2008 02:49 PM

Quote:

Originally Posted by Andrew Green (Post 1446044)
Not really, it would require altering the code manually, but if you want to give it a try:

Line 219 in the casino_update.php file, cron folder:

The "21" is the hour, so that's the first thing to change.

You also need to change the time the scheduled task goes off to match what you change this too.

Its in casino_lotto.php, not casino_update.php

Andrew Green 02-20-2008 03:44 PM

Quote:

Originally Posted by pmcnamara (Post 1447392)
Its in casino_lotto.php, not casino_update.php

Yes, sorry, my mistake :)

blind-eddie 02-20-2008 08:56 PM

Is there an addon that will allow members to request casino cash, if they run out?

Andrew Green 02-21-2008 04:15 AM

Quote:

Originally Posted by blind-eddie (Post 1447664)
Is there an addon that will allow members to request casino cash, if they run out?

There is a reset button on vbgaming.org

blind-eddie 02-21-2008 05:20 AM

Thanks, going there to look...

wolfyman 02-21-2008 09:25 AM

is the .92 upgrade smooth or should I look out for anything?

Andrew Green 02-21-2008 01:02 PM

Quote:

Originally Posted by wolfyman (Post 1447980)
is the .92 upgrade smooth or should I look out for anything?

a few bugfixes, nothing really major so there shouldn't be any issues.

wolfyman 02-21-2008 02:12 PM

so... when I upgrade, will I have to fix bugs, or is that what the upgrade is. I noticed a few errors from others I think.

Andrew Green 02-21-2008 07:18 PM

nothing reported since .92 went up, it fixes a few bugs, doesn't add anything new.

renwa983 02-23-2008 01:43 PM

Hello,

I'm new to vb so appreciate your patience. I believe that I've followed the instructions in the readme file for the casino (v.92) installation; however, nothing is showing up in the admincp as it indicates in the readme file.

1. I don't see a "Game Settings", where/when was this added? Was this something that should have been a part of my vb installation, or created when I uploaded the casino games?

2. When I installed, since I wasn't clear on the instructions, I uploaded the files that were in the admincp and includes folder into the admin and includes folder in the vb folder--was this correct, or should I have loaded them elsewhere.

3. The instructions said "import the xml file", so I uploaded it to the casino file. Is this where it was supposed to go?

Again, be gentle, I'm still trying to learn vb, and it's a handful to learn, but the casino games are important for my site, so I wanted to install them for testing.

Thanks for your assistance.


All times are GMT. The time now is 09:32 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.04512 seconds
  • Memory Usage 1,830KB
  • 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
  • (17)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