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)

peterpigman 01-27-2008 12:41 PM

Quote:

Originally Posted by Andrew Green (Post 1428387)
Well I don't have any plans to for anything on this, but it's easy enough to hard code it in:

LIne 183 / 184 in the includes/cron/casino_lotto.php

Code:

       
if(! $jackpot)
        $jackpot =  round($odds[$numbers] * .5 * $price);

add a multiplication factor, ex:

Code:

       
if(! $jackpot)
        $jackpot =  round($odds[$numbers] * .5 * $price) * 3;


Next time the jackpot gets reset (someone wins it or the odds get changed that will kick in. If you want it before then change the draw in the casino_lotto_draw, it will be the last one and the only one that doesn't have a result.

Cross posted to: http://vbgaming.org/forum/showthread.php?p=419 for easier reference.

That did nothing for me.

punchbowl 01-27-2008 12:55 PM

Quote:

Originally Posted by koolasia (Post 1430007)
got it thanks how do we increase lottery ticket prize 10 is to less i think

yeah our currency has badly devalued too :D

100 dollar tickets for all!

wolfyman 01-27-2008 03:44 PM

Is there a way I can import my users old casino cash into their new vbookie cash?

iogames 01-27-2008 05:45 PM

It may be a good thing, but odd...

I just have 3 users cause I'm building my board and I found odd that 2 users got more money without even play [253 & 251] or transfer funds...

and this it's when I said my graphics got crushed.

Andrew Green 01-27-2008 06:32 PM

Quote:

Originally Posted by wolfyman (Post 1430138)
Is there a way I can import my users old casino cash into their new vbookie cash?

I imagine vbookie has a setting that lets you use a different money source?

Otherwise you could do it with a straight sql update then flip the casino to use vbookies cash.

Quote:

Originally Posted by peterpigman (Post 1430030)
That did nothing for me.

Did the jackpot get reset? As in either won or the numbers / range got changed?

Jackpot is cumulative, it only gets reset when it needs too.

Quote:

Originally Posted by koolasia (Post 1429949)
how to increase it

Game settings, same place you enable all the other chips

Quote:

Originally Posted by DiesellMinded (Post 1429523)
did you see this Andrew?

Yes, that one I knew about, still haven't had any luck getting IE to force a page reload though. Does it only happen when there is a few players in, or when the server is under load?

DieselMinded 01-27-2008 06:37 PM

I was on Firefox and it really didnt matter how many players there were

iogames 01-27-2008 10:56 PM

Users keep gaining money even if they don't play...
This could bee good in the real world but???

Andrew Green 01-28-2008 03:41 AM

Quote:

Originally Posted by iogames (Post 1430426)
Users keep gaining money even if they don't play...
This could bee good in the real world but???

Is it from all the cash bonus settings?

DieselMinded 01-28-2008 04:45 AM

00' Cummins

Shows as 00//' Cummins on the texas holdem

wolfyman 01-28-2008 12:35 PM

Quote:

Originally Posted by Andrew Green (Post 1430265)
I imagine vbookie has a setting that lets you use a different money source?

Otherwise you could do it with a straight sql update then flip the casino to use vbookies cash.


At this point, I think the sql option is the best bet, since users have been working on rebuilding their accounts since the switch. If I just switch to the other cash system, members will lose their work one way or the other.

I'm lost when it comes to that though - how would I do it? And which would be the most stable? vbookie > casino, or opposite?


All times are GMT. The time now is 10:35 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.04288 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_code_printable
  • (8)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