PDA

View Full Version : Major Additions - Casino (w/ 10 player poker)


Pages : 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 15

Cigarcritic
11-04-2007, 03:40 AM
Andrew, Not sure if its just mine but the wheels on Slots - Bars and 7s continue to spin when you place a bet, sometimes they do stop though...

I have the same issue.

Cigarcritic
11-04-2007, 03:50 AM
I think that's about it for me...I can't risk Casino corrupting my database. How do I fix this?

Database error in vBulletin 3.6.8:

Invalid SQL:

SELECT
userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid,
language.phrasegroup_casino AS phrasegroup_casino,
language.phrasegroup_photoplog AS phrasegroup_photoplog,
language.phrasegroup_global AS phrasegroup_global,
language.options AS lang_options,
language.languagecode AS lang_code,
language.charset AS lang_charset,
language.locale AS lang_locale,
language.imagesoverride AS lang_imagesoverride,
language.dateoverride AS lang_dateoverride,
language.timeoverride AS lang_timeoverride,
language.registereddateoverride AS lang_registereddateoverride,
language.calformat1override AS lang_calformat1override,
language.calformat2override AS lang_calformat2override,
language.logdateoverride AS lang_logdateoverride,
language.decimalsep AS lang_decimalsep,
language.thousandsep AS lang_thousandsep

FROM user AS user
LEFT JOIN userfield AS userfield ON (user.userid = userfield.userid)
LEFT JOIN usertextfield AS usertextfield ON (usertextfield.userid = user.userid) LEFT JOIN language AS language ON (language.languageid = IF(user.languageid = 0, 1, user.languageid))

WHERE user.userid = 9;

MySQL Error : Unknown column 'language.phrasegroup_casino' in 'field list'
Error Number : 1054

Andrew Green
11-04-2007, 03:53 AM
I have the same issue.

Can one of you guys give me a link? I'll pop in and see what's going on.

lonelime
11-04-2007, 05:54 AM
Database error in vBulletin 3.6.8:

Invalid SQL:
ALTER TABLE user ADD casino_cash integer default 250;

MySQL Error : Duplicate column name 'casino_cash'
Error Number : 1060
Date : Sunday, November 4th 2007 @ 12:52:27 AM
Script : http://www.adsffdasfdfd.com/forum/admincp/plugin.php?do=productimport
Referrer : http://www.dfadsfdsfsd.com/forum/admincp/plugin.php?do=productadd
IP Address :
Username :
Classname : vb_database


i got this.. cant import the product

peterpigman
11-04-2007, 07:03 AM
make sure all your files got overwritten and if you've changed any templates revert them.

Mine did the same and that fixed it.

dinodonk
11-04-2007, 07:09 AM
can i change the casino phrase and file name?

peterpigman
11-04-2007, 07:33 AM
In stats when you click "Richest Players" you see "Slots - Fruit Machine"

SLY LS1
11-04-2007, 08:12 AM
In stats when you click "Richest Players" you see "Slots - Fruit Machine"

yep mine to... just has wrong link I think

Twilkey
11-04-2007, 09:06 AM
Database error in vBulletin 3.6.8:

Invalid SQL:
ALTER TABLE user ADD casino_cash integer default 250;

MySQL Error : Duplicate column name 'casino_cash'
Error Number : 1060
Date : Sunday, November 4th 2007 @ 12:52:27 AM
Script : http://www.adsffdasfdfd.com/forum/admincp/plugin.php?do=productimport
Referrer : http://www.dfadsfdsfsd.com/forum/admincp/plugin.php?do=productadd
IP Address :
Username :
Classname : vb_database


i got this.. cant import the product

Please go here (http://vbgaming.org/forum/showthread.php?p=115#post115)and take a look at the small tutorial. It will help you.

ragtek
11-04-2007, 09:24 AM
define('NO_REGISTER_GLOBALS', 1); isn't needed in the files!

stangger5
11-04-2007, 09:55 AM
Heres how to fix the Richest Players link..

One template edit..

casino_stats_main

change,

<td class='alt1' style='cursor:pointer' onclick='loadstats(105)'>Richest Players</td>

to

<td class='alt1' style='cursor:pointer' onclick='loadstats(5)'>Richest Players</td>

:)

Tulsa
11-04-2007, 10:40 AM
In this latest update, Texas Hold'em rules page is showing:
Blinds are $vbphrase[casino_currency_marker]$smallblind and $vbphrase[casino_currency_marker]$bigblind.

Also in bars and 7's slots. The single cherry is only paying on the left position, not center or right.

skcyber
11-04-2007, 10:56 AM
thanks a lot for this great add-on !! ;)

towermatt
11-04-2007, 01:27 PM
Not my day with IE...

import fixed product file, will solve it.

Worked on mine as well.

Thank you!! :)

Twilkey
11-04-2007, 01:59 PM
Also in bars and 7's slots. The single cherry is only paying on the left position, not center or right.

That is how its supposed to be. There was a little notice under the payout table.

Tulsa
11-04-2007, 02:18 PM
That is how its supposed to be. There was a little notice under the payout table.

That notice is only on the fruit slot.

Mark.B
11-04-2007, 05:05 PM
Something that I am finding in IE7 (which I don't use often).

Video Poker always has a yellow triangle at the bottom which when clicked gives "Invalid Property Value", or sometimes "Object Required".

The game usually still works, but sometimes hangs when trying to load the cards, just saying "waiting".

Originally we thought this was an IE6 issue and ignored it, but it appears it's hitting IE7 as well for some people.

I have tried reverting the templates but it still happens.

Incidentally the same problem occurs on vbgaming.org.

Edited to add - seems to affect Texas Holdem too. Anyone replicate this?

thuffner
11-04-2007, 05:11 PM
Any room for baccarat as an add-on for this game?

It would fit my James Bond forum perfectly. :)

towermatt
11-04-2007, 06:47 PM
Edited to add - seems to affect Texas Holdem too. Anyone replicate this?

My players are reporting this in IE7

Andrew Green
11-04-2007, 08:14 PM
Something that I am finding in IE7 (which I don't use often).


I'll look into this, should have this and any other bugs that turn up fixed on Tuesday.

lonelime
11-04-2007, 08:19 PM
Please go here (http://vbgaming.org/forum/showthread.php?p=115#post115)and take a look at the small tutorial. It will help you.



i did like you said .. i dropped all the casino table , and tried to reinstall the product .. but it still said i got error

Database error in vBulletin 3.6.8:

Invalid SQL:
ALTER TABLE user ADD casino_cash integer default 250;

MySQL Error : Duplicate column name 'casino_cash'
Error Number : 1060

Andrew Green
11-04-2007, 08:27 PM
you need to remove the casino_cash field from your database, looks like a uninstall that didn't quite finish.

bbchevy396
11-04-2007, 09:25 PM
I had that problem also,..... followed instructions, and it works fine now. (I also had to do this on a couple other tables too.)
Thanks for the help!

Quote:
Originally Posted by bbchevy396 View Post
I installed, and nothing came up in the admin cp. I uninstalled with the products manager, and tried to reinstall. When I import the xml file, this is what I get.:

Database error in vBulletin 3.6.8:

Invalid SQL:
ALTER TABLE user ADD casino_cash integer default 250;

MySQL Error : Duplicate column name 'casino_cash'
Error Number : 1060

Can anyone help me out here?

Thanks.
You need to do this, then reinstall if you wish.

Steps:
1. Sign in to your phpMyAdmin.

2. On the left column, click the database you use for your forums.

3. After clicking it, it should extend to show all the tables in that database.

4. Scroll down to the user table and click it.

5. Now on the right, scroll down till you see a row that says casino_cash.

6. Directly to the right you will see a red X. Click it. That drops the column.

Now you can reinstall the product or whatever you were planning to do.

Robbed
11-04-2007, 11:28 PM
Is there a way to remove the green felt from blackjack, it shows the white background of the chips.

lonelime
11-05-2007, 01:06 AM
you need to remove the casino_cash field from your database, looks like a uninstall that didn't quite finish.

i am very sure that .. i removed all the casino tables from my database.

i double check so many time, i dont see anything like casino in my database now ...

but when i import the product ... it brought up that error again ...

is there anyway else to resolve this error ...

Thanks

bbchevy396
11-05-2007, 02:21 AM
You need to go to your "user" table. THATS where the casino_cash file is located. NOT in the casino table!

I had that same problem..... Thats the fix!

lonelime
11-05-2007, 02:25 AM
yeah ... that fixed .. thanks

but the casino slots keep on rolling and none stop .. why ?

bbchevy396
11-05-2007, 03:10 AM
Some kid of bug...... Mr. Green is working on it. My members using IE7 are reporting problems, but I understand the fix is in the works.

Twilkey
11-05-2007, 04:44 AM
i am very sure that .. i removed all the casino tables from my database.

i double check so many time, i dont see anything like casino in my database now ...

but when i import the product ... it brought up that error again ...

is there anyway else to resolve this error ...

Thanks

casino_cash isnt a table. It is a column in the user table.

peterpigman
11-05-2007, 08:13 AM
yeah ... that fixed .. thanks

but the casino slots keep on rolling and none stop .. why ?

Make sure you reverted your templates in the admin cp.

dolc
11-05-2007, 08:14 AM
Vielen dank!

peterpigman
11-05-2007, 08:18 AM
You didn\'t lose or win anything. in Let 'em Ride is wrong as you have lost your initial stake.

sandt38
11-05-2007, 12:54 PM
On the slots, bars and 7s does not stop spinning. I saw a couple other members compaining about this, just wondering if i missed a fix.

Thanks.

Andrew Green
11-05-2007, 01:06 PM
double check that all the files went up and overwrote existing ones. Relevant files are casino.php, slots.php and slots_ajax.php.

And make sure all your templates are up to date, if any need reverting, revert them. Most likely cause would be casino_slots_main needing reverting.

sandt38
11-05-2007, 01:08 PM
My bad. I just double checked and I had the casino folder installed in the wrong place.

csavern
11-05-2007, 02:10 PM
I am helping someone on there board and there slot reel aint lining up for some reason i only see half of each reel on each line anyone know how to fix this problem

csavern
11-05-2007, 02:34 PM
sorry found the problem someone used <center> in the header

skcyber
11-05-2007, 02:35 PM
Is there a solution to change the "$" ? I'm using this hack on a french forum so I would like to change it in € ! ;)

Andrew Green
11-05-2007, 02:38 PM
Yes, edit the phrase "casino_currency_marker" in the "casino" group.

skcyber
11-05-2007, 02:49 PM
ok thank you ! :)

fxs158
11-05-2007, 04:45 PM
Hi all, great hack! I am having an issue with the loterry. Just installed the hack, changed the lottery to go up to 50 numbers and allow members to select 5 out of those. However although I hit save the settings in the cp. The changes are not being saved and it is keeping the default settings. How can I fix this?

Andrew Green
11-05-2007, 04:51 PM
Changes never effect draws that have already been setup. Your new settings will take effect once the draw that is already running is finished.

sandt38
11-05-2007, 05:05 PM
I had 2 spins where a cherry was in the last row in bars and 7s and it didn't pay out. Also whe it was in the middle row it did the same... However, I noticed cherries do pay out when in the first row.

*edited*

Andrew Green
11-05-2007, 05:23 PM
I had 2 spins where a cherry was in the last row in bars and 7s and it didn't pay out. Also whe it was in the middle row it did the same... However, I noticed cherries do pay out when in the first row.

*edited*

Yes, right now they are only paying out if sequential, the way the fruits one does. That will be switched in the next update.

Stifmeister2
11-05-2007, 05:36 PM
So is this like some kind of online holdem poker? forum users palying with each other?

Or is it just you vs cpu players?

towermatt
11-05-2007, 05:37 PM
Its the only one I have ever seen that lets your members play each other, very cool.

No computer involved at all. The rest of the games are single player

Stifmeister2
11-05-2007, 05:39 PM
Its the only one I have ever seen that lets your members play each other, very cool.

No computer involved at all. The rest of the games are single player
Thx. :)

kylek
11-05-2007, 05:57 PM
Take a look at his site and demo the casino out.

http://vbgaming.org (http://vbgaming.org/)

peterpigman
11-05-2007, 06:39 PM
So is this like some kind of online holdem poker? forum users palying with each other?


Or is it just you vs cpu players?

users playing with each other.

sandt38
11-06-2007, 01:32 AM
https://vborg.vbsupport.ru/external/2007/11/45.png

Awesome!!! I hit it on a 10,000 bet.

Dream
11-06-2007, 01:39 AM
Wow! Congrats! :)

deezelpope
11-06-2007, 02:00 AM
Holy crap!!:eek: Way to go, Sandt38!!!:D

leeman
11-06-2007, 05:50 AM
Andrew.. I upgraded to .60 and still no go in the Holdem...

I replied to your PM at my site.

rwilkins108
11-06-2007, 08:35 AM
I've updated sandt38's great chip set to have a shadow and add a little more depth, looks really nice on the green felt background
https://vborg.vbsupport.ru/external/2007/11/35.pnghttps://vborg.vbsupport.ru/external/2007/11/36.pnghttps://vborg.vbsupport.ru/external/2007/11/37.pnghttps://vborg.vbsupport.ru/external/2007/11/38.pnghttps://vborg.vbsupport.ru/external/2007/11/39.png
https://vborg.vbsupport.ru/external/2007/11/40.pnghttps://vborg.vbsupport.ru/external/2007/11/41.pnghttps://vborg.vbsupport.ru/external/2007/11/42.pnghttps://vborg.vbsupport.ru/external/2007/11/43.pnghttps://vborg.vbsupport.ru/external/2007/11/44.png

edit: nov 6
Ok, I changed the chips to add a little hilight, I think I like these better. zip has been updated.

edit : nov 11
Updated the chips again

rwilkins108
11-06-2007, 08:53 AM
With the new green background the text isn't really readable. I see it's using the alt1 and on my site, alt1=dark bluish. Maybe you could add a setting in the admin for it, something like "Green Felt background text style alt1 OR color ______" where the admin can specify the style to use or the a html color code.

Since the slots still use the normal background a setting shouldn't be needed for that.

ragtek
11-06-2007, 08:59 AM
how i can bet more then 10 on a slot?
everytime i click on 10 it starts

sandt38
11-06-2007, 09:39 AM
how i can bet more then 10 on a slot?
everytime i click on 10 it starts


In the admin cp>casino settings at the bottom you will see where you can add chip values.

sandt38
11-06-2007, 09:41 AM
I've updated sandt38's great chip set to have a shadow and add a little more depth, looks really nice on the green felt background
https://vborg.vbsupport.ru/external/2007/11/35.pnghttps://vborg.vbsupport.ru/external/2007/11/36.pnghttps://vborg.vbsupport.ru/external/2007/11/37.pnghttps://vborg.vbsupport.ru/external/2007/11/38.pnghttps://vborg.vbsupport.ru/external/2007/11/39.png
https://vborg.vbsupport.ru/external/2007/11/40.pnghttps://vborg.vbsupport.ru/external/2007/11/41.pnghttps://vborg.vbsupport.ru/external/2007/11/42.pnghttps://vborg.vbsupport.ru/external/2007/11/43.pnghttps://vborg.vbsupport.ru/external/2007/11/44.png




Nice!

I really need to try these with the shadowing. I bet thet do look good.

soulplayer
11-06-2007, 12:53 PM
Hy,

I'am having the following problem. After I updated the Casino plugin (which is very sweet :) ) I cannot edit any more posts other then me while I'm the administrator... The same problem goes with my moderators.

I have disabled the casino plugin and now everything is back A ok ... but is there a fix?

rwilkins108
11-06-2007, 02:09 PM
Nice!

I really need to try these with the shadowing. I bet thet do look good.

Thanks, actually, I'm going to change them again (after work that is), see the 10,000 one, with a little white border, it adds more depth. I'm going to change them all to do that :D

Andrew Green
11-06-2007, 02:16 PM
Hy,

I'am having the following problem. After I updated the Casino plugin (which is very sweet :) ) I cannot edit any more posts other then me while I'm the administrator... The same problem goes with my moderators.

I have disabled the casino plugin and now everything is back A ok ... but is there a fix?

Never heard that one before, don't have the problem on the 2 sites I have or my local development copy. Anyone else have this problem?

towermatt
11-06-2007, 02:55 PM
Hasn't happened to me and I thought I had every weirdness known to man.

RichieBoy67
11-06-2007, 06:02 PM
I'm sorry if I missed this but I didn't see any instructions referring to the seperate ajax file. Can soomeone please explain?

Thanks

Andrew Green
11-06-2007, 06:11 PM
Not sure what the question is? What instructions for what?

Black Tiger
11-06-2007, 08:50 PM
There is a seperate texasholdem_ajax.php file which can be downloaded, it's above the casino_060.zip file.
He would like to know what this file is for and what the instructions are to install it.:)

Mark.B
11-06-2007, 09:04 PM
I've just installed 0.60, excellent job, here are my brief observations:

1) As has been mentioned already some sort of CSS class needs to be created for displaying text on the green background, as the results are variable depending on your colour scheme.

2) In Blackjack, Let Em Ride and Video Poker it would be good to have a fixed DEPTH to the table - as with the green background now present the jumping up and down of the background area dependant on its contents can make you dizzy! I think this could only really be done by putting some sort of long invisible table down one side to stretch it the required amount.

3) The IE Javascript error is still there in Video Poker and texas Holdem, though I think it is known that this wasn't fixed for 0.60.

I haven't tested Sportspool yet in the new version, I'll do that tomorrow.

I also think it might be an idea to build in some sort of "word wrap" for the casino chips...if like me you go right up to $1000 the row gets too long and can push the page out somewhat, especially if you have fixed-width options. Some sort of limit on chips per row like you get with smilies would be handy, but I suspect that's a bit tricky to code in.

Code Monkey
11-06-2007, 10:30 PM
Very nice job indeed.

You should add this to slots_ajax.php so it doesn't cause an unknown location for the user and the other is obvious as to what it's for.


define('LOCATION_BYPASS', 1);
define('NOPMPOPUP', 1);
Also, a link/button back to the main page on all pages would be nice.

peterpigman
11-06-2007, 11:25 PM
My whole forum was acting up today, after a bit of raking about I found the casino_settings was something like 85gb in the Repair / Optimize Tables bit. Wtf caused that? Note: I optimised it and the forum was a lot better.

Andrew Green
11-07-2007, 01:18 AM
85gb? That table carries very little data and gets updates / deletes very infrequently, I went and checked all of mine and they all had no overhead (well, one had 108 bytes)

I honestly have no idea how that table could possibly build up that much overhead, it's a simple table that gets very few updates or deletes...

DieselMinded
11-07-2007, 02:25 AM
1 Word

Euchre

Pretty Please

ArchangelX
11-07-2007, 03:31 AM
What the heck is Euchre? :D

Andrew Green
11-07-2007, 04:27 AM
What the heck is Euchre? :D

card game... not really a casino game though

http://en.wikipedia.org/wiki/Euchre

DieselMinded
11-07-2007, 06:15 AM
Its Mutiplayer and you have a team mate Very Popular here in Ohio

My Members have been reporting issues to me ..

In a few games it would take money away when I lost but when I won it didn't add any.


Im playing backjack and winning hand after hand and my money keeps going down...

Personally i have not been able to reproduce

Also on Texas Holdem it said 2 Aces Tied 2 Kings the other night

DieselMinded
11-07-2007, 06:46 AM
The Casino Needs

Keno
Baccarat
Craps
Roulette

IF you could get Billiards in there with 50/50 betting it would be a huge hit

My Board and its members are no strangers to games

We ran www.pluginpoker.com Texas Holdem for a Year and its Absolutely Perfect , Its like $25/MTH , It didnt intergrate with a Pay Scale but it did do remote verification of $username like our www.addonchat.com does I have been on the look out for www.pluginbilliards.com To Pop up and its a NO GO I cant beleave someone hasn't done it yet the ability to have a 9 ball tournament among members would be great
I know that dont really fit the "Casino" bill , But having billiards and euchre would be the ultimate i would pay $30 per mth for it for sure

The members seem to be over looking the forcomings of the new casino as its graphics are pretty stale and its JErky BIG TIME , My server loads with most members online is still under 1.0 1.0 1.0 so it must be the scripts , I think it has a long way to go to atleaset match the Plug In Poker version But this ones free so thats the big difference I have Made a few changes to spice up our casino ...

Added a Bomb to the chips submitted by a user
http://www.dieselbombers.com/casino/cards/chip-100.gif

and did up our own cards
http://www.dieselbombers.com/casino/cards/back-blue-150-1.png

But the scripts are Old School , I have to click most things twice to get them to go and the pay outs seem to be wack ...Still No Complaints from members Just from Staff .

I Installed this Mod a few days ago and Tonight we set New Records for Members online , Members in the last 24hrs , Guests Online & Guests in the last 24 Hours , My Posts are up 50% and new threads 20%

Ive had to offer contests for casino cash to keep the post whores calm , We had 4 threads running the Auto Merge Hack was going crazy as people were wanting more cash

Diversion......
http://www.dieselbombers.com/showthread.php?t=6225
http://www.dieselbombers.com/showthread.php?t=6157

Even using it as an incentive
http://www.dieselbombers.com/showthread.php?t=6194

We have Noted the Unanswered Posts Link to the Members who want cash and we have threads thats mths old getting additional information added to them

People have started to use the My Posts and My Threads Features PER REQUEST , to bring closure to there threads or add additional information

All In All this Mod Has Been a great success and not only me but my members SAY THANK YOU !

We hope you find some updated Smoother running scripts in the future and fix the bugs somehow

I think i know why its such a success In all reality Vbulletin Forums are like the Bars of the 60's a social gathering for the new age , Look at what Bars had at there most successful points , Im sure there was Poker going on , Billiards For Sure , Darts, Betting Polls , Juke Boxes Ect... the better we can mimic the old school local gathering of people with similar interests the more successful we will be , And This Mod adds a few of them features to the community , When you can take others who are passionate about the same things and bring them together ....... Its Great to just set back and watch

Goodluck Were Rootin for ya

DM

Universal
11-07-2007, 11:31 AM
Installed and running very nicely. This mod is very worthy of a Mod of the Month nomination and should win hands down. The future for this mod could be fantastic with the add ons that are possible.

The creator /s have done a very nice job. :)

Andrew Green
11-07-2007, 01:33 PM
IF you could get Billiards in there with 50/50 betting it would be a huge hit


Billiards isn't really well suited to the way I've been writing these games, pretty much anything that requires live animation is out.

Tulsa
11-07-2007, 03:58 PM
A craps table would be my only desire for any future games.

Jesus_Monkey
11-07-2007, 06:10 PM
I'm getting a javascript error that says "This game is AJAX powered and requires javascript to be turned on. "

Javascript is on, working well, on my computer, and on my site.

Vbulletin was just recently installed so its nothing I modified.
I run on Mac OS, Safari, and all my members get the same error
it's just not loading, it stays on the green page, and clicking start doesnt do anything

Andrew Green
11-07-2007, 06:20 PM
On all games?

cosy
11-07-2007, 06:40 PM
n00b question
for what is texasholdem ajax.php and product casino.xml ?

Andrew Green
11-07-2007, 06:51 PM
Nothing if you're just downloading now, if you had downloaded this version within the first hour or two of them going up they replaced the files that you had, right now they are the same as the ones in the .zip file.

cosy
11-07-2007, 06:58 PM
thx alot

Jesus_Monkey
11-07-2007, 07:57 PM
On all games?

this message displays on blackjack, let em ride, texas holdem, and video poker.

the slots work fine, as well as the casino and the betting pool

none of the javascript games have worked, ever, i tried installing, and uninstalling, then reinstalling again, with the same results

Andrew Green
11-07-2007, 08:12 PM
link?

(slots use javascript too ;))

Jesus_Monkey
11-07-2007, 10:55 PM
ah, thats good that slots use javascript, so its not a problem with that
to play you gotta register, so i made you an account
http://www.theshtuff.com/forums/casino.php

Andrew Green
11-08-2007, 02:13 AM
ah, thats good that slots use javascript, so its not a problem with that
to play you gotta register, so i made you an account
http://www.theshtuff.com/forums/casino.php

It has to do with MKPortal, I'll send you some instructions tomorrow. (They are also burried upwards in the thread, but as this makes 2 I'll assemble them into one place tomorrow)

Jesus_Monkey
11-08-2007, 02:44 AM
Thank you very much, Andrew, you're a big help

ArchangelX
11-08-2007, 04:38 AM
Andrew, that 10 player bug came back...it's happening right now where it goes all haywire and everything...for the upgrade I did revert all my templates, as usual...didn't have a problem before the new upgrade.

It's doing it right now.

srt10etr
11-08-2007, 09:39 AM
EDIT: I USED THE SEARCH FEATURE AND FOUND MY ANSWER, GREAT MOD!!!

Ran into a Problem. I wanted to reset the count for how much money was spent and lost, ect. so I uninstalled the product, and went to reinstall, and im getting this...

Database error in vBulletin 3.6.8:

Invalid SQL:
ALTER TABLE user ADD casino_cash integer default 250;

MySQL Error : Duplicate column name 'casino_cash'
Error Number : 1060
Date : Thursday, November 8th 2007 @ 05:18:09 AM
Script : http://www.excessivemotorsport.net/vb/admincp/plugin.php?do=productimport
Referrer : http://www.excessivemotorsport.net/vb/admincp/plugin.php?do=productadd
IP Address : 76.111.22.129
Username : TRBOSNKE
Classname : vb_database

Twilkey
11-08-2007, 12:47 PM
EDIT: I USED THE SEARCH FEATURE AND FOUND MY ANSWER, GREAT MOD!!!

Ran into a Problem. I wanted to reset the count for how much money was spent and lost, ect. so I uninstalled the product, and went to reinstall, and im getting this...

Refer to this thread. (http://vbgaming.org/forum/showthread.php?t=47)

Anhyeu12000
11-08-2007, 02:22 PM
Warning: require_once(../mkportal/include/VB/vb_out.php) [function.require-once]: failed to open stream: No such file or directory in /includes/functions.php on line 5170

Fatal error: require_once() [function.require]: Failed opening required '../mkportal/include/VB/vb_out.php' (include_path='.:/usr/local/lib/php') in /home/vns/public_html/forum/includes/functions.php on line 5170

I used MKPortal M1.1.2 and get error when play texasholdem, videopoker, blackjack, sportspool, letemride .
How to fix it, thanks !

Andrew Green
11-08-2007, 02:28 PM
Look up 5 posts, I'll have instructions on how to fix it with mkportal later today.

johnrizz
11-08-2007, 07:21 PM
Most likely cause would be casino_slots_main needing reverting.


Andrew, that fixed the continuous spinning problem with Slots - Bars and 7s....
looks like this game turned into a full time job... haha! thanks man........:up:

RollaJedi
11-08-2007, 08:28 PM
this may sound silly, but I'm the admin/owner of a Star Wars collecting site and just installed this mod. My people love it too! I am wondering if you may consider doing the star wars game Sabacc? I know its a longshot, but I had to ask. THanks!

rwilkins108
11-08-2007, 09:33 PM
this may sound silly, but I'm the admin/owner of a Star Wars collecting site and just installed this mod. My people love it too! I am wondering if you may consider doing the star wars game Sabacc? I know its a longshot, but I had to ask. THanks!


lol, one would think most people wouldn't know what sabacc is and how useful a link would be and that to google it would just be just too much work <grin>

sanfrancisco
11-08-2007, 09:55 PM
absolutely fantastic :)

what would be a brilliant addon would be some sort of bank option where you can get credit. or, also an option to transfer money to other players.

bobster65
11-08-2007, 10:23 PM
absolutely fantastic :)

what would be a brilliant addon would be some sort of bank option where you can get credit. or, also an option to transfer money to other players.

www.vbcredits.com comes with a bank. Can get loans, has a savings account etc..

jeremyalyea
11-09-2007, 01:22 AM
When at the Texas Hold em' start screen I see this phrase:

Blinds are $vbphrase[casino_currency_marker]$smallblind and $vbphrase[casino_currency_marker]$bigblind.

How should I go about fixing it?

Andrew Green
11-09-2007, 01:37 AM
When at the Texas Hold em' start screen I see this phrase:



How should I go about fixing it?


Give it a couple hours, then download .61 ;)

Andrew Green
11-09-2007, 02:59 AM
v0.61 is up, fixes some bugs and adds a donation feature.

There is also a link to how to make it work when using mkportal in the main post ( http://vbgaming.org/forum/showthread.php?t=63 ) for those having trouble with that.

jasculs
11-09-2007, 03:06 AM
Hey Andrew what's the outlook on the raffle system. I'm looking forward to that feature... also plan on donating after that.

shepherdblake
11-09-2007, 03:11 AM
thanks man

My users have been wanting a donate to other user option.

I will install the latest version tonight when we get done with the game we are playing now!

SBlueman
11-09-2007, 03:22 AM
IS something supposed to happen when I click on Transfer cash to another player (http://gridironfans.com/forums/casino.php?do=donate) on the Casino's main page? All it's doing on my end is refreshing the main page.

Andrew Green
11-09-2007, 03:25 AM
IS something supposed to happen when I click on Transfer cash to another player (http://gridironfans.com/forums/casino.php?do=donate) on the Casino's main page? All it's doing on my end is refreshing the main page.


sounds like you didn't overwrite casino.php when you updated

Andrew Green
11-09-2007, 03:25 AM
Hey Andrew what's the outlook on the raffle system. I'm looking forward to that feature... also plan on donating after that.


Next week or two I imagine.

shepherdblake
11-09-2007, 03:44 AM
I"m getting this error. However, it DOES transfer the correct amount of money to the user.

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /casino/donate.php on line 5

Warning: Cannot modify header information - headers already sent by (output started at /home/vpsblake/public_html/forums/includes/class_core.php:3075) in /casino/donate.php on line 93

SBlueman
11-09-2007, 03:51 AM
sounds like you didn't overwrite casino.php when you updated

I"m getting this error. However, it DOES transfer the correct amount of money to the user.

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /casino/donate.php on line 5

Warning: Cannot modify header information - headers already sent by (output started at /home/vpsblake/public_html/forums/includes/class_core.php:3075) in /casino/donate.php on line 93
Ok, I re-upped casino.php and am now getting the same error as shepherdblake when I click on the donate link:

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /casino/donate.php on line 5

Andrew Green
11-09-2007, 04:05 AM
Try commenting out line 5:

chdir("casino");

to

// chdir("casino");

shouldn't actually be necessary.

xxxsaint
11-09-2007, 04:10 AM
everything looks good, but the bars slot wheels keep going and going and going.

** edit ** there is also a ' mystery table ' appearing in stats , see screenshot :

shepherdblake
11-09-2007, 04:20 AM
Try commenting out line 5:

chdir("casino");

to

// chdir("casino");

shouldn't actually be necessary.


that worked!

thanks!!

Andrew Green
11-09-2007, 04:25 AM
everything looks good, but the bars slot wheels keep going and going and going.

** edit ** there is also a ' mystery table ' appearing in stats , see screenshot :

You got some files that didn't update and some templates that need reverting, stats page doesn't look much like that at all anymore ;) (probably why your wheels are spinning too)

xxxsaint
11-09-2007, 04:35 AM
You got some files that didn't update and some templates that need reverting, stats page doesn't look much like that at all anymore ;) (probably why your wheels are spinning too)

reverted all my modified templates and you're right. Thanks!

xxxsaint
11-09-2007, 04:38 AM
By the way , is there ever going to be a multi-player blackjack table ?

DieselMinded
11-09-2007, 10:31 AM
Database error in vBulletin 3.6.8:

Invalid SQL:
;

MySQL Error : Query was empty
Error Number : 1065
Date : Thursday, November 8th 2007 @ 07:21:21 PM
Script : http://dieselbombers.com/casino/slots_ajax.php
Referrer :
IP Address : ##########
Username : Unregistered
Classname : vb_database

rknight111
11-09-2007, 11:57 AM
Nice Work, all the members that are hooked on my site will really like this, now they'll be on there all night :D:D, I put my vote in.

Otherwise, have 2 questions.

1. How do I remove the "Tranfer cash to another player" for now, when you click on it the screen just goes blank.

2. I wish to remove some of the coding or add some to the Block that says "There are currently 1 users playing poker. Click to join them" when you click on it nothing happens so I wish to cust remove the Click to join them or get the rest of the coding to make this work.

Thanks for the nice mod,

RON:D

Andrew Green
11-09-2007, 12:47 PM
Nice Work, all the members that are hooked on my site will really like this, now they'll be on there all night :D:D, I put my vote in.

Otherwise, have 2 questions.

1. How do I remove the "Tranfer cash to another player" for now, when you click on it the screen just goes blank.


It's in the casino_main_index template. But chances are a file didn't overwrite an old one properly if you are getting a blank page.


2. I wish to remove some of the coding or add some to the Block that says "There are currently 1 users playing poker. Click to join them" when you click on it nothing happens so I wish to cust remove the Click to join them or get the rest of the coding to make this work.

Thanks for the nice mod,

RON:D

It's a plugin called "casino players in poker"

If you give me a link I might be able to tell you what is going wrong.

inciarco
11-09-2007, 01:21 PM
If you give me a link I might be able to tell you what is going wrong.

Look in the User Profile and You'll see the Link to the User's Web Site where the Casino Hack is Installed!! ;)

:)

towermatt
11-09-2007, 01:43 PM
Or they could simply post it :D

I can't wait to throw this on today

mrmike
11-09-2007, 02:19 PM
Edit: I found the reason... The lottery system demands the primary usergroup under Allowed Usergroups... All over stuff handles it in secondary usergroups!
But how do I buy a ticket? It only says; No Draw Active at this time, please check back later

Hi and thanks for a great Casino product, I really love it!

I have a problem with the lottery? I can't access the page?!

Mike, you do not have permission to access this page. This could be due to one of several reasons:

1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

How come?

I did all the necessary settings, I think!

I'm running 3.54 and all other stuff work flawlessly!

TIA

Mike

rknight111
11-09-2007, 03:25 PM
It's in the casino_main_index template. But chances are a file didn't overwrite an old one properly if you are getting a blank page.

I installed it last night for the first time.

Also Is there a way of adding Who is in the Casino at the bottom in the Casino itself, I have it in the arcade and it works well.

I see on your site there is a mod to add for reset cash, I will add that tonight as I set at $500 and in 3 hrs this AM, Im having PM's for more money..lol

Can I Pm you a username and password to look at it

My site is www.snowandmud.com but only members can see it

RON :D

Andrew Green
11-09-2007, 03:40 PM
QUOTE=rknight111;1379094]
Can I Pm you a username and password to look at it

My site is www.snowandmud.com but only members can see it

RON :D[/QUOTE]

Yup

GoTTi
11-09-2007, 03:43 PM
when you say revert all templates, which ALL are we talking about???

Andrew Green
11-09-2007, 03:44 PM
when you say revert all templates, which ALL are we talking about???

All the ones in the casino group, the rest have nothing to do with this mod ;)

GoTTi
11-09-2007, 03:55 PM
ok i am looking in the templates for the casino and i see the list, but i cant revert anything. it is not letting me select revert. i just upgraded from .31

is this a problem?

ScottRowan
11-09-2007, 04:12 PM
How do you get this to work with the vbCredits mod?

sandt38
11-09-2007, 04:16 PM
How do you get this to work with the vbCredits mod?

Change "casino_cash" into "credits" in the cash type field in AdminCP/Casino/Casino Settings.

Andrew Green
11-09-2007, 05:00 PM
ok i am looking in the templates for the casino and i see the list, but i cant revert anything. it is not letting me select revert. i just upgraded from .31

is this a problem?


Just means none have changed. What was the problem you where having again?

Mr President
11-09-2007, 05:42 PM
Is there a way to add more spaces in the Casino Setting for chips? Right now there are 10 spaces to put in for chips, is there a way could add like say 5 more spaces so i could use 5
more chip selections?

btw, great job on this hack.. My members and i love it!!! I will say it's very addicting lol

DieselMinded
11-09-2007, 06:16 PM
Database error in vBulletin 3.6.8:

Invalid SQL:
;

MySQL Error : Query was empty
Error Number : 1065
Date : Friday, November 9th 2007 @ 12:33:05 PM
Script : http://dieselbombers.com/casino/slots_ajax.php
Referrer : https://vborg.vbsupport.ru/showthread.php?t=159151&page=108
IP Address : 0000000000
Username : Unregistered
Classname : vb_database


Database error in vBulletin 3.6.8:

Invalid SQL:
;

MySQL Error : Query was empty
Error Number : 1065
Date : Friday, November 9th 2007 @ 11:44:33 AM
Script : http://dieselbombers.com/casino/slots_ajax.php
Referrer :
IP Address : xxxxxxxxxxx
Username : 00000000000000
Classname : vb_database

Mark.B
11-09-2007, 06:18 PM
Database error in vBulletin 3.6.8:

Invalid SQL:
;

MySQL Error : Query was empty
Error Number : 1065
Date : Friday, November 9th 2007 @ 12:33:05 PM
Script : http://dieselbombers.com/casino/slots_ajax.php
Referrer : https://vborg.vbsupport.ru/showthread.php?t=159151&page=108
IP Address : 0000000000
Username : Unregistered
Classname : vb_database


Database error in vBulletin 3.6.8:

Invalid SQL:
;

MySQL Error : Query was empty
Error Number : 1065
Date : Friday, November 9th 2007 @ 11:44:33 AM
Script : http://dieselbombers.com/casino/slots_ajax.php
Referrer :
IP Address : xxxxxxxxx
Username : 00000000000000
Classname : vb_database
I don't think you're supposed to call that script directly...I get the same error if I try.

Does the same thing happen if you go to /casino.php?do=slots ?

DieselMinded
11-09-2007, 06:24 PM
Database error in vBulletin 3.6.8:

Invalid SQL:
;

MySQL Error : Query was empty
Error Number : 1065
Date : Friday, November 9th 2007 @ 03:16:37 PM
Script : http://dieselbombers.com/casino/slots_ajax.php
Referrer : https://vborg.vbsupport.ru/showthread.php?p=1379187
IP Address : xxxxxxxxx
Username : Unregistered
Classname : vb_database

Database error in vBulletin 3.6.8:

Invalid SQL:
;

MySQL Error : Query was empty
Error Number : 1065
Date : Friday, November 9th 2007 @ 03:16:52 PM
Script : http://dieselbombers.com/casino/slots_ajax.php
Referrer :
IP Address : xxxxxxxx
Username : Unregistered
Classname : vb_database

DieselMinded
11-09-2007, 06:26 PM
looks like guests are doing it

thuffner
11-09-2007, 07:05 PM
I think something is wrong with the stats page...when I click on richest people, it shows the stats for my "fruit" slot machines.

BTW...is there any way to only let the Richest Players show on the front page...kind of like an all time leaderboard - then, if a user wanted any more detailed stats, they could click on the More Stats at the bottom....

Thanks! :)

DieselMinded
11-09-2007, 07:12 PM
Database error in vBulletin 3.6.8:

Invalid SQL:
;

MySQL Error : Query was empty
Error Number : 1065
Date : Friday, November 9th 2007 @ 04:08:00 PM
Script : http://dieselbombers.com/casino/slots_ajax.php
Referrer : https://vborg.vbsupport.ru/showthread.php?p=1379228
IP Address : xxxxxxxxx
Username : Unregistered
Classname : vb_database

This is Killin Me How Do i Rectify this

Andrew Green
11-09-2007, 07:49 PM
This is Killin Me How Do i Rectify this


in slots_ajax.php find this:

else if($slotsgame == 3)
$query = "
SELECT cs1.switch1 AS gameid, cs2.switch2 AS gameactive
FROM casino_settings AS cs1, casino_settings AS cs2
WHERE cs1.settingname='gamefile'
AND cs1.switch2='bar7slots'
AND cs1.switch1=cs2.switch1
AND cs2.settingname='gameactive'
";

and under it add this:

else print_no_permission();

RollaJedi
11-09-2007, 08:06 PM
is there a way to change the text on the different slots pages? I am using my own slots images so they are like star wars characters, so I wanted to change for instance cherries to chewbaccas, etc.

Thanks! love the hack!

towermatt
11-09-2007, 08:08 PM
Upgraded, 0 problem.

Thank you Andrew!

Andrew Green
11-09-2007, 08:13 PM
is there a way to change the text on the different slots pages? I am using my own slots images so they are like star wars characters, so I wanted to change for instance cherries to chewbaccas, etc.

Thanks! love the hack!

Edit these phrases:

casino_ ninjaslots_ payout
casino_ fruitslots_ payout
casino_ bar7slots_ payout

gbml4u
11-09-2007, 08:32 PM
I remember it was the 5. update of this mod for 1 month. Very nice support :) thx u Andrew

DieselMinded
11-09-2007, 08:40 PM
in slots_ajax.php find this:

else if($slotsgame == 3)
$query = "
SELECT cs1.switch1 AS gameid, cs2.switch2 AS gameactive
FROM casino_settings AS cs1, casino_settings AS cs2
WHERE cs1.settingname='gamefile'
AND cs1.switch2='bar7slots'
AND cs1.switch1=cs2.switch1
AND cs2.settingname='gameactive'
";

and under it add this:

else print_no_permission();


Applied your fix No error but page is funky

http://dieselbombers.com/casino/slots_ajax.php

DieselMinded
11-09-2007, 08:48 PM
New Problems now

Database error in vBulletin 3.6.8:

Invalid SQL:

UPDATE vbuser
SET casino_cash = casino_cash -
WHERE userid = 844;

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 'WHERE userid = 844' at line 3
Error Number : 1064
Date : Friday, November 9th 2007 @ 05:42:48 PM
Script : http://www.dieselbombers.com/casino/letemride_deal.php
Referrer : http://www.dieselbombers.com/casino.php?do=letemride
IP Address : 666666666666
Username : DangerousDuramax
Classname : vb_database

Database error in vBulletin 3.6.8:

Invalid SQL:

UPDATE vbuser
SET casino_cash = casino_cash -
WHERE userid = 844;

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 'WHERE userid = 844' at line 3
Error Number : 1064
Date : Friday, November 9th 2007 @ 05:42:49 PM
Script : http://www.dieselbombers.com/casino/letemride_deal.php
Referrer : http://www.dieselbombers.com/casino.php?do=letemride
IP Address : 333333333333333
Username : DangerousDuramax
Classname : vb_database

Database error in vBulletin 3.6.8:

Invalid SQL:

UPDATE vbuser
SET casino_cash = casino_cash -
WHERE userid = 844;

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 'WHERE userid = 844' at line 3
Error Number : 1064
Date : Friday, November 9th 2007 @ 05:42:48 PM
Script : http://www.dieselbombers.com/casino/letemride_deal.php
Referrer : http://www.dieselbombers.com/casino.php?do=letemride
IP Address : ddddddddddddddd
Username : DangerousDuramax
Classname : vb_database

ikki29
11-09-2007, 09:14 PM
Invalid SQL:
ALTER TABLE vbuser ADD casino_cash integer default 250;

MySQL Error : Duplicate column name 'casino_cash'
Error Number : 1060
Date : Friday, November 9th 2007 @ 11:58:45 PM
Script : http://www.ikki.es/ikki/admincp/plugin.php?do=productimport
Referrer : http://www.ikki.es/ikki/admincp/plugin.php?do=productadd
IP Address : xxxxxxxxxxxxxx
Username : IkkI
Classname : vb_database
Good, I want to explain the happened and what I have done, is well-read quite(everything) position(place) in the message and it(he,she) has not served me, continues saying to me exactly the same thing, the problem is that I in the phpadmin have not seen casino_cash for that it(he,she) can be this?

ikki29
11-09-2007, 10:16 PM
Thank you paul m for modifying my ip, and also to say that already this solved

Andrew Green
11-09-2007, 10:45 PM
New Problems now


This should be fixed in .61, just need to update ;)

towermatt
11-09-2007, 10:51 PM
I'm not seeing a file download for the patch--am I missing something for .61a?

Andrew Green
11-09-2007, 10:54 PM
look now :D

Roxie
11-09-2007, 10:55 PM
I thought I was crazy. lol

nonamer69
11-09-2007, 11:05 PM
thanks Andrew for this great addition.... how can we center the Texas Holdem table?

DieselMinded
11-10-2007, 12:55 AM
This should be fixed in .61, just need to update ;)

I need to do a full update ?

rknight111
11-10-2007, 02:12 AM
Im having alot of lag on the texas holdem, what can I do to fix this? I on my own dedicated server too

Otherwise I adjsuted the Blue box that says to click on here to join the Texas holdem as It wouldnt work.

Ron

Andrew Green
11-10-2007, 02:50 AM
there is a delay option in the settings.

rknight111
11-10-2007, 03:14 AM
there is a delay option in the settings.

I see that, It was on 2500, Then I changed to 2000, that should speed it up, except for I need a faster computer, laptops too slow.

shepherdblake
11-10-2007, 03:51 AM
I installed the patch. Donations work great.

I have included a little addition to this mod that Andrew helped me do. It sends another user the donation PM as well as the intended recipient. It's helps me judge how often my members are donating.

In donate.php find:

$pmdm->set_recipients($giveto, $botpermissions);

and just underneath, paste:

$pmdm->set_recipients('Blake;', $botpermissions);

where 'Blake' is the username who will receive the PM in addition to the intended recipient.

DieselMinded
11-10-2007, 04:22 AM
How do i make all $$$ lost in the casino go to my Treasurer to Donate back to members for wining contests and ect...

Andrew Green
11-10-2007, 04:47 AM
There's no treasurer for it to go back too...

DieselMinded
11-10-2007, 04:48 AM
Can I Assign one ?

DieselMinded
11-10-2007, 05:37 AM
when uploading the new .61a the version number dont change in the product manager

DieselMinded
11-10-2007, 05:42 AM
After Donation and it takes you back to casino home your total is not updated unless you refresh

When you add the $ sign in front of the money it wont transfer

Dream
11-10-2007, 06:12 AM
when uploading the new .61a the version number dont change in the product manager

He would have to do a new product file just to update the version. The way he did it is easier for everyone imo.

towermatt
11-10-2007, 02:50 PM
I agree.

I applied the patch for .61a by simply overwriting the donate.php file in the zip. Is that correct for the patch?

Also, under more stats. When you click on richest players it gives you the stats for the fruit slots.

Mark.B
11-10-2007, 02:53 PM
I agree.

I applied the patch for .61a by simply overwriting the donate.php file in the zip. Is that correct for the patch?

Also, under more stats. When you click on richest players it gives you the stats for the fruit slots.
There's a fix for that HERE (http://vbgaming.org/forum/showthread.php?t=65).

Andrew Green
11-10-2007, 02:54 PM
Yes, just a overwrite the one file.

The richest players link is a typo

It's in the stats_main template:

<td class='alt1' style='cursor:pointer' onclick='loadstats(105)'>Richest Players</td>

the 105 should be a 5. If you change it just make sure you revert the template next time.

towermatt
11-10-2007, 03:00 PM
Thanks to both of you, I will give it a try.

Mark.B
11-10-2007, 05:05 PM
This gets better with every release...WELL DONE to Andrew, really really well done, because the last 12 months I'd begun to despair of anything really interesting that would excite members ever being released again. Everything was going a bit stale.

My view now is that this is heading towards a stable release (1.00) as there is not much wrong now that I can see.

I don't think there's a need for any more new games until the final is out, much as roulette would be good I don't think it should get in the way of progress, so to speak.
My members love this, and it's pretty much as big an addon now as the arcades. Coming from nowhere to that is no small feat.

soulplayer
11-10-2007, 05:05 PM
Hy,

I still have the folowing problem:
If I enable the casino plugin then all my buttons for "edit" dissapears from the forum. I just see it on my posts while I'm the administrator... What should I post so you'll know what error I'm talking about?

Thanks!

ScottRowan
11-10-2007, 05:51 PM
How can you add Casino link into the Quicklinks menu?

nonamer69
11-10-2007, 09:13 PM
thanks Andrew for this great addition.... how can we center the Texas Holdem table?

nevermind... I found it.

I changed
<table cellspacing='0' cellpadding='0'> to <table cellspacing='0' cellpadding='0' align='center'>

on the first line of casino_texasholdem_table template

Silver740
11-10-2007, 10:29 PM
Thank you for a great hack!!!

A few questions though...

I started off all my members with about $15k, however I saw under "Richest Players" there was a member who had billions of dollars. The kicker on that was that he didn't sign into the site since 2005 and I installed this hack yesterday.

Also, as a suggestion, is it possible to have a "High Roller" only games? Sort of where you have to have a set amount of cash to even join in?

Thanks and again, excellent product!

Silver740
11-10-2007, 10:37 PM
Nice mod! Installed... :)

I've made some new Gold chips - designed in Photoshop! :D When I have more time, I'll design a few more images.

Feel free to use them with this modification.

The Full set are in the .zip folder, including the 100 Gold Chip.

Regards,

Syrus XL Media

Can you make 500, 1000, 5000, 10,000 chips pleaseeeeeeeeeeeeeeee!

Thanks!

sandt38
11-10-2007, 11:42 PM
Warning: require_once(casino/texasholdem.php) [function.require-once]: failed to open stream: No such file or directory in /casino.php on line 161

Fatal error: require_once() [function.require]: Failed opening required 'casino/texasholdem.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/face1/public_html/forums/casino.php on line 161

I tried reloading everything, including my product.

160-162 in casino.php

{
require_once('casino/texasholdem.php');
exit();

Nevermind. I am not too sure why but my ftp didn't load my texasholdem.php folder both times I attempted to load it. I swear I loaded my casino folder at least twice.

NFLfbJunkie
11-11-2007, 12:56 AM
For the richest players table, the header for the name column - "Name" - is missing. How can this be added?

stangger5
11-11-2007, 01:23 AM
For the richest players table, the header for the name column - "Name" - is missing. How can this be added?

You will need to edit the stats.php file...

casino/stats.php

Find;

$stitle = $vbphrase[casino_richest_players];
$col1 = $vbphrase[casino_name];

change to


$stitle = $vbphrase[casino_richest_players];
$scol1 = $vbphrase[casino_name];

:)

sandt38
11-11-2007, 02:08 AM
Can we get the error when you select richest players it goes to fruit machine fixed? I know it was mentioned, but it must have been overlooked.

Mr President
11-11-2007, 02:13 AM
I think my question got buried a few pages back lol..

Is there a way to add more spaces in the Casino Setting for chips? Right now there are 10 spaces to put in for chips, is there a way could add like say 5 more spaces so i could use 5
more chip selections?

btw, great job on this hack.. My members and i love it!!! I will say it's very addicting lol

stangger5
11-11-2007, 02:29 AM
Can we get the error when you select richest players it goes to fruit machine fixed? I know it was mentioned, but it must have been overlooked.

That has been fixed with the newest version..

Have you changed anything in the casino_stats_main template ??
If so you need to revert before you run the xml file..

Look in the casino_stats_main for
<td class='alt1' style='cursor:pointer' onclick='loadstats(105)'>Richest Players</td>

Make sure the loadstats is (5),, not (105)..

:)

NFLfbJunkie
11-11-2007, 02:38 AM
This question got asked a few posts back - is there a way to remove the green table image from the pages that it shows up on?

waller99
11-11-2007, 03:01 AM
I installed the patch. Donations work great.

I have included a little addition to this mod that Andrew helped me do. It sends another user the donation PM as well as the intended recipient. It's helps me judge how often my members are donating.

In donate.php find:

$pmdm->set_recipients($giveto, $botpermissions);

and just underneath, paste:

$pmdm->set_recipients('Blake;', $botpermissions);


where 'Blake' is the username who will receive the PM in addition to the intended recipient.


This is a great idea but from the pm I get, it does not tell me who the money was donated to. It only tells me who donated the money. This is what the pm I get says :

You have received a donation of $5 from (donator).

Is there a way it can say something like this:

(Name donated to), you have received a donation of $5 from (donator).

Thanks in advance.

NAG
11-11-2007, 03:43 AM
i like this but is there a UK £ version or is that possible?.

NAG
11-11-2007, 04:42 AM
also after the install i now get this..

This game is AJAX powered and requires javascript to be turned on.

soulplayer
11-11-2007, 06:29 AM
My question got burried in the previous posts, so here:

Hy,

I still have the folowing problem:
If I enable the casino plugin then all my buttons for "edit" dissapears from the forum. I just see it on my posts while I'm the administrator... What should I post so you'll know what error I'm talking about?

Thanks!

Maxman1544
11-11-2007, 07:06 AM
Integrating with other cash systems

Can you use vcash with this? If so -- what needs to be modified?

Thanks for a great mod! :)

Maxman1544
11-11-2007, 07:16 AM
Can you use vcash with this? If so -- what needs to be modified?

Thanks for a great mod! :)

Actually just looking at the admin panel here I would rather use your cash. Can anyone tell me how to change the cash system on my board?

I would basically like to preserve everyones vcash amount and just use this instead? Should be able to do this through mysql, I just don't know the syntax.

Thanks!

Jynxx
11-11-2007, 10:17 AM
My guys absolutely love this mod......so thank you

In fact Im afraid I have created a forum of gambling addicts

One small bug that I have noticed is this:

In the updated casino stats.......when you click on the link to "richest users" it actually shows the table for one of the slot machines

This means that it is actually not possible to manually view the Richest Users

Any hints?

evesve
11-11-2007, 10:22 AM
This is what I did to change my Casino:

New vbphrase (Text: Casino Games):
casino_casino_games

New vbphrase (Text: More Stats):
casino_more_stats

Find in Template: casino_index_main
<td class='tcat' colspan='2'>Games</td>
Change to:
<td class='tcat' colspan='2'>$vbphrase[casino_casino_games]</td>
Find in Template: casino_index_main
<p style='text-align:center'><a href='casino.php?do=stats'>More Stats</a></p>
Change to:
<p style='text-align:center'><a href='casino.php?do=stats'>$vbphrase[casino_more_stats]</a></p>
Find in Template: casino_index_main
<div style='text-align:center;font-size:16pt;font-weight:bold'>You have: $vbphrase[casino_currency_marker]$cash</div>
Change to:
<div style='text-align:center;font-size:16pt;font-weight:bold'>$vbphrase[casino_youhave]: $vbphrase[casino_currency_marker]$cash</div>
Find in template casino_stats_main
<table class='tborder' align='center' border='0' cellpadding='6' cellspacing='0' width='100%'>
<thead>
<tr>
<td class='thead'>Statistics</td>
</tr>
</thead>
<tbody>
<tr>
<td class='alt1' style='cursor:pointer' onclick='loadstats(1)'>Your Stats</td>
</tr>
<tr>
<td class='alt2' style='cursor:pointer' onclick='loadstats(2)'>Total Stats</td>
</tr>
<tr>
<td class='alt1' style='cursor:pointer' onclick='loadstats(3)'>Most Won</td>
</tr>
<tr>
<td class='alt2' style='cursor:pointer' onclick='loadstats(6)'>Most Lost</td>
</tr>
<tr>
<td class='alt1' style='cursor:pointer' onclick='loadstats(4)'>Luckiest People</td>
</tr>
<tr>
<td class='alt2' style='cursor:pointer' onclick='loadstats(7)'>Unluckiest People</td>
</tr>
<tr>
<td class='alt1' style='cursor:pointer' onclick='loadstats(105)'>Richest Players</td>
</tr>
$gamestats
</tbody>

</table>
Change to:
<table class='tborder' align='center' border='0' cellpadding='6' cellspacing='0' width='100%'>
<thead>
<tr>
<td class='thead'>$vbphrase[casino_statistics]</td>
</tr>
</thead>
<tbody>
<tr>
<td class='alt1' style='cursor:pointer' onclick='loadstats(1)'>$vbphrase[casino_yourstats]</td>
</tr>
<tr>
<td class='alt2' style='cursor:pointer' onclick='loadstats(2)'>$vbphrase[casino_totalstats]</td>
</tr>
<tr>
<td class='alt1' style='cursor:pointer' onclick='loadstats(3)'>$vbphrase[casino_mostwon]</td>
</tr>
<tr>
<td class='alt2' style='cursor:pointer' onclick='loadstats(6)'>$vbphrase[casino_mostlost]</td>
</tr>
<tr>
<td class='alt1' style='cursor:pointer' onclick='loadstats(4)'>$vbphrase[casino_luckiestpeople]</td>
</tr>
<tr>
<td class='alt2' style='cursor:pointer' onclick='loadstats(7)'>$vbphrase[casino_unluckiestpeople]</td>
</tr>
<tr>
<td class='alt1' style='cursor:pointer' onclick='loadstats(5)'>$vbphrase[casino_richest_players]</td>
</tr>
$gamestats
</tbody>

</table>

Find in casino/stats.php
$stitle = $vbphrase[casino_richest_players];
$col1 = $vbphrase[casino_name];
Change to:
$stitle = $vbphrase[casino_richest_players];
$scol1 = $vbphrase[casino_name];

Find in casino/stats.php (if you want Richest player as default in mainpage):
$page = (rand() % 7) + 1;
Change to:
$page = 5;

Find in casino/donate.php (if you want a PM when other members donate to each other):
$pmdm->set_recipients($giveto, $botpermissions);
Under it add (change ==your username== to your username):
$pmdm->set_recipients('==your username==;', $botpermissions);

Find in casino/slots_ajax.php:
else if($slotsgame == 3)
$query = "
SELECT cs1.switch1 AS gameid, cs2.switch2 AS gameactive
FROM casino_settings AS cs1, casino_settings AS cs2
WHERE cs1.settingname='gamefile'
AND cs1.switch2='bar7slots'
AND cs1.switch1=cs2.switch1
AND cs2.settingname='gameactive'
";
under it add:
else print_no_permission();

Robp57
11-11-2007, 11:37 AM
Uploaded the new version and did not get bars and 7's.........
Everything else works, but when I got to bars and 7's it just refreshes the page....
Also, where is the donate option?

Doctor Death
11-11-2007, 11:53 AM
Is there a "Who is in the casino" addon for the bottom of forums?

peterpigman
11-11-2007, 12:14 PM
Could you add the option to exempt certain forums from casino cash for posts and threads etc? That would be handy.

sandt38
11-11-2007, 04:40 PM
That has been fixed with the newest version..

Have you changed anything in the casino_stats_main template ??
If so you need to revert before you run the xml file..

Look in the casino_stats_main for
<td class='alt1' style='cursor:pointer' onclick='loadstats(105)'>Richest Players</td>

Make sure the loadstats is (5),, not (105)..

:)

I just reloaded everything and the same error is present. Is that supposed to be in row 433 and row 434? I see something quite different...

<td class='alt$i' style='cursor:pointer' onclick='loadstats($gameid)'>$vbphrase[casino_topplayers] - $gamename</td></tr>";
}

sandt38
11-11-2007, 04:44 PM
Uploaded the new version and did not get bars and 7's.........
Everything else works, but when I got to bars and 7's it just refreshes the page....
Also, where is the donate option?

Reload your casino.php, slots.php and slots_ajax.php. files. Also, be certain you loaded your casino product and allowed overwrite. I had a similar issue and reloaded these and fixed the issue, as per Mr. Green's advice.

NFLfbJunkie
11-11-2007, 07:57 PM
Is there a way to reset all of the game stats?

troykristoffer
11-11-2007, 11:33 PM
I just wanted to say that this is by far, my favorite Mod!! :) So awesome!

I do have some questions/feature requests though...

1. Is it possible to add sound to the slot machines (or all?) I find that they're just kinda missing something without that satisfying sound of spinning reels and coins! ;)

2. Also, is it possible to change the odds on the slots?

3. Can more settings be added to the Lottery to specify/reschedule the date AND time of the drawing? :)

Despite all that, this is still a very addictive and genius mod! Thanks and congrats!

stangger5
11-12-2007, 12:00 AM
Is there a "Who is in the casino" addon for the bottom of forums?

I just got done coding that,, this morning...testing it out right now..

srt10etr
11-12-2007, 12:30 AM
Awesome Mod!!!

Andrew Green
11-12-2007, 01:25 AM
I think my question got buried a few pages back lol..

Is there a way to add more spaces in the Casino Setting for chips? Right now there are 10 spaces to put in for chips, is there a way could add like say 5 more spaces so i could use 5
more chip selections?

btw, great job on this hack.. My members and i love it!!! I will say it's very addicting lol

That shouldn't be hard, I'll add more lines next round.

i like this but is there a UK ? version or is that possible?.


Yes, just change the phrase casino_currency_marker

also after the install i now get this..

This game is AJAX powered and requires javascript to be turned on.


Link?


My question got burried in the previous posts, so here:

I've not seen that on any of the ones I've looked at, or had anyone else report it. So it's probably something specific to your site. If you send me a link I can have a look.

This is a great idea but from the pm I get, it does not tell me who the money was donated to. It only tells me who donated the money. This is what the pm I get says :

You have received a donation of $5 from (donator).

Is there a way it can say something like this:

(Name donated to), you have received a donation of $5 from (donator).

Thanks in advance.

The to field should tell you who else it was sent too.

SBlueman
11-12-2007, 03:05 AM
That shouldn't be hard, I'll add more lines next round.

If you do this...can you make it so the site doesn't "stretch" with the chips? I have had to not use some chips because of this. My site is set to a 800 pixel width.

ProAzn
11-12-2007, 03:29 AM
Sorry I didn't look through the whole pages of the thread but have a question. How does one convert vbcredit system of points to cash so users can use the combined amount at casino or vbcredit raffles, banking and loans, etc.. I've seen one forum have this script/hack and it works nicely.

Anyone know where I can get this or provide the script?

Thanks.

evesve
11-12-2007, 05:01 AM
I have change the phrase casino_currency_marker to €
The Casino don´t like €, it wont show up...
Any ideas?

evesve
11-12-2007, 05:51 AM
I have change the phrase casino_currency_marker to €
The Casino don?t like €, it wont show up...
Any ideas?
I found it... :cool:
& # 8 3 6 4 ;

johnrizz
11-12-2007, 12:30 PM
I just got done coding that,, this morning...testing it out right now..

That a be great!! I also see you have one for "Currently active users in the Arcade" will you be sharing that one with us also?

gertoo
11-12-2007, 01:45 PM
wow this is getting so popular :)

Can it be made so the users can giveor "loan" money to each other?
That would be a great thing!

Andrew Green
11-12-2007, 03:37 PM
Sorry I didn't look through the whole pages of the thread but have a question. How does one convert vbcredit system of points to cash so users can use the combined amount at casino or vbcredit raffles, banking and loans, etc.. I've seen one forum have this script/hack and it works nicely.

Anyone know where I can get this or provide the script?

Thanks.

change the cash field from casino_cash to "credits" in the admincp.

troykristoffer
11-12-2007, 04:20 PM
If you do this...can you make it so the site doesn't "stretch" with the chips? I have had to not use some chips because of this. My site is set to a 800 pixel width.

This happens to me too, but only on the slot machines. I've messed around with the templates quite a bit and couldn't get it to correct.

:-/

ProAzn
11-12-2007, 04:39 PM
change the cash field from casino_cash to "credits" in the admincp.

We updated that and the casino cash now shows the amt from vbcredits. How do we get the casino cash part to disappear from showing on the forum at all such as postings, profile, etc. Is there a script that we have to delete in the coding or is it another setting in admin cp?

.

ProAzn
11-12-2007, 05:24 PM
We updated that and the casino cash now shows the amt from vbcredits. How do we get the casino cash part to disappear from showing on the forum at all such as postings, profile, etc. Is there a script that we have to delete in the coding or is it another setting in admin cp?

.


We got casino casino cash to disappear from the members profile. How do you get to disappear from members postings??

.

Andrew Green
11-12-2007, 06:22 PM
We got casino casino cash to disappear from the members profile. How do you get to disappear from members postings??

.

undo the template modification you made to the postbit.

lairnoc
11-12-2007, 06:26 PM
Is there a way to change the winfactor :P

i am broke everyday now

Twilkey
11-13-2007, 03:57 PM
Is there a way to change the winfactor :P

i am broke everyday now

The casino is coded in light of a real casino. There are alot of people that go broke in a real casino.

Andrew Green
11-13-2007, 04:06 PM
Is there a way to change the winfactor :P

i am broke everyday now

Games are random, things like Let it Ride and blackjack can't really be altered without rigging the game.

Other games I suppose you could change the payouts, but then it would go the other way, everyone would get rich.

All of them are set up to payout 95-100% over time based on the odds of winning and the amount won.

SVTCobraLTD
11-13-2007, 04:09 PM
Is the wheel spinning problems fixed in .61a? Where the wheel just keeps spinning til you refresh?

Also, can I go right from v .50 to .61a?

SVT

NFLfbJunkie
11-13-2007, 04:13 PM
Is there a way to reset all player's casino stats? And is it possible to remove the green background table from the pages that use it?

Andrew Green
11-13-2007, 04:13 PM
You can, and if the wheels are spinning like that it probably means you need to revert a template or overwrite a file. Shouldn't have happened in any of the versions.

Black Tiger
11-13-2007, 04:56 PM
My problem still persist. Crontabs have been running and new drawdate was set a few times already.
Still on the forums in the Lottery it says: Jackpot $813787
But in the admincp it says: Min Win 65.708 and odds 1 in 53.130.

What is wrong?

Andrew Green
11-13-2007, 05:15 PM
Have to defer that until I get home, can't remember off hand how I dealt with jackpots carrying forward when the odds change.

EA Junkie
11-13-2007, 10:52 PM
Got everything installed and casino works. I can manually go to casino_settings.php, but I don't see any options in the admin cp?

Andrew Green
11-13-2007, 11:17 PM
the includes/xml/cpnav_casino.php file probably didn't get uploaded.

syrus.xl
11-13-2007, 11:46 PM
Here's a full set of replacement buttons. Due to the upload limiations I couldn't add them all as previews, but they are all in the zipped file.

Thought I'd share them on here! :)

Please note the full set is within the zipped file.

Enjoy! :)

Edited: These will need to be changed to the PNG image format. I'll repost them on this post later today.

Robbed
11-14-2007, 01:59 AM
Uncached templates: casino_slots_chip (9)
Uncached templates: casino_slots_main (1)
Uncached templates: casino_slots_play (1)
Uncached templates: casino_slots_slotwheel (3)

Robbed
11-14-2007, 02:11 AM
Twilkey can you add the 3 for blackjack too.

Twilkey
11-14-2007, 03:28 AM
Twilkey can you add the 3 for blackjack too.

Um what.

jewropa
11-14-2007, 08:01 AM
hello, Andrew Green
at first: it is a very useful mod! I love it!

Not the second thing: I would like place a image in the game description box.
I is possible to enable html in the description of the games so i can do it?

ScottRowan
11-14-2007, 12:23 PM
Can someone tell me how I can sort it so that , when you see all the chips you can bet with, they are all in a line and it distorts my forum, is there a way you can make it go so far then go into a new line?

Mark.B
11-14-2007, 01:37 PM
hello, Andrew Green
at first: it is a very useful mod! I love it!

Not the second thing: I would like place a image in the game description box.
I is possible to enable html in the description of the games so i can do it?
That isn't necessary, there is another way which involves a fairly simple template edit.

Have a look at mine:
http://www.bowlandcentral.com/forum/casino.php

When I get home later I shall get some instructions together as I know a couple of people are interested in this.

chatzworld
11-14-2007, 01:43 PM
love the way you have ur casino mark maybe the makers mite make it similar is looks very good and much improved :)

towermatt
11-14-2007, 02:12 PM
That isn't necessary, there is another way which involves a fairly simple template edit.

Have a look at mine:
http://www.bowlandcentral.com/forum/casino.php

When I get home later I shall get some instructions together as I know a couple of people are interested in this.

That is amazing! I would love to do something like that with mine. Thanks Mark

Mark.B
11-14-2007, 03:27 PM
Ok...how to get images next to the game names.

(This won't give you a casino index exactly like mine, this will give you a standard casino index but with images of your choice next to the game names.)

First you need to choose some copyright-free images. Look for free icon sites. Ideally your images should be around 32 X 32 in size. Create a folder within your casino folder and call it "images". So the path is then yourdomain.com/forum/casino/images.

You then need to upload each image to the server, but rename it to the same as the gamename for the game it relates to. These are listed in
AdminCP > Casino > Casino Settings
under "Games Available", they are the first (unalterable) name, not the name you can change. So for example the icon you want to appear for Video Poker needs be named videopoker.gif.

Upload all these to the /casino/images/ folder you have just created.

Then go to your casino_index_game template. (Take a copy of it first if you have customised it in any way.)

Replace the whole template with this:

<tr>
<td class='alt$i'>

<table>
<td width='36px' align='center'>
<a href='casino.php?do=$gamefile'><img class='inlineimg' src='casino/images/$gamefile.gif' border='0' /></a></td>
<td align='left' width='95%'><span><b><a href='casino.php?do=$gamefile'>$gamename</a></b></span><br />
</td>
</td></table>

</td>
<td class='alt$i'>
$gamedesc
</td>
</tr>

If your images are jpgs or pngs rather than gifs, then just change $gamefile.gif to $gamefile.jpg or $gamefile.png.

If your images are all the same size then you can add width='xx' height='xx' into the <img> tag, that will assist with smoother page loading.

I have tested the above on my site and it works fine but I offer no guarantees. If anyone wishes to make any changes/improvements etc to the above then feel free to do so and post it here, I'm fine with that. These instructions can also be taken and posted anywhere, I'm not fussy about that either.

ezurick
11-14-2007, 06:54 PM
I tried to weed thru many posts on this thread and I see very few issues with the lottery... I need more options for the lottery... but first, when i change settings and go to the casino lottery, they don't take effect. My lottery is set for every wednesday... but it was default to friday (I think)... it took a week to catch up and now it does do the lottery on wednesday, but at 11pm? I might as well set it for tuesday... with a time like that... .lol

Also, I don't have a large member base, so the jackpot is very low... how about allowing the admin to set the BASE jackpot... and what ever is added will be on top of that...

Just a little story... I use the vbcredits program with this casino.. I installed this and warned my members that it could be costly... and be careful... just about all of my users with large balances went in there and lost their shirts... and now they post crap in the forums just to earn credits to gamble.... .:rotf:

jewropa
11-14-2007, 07:26 PM
Ok...how to get images next to the game names.

(This won't give you a casino index exactly like mine, this will give you a standard casino index but with images of your choice next to the game names.)

First you need to choose some copyright-free images. Look for free icon sites. Ideally your images should be around 32 X 32 in size. Create a folder within your casino folder and call it "images". So the path is then yourdomain.com/casino/images.

You then need to upload each image to the server, but rename it to the same as the gamename for the game it relates to. These are listed in
AdminCP > Casino > Casino Settings
under "Games Available", they are the first (unalterable) name, not the name you can change. So for example the icon you want to appear for Video Poker needs be named videopoker.gif.

Upload all these to the /casino/images/ folder you have just created.

Then go to your casino_index_game template. (Take a copy of it first if you have customised it in any way.)

Replace the whole template with this:

<tr>
<td class='alt$i'>

<table>
<td width='36px' align='center'>
<a href='casino.php?do=$gamefile'><img class='inlineimg' src='casino/images/$gamefile.gif' border='0' /></a></td>
<td align='left' width='95%'><span><b><a href='casino.php?do=$gamefile'>$gamename</a></b></span><br />
</td>
</td></table>

</td>
<td class='alt$i'>
$gamedesc
</td>
</tr>

If your images are jpgs or pngs rather than gifs, then just change $gamefile.gif to $gamefile.jpg or $gamefile.png.

If your images are all the same size then you can add width='xx' height='xx' into the <img> tag, that will assist with smoother page loading.

I have tested the above on my site and it works fine but I offer no guarantees. If anyone wishes to make any changes/improvements etc to the above then feel free to do so and post it here, I'm fine with that. These instructions can also be taken and posted anywhere, I'm not fussy about that either.

thank you very much i try it now

waller99
11-14-2007, 07:42 PM
Ok...how to get images next to the game names.

(This won't give you a casino index exactly like mine, this will give you a standard casino index but with images of your choice next to the game names.)

First you need to choose some copyright-free images. Look for free icon sites. Ideally your images should be around 32 X 32 in size. Create a folder within your casino folder and call it "images". So the path is then yourdomain.com/casino/images.

You then need to upload each image to the server, but rename it to the same as the gamename for the game it relates to. These are listed in
AdminCP > Casino > Casino Settings
under "Games Available", they are the first (unalterable) name, not the name you can change. So for example the icon you want to appear for Video Poker needs be named videopoker.gif.

Upload all these to the /casino/images/ folder you have just created.

Then go to your casino_index_game template. (Take a copy of it first if you have customised it in any way.)

Replace the whole template with this:

<tr>
<td class='alt$i'>

<table>
<td width='36px' align='center'>
<a href='casino.php?do=$gamefile'><img class='inlineimg' src='casino/images/$gamefile.gif' border='0' /></a></td>
<td align='left' width='95%'><span><b><a href='casino.php?do=$gamefile'>$gamename</a></b></span><br />
</td>
</td></table>

</td>
<td class='alt$i'>
$gamedesc
</td>
</tr>

If your images are jpgs or pngs rather than gifs, then just change $gamefile.gif to $gamefile.jpg or $gamefile.png.

If your images are all the same size then you can add width='xx' height='xx' into the <img> tag, that will assist with smoother page loading.

I have tested the above on my site and it works fine but I offer no guarantees. If anyone wishes to make any changes/improvements etc to the above then feel free to do so and post it here, I'm fine with that. These instructions can also be taken and posted anywhere, I'm not fussy about that either.

Good stuff. Thanks a ton for this. Makes it look very nice.

NFLfbJunkie
11-14-2007, 07:47 PM
I hope I'm not being a pest, but I have asked a couple of times now if the following is possible: re-setting all of the user stats for all of the games and removing the green table images from the pages that use them. Any advice would be greatly appreciated.

Basscat
11-14-2007, 07:47 PM
I just installed this on my test site. This may have been asked already.

Will there be an option so there can be multiple tables for the same game? Kind of like flash chat having multiple rooms, or yahoo having multiple tables.

It would be neat to have a texas hold'em tourney on the site with multiple tables playing at once.

Andrew Green
11-14-2007, 07:53 PM
not right now, might happen in the future.

Robbed
11-14-2007, 08:20 PM
Um what.

For Blackjack there is Hit, stay and double down buttons

Mark.B
11-14-2007, 08:36 PM
For Blackjack there is Hit, stay and double down buttons
And split.

Mark.B
11-14-2007, 08:36 PM
Good stuff. Thanks a ton for this. Makes it look very nice.
Thanks, you are most welcome. :D

SliceofLife
11-14-2007, 08:54 PM
I tried to upgrade this product, and now I get this error which completely shuts down the whole forum:

Warning: Division by zero in /global.php(360) : eval()'d code on line 119




Database error in vBulletin 3.6.8:

Invalid SQL:
SELECT count(userid) AS np FROM casino_texasholdem_whoisin WHERE lastcheck > 1195079990;

MySQL Error : Table '[forum]_vbulletin.casino_texasholdem_whoisin' doesn't exist
Error Number : 1146
Date : Thursday, November 15th 2007 @ 09:40:20 AM
Script : http://[forum]/forum/index.php
Referrer :
IP Address : [ip address]
Username : [username]
Classname : vB_Database

There is also no intstruction for the 'patch' file that you have included, that includes the 'donate' file.

It also screwed up my global php file, and the only way to get the forum back to normal now is to disable the entire thing through the products function.

towermatt
11-14-2007, 08:57 PM
Looks like its missing the "who's in" modification.

But I'm no expert. Did you follow the instructions to the letter? There is some information about that stuff in the read me file

SliceofLife
11-14-2007, 09:02 PM
Looks like its missing the "who's in" modification.

But I'm no expert. Did you follow the instructions to the letter? There is some information about that stuff in the read me file

I followed the Read Me right down the line. :confused:

nonamer69
11-15-2007, 12:03 AM
Created a red table for the casino. I wasn't a fan of that green.

72330

Geeps
11-15-2007, 01:47 AM
I searched and couldn't find an answer. I got this email from a member of my board:

"The game went fine for about 1/2 hour then it started dealing the same hand 2 times in a row or a hand that we had recently played."

He's referring to the Texas Hold'em, but I noticed that it was doing this on BlackJack and Let e ride.

Andrew Green
11-15-2007, 03:16 AM
I tried to upgrade this product, and now I get this error which completely shuts down the whole forum:


Somewhere along the line at least one of your tables got dropped, I have a rebuild everything script, but it needs updating. Might get to it tomorrow, but probably not until the weekend.

Chances are that a uninstall and reinstall would solve it, as the problem you are having was likely caused by trying to uninstall a older version that had a typo in the uninstall code.

You can also delete all the casino_* tables, as well as the casino_cash field in the user table, uninstall the product then reinstall. (if the uninstall gives you a error delete anything in the uninstall code boxes under "edit" for the product. Then reinstall and everything should work.

s0laris
11-15-2007, 03:38 AM
I have never done a mod install ever to vb.

So please be kind

I am trying to follow the instructions.

1: I copied casino.php to my vb location (No problem)
2: copied the casio directory and its content to same location
3: I dont really know where admincp goes. I assume it should be some safe place. I put it where members wont see it

4: import the xml file. This is where I am stuck, where/how do I do this step ?

Thanks for your patience

Andrew Green
11-15-2007, 04:57 AM
I have never done a mod install ever to vb.

So please be kind

I am trying to follow the instructions.

1: I copied casino.php to my vb location (No problem)
2: copied the casio directory and its content to same location
3: I dont really know where admincp goes. I assume it should be some safe place. I put it where members wont see it

4: import the xml file. This is where I am stuck, where/how do I do this step ?

Thanks for your patience

3 - Basically everything goes in the folders it is in. So the stuff in the admincp folder goes in the admincp folder you already have. Same for the stuff in the includes folder, just move the files into the folders that are already there. The /casino/ folder is the only new one.

4 - Go to Products in your admincp, then import a Product. Select the product-casino.xml file and go.

When it comes time to update do the same thing, upload the files in the UPLOAD folder to the same places that they are in, import the product (choosing "yes" to overwrite when updating) Don't uninstall, not neccessary and would remove all your settings and scores.

bostton1
11-15-2007, 10:14 AM
is this multiplayer or games you play by yourself?

towermatt
11-15-2007, 11:17 AM
The holdum game is mulit player. Very cool. :D

geevest.com
11-15-2007, 12:19 PM
i want uninstal casino,can help me? thx

Mark.B
11-15-2007, 03:18 PM
Created a red table for the casino. I wasn't a fan of that green.

72330
Thanks..I have turned this into an option so that members can select either green or red tables!

NFLfbJunkie
11-15-2007, 03:21 PM
Thanks..I have turned this into an option so that members can select either green or red tables!

How did you do that?

Mark.B
11-15-2007, 03:33 PM
How did you do that?
You need to make a couple of tweaks.

First create a Custom Profile Field as follows:
Title: Colour Of Casino Card Tables
Description: You can choose either GREEN or RED card tables for the Casino
Options: Green Red (put these on separate lines, make sure Green is first)
Set Default: Yes
Field Required: No
Field Editable By User: yes
Private Field: No
Show on members list: No

Leave all of the "Optional Input" block as default

Which page displays this option? Options: Other

Make a note of the field number when you have saved it...we'll call it fieldx for this, but replce x with whatever number it gives you.

Rename all the RED files in the zip above so they have red- in front of them.
eg red-cloth-br. Upload them to your /casino/cards/ folder, same location as the green ones.

Find every instance in the word cloth in the casino templates and put this IMMEDIATELY in front of it, adding no extra spaces or characters:
<if condition="$bbuserinfo['fieldx'] == 'Red'">red-</if>
Remember to change the x in "fieldx" to the field number you have just been given in your admincp.

You will end up with lines that look like this:
<img src='casino/cards/<if condition="$bbuserinfo['fieldx'] == 'Red'">red-</if>cloth-tl.gif' alt=''/>
But don't just replace everything with the above full line of code as the GIF names are different for each one. You will break things if you do.

That's it.

The affected templates are:
casino_blackjack_play
casino_letitride_cards
casino_texasholdem_table
casino_vidpoker_play

There are several instances to change in each template, not just one!

IMPORTANT: remember that each time there is an upgrade, you will need to REVERT these four templates and RE-APPLY the changes, or things might not work!

Mark.B
11-15-2007, 04:01 PM
One thing I'm finding is that although the Javascript error has been fixed that affected IE only, Video Poker does still "freeze" after a short time playing but only in IE.

You finish a hand, try to place a bet and everything except the row of cards disappears. You then cannot move on without a full refresh. It doesn't change the cards or put the "Discard" button up.

Andrew Green
11-15-2007, 04:07 PM
I'll look into that this weekend.