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 10-25-2007 04:41 PM

it's not too heavy, but every minute would really be pushing it... but you can give it a try, every 15 minutes might be a better option though.

Andrew Green 10-25-2007 04:45 PM

Another option here might be a button that lets them reset to 100 (or some other amount)

perju 10-25-2007 04:50 PM

Just so I understand...

If a member goes down to 0, they have to wait 15 minutes (or whatever i set it to) before they get back their reset value. Let's say a member hits 0, and then writes a post (+$5). Now, they're no longer at 0. What happens? Does the cron ignore them since they're not at 0?

Is there a way to pop open a button on any casino page if the user has 0? If the user clicks the button, it resets the value to [$whatever]?

perju 10-25-2007 04:51 PM

Ahhh, you read my mind. :)

lasto 10-25-2007 04:55 PM

Quote:

Originally Posted by Andrew Green (Post 1368466)
What version does it way you have installed?

I can send you a script to clean house and reset things to where they should be for what is installed, then the upgrade should work.


Casino .34 Casino for VBulletin

yes can u plz send me the script -

i got all them errors when i tried to run the 0.50 version (just import the porduct and overwite)

Mark.B 10-25-2007 05:16 PM

A question on "Past Draws" on the lottery.

My table that displays these is getting quite big now. Just does it just carry on adding them for ever, or will it paginate at some point?

Failing that, does it cause any problem just deleting old draws from the database directly?

Andrew Green 10-25-2007 05:19 PM

I'll stick a limit in there next round, only show the last 20 or something...

Mark.B 10-25-2007 05:23 PM

Quote:

Originally Posted by Andrew Green (Post 1368513)
I'll stick a limit in there next round, only show the last 20 or something...

Cool, never thought of that...I shall probably try add that in myself as a temporary measure. Not that I enjoy messing with code or anything....

Mark.B 10-25-2007 05:25 PM

Quote:

Originally Posted by Mark.B (Post 1368519)
Cool, never thought of that...I shall probably try add that in myself as a temporary measure. Not that I enjoy messing with code or anything....

Hmm, I think it's already got a limit on as it happens:

Code:

SELECT * FROM casino_lotto_draw WHERE drawtime < $currenttime ORDER BY drawtime DESC LIMIT 20

Andrew Green 10-25-2007 05:29 PM

Quote:

Originally Posted by lasto (Post 1368459)
cant install the 0.50 version get dataabse error that let it ride table already exists.

Attached will dump your settings table and rebuild it up to .33/.34 defaults, then dump the letitride_dealt table.

upload it to your main forum directory, run it, and once everything is done delete it.

After that you should be able to upgrade normally to .50, if not let me know and I can do a bigger wipe and rebuild.


All times are GMT. The time now is 04:38 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.03881 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_code_printable
  • (4)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