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)

sandt38 10-16-2007 03:07 AM

Everything was going fine, then i got a total shutdown of the Hold 'em Room...

Quote:

Database error in vBulletin 3.6.8:

Invalid SQL:
INSERT INTO casino_texasholdem_chatlog (msg, msgtime) VALUES ('<b style=\'color:#000000\'>Nature's Folly has left the game</b>', 1192507386);

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 's Folly has left the game</b>', 1192507386)' at line 1
Error Number : 1064
Date : Tuesday, October 16th 2007 @ 12:03:06 AM
Script : http://faceforums.com/forums/casino/...oldem_ajax.php
Referrer : http://faceforums.com/forums/casino.php?do=texasholdem
IP Address :
Username : Smashing
Classname : vB_Database_MySQLi
I'll bet it was the apostrophe in the user's name.

Andrew Green 10-16-2007 03:12 AM

Quote:

Originally Posted by sandt38 (Post 1361270)
Everything was going fine, then i got a total shutdown of the Hold 'em Room...


That's not good... Give me 10 minutes and I'll fix that.

ArchangelX 10-16-2007 03:16 AM

Awesome stuff...I'll wait for the fix...but kudos to you!

ArchangelX 10-16-2007 03:21 AM

Shootz...I guess I will...lol...there's no file to download anyways...haha. Quick work... ;)

Andrew Green 10-16-2007 03:23 AM

Should fix that, file is back up.

wasn't sanitizing usernames properly...

ArchangelX 10-16-2007 03:24 AM

You da man, Andrew!

sandt38 10-16-2007 03:26 AM

can I just reload the hold'em_ajax.php file?

Andrew Green 10-16-2007 03:27 AM

Quote:

Originally Posted by sandt38 (Post 1361283)
can I just reload the hold'em_ajax.php file?


From .31 -> .32 there where more changes then that. All 3 texas hold'em files, plus import the product and you should be good.

sandt38 10-16-2007 03:33 AM

I just reloaded everything but the images. Everything looks great. Thanks Andrew... your support is amazing.

Andrew Green 10-16-2007 03:36 AM

Quote:

Originally Posted by sandt38 (Post 1361285)
I just reloaded everything but the images. Everything looks great. Thanks Andrew... your support is amazing.

Couldn't get things done nearly as fast without all you folks finding the problems though :D

SLY LS1 10-16-2007 04:03 AM

Quote:

Originally Posted by sandt38 (Post 1361285)
I just reloaded everything but the images. Everything looks great. Thanks Andrew... your support is amazing.

Me 2

Cheers

ArchangelX 10-16-2007 04:22 AM

Hmm..having some probs with IE and shoutbox. I think it's like 80% of the internet users that use IE. Hmm. I'll make sure to mention to everyone that the shoutbox isn't working currently in IE, unless you know what the heck I'm doing wrong...hahah. But it's great so far! Good stuff!

Yepz...confirmed...shoutbox in IE isn't refreshing. But this is a really awesome add-on Andrew! Kudos!

cuphongle 10-16-2007 05:07 AM

THIS IS AWESOME!!!!!!!!!!!!!

can i get a paypal thingie to send u some money

cuphongle 10-16-2007 05:23 AM

got an error, i was testing the game out wit a few members on the forum, i got 2 pair and the guy got a straight, but i won the pot, here's the image

https://vborg.vbsupport.ru/external/2007/10/23.jpg

ArchangelX 10-16-2007 05:28 AM

One question, Andrew. It's 10 player Texas Hold'Em. What happens if another person wants to play? Does it create a new game with that person? Or can they just not join until someone leaves?

Also, I saw one of my guys put all his cash bank into the bank during the game. What happens if they have 0.00 in the bank and try to play?

SBlueman 10-16-2007 05:51 AM

When you go to play video poker it asks you what chip you want to bet and right away you get a result of nothing before getting a chance to pick your cards:

http://gridironfans.com/forums/casino.php?do=videopoker

EmpireZ 10-16-2007 05:57 AM

Quote:

Originally Posted by SBlueman (Post 1361330)
When you go to play video poker it asks you what chip you want to bet and right away you get a result of nothing before getting a chance to pick your cards:


This was explained earlier, dunno if there was a fix for it yet though...
The reason is that the person who encounter this left the game earlier before it was done, so when you went back to play it continued your old game basically. ;)

SBlueman 10-16-2007 06:03 AM

Hmmm.....maybe a "Leave Game" option is needed then?

duckdodger 10-16-2007 06:28 AM

I just installed the new version, and am having the chatbox issue with IE as well. the first message displays fine, then it stops working. Also in IE, all the images, the cards and ready/waiting buttons, flash continuously every 3 seconds. But everything looks great in Firefox :)

ArchangelX 10-16-2007 06:29 AM

Hey Andrew...some of our guys have been playing...using IE...and for some reason, due to some weird combination, or maybe just the number of hands, the shoutbox starts working after awhile in IE. I'm not quite sure why it works, but it takes quite a few hands before it does.

Cigarcritic 10-16-2007 06:31 AM

I made some chips. See attachment.

EmpireZ 10-16-2007 06:36 AM

Looks good there Cig,
but 1000? lol chips only go up to 100 in game. :p

Cigarcritic 10-16-2007 06:46 AM

Quote:

Originally Posted by EmpireZ (Post 1361350)
Looks good there Cig,
but 1000? lol chips only go up to 100 in game. :p

You can add what you want in the CP. :)

EmpireZ 10-16-2007 06:48 AM

Good point...
Walks away whistling...

ArchangelX 10-16-2007 07:13 AM

Another serious bug to report. After about a hundred hands or so, the whole thing went nuts and people started shuffling around, and the game made them leave and come back in new positions....we all had to exit and come back in to get it going right again. I got kicked out several times, and each time we're shuffled, the current hand auto-ends, and someone wins the pot. It's a pretty big bug. It's still doing it...and nothing we've done so far has been able to make it stop. And actually, I don't think it's the amount of hands, I think it's the amount of people in the game.

Also, is there any way to set a limit to the raises? I've got some jackazzes that are raising constantly before even seeing the flop. It's pretty annoying! Perhaps a kick button for Admins would be nice as well.

Great work though! I can see so much potential in this! It really is an enjoyable addition. My users are salivating at the chance to use it once it's fully reliable! Thanks!

ArchangelX 10-16-2007 07:31 AM

Okay, we've been testing it...it seems that once you get to 9 and 10 players going, it just starts to go freakin' haywire. And we think it might have something to do with people joining when it's at max capacity as well.

ArchangelX 10-16-2007 09:06 AM

New bug:

Once players run out of money, they are still able to raise with an amount of 0. At the end of the game, each player that raised with 0 dollars at any point in time during the game, ends up getting money back. One player went in as a dealer with 5 points, and a 10 point raise, and ended up getting 10 back at the end even though he lost. Best way to alleviate this would be to remove their ability to Raise, and only call after losing all their points.

One of my users also thinks there's another bug with the banks. This is what happened, specifically:

Quote:

Okay if say I have $100 to start (so I can get in on the hand) and then in a diff window I deposit all my $ so i have $0, I can keep playing the hand, be in and have other ppl put in their money w/o putting mine in. Then on the river, I withdraw my money and play normally. If I win, I win the whole pot because I was in at the end. You still have to pay w/e u "owe" from before...like all the raises you passed up on add up and when you wanna come back in you gotta pay it. But if you know ur going to win or have a good hand, you just pay up. If the cards you wanted didn't show up, then just fold and u lose nothing.

That's kinda the best i could describe it...hope it helps...

SBlueman 10-16-2007 09:09 AM

Quote:

Originally Posted by Cigarcritic (Post 1361349)
I made some chips. See attachment.

Very cool, thanks!

deezelpope 10-16-2007 12:03 PM

Quote:

Originally Posted by Cigarcritic (Post 1361349)
I made some chips. See attachment.

Very nice! Thank you!:)

sandt38 10-16-2007 12:45 PM

Quote:

Originally Posted by cuphongle (Post 1361319)
got an error, i was testing the game out wit a few members on the forum, i got 2 pair and the guy got a straight, but i won the pot, here's the image

https://vborg.vbsupport.ru/external/2007/10/23.jpg

I ran into some similar issues. For some reason a straight, heavy on the community card side (what I mean is, with 1 card in hand, and 4 in the community) doesn't get recognized. It seems to me like that might have happened on a flush once as well.

towermatt 10-16-2007 01:22 PM

Upgraded to .32--no problems so far

rinkrat 10-16-2007 02:54 PM

Any idea why the cards don't show up for me in the Hold'em game?

FreeFall1 10-16-2007 03:05 PM

Quote:

Originally Posted by rinkrat (Post 1361607)
Any idea why the cards don't show up for me in the Hold'em game?




yes i bet you have used the updated texasholdem_functions file, i got the same thing when i used that go back to the normal one and it fixes the problem

cuphongle 10-16-2007 03:47 PM

Quote:

Originally Posted by sandt38 (Post 1361562)
I ran into some similar issues. For some reason a straight, heavy on the community card side (what I mean is, with 1 card in hand, and 4 in the community) doesn't get recognized. It seems to me like that might have happened on a flush once as well.

yea, same with a 1 card flush

https://vborg.vbsupport.ru/external/2007/10/22.jpg

sandt38 10-16-2007 03:50 PM

Also, one of my members has an apostrophe in his name... Nature's Folly. Whenever he enters the room it goes whacky. Of worthy note, I also have a member Dr. House, who's period does not mess with the room.

LordDB 10-16-2007 04:35 PM

Quote:

Originally Posted by Cigarcritic (Post 1361349)
I made some chips. See attachment.

Many thanks for these additional chips..adds more of a buzz now, and cool designs, too!

Cheers!

Andrew Green 10-16-2007 04:39 PM

Quote:

Originally Posted by ArchangelX (Post 1361380)
Okay, we've been testing it...it seems that once you get to 9 and 10 players going, it just starts to go freakin' haywire. And we think it might have something to do with people joining when it's at max capacity as well.

I have a few ideas on what might be doing that, so hopefully with the next update that will be fixed.

Quote:

Originally Posted by ArchangelX (Post 1361370)
Also, is there any way to set a limit to the raises? I've got some jackazzes that are raising constantly before even seeing the flop. It's pretty annoying! Perhaps a kick button for Admins would be nice as well.

Not yet, but I do plan on adding a limit to number of raises per round.

Quote:

Originally Posted by ArchangelX (Post 1361417)
New bug:

Once players run out of money, they are still able to raise with an amount of 0. At the end of the game, each player that raised with 0 dollars at any point in time during the game, ends up getting money back. One player went in as a dealer with 5 points, and a 10 point raise, and ended up getting 10 back at the end even though he lost. Best way to alleviate this would be to remove their ability to Raise, and only call after losing all their points.

That shouldn't be happening, I'll have another look at how refunds are calculated. Money back should only be if you put more in then the person that won did.

Quote:

One of my users also thinks there's another bug with the banks. This is what happened, specifically:
Never even considered a bank, I have a couple ideas, not sure whether they will cause more problems then this though.

Quote:

Originally Posted by sandt38 (Post 1361562)
I ran into some similar issues. For some reason a straight, heavy on the community card side (what I mean is, with 1 card in hand, and 4 in the community) doesn't get recognized. It seems to me like that might have happened on a flush once as well.

Yes, I know what it is. It's using your 2 pocket cards plus 3 of the 5, rather then any 5 of the 7. I'll rework that to allow any 5.

Quote:

Originally Posted by sandt38 (Post 1361643)
Also, one of my members has an apostrophe in his name... Nature's Folly. Whenever he enters the room it goes whacky. Of worthy note, I also have a member Dr. House, who's period does not mess with the room.

Will fix, just missed a spot :)

ArchangelX 10-16-2007 04:47 PM

Actually, Andrew, I had some more discussion, and we tested the refunds...I think you may be right, and that it was just because one player put more in than the player that won did. We couldn't get it to happen again. Thanks for your help, and I hope this helps you work the bugs out! Let me know if you need us to test anything...

Also, one more question, that I asked earlier. What happens when the table is full? I have a pretty sizeable board, and I imagine that it will get full very quickly. Is it possible to create a second table? Oh, and I don't mean to put more pressure on you...just wondering. This is great stuff, and my members love it!

Andrew Green 10-16-2007 04:48 PM

Quote:

Originally Posted by ArchangelX (Post 1361681)
Actually, Andrew, I had some more discussion, and we tested the refunds...I think you may be right, and that it was just because one player put more in than the player that won did. We couldn't get it to happen again. Thanks for your help, and I hope this helps you work the bugs out! Let me know if you need us to test anything...

That's good, cause I was pretty sure I had had that working right :D

ArchangelX 10-16-2007 04:53 PM

Woah..you're quick. Do you have a Paypal? Thanks!


All times are GMT. The time now is 04:01 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.04198 seconds
  • Memory Usage 1,836KB
  • 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
  • (21)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