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-17-2005 05:43 PM

ive got this installed and looks good BUT

when im trying to test it on high/low it says i dont have any money how do i get cash for it lol

do i have to have the shop hack installed or is there a hack i can install that works with this

many thanks
dean

waza 09-18-2005 03:40 PM

You need a kind of a money system....
Ucash/Ushop has a money system
Vbookie en vbpetz also.
If you only want the casino, you can always just make a row in you user database and give every user a certein amount of money/credits/points/....

grz,
seba

micheal332001 09-19-2005 05:40 PM

To make the vbcasino work with out a money system run this in your phpmyadmin

Remember to change the vb3_ to your prefix

PHP Code:

ALTER TABLE `vb3_userADD `uttpointsVARCHAR20 ) DEFAULT '500' NOT NULL 


Then to give everyone 500 money/credits/points/....
Run this in your phpmyadmin

Again change the vb3_ to your prefix

PHP Code:

 UPDATE `vb3_userSET `uttpoints` = '500' 

Hope this helps

HHU 09-21-2005 07:15 PM

This looks nice, going to install it when I get home in a few hours... question - anywhere I can download some games for it? Poker, Blackjack etc...

Nice job

HHU 09-21-2005 10:57 PM

Using version 3.07 and I'm getting this error on step 3 of the installation (never had this installed before):

Database error in vBulletin 3.0.7:

Invalid SQL:
INSERT INTO `lottery_settings` VALUES (1, 0, 'uttpoints', 3, '50,30,10', 1, 1, 1, 1, 1, '1,2,5,10', 1);

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

mysql error number: 1064

Do you have any idea of what could be causing this problem?

Thanks

micheal332001 09-22-2005 07:46 AM

Quote:

Originally Posted by HHU

Invalid SQL:
INSERT INTO `lottery_settings` VALUES (1, 0, 'uttpoints', 3, '50,30,10', 1, 1, 1, 1, 1, '1,2,5,10', 1);

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

HHU 09-22-2005 09:32 PM

Ok, Not Sure If Im Actually Going To Try To Reinstall This.. Seems Like Theres Too Many Errors For The Time Being And Not Enough Games, So Im Hesitant At This Time... Really Want A Casino Feature Though, Would Be Great

micheal332001 09-24-2005 01:12 PM

HHU

I have just tested the install script on my test site and it all installs fine.
There is no errors as i can see.

Download this version and all should be fine
https://vborg.vbsupport.ru/attachmen...chmentid=32887



Mike


Here is the install file i used put this file in your admincp folder and run it from the admin screen

lewisbee 09-24-2005 02:26 PM

this hack has overwritten my shoutbox :(
is there a way of having both working at the same time?

micheal332001 09-24-2005 08:10 PM

Hi there

There is no way this should overright your shoutbox hack in any way as the casino uses diffarent sql tables and the code edits have nothing to do with the shoutbox.
I will test this out can you tell me what shoutbox hack you are using.
Post the link here to the hack forum and i will try it out.

Mike


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