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)

dodgeboard.com 12-07-2007 11:31 AM

Quote:

Originally Posted by tropicon (Post 1396706)
There is a problem with the lottery, we wanted a draw every day now error message for users No Draw Active at this time, please check back later


See this

Keyser S?ze 12-07-2007 12:56 PM

thanks dodge, worked

Andrew Green 12-07-2007 01:02 PM

Quote:

Originally Posted by Shazz (Post 1396341)
Having to click the button twice is getting confusing sometimes, haven't read this thread to see if 100 other people also say it though.

Which button was that?

1F42 12-07-2007 02:41 PM

Installed all fine but I would like to change all the $ refs to ? ;) any pointers to where they are to be found thanks

Andrew Green 12-07-2007 02:48 PM

The one in the postbit template you do manually, change the phrase "casino_currency_marker" for the rest.

1F42 12-07-2007 02:51 PM

new to this but ill try and find thanks

1F42 12-07-2007 03:06 PM

done that as a translation and works so just the postbits now thanks

$vbphrase[posts]: $post[posts]
<br />Casino Cash: $$post[casino_cash] This one :)

ChU v2 12-08-2007 12:39 AM

Suggestions for future updates:

Don't know if you have some of this in the works or if I've missed it but here goes. I was an avid poker player in the past. This is mainly suggestions for the Texas Hold em part.

1. No Limit Poker! - Make it so users can customize bets.
2. View Previous Hands
3. More than one room available. - I assume more than 10 people will want to play at one time.
4. Options to show/hide hand if user folds - If opponent folds, the winner can select to show/hid there hand.
5. Custom 'avatars' to show above username when sitting at a table.
6. Is click the ready button before each hand necessary?
7. Beep to notify user of his/her turn if taking too long.
8. If user takes too long, set them to an idle state so they are at the table, but not in the hands, after a certain amount of time, user is kicked from the table.

Also is there a way to have like an Admin donate option for the Casino cash?

Hope I've helped.

Robert Paulson 12-08-2007 12:51 AM

Quote:

Originally Posted by ChU v2 (Post 1397139)
Suggestions for future updates:

Don't know if you have some of this in the works or if I've missed it but here goes. I was an avid poker player in the past. This is mainly suggestions for the Texas Hold em part.

I've had several users request the same things.

AWESOME add-on, though. Great job!

Is there a way for us to customize a few of the images, i.e. 'ninjas', 'chips', etc??

Andrew Green 12-08-2007 03:10 AM

Quote:

Originally Posted by ChU v2 (Post 1397139)
1. No Limit Poker! - Make it so users can customize bets.

At some point maybe.

Quote:

2. View Previous Hands
Probably not, don't really see the benefit myself.

Quote:

3. More than one room available. - I assume more than 10 people will want to play at one time.
Again, at some point.

Quote:

4. Options to show/hide hand if user folds - If opponent folds, the winner can select to show/hid there hand.
Not sure what you mean

Quote:

5. Custom 'avatars' to show above username when sitting at a table.
thought about that, but with a 10 player game, chat box and common cards, there isn't really any space to put them and keep everything on the screen at once without a high resolution monitor

Quote:

6. Is click the ready button before each hand necessary?
Yep. Otherwise people that don't want dealt in, or have left the room will get dealt in.

Quote:

7. Beep to notify user of his/her turn if taking too long.
Sound effects have been asked for before, might happen in the near future.

Quote:

8. If user takes too long, set them to an idle state so they are at the table, but not in the hands, after a certain amount of time, user is kicked from the table.
That's the function of the ready button, keep people that are not sitting there from getting dealt in ;)

A way to boot people is needed however.

Quote:

Also is there a way to have like an Admin donate option for the Casino cash?

Hope I've helped.
You can modify peoples cash manually in the admincp (user options), or increase amounts by usergroup.


Quote:

Originally Posted by Robert Paulson (Post 1397142)
I've had several users request the same things.

AWESOME add-on, though. Great job!

Is there a way for us to customize a few of the images, i.e. 'ninjas', 'chips', etc??

Sure, just replace the image files.

Robert Paulson 12-08-2007 03:47 AM

Quote:

Originally Posted by Andrew Green (Post 1397184)
Sure, just replace the image files.

thank you, sir!

Shazz 12-08-2007 03:54 AM

This has probablly been asked many times too, to let people know I have done a search throughout the thread, but where exactly in the plugin would you change the 1 min time limit?

nautiqeman 12-08-2007 10:25 PM

What would I need to edit to update the Sports Pool feature in this casino?

I'd like to continue to use my vBookie feature for this option and to link directly to it from the casino.php page.

Thanks!

xadoa 12-09-2007 02:53 PM

worked great for me, thanks ..

xadoa

Quote:

Originally Posted by dodgeboard.com (Post 1395110)
Erika,

Try running your lottery draws manually:
  1. Login to Admincp
  2. Go to Scheduled tasks, Scheduled task Manager
  3. Find Casino Lottery Draw, click run now.

Check to see if your lottery is working now.

If it is still not working, or you get this error (or something like it) when running the task:



Then you need to apply the fix.

Open the casino_lotto.php file (with Wordpad) that you uploaded (or still have on your PC) and make this change:

Find this

Code:

        $settings = $db->query_read($query);
        $setting = $db->fetch_array($settings);

and change to this:
Code:

        $settings = $vbulletin->db->query_read($query);
        $setting = $vbulletin->db->fetch_array($settings);

After correcting the file, UPLOAD THE NEWLY CORRECTED FILE back to the Forums directory (overwriting the old one).

Then go back into the admincp and rerun the Casino Lottery Draw Scheduled task (steps 1-3 above).

That should fix it.

Andrew said he is going to fix it in the next release. Holler if you need help.

EDIT: added modified casino_lotto.php file


peterpigman 12-09-2007 08:55 PM

Quote:

Originally Posted by Andrew Green (Post 1396784)
Which button was that?

In texas hold em. Sometimes when you bet or check you have to click twice.

DieselMinded 12-09-2007 09:47 PM

Andrew can you make the sports poll stay displayed untill they are settled then go away ?

meissenation 12-09-2007 11:31 PM

I'm having a lot of problems with it kicking me and other people out of the Texas Holdem game randomly. Not sure why it happens yet. Happens with just two, 3, 4, etc.

meissenation 12-10-2007 12:17 AM

Another thing I noticed, when I do the sports bets, if I select 14:00 it says that it closes at 1pm. Is it suppose to be 1 hour before, or is it off?

shaynehammy 12-10-2007 04:15 AM

I've loaded the latest version and getting

Quote:

Let &apos;em Ride 5 Card stud variation.
Not serious but how do i correct it?

EDIT: Got it. Was obviously having a bad look :(

Keyser S?ze 12-10-2007 04:20 AM

i have a good idea, let ppl go in the negative to a certain amount, set by the admin, and if they are in the negative it says in post bit "casino cash: On Welfare"

:p

shaynehammy 12-10-2007 05:11 AM

Why if i disable the games in admin do they still appear visable to all the users?

skcyber 12-10-2007 05:58 AM

It's impossible to transfer cash to another member ... :(
In statistics, when we click on top players - Lottery we have the top players of sports betting

Lee G 12-10-2007 09:31 AM

The latest version looks good and has solved the problem I had with the Texas hold em showing the table full when no one was in there.

But when you turn a game off, ie lottery, it still shows up in the menu for the games

Apart from that, it looks like another well put together update
Keep up the good work

ezurick 12-10-2007 09:48 AM

Quote:

Originally Posted by Lee G (Post 1398449)
The latest version looks good and has solved the problem I had with the Texas hold em showing the table full when no one was in there.

But when you turn a game off, ie lottery, it still shows up in the menu for the games

Apart from that, it looks like another well put together update
Keep up the good work

I just updated to .80 and I am not sure what the permissions do. I have a blank in every game and I tried (as the admin) to play the games, and it let me. Could you explain what that is for.

Also, in Roulette, the chip is not going on the board properly again. When I select a chip, it goes to the 2 to 1 box at the bottom and ya can't move it. We had this issue before and I can't remember what we done to correct it. Anyone else having this issue?

ezurick 12-10-2007 10:04 AM

Quote:

Originally Posted by ezurick (Post 1398451)
I just updated to .80 and I am not sure what the permissions do. I have a blank in every game and I tried (as the admin) to play the games, and it let me. Could you explain what that is for.

Also, in Roulette, the chip is not going on the board properly again. When I select a chip, it goes to the 2 to 1 box at the bottom and ya can't move it. We had this issue before and I can't remember what we done to correct it. Anyone else having this issue?

Oh heck! Nevermind. I forgot to revert. Roulette is working now. However, since I reverted, I am getting blanks on the game icons. I'll keep looking to see what the problem is, but I did manually change this from an earlier post to show icons before this version.

xxxsaint 12-10-2007 02:01 PM

Quote:

Originally Posted by ezurick (Post 1398460)
Oh heck! Nevermind. I forgot to revert. Roulette is working now. However, since I reverted, I am getting blanks on the game icons. I'll keep looking to see what the problem is, but I did manually change this from an earlier post to show icons before this version.

If you had icons from the earlier post , they're in the wrong directory now. You have to put your game icons in the " cards " folder.

stangger5 12-10-2007 06:08 PM

Quote:

Originally Posted by shaynehammy (Post 1398373)
Why if i disable the games in admin do they still appear visable to all the users?

Try this,,
edit the casino.php file..

Find:
Code:

$result = $db->query_read("SELECT * FROM casino_games ORDER BY gamename");
while ($row = $db->fetch_array($result))

And replace with this

Code:

$result = $db->query_read("SELECT * FROM casino_games  WHERE active = 1 ORDER BY gamename");
while ($row = $db->fetch_array($result))


stangger5 12-10-2007 06:16 PM

Quote:

Originally Posted by skcyber (Post 1398390)
In statistics, when we click on top players - Lottery we have the top players of sports betting

Looks like the Lottery and Sports Betting are backwards in the data base,, casino_games table..

Setting the Sports Betting gameid to 3 and
the Lottery gameid to 4 should fix it..

Andrew Green 12-10-2007 06:24 PM

I should have some time tomorrow, any problems that get posted I'll fix up then.

AWJunkies 12-10-2007 07:37 PM

Nice work but for an added style thing you should center the images for the games instead of left.

ezurick 12-10-2007 08:59 PM

Quote:

Originally Posted by xxxsaint (Post 1398559)
If you had icons from the earlier post , they're in the wrong directory now. You have to put your game icons in the " cards " folder.

Strange... the .png are set in the settings and they are sitting in the cards folder... but they are still not showing up....

carubmun 12-10-2007 08:59 PM

Andrew Green you rock.
That is all.

punchbowl 12-10-2007 11:27 PM

Quote:

Originally Posted by carubmun (Post 1398797)
Andrew Green you rock.
That is all.

I concur!

Andrew Green 12-11-2007 02:00 AM

Quote:

Originally Posted by ezurick (Post 1398796)
Strange... the .png are set in the settings and they are sitting in the cards folder... but they are still not showing up....

Link?

Robert Paulson 12-11-2007 04:46 AM

This is probably a stupid question, but will I need to load the contents of the casino_0-80 folder, or just overwrite the xml file in the product manager?

SBlueman 12-11-2007 05:30 AM

Both. Load the contents of the folders and overwrite the xml file.

RollaJedi 12-11-2007 03:28 PM

help!!!!

i updated to the newest version and it gave me this when i installed the xml:

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 : Tuesday, December 11th 2007 @ 10:21:38 AM
Script : http://www.coreplanets.com/forums/*****
Referrer : http://www.coreplanets.com/forums/*****
IP Address : *******
Username : ******
Classname : vb_database

Andrew Green 12-11-2007 03:32 PM

Remove the casino_cash field from the user table through phpmyadmin, next time you do not need to uninstall the product first, just import the new file without removing the old one.

RollaJedi 12-11-2007 04:01 PM

i'm sorry. where is this on the admin area?

Andrew Green 12-11-2007 04:09 PM

not the admin area, through phpmyadmin (I'm assuming you have access to phpmyadmin) which is usually accessed through plesk or cpanel.


All times are GMT. The time now is 04:04 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04470 seconds
  • Memory Usage 1,844KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (25)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