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)

Rajdeep 11-20-2007 06:15 PM

i overwrited all files of my 0.61a version with 0.70 files.i removed the older product file thn whn i m trying to iport the file it says Database error in vBulletin 3.6.8:

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

MySQL Error : Duplicate column name 'casino_cash'
Error Number : 1060
Date : Tuesday, November 20th 2007 @ 03:13:45 PM
Script : http://mastidl.com/admincp/plugin.php?do=productimport
Referrer : http://mastidl.com/admincp/plugin.php?do=productadd
IP Address : 59.95.29.52
Username : KINGOFDEVILZ
Classname : vB_Database

evesve 11-20-2007 06:20 PM

Nice game Roulette!
A bug...Winning number "0", I didnĀ“t bet "0", I won ~4000

Andrew Green 11-20-2007 06:26 PM

Quote:

Originally Posted by Rajdeep (Post 1386412)
i overwrited all files of my 0.61a version with 0.70 files.i removed the older product file thn whn i m trying to iport the file it says Database error in vBulletin 3.6.8:

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

MySQL Error : Duplicate column name 'casino_cash'
Error Number : 1060
Date : Tuesday, November 20th 2007 @ 03:13:45 PM
Script : http://mastidl.com/admincp/plugin.php?do=productimport
Referrer : http://mastidl.com/admincp/plugin.php?do=productadd
IP Address : 59.95.29.52
Username : KINGOFDEVILZ
Classname : vB_Database


Delete the field from your user table through phpmyadmin, as well as any casino_* tables. Then import the product.

You do not need to remove the old product file to upgrade, all that does is wipe your stats, scores and everything clean, just import the new product file and check off the allow overwrite box.

Andrew Green 11-20-2007 06:27 PM

Quote:

Originally Posted by evesve (Post 1386418)
Nice game Roulette!
A bug...Winning number "0", I didn?t bet "0", I won ~4000



Woohoo!

I mean oops... ok, I'll have a look at that when I get a chance.

PimvanJ 11-20-2007 06:33 PM

Change my currency from $ to € (glad to find out there was no cost after all):D

I'm changing also the casino_ currency_ marker but find out that the currency in the user profile did not change.
But this was easy doing in the "Casino cash in profile" plug-in.

Keep up the good work.:up:

powerful_rogue 11-20-2007 07:31 PM

This is an amazing mod!

All seems to work perfect, except a few reports relating to roulette. Appears sometimes the roulette wheel will not stop spinning!

Some times its fine, other times it spins for around a minute. One chap managed to make a cup of coffee to come back and find it still spinning!

Andrew Green 11-20-2007 07:35 PM

Quote:

Originally Posted by powerful_rogue (Post 1386447)
This is an amazing mod!

All seems to work perfect, except a few reports relating to roulette. Appears sometimes the roulette wheel will not stop spinning!

Some times its fine, other times it spins for around a minute. One chap managed to make a cup of coffee to come back and find it still spinning!


That's odd, providing everything goes through properly it does two laps then slows and lands on the 3rd. What browser and is your server under heavy load?

DieselMinded 11-20-2007 07:39 PM

Is Craps in the works ?

http://en.wikipedia.org/wiki/Craps

powerful_rogue 11-20-2007 07:42 PM

Quote:

Originally Posted by Andrew Green (Post 1386451)
That's odd, providing everything goes through properly it does two laps then slows and lands on the 3rd. What browser and is your server under heavy load?

Im using FF and the other member was using IE7.
No problems with the server, everything else including the other casino games seem to be running nicely.

When I played earlier it must have down around 9 laps of the wheel.

Andrew Green 11-20-2007 07:44 PM

But did stop eventually?

powerful_rogue 11-20-2007 07:53 PM

Quote:

Originally Posted by Andrew Green (Post 1386463)
But did stop eventually?

Not for one of the members that contacted me. He quit after a few minutes.

sandt38 11-20-2007 10:43 PM

I am having the same problem with Roulette spinning continuously, Andrew.

winstone 11-20-2007 10:51 PM

same problem here with roulette,

Point on improving roulette: it is a great addition to place "something (like in casinos)" on the number that has been picked randomly once the spinning is done, and prints down somewhere how much the player has won in that round. Plus, in all the roulette games, there is a display which shows all the previous numbers, that would be a great addition too.

Great work so far, keep it up! I will donate my share to the project once I fully integrate it to my forum. I am still working on the templates to make it look more like a casino, but have been following your great progress closely.

Regards

ry215 11-20-2007 11:10 PM

Plz help, Andrew. I just upgraded 0.7 and once in a few times when I go to the casino, it says this:

Database error in vBulletin 3.6.6:

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

It also says that when I click on More Stats.

peterpigman 11-21-2007 12:10 AM

Quote:

Originally Posted by ry215 (Post 1386549)
Plz help, Andrew. I just upgraded 0.7 and once in a few times when I go to the casino, it says this:

Database error in vBulletin 3.6.6:

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

It also says that when I click on More Stats.

You need to make a table in your db, it is pretty easy. I had the same problem.

https://vborg.vbsupport.ru/showpost....postcount=1304

dodgeboard.com 11-21-2007 01:34 AM

Quote:

Originally Posted by Andrew Green (Post 1386257)
Check your lottery settings, hit update regardless and see if that fixes it.


Did that, then installed the .70 update according to the directions.

Still happening:

Quote:

Database error in vBulletin 3.6.8:

Invalid SQL:
INSERT INTO casino_lotto_draw (drawtime, jackpot, price, `range`, numbers, totalodds, odds, winper) VALUES (1195786800, 0, 2, 25, 3, , '', '');

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 ' '', '')' at line 1
Error Number : 1064
Date : Tuesday, November 20th 2007 @ 09:03:04 PM
Script : http://www.dodgeboard.com/forums/cron.php?rand=664320
Referrer : http://www.dodgeboard.com/forums/new...-calendar.html
IP Address : 76.213.128.43
Username : Unregistered
Classname : vb_database
Note that I only get this error in an email, and everything seems to work fine for me.

Asi9ine 11-21-2007 05:44 AM

This has been horrible so far, I have to say. I would like to recommend not releasing a product that does a) not install on the first try, and b) not work anyway, with all of the bugs it has. Was it not worth waiting another month to iron everything out?

Don't get me wrong, I couldn't build something of this magnitude, but this seems like a half-done job.

powerful_rogue 11-21-2007 08:13 AM

Quote:

Originally Posted by Asi9ine (Post 1386659)
This has been horrible so far, I have to say. I would like to recommend not releasing a product that does a) not install on the first try, and b) not work anyway, with all of the bugs it has. Was it not worth waiting another month to iron everything out?

Don't get me wrong, I couldn't build something of this magnitude, but this seems like a half-done job.

This product is in Beta Stage as highlighted at the top of the forum. Products in Beta stage mean they may have have bugs and its not recommeneded to install on a live board.

Why didnt you wait until the final version was released instead of installing beta on your live board?

I installed this first time, just like many others on here did. Just becasue it didnt install first time for you would suggest you didnt follow something correctly- Not very nice tarring the mod when its installed fine for everyone.

Some people :rolleyes:

Rajdeep 11-21-2007 08:16 AM

I didnt understood this line - "Delete the field from your user table through phpmyadmin"

What field ????

Quote:

Originally Posted by Andrew Green (Post 1386421)
Delete the field from your user table through phpmyadmin, as well as any casino_* tables. Then import the product.

You do not need to remove the old product file to upgrade, all that does is wipe your stats, scores and everything clean, just import the new product file and check off the allow overwrite box.


SLY LS1 11-21-2007 09:11 AM

Quote:

Originally Posted by Asi9ine (Post 1386659)
This has been horrible so far, I have to say. I would like to recommend not releasing a product that does a) not install on the first try, and b) not work anyway, with all of the bugs it has. Was it not worth waiting another month to iron everything out?

Don't get me wrong, I couldn't build something of this magnitude, but this seems like a half-done job.


Ha-ha, U joke

Lets blame the product because you failed to install it properly!!!

The product is in Beta stage and most people on here are helping out with bugs here and there, I've had it working fine on my site for over a month, I suggest you have another go, probably take your time and do it properly this time then come back and apoligise to Andrew when you've worked out just how good this mod is...

rwilkins108 11-21-2007 09:54 AM

Quote:

Originally Posted by Asi9ine (Post 1386659)
This has been horrible so far, I have to say. I would like to recommend not releasing a product that does a) not install on the first try, and b) not work anyway, with all of the bugs it has. Was it not worth waiting another month to iron everything out? Don't get me wrong, I couldn't build something of this magnitude, but this seems like a half-done job.

Wow! Really? I've been installing and upgrading from the very first versions, I've never had a problem, I mean there are things that work or don't work sometimes, but I've never had a problem with install. Thing is, everyone's set up is different and the problems arise that are setup specific, that's how things get fixed, so deal with the fact that this is Beta, its FREE and that Andrew is doing the best he can to fix issues as they are found.

Andrew Green 11-21-2007 12:50 PM

Quote:

Originally Posted by Rajdeep (Post 1386736)
I didnt understood this line - "Delete the field from your user table through phpmyadmin"

What field ????

The casino_cash field in the user table.

Crapforum 11-21-2007 12:57 PM

nice new feature (roulette) Andrew, i had no problems installing.
1 small request concerning roulette...would it be possible to show your WIN amount after each turn. And also keep the chips on the table until a new turn starts...
keep up the good work!

Rajdeep 11-21-2007 01:17 PM

Thanks for helping sir....

Quote:

Originally Posted by Andrew Green (Post 1386869)
The casino_cash field in the user table.


punchbowl 11-21-2007 01:47 PM

too popular with my members! :D

I left it open to all over the weekend and apart from some glitches (especially the texas) everything went fine. I restricted the texas to 6 seats and downed the reload to 1000.
People played but complained a lot about freezing and odd glitches.

By tuesday I had to restrict casino access to about 50 members as it was taking a hammering.

The poker is the main thing that needs work - i fill the tables no problem but thats where the trouble begins!

It's a great mod and i'm looking forward to developments/fixes.

Cheers

Mark.B 11-21-2007 01:48 PM

I really don't understand why some posters have to be so rude. I really don't.

I shall refrain from launching into one of my big spiels about it, since this isn't the place. But suffice to say I have had an elegant sufficiency of it!

Thank you Andrew, once again, for yet another fantastic update, and I love the roulette. This mod is amazing work.

Andrew Green 11-21-2007 02:02 PM

Quote:

Originally Posted by punchbowl (Post 1386909)
too popular with my members! :D

I left it open to all over the weekend and apart from some glitches (especially the texas) everything went fine. I restricted the texas to 6 seats and downed the reload to 1000.
People played but complained a lot about freezing and odd glitches.

Can you give me some specifics?

Tulsa 11-21-2007 02:02 PM

Quote:

Originally Posted by Mark.B (Post 1386910)
I really don't understand why some posters have to be so rude. I really don't.

Generally speaking, they're 14 and know everything.

punchbowl 11-21-2007 02:11 PM

Quote:

Originally Posted by Andrew Green (Post 1386923)
Can you give me some specifics?

I'll pm you a link to the casino forum and you can read it at your leisure (if at all) - i've asked for user feedback/screenhots etc and have told them it's in development - i sent you a user/pw a while back(either on here or vbgaming.) Might be a decent site to load test a bit.

I haven't personally played that much.

I'm not posting links publicly unfortunately but if I can help in the testing/dev then great.

waller99 11-21-2007 02:19 PM

Andrew, this is by far the best mod I have ever messed with in vbulletin. Thanks again.

I do have one request though. Is there a way that I can define the winner of a pool and make it more obvious once the event has been settled?

Example: (this is how it currently is after the event has bee settled)

Attachment 72517

Maybe change the winner's font color:

Attachment 72518

Or even better, change the color of the table cells:

Attachment 72519


Keep up the good work. Thanks again.

Dustin

csavern 11-21-2007 02:49 PM

Quote:

Originally Posted by Mark.B (Post 1386910)
I really don't understand why some posters have to be so rude. I really don't.

I shall refrain from launching into one of my big spiels about it, since this isn't the place. But suffice to say I have had an elegant sufficiency of it!

Thank you Andrew, once again, for yet another fantastic update, and I love the roulette. This mod is amazing work.


Like the old saying goes

you can please some of the people some of the time

but

you can not please all the people all the time

The biggest problem here i think is people dont under stand BETA

and even when this product is 100% there will be people complaining about something

and even when it is the users fault they will have to point a finger some where and Andrew

will be a good one to point at :D

Good mod Andrew

NFLfbJunkie 11-21-2007 02:51 PM

Quote:

Originally Posted by Asi9ine (Post 1386659)
This has been horrible so far, I have to say. I would like to recommend not releasing a product that does a) not install on the first try, and b) not work anyway, with all of the bugs it has. Was it not worth waiting another month to iron everything out?

Don't get me wrong, I couldn't build something of this magnitude, but this seems like a half-done job.

This MOD is still in BETA stage, which means there will be bugs that the coder continues to clean up through the help of everyone else's testing of the MOD. Andrew answers to all bugs that are found and he updates the MOD frequently. This is an awesome MOD and the final product should be even better.

Keep up the great work Andrew.

oxblood12 11-21-2007 03:14 PM

Thanks Man Testing You Hack

Andrew Green 11-21-2007 03:19 PM

Quote:

Originally Posted by Asi9ine (Post 1386659)
This has been horrible so far, I have to say. I would like to recommend not releasing a product that does a) not install on the first try, and b) not work anyway, with all of the bugs it has. Was it not worth waiting another month to iron everything out?

Don't get me wrong, I couldn't build something of this magnitude, but this seems like a half-done job.


Well, I never claimed it was done. the version is listed at 0.70, and I'd say about 70% done is right.

This is also a free product, and is not my job. I work full time, teach evening classes, have a girlfriend, etc. This is a small piece of my time, and to be perfeclty honest works quite well. 405 installs and over 50% of the votes for MOTM this month. Not bad for a release that is less then 2 months old.

Now this is free, it gets maybe 5-10 hours programming a week, that's all I got for it. Releasing as a Beta through development gives me hundreds of hours of testing across hundreds of boards by thousands of users. Bugs get fixed much faster this way and I can spend time adding new things rather then spending all my time testing.

But hey, 400 installs, if everyone wants to put $10 / month I'd consider doing this flltime. But for now, suck it up princess.

TazeredBlackMan 11-21-2007 04:57 PM

Hey, regarding the roulette table, a few members have said that the payout on the roulette isn't working properly.

Here is the post he sent to me, I hope maybe it can shed some light and that this issue hasn't been brought up already.

Quote:

Roulette didnt pay out on the Black 6. It gave me that weird decimal # again. It did give me back what I bet, but didnt pay out. I had 10 inbetween 6-7 which would pay me 5 -35 on the 6. and I had 500 on black which would have paid $1000. then I had 175 on the first 12 which would have paid 3-1. It gave me back the money I had on the table as the winning bet and put .1857 something. I guess it didn't add it to my winnings as full money, but as a decimal point. It took all the losing cash and didnt pay winnings once again. I think it was black 6 yesterday that it did that on too.
Any ideas?

Thanks again.

Andrew Green 11-21-2007 05:25 PM

Quote:

Originally Posted by TazeredBlackMan (Post 1387037)
Hey, regarding the roulette table, a few members have said that the payout on the roulette isn't working properly.

Here is the post he sent to me, I hope maybe it can shed some light and that this issue hasn't been brought up already.



Any ideas?

Thanks again.

I might get a chance to look into this tonight or tomorrow, depending on what's going on. I'll have something by the end of the weekend at the latest.

inciarco 11-21-2007 05:41 PM

Quote:

Originally Posted by inciarco (Post 1386189)
Any Luck Solving the Bug I Reported Yesterday with Texas Hold'em?? :confused: ;)

My Posted Message is: https://vborg.vbsupport.ru/showpost....postcount=1803

My Best Regards!! ;)

:)

Bump!! :p

I Think This Bugs are Important to be Solved!! :confused: :(

My Best Regards, Andrew Green!! ;)

:)

mrmike 11-21-2007 05:46 PM

Quote:

Originally Posted by Andrew Green
But hey, 400 installs, if everyone wants to put $10 / month I'd consider doing this fulltime. But for now, suck it up princess.

You just got 10 bucks from me, as a small token of appreciation. You're doing a GREAT job and I thank you for that, and of course I already voted your Casino for the MOTM!

Best regards

/Mike

towermatt 11-21-2007 05:47 PM

Best mod I have ever put on, it was my pleasure to donate to Andrew and his wonderful work.

I love that last line :D

sandt38 11-21-2007 06:39 PM

Quote:

Originally Posted by Andrew Green (Post 1387051)
I might get a chance to look into this tonight or tomorrow, depending on what's going on. I'll have something by the end of the weekend at the latest.

Andrew, I reloaded the product, casino.php, and all the Casino folder files and my error is resolved.

It would be nice if there were text explaining what was won or lost on the Roulette table, though.


All times are GMT. The time now is 10:55 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.04165 seconds
  • Memory Usage 1,868KB
  • 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
  • (25)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