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)

AdmiralGeek 10-22-2007 12:38 PM

logical error when playing the video poker, you get a pair of nines, and you get a jack wchi is better. The computer decides sure, we will make it two pair instead of letting you choose three of a kind, which is a higher pay out......

Andrew Green 10-22-2007 01:17 PM

Quote:

Originally Posted by Rushty (Post 1365718)
im getting an error when installing on MySQL v5 on Windows

Database error in vBulletin 3.6.8, casino versions .38 & .4

the error seems to be down to the use of a reserved word 'range' within thw SQL that creates casino_lotto_draw. SQL below.

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);

Range is not listed as a reserved word: http://dev.mysql.com/doc/refman/5.0/...ved-words.html

Is that the error it is giving you? I can escape it or rename it next time around which should get around that...



Quote:

Originally Posted by leeman (Post 1365764)
I have Inferno Shoutbox ....

But I get confused when it conflicts with 3 outa six games ...

Well gonna try some stuff. Unless someone else have gotten the same and solved it.

Those 3 function in more or less the same way, and it does look like some sort of conflict with the Inferno stuff. When does the error show up? Does the start button flash up first? Do you get nothing but the error? Most of the page show up, but the error come in the place where the cards should be?

Quote:

Originally Posted by AdmiralGeek (Post 1365767)
the 250, 500, 1000, chip in the admin control panel are not added automatically
maybe the admin.php needs to be re-done.
They have to be entered manually?

Yes they do. I know a lot of people have added higher chips, and I didn't want to overwrite existing settings, so the images are there, but they aren't added in.

Quote:

Originally Posted by samorite (Post 1365785)
when i try to save the changes i get

any ideas ?

I'll patch that query out of there and post it here when I get a few minutes.

Quote:

Originally Posted by Mark.B (Post 1365648)
Thanks Andrew. :D

Just for information, returning to the site at 0700 BST and the events have gone, so it looks like they are closing at server time rather than vbtime.

Ok, so the times all show up properly, but the events are staying open passed the time shown?

Andrew Green 10-22-2007 01:21 PM

Quote:

Originally Posted by AdmiralGeek (Post 1365855)
logical error when playing the video poker, you get a pair of nines, and you get a jack wchi is better. The computer decides sure, we will make it two pair instead of letting you choose three of a kind, which is a higher pay out......


Exactly what cards are you getting?

Any hand that would let you have both 2 pair and 3 of a kind should be a full house?

Vizionz 10-22-2007 01:27 PM

i am gonna install this shortly but mad props for putting this much work into a game mod.

Andrew Green 10-22-2007 01:32 PM

Quote:

Originally Posted by samorite (Post 1365785)
when i try to save the changes i get


any ideas ?


Overwrite the existing file with the attached one in the admincp folder.

AdmiralGeek 10-22-2007 01:49 PM

Quote:

Originally Posted by Andrew Green (Post 1365885)
Exactly what cards are you getting?

Any hand that would let you have both 2 pair and 3 of a kind should be a full house?

no, when i had 1 pair, and a jack. the jack takes another card and turns it into a pair, instead of leeting the 1 pair be a three of a kind. Get me now?

AdmiralGeek 10-22-2007 01:53 PM

the wild card (jack) doesn't know how to handle the situation, it cant consider that when you have just one single pair, it cant turn it into a three of a kind, unless there is another pair in the hand.

three of a kind, is stronger than two pairs.

Andrew Green 10-22-2007 02:14 PM

Jack is not treated as a wild card?

Rushty 10-22-2007 02:27 PM

Quote:

Range is not listed as a reserved word: http://dev.mysql.com/doc/refman/5.0/...ved-words.html

sorry I should have said its 5.1 not 5.0 and range is a reserved word on 5.1: http://dev.mysql.com/doc/refman/5.1/...ved-words.html

Mark.B 10-22-2007 02:28 PM

Quote:

Originally Posted by Andrew Green (Post 1365878)
Ok, so the times all show up properly, but the events are staying open passed the time shown?

Yep, that's exactly it.

I tested this by re-uploading the old file (which I have left up for the time being) and the events that should be closed then disappear.


All times are GMT. The time now is 02:22 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.03594 seconds
  • Memory Usage 1,750KB
  • 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
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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