vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vbCasino 3 (fixed) (https://vborg.vbsupport.ru/showthread.php?t=93600)

xtreme-mobile 09-25-2005 03:29 PM

is there anyway of making it so it would do the following

show a message saying "forums richest member" and then when they lose their title it goes on the next persons profile

is this possible

many thanks

dean

micheal332001 09-25-2005 05:46 PM

Quote:

Originally Posted by xtreme-mobile
is there anyway of making it so it would do the following

show a message saying "forums richest member" and then when they lose their title it goes on the next persons profile

is this possible

many thanks

dean


Whats the point in this as the ucash/ushop has this.
If the casino had its own cash system then yes it would be a good idea.
This could be done yourself all you need to do is insert a new table into the users then cakk the top 10 so you could show the to 10 richest.

Mike

xtreme-mobile 09-26-2005 05:04 PM

ucash tells you how many points you have but i was thinking more like the arcade hack there was that displayed the arcade champ with a little trophy

micheal332001 09-26-2005 06:12 PM

Hi again m8

Like i said it could not be done with the ucash/ushop addon as you can earn points in just about any where.
You would have to make your own cash tabel up to be able to do this.
I do like the idea.

Mike

HHU 09-27-2005 04:29 PM

Ok, going to install this with the file you put up here...

Also add a cron job to includes/cron/lottery_cron.php choose a date, whenever you want the lottery to be reset.

^^ How do I go about doing this?

Thanks

HHU 09-27-2005 04:40 PM

Quote:

Originally Posted by micheal332001
What version of the vbcasino are you using.

From the looks of what you are trying to insert is wrong its to long.
This is trying to insert 12 fields and there is only 6 for the lottery_setting table.

In the casino_install.php file look for this on link 430 i think.

PHP Code:

 INSERT INTO " . TABLE_PREFIX . "lottery_settings 

It should look like this

PHP Code:

$DB_site->query("
INSERT INTO " 
TABLE_PREFIX "lottery_settings (active,lotteryactive,slotsactive,cashrow,winners,winamount) VALUES ('1','1','1','".$cashrow."','1','60')
"
); 

If it dont look like this try putting that in and run the install again.
Let me know if this fixs your problem.

Mike

Ok I took the new install file you provided and rar for casino and did all the changes etc... Same thing when I install, step three gives me the same error.

So then I did what this post here instructed.. although what you wanted me to change didn't quite look like what you said, and it was line 758.

It looked like this:

Code:

        $DB_site->query("
                INSERT INTO `".TABLE_PREFIX."lottery_settings` VALUES (1, 0, '".$cashrow."', 3, '50,30,10', 1, 1, 1, 1, 1, '1,2,5,10', 1);
        ");

(Thats in the install you provided)

But when I did change that, I got this error on step 3 of install...

Invalid SQL:
INSERT INTO `lottery_slots_stats` VALUES (1, 1, 1, 1, 1, 1, 1);

mysql error: You have an error in your SQL syntax near ';
' at line 2

mysql error number: 1064

I really would like to install this... but what could be the problem?

Thanks for the help

Its the "Apply Default Settings" Step



So now, its "installed" but not sure how much its working...

The phrases are not showing up anywhere... I'll screenshot it:

http://img14.imageshack.us/my.php?image=casino12hq.png

And...

http://img14.imageshack.us/my.php?image=casino28ba.png

And same for Roulette etc...

Would really like to have this installed...

waza 09-28-2005 11:44 AM

Hmm, Try the following:
Go to your admincp -> languages & phrases -> click ' rebuild all languages '

This will probably fix it.

HHU 09-28-2005 04:24 PM

Quote:

Originally Posted by waza
Hmm, Try the following:
Go to your admincp -> languages & phrases -> click ' rebuild all languages '

This will probably fix it.

Ok, well I don't have that option in my Languages and Phrases section.

Using VB 3.0.7

Also... is that all Step 3 does? The Phrases?

Is there nothing else done in that step?

T_Montana 09-29-2005 02:23 PM

this work for 3.0.7?

no template edits?

waza 09-29-2005 05:51 PM

Quote:

Originally Posted by HHU
Ok, well I don't have that option in my Languages and Phrases section.

Using VB 3.0.7

Also... is that all Step 3 does? The Phrases?

Is there nothing else done in that step?

I attached a screen from vb 3.0.7, If you did't remove the option, you must have it:


All times are GMT. The time now is 11:51 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.01142 seconds
  • Memory Usage 1,746KB
  • 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
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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