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)

wolfyman 01-14-2008 05:32 AM

Quote:

Originally Posted by Andrew Green (Post 1420749)
Already fixed in development copy ;)

next can you fix my obvious addiction to this thing?

dodgeboard.com 01-14-2008 11:33 AM

Andrew,

The Lottery Settings; Range of Numbers, Number of Numbers, Ticket Price do not seem to be changing anymore. I change them in admincp > Casino > Game Settings [SAVE]

....but they don't update in the game. I've tried refreshing and tried running the cron- still no change.

v.91

THANKS ANDREW!!

Andrew Green 01-14-2008 12:54 PM

Quote:

Originally Posted by dodgeboard.com (Post 1421170)
Andrew,

The Lottery Settings; Range of Numbers, Number of Numbers, Ticket Price do not seem to be changing anymore. I change them in admincp > Casino > Game Settings [SAVE]

....but they don't update in the game. I've tried refreshing and tried running the cron- still no change.

v.91

THANKS ANDREW!!


Changes will effect the next draw, but not the existing one. Until it finishes any changes you make won't show in the game.

Reason is, if I buy a ticket with numbers 5, 15, 20 & 25, then you change the draw to select 3 numbers from 1-15, I am left with a ticket that has too many numbers, and numbers outside the range that can be drawn.

dodgeboard.com 01-14-2008 05:53 PM

So, even if I run the cron manually, that doesn't settle the current draw and start a new one?

Andrew Green 01-14-2008 06:03 PM

Quote:

Originally Posted by dodgeboard.com (Post 1421369)
So, even if I run the cron manually, that doesn't settle the current draw and start a new one?


No, the draw won't settle until the date / time is passed.

mikeylikesitz 01-14-2008 08:12 PM

Quote:

Originally Posted by wolfyman (Post 1421029)
next can you fix my obvious addiction to this thing?


i would expect that to be fixed in a final version, but i assume it will still creep up as that is a pretty big design feature :p:D

GDA 01-14-2008 08:39 PM

how do you import the xml file in vb?

dodgeboard.com 01-14-2008 08:42 PM

admincp > Plugins & Products > Manage Products > (scroll down) Add/Import Product

Click on Browse in the top box and browse for the product_casino.xml file on your desktop (or wherever it is) and BE SURE TO ALWAYS SELECT Allow Overwrite = YES

Then Click IMPORT

iogames 01-14-2008 08:45 PM

Quote:

Originally Posted by GDA (Post 1421489)
how do you import the xml file in vb?

Oh my dear Friend!

vBulletin cP > Plugins & Products > Manage Products > Add/Import Product

It's easy just relax! :p


Hey Green why you didn't call it v1.0!?!?!

I just modified NavBar, you mean revert that too?

Andrew Green 01-14-2008 09:28 PM

Quote:

Originally Posted by iogames (Post 1421494)
Hey Green why you didn't call it v1.0!?!?!

Because it's not done yet, getting close, but not quite.

Quote:

Originally Posted by iogames (Post 1421494)
I just modified NavBar, you mean revert that too?

No no, just if you modified any of the casino templates.

ezurick 01-15-2008 09:03 AM

Quote:

Originally Posted by Andrew Green (Post 1421518)
No no, just if you modified any of the casino templates.


Andrew, did I edit any templates? I don't remember.... .lol. Honestly, I don't... I think the edits were to .php files.

Anyway, I upgraded and over-wrote to this 9.1. I tried to zip through some of the games and only noticed that the roulette isn't working. You select a chip and it won't let me place it anywhere....

GDA 01-15-2008 11:35 AM

I just installed it but I have two problems:

1) The games do not work when I click on them, I just get a blank page

2) I cannot get the casino to work on another skin

How can I fix this?

Many Thanks!

firstrebel 01-15-2008 12:20 PM

Upgraded to .91 last night, today got:
Quote:

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND playerid = 24718' at line 1
Error Number : 1064
Date : Tuesday, January 15th 2008 @ 12:43:22 PM
Script : http://www.volvoforums.org.uk/casino...ackjack&ajax=1
Referrer : http://www.volvoforums.org.uk/casino.php?do=blackjack
IP Address : 193.129.19.34
Username : xxxxx
Classname : vb_database
vB 3.6.8pl2

Bob

Andrew Green 01-15-2008 12:53 PM

Quote:

Originally Posted by ezurick (Post 1421824)
Andrew, did I edit any templates? I don't remember.... .lol. Honestly, I don't... I think the edits were to .php files.

Anyway, I upgraded and over-wrote to this 9.1. I tried to zip through some of the games and only noticed that the roulette isn't working. You select a chip and it won't let me place it anywhere....

Most likely not, pretty sure you didn't edit any .php files either. At least not for this mod ;)

It only applies to the casino templates, so if you modified those to get a different look or something, then they would need reverted otherwise changes from the old version wouldn't get applied, which often breaks the games.

If you just installed and didn't modify anything beyond that, no problems.

Andrew Green 01-15-2008 12:58 PM

Quote:

Originally Posted by GDA (Post 1421865)
I just installed it but I have two problems:

1) The games do not work when I click on them, I just get a blank page

Does this happen under the default skin? Or just under the custom one?


Start by reuploading all of the files, sometimes something gets corrupted or lost in the transfer.

Quote:

2) I cannot get the casino to work on another skin

How can I fix this?

Many Thanks!
Depends entirely on how the skin was designed, but you may have to edit the casino_*_main templates to match the way your skin is designed.

Quote:

Originally Posted by firstrebel (Post 1421880)
Upgraded to .91 last night, today got:

vB 3.6.8pl2

Bob

I'll have a look for the cause this evening.

Bounce 01-15-2008 01:10 PM

WHOOOOOOOOOOOOO :D

The .91 version works in Vbulletin 3.7.0 Beta3

Thank you andrew

GDA 01-15-2008 01:27 PM

Quote:

Originally Posted by Andrew Green (Post 1421892)
Does this happen under the default skin? Or just under the custom one?


Start by reuploading all of the files, sometimes something gets corrupted or lost in the transfer.



Depends entirely on how the skin was designed, but you may have to edit the casino_*_main templates to match the way your skin is designed.



I'll have a look for the cause this evening.

Hi,

Thanks for the reply,

It happens under the default skin.

When it comes to the files, where should the files be placed.

For example: http://vbgaming.org/forum/casino.php?do=texasholdem

Where should the casino.php and texasholdem file be place so it should work? as I get a blank screen when I go to the same link on my website

Thanks

Andrew Green 01-15-2008 01:31 PM

Follow the same directory structure that the "UPLOAD" folder does

casino.php goes in the same place as your form, the casino folder goes there as well

So you'd have yoursite.com/forum/casino/blackjack.php (and all the other files in that folder)

killugood9000 01-15-2008 02:43 PM

I have installed and testing, so far works great thank you. I have noticed it would be nice to have a link back to the main games page from the other pages. I have created a link in my navbar but a link on the game would be nice.:D

sweede 01-15-2008 02:47 PM

I use casino + vbadvanced CMPS and the newest update causes big issues with intergrating the casino into CMPS

see attached

GDA 01-15-2008 03:15 PM

Quote:

Originally Posted by Andrew Green (Post 1421909)
Follow the same directory structure that the "UPLOAD" folder does

casino.php goes in the same place as your form, the casino folder goes there as well

So you'd have yoursite.com/forum/casino/blackjack.php (and all the other files in that folder)

Nope still does not work, All I see is a blank page.

I have attached a screen shot with the blank screen and the last part of the url link.

What am I doing wrong?

Thanks

Andrew Green 01-15-2008 03:24 PM

What's the site?

GDA 01-15-2008 03:38 PM

Hmm, does not matter anymore

it works for some reason.....

thanks for the help

Andrew Green 01-15-2008 03:41 PM

Quote:

Originally Posted by sweede (Post 1421933)
I use casino + vbadvanced CMPS and the newest update causes big issues with intergrating the casino into CMPS

see attached


Make sure all the files uploaded properly, and that all of the casino_* templates are in there original format.

Did you have to do any file modifications to install vbadvanced?

cosy 01-15-2008 07:12 PM

Quote:

Originally Posted by hIBEES (Post 1421899)
WHOOOOOOOOOOOOO :D

The .91 version works in Vbulletin 3.7.0 Beta3

Thank you andrew


hmmm no got that
Code:

ALTER TABLE vb_user ADD casino_cash integer default 250;

MySQL Error  : Duplicate column name 'casino_cash'


dodgeboard.com 01-15-2008 07:24 PM

Quote:

Originally Posted by cosy (Post 1422087)
hmmm no got that
Code:

ALTER TABLE vb_user ADD casino_cash integer default 250;

MySQL Error  : Duplicate column name 'casino_cash'


LOL!!!!!!!!!!!

ezurick 01-15-2008 07:30 PM

Quote:

Originally Posted by Andrew Green (Post 1421891)
Most likely not, pretty sure you didn't edit any .php files either. At least not for this mod ;)

It only applies to the casino templates, so if you modified those to get a different look or something, then they would need reverted otherwise changes from the old version wouldn't get applied, which often breaks the games.

If you just installed and didn't modify anything beyond that, no problems.

Andrew, I am not following your advice or post... I upload everything for 9.1 and installed the mod with overwrite... I honestly don't remember if any templates were modified... none of the casino templates are red... so I assume none need reverted. In the AdminCP I see there is a way to revert ALL templates... but I will not do that since I have many other templates modified that are absolutely necessary and would be to hard to re-do. Is there another way to see if any casino templates need to be reverted? Please remember that many of us have many mods installed... and some them required templates edited to work...

dodgeboard.com 01-15-2008 07:37 PM

Quote:

Originally Posted by ezurick (Post 1422104)
Andrew, I am not following your advice or post... I upload everything for 9.1 and installed the mod with overwrite... I honestly don't remember if any templates were modified... none of the casino templates are red... so I assume none need reverted. In the AdminCP I see there is a way to revert ALL templates... but I will not do that since I have many other templates modified that are absolutely necessary and would be to hard to re-do. Is there another way to see if any casino templates need to be reverted? Please remember that many of us have many mods installed... and some them required templates edited to work...


If you have not recently edited any of those templates to make the casino do something special, then you do NOT NEED TO REVERT THEM.

Andrew Green 01-15-2008 07:59 PM

Quote:

Originally Posted by cosy (Post 1422087)
hmmm no got that
Code:

ALTER TABLE vb_user ADD casino_cash integer default 250;

MySQL Error  : Duplicate column name 'casino_cash'



http://vbgaming.org/forum/showthread.php?t=130

cosy 01-15-2008 08:00 PM

edit:answered when type this :D

towermatt 01-15-2008 08:14 PM

Installed update with zero problem. this continues to be the best product out there imo.

anoob 01-15-2008 08:27 PM

For the life of me I can not find how to setup the lottery in step 4?

It reads:
Go to the game settings in the admincp, under lottery setup select the number of balls and range, and which chips you want to use for each game, then push "Save"

Where exactly is lottery, in admincp?


Also, I can't figure out how to post a event in "sports betting"?

Last, but not least, what is the "donation log"?

towermatt 01-15-2008 08:58 PM

You should have a group of settings in your AdminCP called "casino"--everything will be under that.

Its real easy once you find it.

the donation log is for admins to see which of their members are donating to eachother and how much.

anoob 01-15-2008 09:08 PM

I see casino, just not the lottery.

I think I found my mess up, I need to install that module, but what is CMPS?
I know I am gonna feel stupid when someone answers this.

towermatt 01-15-2008 09:36 PM

CMPS is a separate modification. Its a content management system for the rest of your site pages to reflect the forum.

Very cool little thing but I do not believe you need it to run Andrew's casino.

Are you sure you uploaded all the files to the "includes" folder?

Andrew Green 01-15-2008 09:46 PM

Quote:

Originally Posted by anoob (Post 1422167)
I see casino, just not the lottery.

I think I found my mess up, I need to install that module, but what is CMPS?
I know I am gonna feel stupid when someone answers this.


The lottery is under "Casino Games" as is the settings for which user groups can add events to the sports betting piece. CMPS has nothing to do with the casino, it's a completely separate hack.

anoob 01-15-2008 09:47 PM

I've installed only the main module, I am assuming that is my mistake, so I've downloaded:
Casino-Lottery info, vba CMPS-module Mod Information
Found here

In the directions it says:
How to install:
Upload the casinolotteryinfo.module with vbAdvanced's AdminCP-Functions.

admincp >> vBa CMPS >> Download / Upload Module,,
Select casinolotteryinfo.module file from your computer.
Select Style to install templates to..


Did I make a mistake in my assumptions?

I'm asking because it appears as if lottery and sports betting is not working.
Here is a link to where I have it installed:
http://www.greenpassion.org/casino.php

Andrew Green 01-15-2008 10:15 PM

If you are not using CMPS you have no need for any of the CMPS modules.

What's not working with them?

If you've got the lottery setup it will start overnight, or you can run the scheduled task to start it now. For the sportspool do you have any mod usergroups set up for it? If so you should see a "Add event" button at the bottom of the page.

You don't need to download anything apart from the one zip file.

Andrew Green 01-15-2008 11:22 PM

Quote:

Originally Posted by firstrebel (Post 1421880)
Upgraded to .91 last night, today got:

vB 3.6.8pl2

Bob


Could you send me the query that caused this, there are a lot of places it could have come from based on just that.

beishe8 01-16-2008 07:34 AM

Downloaded twice,the message is :

Quote:

Cannot open file: it does not appear to be a valid archive.
If you downloaded this file,try downloading the file again.


All times are GMT. The time now is 03:21 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.05860 seconds
  • Memory Usage 1,846KB
  • 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
  • (3)bbcode_code_printable
  • (24)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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