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)

Andrew Green 12-30-2007 10:14 PM

Just to confirm, there is a bug in the lottery, has to do with how the odds are calculated which throws the JP off. This is fixed in my development version, so next update it will be gone. Replace existing file (includes/cron/ folder) with attached to solve it now, won't show fixed until a new draw is created.

ezurick 12-30-2007 11:08 PM

Quote:

Originally Posted by Andrew Green (Post 1412231)
Just to confirm, there is a bug in the lottery, has to do with how the odds are calculated which throws the JP off. This is fixed in my development version, so next update it will be gone. Replace existing file (includes/cron/ folder) with attached to solve it now, won't show fixed until a new draw is created.


Thanks Andrew... I updated with this, but now my Lottery is stuck on charging 2 credits when I have it set for 10. I refreshed over and over... I ran the Lottery Draw task manually... still stuck on 2. I know it was set and changed on 10 prior to this... I am not sure what happened...

Also, we started to try the Sports Betting in Casino on some football games. I settled them, but I can not see how what the jackpot is or how it was distributed. Me as the admin can't even see what a user won or lost. Is there plans to change this in your new version?

Thanks...

Andrew Green 12-30-2007 11:27 PM

Until the existing draw is over a new one won't get created.

paldo 12-31-2007 01:36 AM

i just upgraded and lost all my big chips .. it goes to 10 bucks thats it

Andrew Green 12-31-2007 04:28 AM

Go to the game settings and turn them on.

paldo 12-31-2007 08:01 AM

they are on ;) thats the first thing i checked

paldo 12-31-2007 08:09 AM

ok i went in and reset all the chips and clicked update settings now the entire area to set chip values is gone from the admin panel and still 10 bucks is as high as the chips go the last thing you see in settings is as far as it goes

https://vborg.vbsupport.ru/

DieselMinded 12-31-2007 08:40 AM

Got multiple Database errors Last Night

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 : Monday, December 31st 2007 @ 02:54:13 AM
Script : http://www.dieselbombers.com/casino.php
Referrer :
IP Address :
Username :
Classname : vb_database

Any Fix?

ezurick 12-31-2007 01:48 PM

Quote:

Originally Posted by Andrew Green (Post 1412272)
Until the existing draw is over a new one won't get created.

Yes, I understand that... but the ticket amount won't change until the new drawing? That's strange... Shortly after I installed the Casino I set it at 10. I refreshed my browser and went to the Casino Lottery and it showed 10. All I done was updated this latest file and ran the lottery task... I noticed that the ticket amount is now 2. I went to the settings and it is 10. I resaved it, refreshed my browser and went back to the Casino lottery and it is still 2. It is like it doesn't care what the admin settings are... I shouldn't have to wait until a new drawing to change the amount of the ticket, right?

Andrew Green 12-31-2007 04:16 PM

Quote:

Originally Posted by paldo (Post 1412482)
ok i went in and reset all the chips and clicked update settings now the entire area to set chip values is gone from the admin panel and still 10 bucks is as high as the chips go the last thing you see in settings is as far as it goes

They've just moved, the acp got restructured, look under "Casino -> Game Settings".

Quote:

Originally Posted by DiesellMinded (Post 1412492)
Got multiple Database errors Last Night

Need to add a index to switch1 in the casino_settings table, this can be done through phpmyadmin. Will also set the next update to do it on install.


Quote:

Originally Posted by ezurick (Post 1412643)
Yes, I understand that... but the ticket amount won't change until the new drawing? That's strange... Shortly after I installed the Casino I set it at 10. I refreshed my browser and went to the Casino Lottery and it showed 10. All I done was updated this latest file and ran the lottery task... I noticed that the ticket amount is now 2. I went to the settings and it is 10. I resaved it, refreshed my browser and went back to the Casino lottery and it is still 2. It is like it doesn't care what the admin settings are... I shouldn't have to wait until a new drawing to change the amount of the ticket, right?

When the admincp got reworked all of the settings reverted to their defaults, chips in use, names, descriptions and lottery settings. That's why it is back to 2.

You also cannot change a draw once it has been started, changes always effect the next draw created, never ones that are already up. The reason is, lets say the ticket price is 1, I but 10 tickets, you change the ticket price to 10, this effects jackpots and has other people paying more then I did for the same tickets. Another problem is lets say I pick the numbers 10, 15 & 23. Then you go and change the number range to 1-15, yet I have a ticket with 23 on it.


All times are GMT. The time now is 04:57 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.03405 seconds
  • Memory Usage 1,748KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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