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)

Twilkey 10-27-2007 02:02 PM

Quote:

Originally Posted by Robbed (Post 1369720)
Is anyone having this issue with firefox where the payout amount overlaps the word payout.

It's only happened since the last few updates.

http://koti.mbnet.fi/~mizu/temp/slotsbug.jpg


edit: looks like it's doing it on IE now, could be something with the gradient?

I have the latest update and mine works. Did you do any template editing or anything. If so, what did you do.

peterpigman 10-27-2007 02:17 PM

Quote:

Originally Posted by csavern (Post 1369707)
Changing the name in admincp - casino - casino settings should not error.
Could you post the error

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 : Saturday, October 27th 2007 @ 11:15:58 AM
Script : http://forum.uncoverreality.com/admi...t=Update+Games
Referrer : http://forum.uncoverreality.com/admi...o_settings.php
IP Address : xxxxxxxxxx
Username : Peterpigman
Classname : vB_Database

Twilkey 10-27-2007 02:25 PM

Quote:

Originally Posted by peterpigman (Post 1369741)
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 : Saturday, October 27th 2007 @ 11:15:58 AM
Script : http://forum.uncoverreality.com/admi...t=Update+Games
Referrer : http://forum.uncoverreality.com/admi...o_settings.php
IP Address : xxxxxxxxxx
Username : Peterpigman
Classname : vB_Database

What version of the casino are you using.

peterpigman 10-27-2007 02:30 PM

Quote:

Originally Posted by Twilkey SRT (Post 1369742)
What version of the casino are you using.

0.51

Twilkey 10-27-2007 02:42 PM

Quote:

Originally Posted by peterpigman (Post 1369746)
0.51


The problem is that the values above default to a too low value. To fix
this, edit your server connection and in the "MySQL Options" tab, set a
reasonable value for "Automatically limit SELECT queries to" and set the
value for "Maximum Join Size" to 1000000. That should fix these problems.

peterpigman 10-27-2007 02:46 PM

Quote:

Originally Posted by Twilkey SRT (Post 1369752)
The problem is that the values above default to a too low value. To fix
this, edit your server connection and in the "MySQL Options" tab, set a
reasonable value for "Automatically limit SELECT queries to" and set the
value for "Maximum Join Size" to 1000000. That should fix these problems.

Um if that is a server setting I don't have access we are on a shared server.

Twilkey 10-27-2007 02:56 PM

You will need to get in contact with your host admin then and ask them to do this for you.

Lee G 10-27-2007 04:02 PM

Quote:

Originally Posted by Lee G (Post 1369597)
All the games work except the Texas hold em
It shows the ready and waiting with the dealer, but nothing happens
The ready and waiting keep changing between the dealer and the player
If that makes sense

The casino is located on my second skin at present.
http://www.thespainforum.com/casino.php?do=texasholdem

This is the same problem encountered as the first time I tried installing the game.
For some reason the Hold em don't like playing

Thanks for any help and I am sorry for being a pain in the posterior

Follow on to this, I found you need at least two people in the Texas Hold Em to play, is this right or can you set it to run single player whilst you wait for others to join in?

Thanks Lee

bazzup 10-27-2007 04:14 PM

Quote:

Originally Posted by Lee G (Post 1369817)
Follow on to this, I found you need at least two people in the Texas Hold Em to play, is this right or can you set it to run single player whilst you wait for others to join in?

Thanks Lee

Yeah you need at least two players, and one of the players is the dealer

TaBaTaN 10-27-2007 04:46 PM

Please help me, y cant uninstall it

i use 0.50 and installed over 0.51, with either of this uninstall works.

Twilkey 10-27-2007 06:20 PM

Quote:

Originally Posted by TaBaTaN (Post 1369854)
Please help me, y cant uninstall it

i use 0.50 and installed over 0.51, with either of this uninstall works.

Please post the error you are getting.

team76 10-27-2007 06:31 PM

hi,sorry im use translator,i'm french
I have an error message after the importation of the file:

Database error in vBulletin 3.6.8:

Invalid SQL:
ALTER TABLE user ADD casino_cash integer default 250;

MySQL Error : Duplicate column name 'casino_cash'
Error Number : 1060
Date : Saturday, October 27th 2007 @ 09:27:13 PM
Script : http://www.team76.fr/team/admincp/pl...=productimport
Referrer : http://www.team76.fr/team/admincp/pl...?do=productadd
IP Address : 62.201.69.45
Username : Team76
Classname : vb_database

BuckRodgers 10-27-2007 06:34 PM

Quote:

Originally Posted by Andrew Green (Post 1369492)
Delet the "casino_cash" field from your user table and you will be able to install again, that's the only leftover piece.

can any one tell me how to do this please ?

Twilkey 10-27-2007 07:12 PM

Quote:

Originally Posted by team76 (Post 1369929)
hi,sorry im use translator,i'm french
I have an error message after the importation of the file:

Database error in vBulletin 3.6.8:

Invalid SQL:
ALTER TABLE user ADD casino_cash integer default 250;

MySQL Error : Duplicate column name 'casino_cash'
Error Number : 1060
Date : Saturday, October 27th 2007 @ 09:27:13 PM
Script : http://www.team76.fr/team/admincp/pl...=productimport
Referrer : http://www.team76.fr/team/admincp/pl...?do=productadd
IP Address : 62.201.69.45
Username : Team76
Classname : vb_database

Quote:

Originally Posted by samorite (Post 1369931)
can any one tell me how to do this please ?

You both need to do the same thing. Delete the casino cash column in the user table.

Steps:
1. Sign in to your phpMyAdmin.

2. On the left column, click the database you use for your forums.

3. After clicking it, it should extend to show all the tables in that database.

4. Scroll down to the user table and click it.

5. Now on the right, scroll down till you see a row that says casino_cash.

6. Directly to the right you will see a red X. Click it. That drops the column.

Now you can reinstall the product or whatever you were planning to do.

chatzworld 10-27-2007 08:13 PM

Feature Request - Would love to see when bets are settled a PM sent to the user saying it they won, lost, or drew

rungok 10-27-2007 08:16 PM

Excellent mod. The MP Texas just rocks! Keep up the good work dude.... :D

BuRuNDi 10-27-2007 08:17 PM

Hi,

I got this error, could you please tell me what to do?

Code:

Database error in vBulletin 3.6.8:

Invalid SQL:
CREATE TABLE casino_lotto_draw (drawid integer NOT NULL PRIMARY KEY auto_increment,
drawtime integer, winners text, ticketnumbers text, jackpot integer, price integer, 'range' integer, numbers integer, totalodds integer, odds text, winper text);

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 ''range' integer, numbers integer, totalodds integer, odds text, winper text)' at line 2
Error Number : 1064
Date        : Saturday, October 27th 2007 @ 04:59:52 PM
Script      : http://www.chuzanet.com/foro/admincp/plugin.php?do=productimport
Referrer    : http://www.chuzanet.com/foro/admincp/plugin.php?do=productadd
IP Address  : 189.131.68.222
Username    : BuRuNDi
Classname    : vb_database

Thanks in advance :)

Twilkey 10-27-2007 08:27 PM

Quote:

Originally Posted by chatzworld (Post 1369978)
Feature Request - Would love to see when bets are settled a PM sent to the user saying it they won, lost, or drew

You would be better to post that in the right forum on the vbgaming.org board.

Quote:

Originally Posted by BuRuNDi (Post 1369980)
Hi,

I got this error, could you please tell me what to do?

Code:

Database error in vBulletin 3.6.8:

Invalid SQL:
CREATE TABLE casino_lotto_draw (drawid integer NOT NULL PRIMARY KEY auto_increment,
drawtime integer, winners text, ticketnumbers text, jackpot integer, price integer, 'range' integer, numbers integer, totalodds integer, odds text, winper text);

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 ''range' integer, numbers integer, totalodds integer, odds text, winper text)' at line 2
Error Number : 1064
Date        : Saturday, October 27th 2007 @ 04:59:52 PM
Script      : http://www.chuzanet.com/foro/admincp/plugin.php?do=productimport
Referrer    : http://www.chuzanet.com/foro/admincp/plugin.php?do=productadd
IP Address  : 189.131.68.222
Username    : BuRuNDi
Classname    : vb_database

Thanks in advance :)

You seem to have an error in your SQL syntax. You should contact your web host.

Freesteyelz 10-27-2007 08:30 PM

Quote:

Originally Posted by Andrew Green (Post 1369719)
Attached file fixes.

Some left over testing code, replace existing file with this one.

(This goes for everyone that updated before this post, otherwise two of the seats will get nothing but a 3 & 4. )

Main .zip has been updated.

Thank you for the fix. :up:

Kalina 10-27-2007 09:05 PM

Was wondering if you take requests? My members are complaining about the new payout adjustment you've made, they tell me you basically only get back what you put in, is it possible to make it so we can adjust the setting within the casino settings in the admincp? Thank you!

Twilkey 10-27-2007 09:21 PM

Quote:

Originally Posted by Kalina (Post 1370012)
Was wondering if you take requests? My members are complaining about the new payout adjustment you've made, they tell me you basically only get back what you put in, is it possible to make it so we can adjust the setting within the casino settings in the admincp? Thank you!

Posting requests on vbgaming.org would be better. More of a chance that your request wont get missed by the clutter of so many replies.

johnrizz 10-27-2007 09:28 PM

Quote:

Originally Posted by Twilkey SRT (Post 1369951)
You both need to do the same thing. Delete the casino cash column in the user table.

Steps:
1. Sign in to your phpMyAdmin.

2. On the left column, click the database you use for your forums.

3. After clicking it, it should extend to show all the tables in that database.

4. Scroll down to the user table and click it.

5. Now on the right, scroll down till you see a row that says casino_cash.

6. Directly to the right you will see a red X. Click it. That drops the column.

Now you can reinstall the product or whatever you were planning to do.


I would like to add to this, after this is all done. When reinstalling casino, install from the first version that was created, not the .51 or you will wind up with a casino_lotto_draw error.. this is what happened to me...

johnrizz 10-27-2007 09:44 PM

Quote:

Originally Posted by BuRuNDi (Post 1369980)
Hi,

I got this error, could you please tell me what to do?

Code:

Database error in vBulletin 3.6.8:

Invalid SQL:
CREATE TABLE casino_lotto_draw (drawid integer NOT NULL PRIMARY KEY auto_increment,
drawtime integer, winners text, ticketnumbers text, jackpot integer, price integer, 'range' integer, numbers integer, totalodds integer, odds text, winper text);

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 ''range' integer, numbers integer, totalodds integer, odds text, winper text)' at line 2
Error Number : 1064
Date        : Saturday, October 27th 2007 @ 04:59:52 PM
Script      : http://www.chuzanet.com/foro/admincp/plugin.php?do=productimport
Referrer    : http://www.chuzanet.com/foro/admincp/plugin.php?do=productadd
IP Address  : 189.131.68.222
Username    : BuRuNDi
Classname    : vb_database

Thanks in advance :)

Did you get this error when trying to reinstall the product-casino.xml? if so then follow post #1254

BuckRodgers 10-27-2007 10:14 PM

okie thats worked thanks, I have installed the update but on the slots they just keep spinning ?

any ideas any one ?

shepherdblake 10-28-2007 02:42 AM

Great mod - my users love it!!!

Any chance you could fine tune the texas holdem a little?

It's not clear when you need to start a new game (like if you had folded early on in the previous game). lot's of my users aren't computer literate, so they sometimes have to sit out because they weren't fast enough.

shepherdblake 10-28-2007 02:51 AM

we also need an audio beep when it's your turn to bet, or join the game

Andrew Green 10-28-2007 04:29 AM

for everyone having installation / uninstallation issues:

I'll put together a update tomorrow afternoon that will be a complete rewrite of the intstall / unintall code. which will check for oddities rather then die on them.

Will also rename the range field completely for anyone using mysql 5.1 getting errors around that.

peterpigman 10-28-2007 07:06 AM

getting this error when you bring up stats, I'm guessing it is a server prob and have contacted my host, am I correct?


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
                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        : Sunday, October 28th 2007 @ 03:57:29 AM
Script      : http://forum.uncoverreality.com/casino.php?do=stats
Referrer    : http://forum.uncoverreality.com/casino.php
IP Address  : xxxxxxx
Username    : Peterpigman
Classname    : vB_Database


HO3R 10-28-2007 10:45 AM

Quote:

Originally Posted by BuRuNDi (Post 1369980)
Hi,

I got this error, could you please tell me what to do?

Code:

Database error in vBulletin 3.6.8:

Invalid SQL:
CREATE TABLE casino_lotto_draw (drawid integer NOT NULL PRIMARY KEY auto_increment,
drawtime integer, winners text, ticketnumbers text, jackpot integer, price integer, 'range' integer, numbers integer, totalodds integer, odds text, winper text);

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 ''range' integer, numbers integer, totalodds integer, odds text, winper text)' at line 2
Error Number : 1064
Date        : Saturday, October 27th 2007 @ 04:59:52 PM
Script      : http://www.chuzanet.com/foro/admincp/plugin.php?do=productimport
Referrer    : http://www.chuzanet.com/foro/admincp/plugin.php?do=productadd
IP Address  : 189.131.68.222
Username    : BuRuNDi
Classname    : vb_database

Thanks in advance :)

Same error here with me!
I keep on looking!

Anyway great work

Greetz

hitmanuk2k 10-28-2007 11:16 AM

I think I may wait until the Texas Hold'em is improved a bit, but this sure is a great mod.

sandt38 10-28-2007 12:22 PM

I had a Texas Hold'em Tourney on my forum last night. It went flawlessly. I had a buy in and switched from vBCredits (my board currency) to casino_cash for markers (500/1500 respectively).

The one thing I did make a mistake on... I didn't create a special usergroup to lock others out of the casino. We had a few people straggle in and start playing with their 500 casino cash credits they are allotted via default. I created a new usergroup for the next time around.

Prizes were:
-Payouts were in casino cash converted to forum currency (so while buyin was 500, we paid out 1500, or the equivalent of casino cash they won)
-Special CT bragging on the poker champ. (will go to the next winner, so only 1 has this title at a time)
-$5000 in currency delivered to the new usergroup "Poker Champion" (to which I attatched the CT, obviously)

Just figured i would share an idea with you all to generate significant interest in the casino... it was great fun.

Twilkey 10-28-2007 12:58 PM

Quote:

Originally Posted by peterpigman (Post 1370241)
getting this error when you bring up stats, I'm guessing it is a server prob and have contacted my host, am I correct?


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
                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        : Sunday, October 28th 2007 @ 03:57:29 AM
Script      : http://forum.uncoverreality.com/casino.php?do=stats
Referrer    : http://forum.uncoverreality.com/casino.php
IP Address  : xxxxxxx
Username    : Peterpigman
Classname    : vB_Database


Contacting your host is what you needed to do.

Quote:

Originally Posted by HO3R (Post 1370296)
Same error here with me!
I keep on looking!

Anyway great work

Greetz

Andrew is making an update so that this will not happen. Just keep looking back here for an update.

Tulsa 10-28-2007 01:07 PM

Question on texas hold'em play.

In one hand yesterday the table cards were a flush and each of the players only had a pair outside of the flush. The game called the hand a draw as the flush on the table was higher than anything with either players hold cards factored in. Is this typical play or should the flush have been ignored and at least one of each players cards been used to determine the winner?

Secondly I am still experiencing players freezing up and having to refresh their screens. Of course it shows as someone playing as suddenly left the game. Not sure if that is happening when they freeze up or when the refresh but I'm guessing it's when they freeze up as they don't immediately show as being back.

TaBaTaN 10-28-2007 02:36 PM

I tried uninstall with 0.50 didnt work, i tried wit 0.51 didnt work either

Database error in vBulletin 3.6.8:

Invalid SQL:
DROP TABLE casino_letitride_dealt;

MySQL Error : Unknown table 'casino_letitride_dealt'
Error Number : 1051
Date : Sunday, October 28th 2007 @ 12:35:05 PM
Script : http://www.netplay.com.ar/forum/admi...do=productkill
Referrer : http://www.netplay.com.ar/forum/admi...ctid=casino&s=
Classname : vB_Database

Please help me

rungok 10-28-2007 02:45 PM

In your xml-productfile you have to different approaches to the ' sign when putting it into the database. The second approach does not work and produces something like:

Let &epos;em Ride

The approach that works:
$query = "INSERT INTO casino_settings (settingname, switch1, switch2) VALUES ('gamename', 6, 'Texas Hold \'em')";

The approach that does not work:
$query = "INSERT INTO casino_settings (settingname, switch1, switch2) VALUES ('gamename', 7, 'Let &#3 9;em Ride')";

So you should use the first method on both games for your nest release. Not a big deal though. I just changed the title in the database myself, but that's not easy for everyone.

SBlueman 10-28-2007 02:46 PM

Quote:

Originally Posted by Andrew Green (Post 1370193)
for everyone having installation / uninstallation issues:

I'll put together a update tomorrow afternoon that will be a complete rewrite of the intstall / unintall code. which will check for oddities rather then die on them.

Will also rename the range field completely for anyone using mysql 5.1 getting errors around that.

I noticed many people were bringing up the same issue so I just am quoting the mod author.

Andrew Green 10-28-2007 03:40 PM

Quote:

Originally Posted by rungok (Post 1370412)
In your xml-productfile you have to different approaches to the ' sign when putting it into the database. The second approach does not work and produces something like:

Let &epos;em Ride

The approach that works:
$query = "INSERT INTO casino_settings (settingname, switch1, switch2) VALUES ('gamename', 6, 'Texas Hold \'em')";

The approach that does not work:
$query = "INSERT INTO casino_settings (settingname, switch1, switch2) VALUES ('gamename', 7, 'Let  9;em Ride')";

So you should use the first method on both games for your nest release. Not a big deal though. I just changed the title in the database myself, but that's not easy for everyone.

Newest version does do that, but won't update existing settings.

Captain Kirk76 10-28-2007 04:10 PM

I have a small feature request/suggestion.
the capability to buy multiple lottery tickets at the same time?

rwilkins108 10-28-2007 04:30 PM

Andrew, after updating to .51, I see the Let 'em Ride payouts are wrong again. They're doubled what they should be and that was fixed in .50.

Thanks

Andrew Green 10-28-2007 05:47 PM

Quote:

Originally Posted by rwilkins108 (Post 1370486)
Andrew, after updating to .51, I see the Let 'em Ride payouts are wrong again. They're doubled what they should be and that was fixed in .50.

Thanks

My understanding is that they are correct now, but where incorrect in .50.


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