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)

NFLfbJunkie 10-18-2007 07:32 PM

Also noticed with the slots that my $1000 bet was deducted from my total cash before the slots (a no-winner) finished.

NFLfbJunkie 10-18-2007 07:44 PM

A couple of more payout options would be nice though to keep it a little more interesting. I have spun the slots over 200 times and only get all strawberries or all cherries, and the occasional 1 or 2 cherries from the left.

Andrew Green 10-18-2007 07:47 PM

Once I get all the bugs out of the existing stuff I'll have another look at it. Or maybe even add a couple other slot machines

aggiefan 10-18-2007 08:14 PM

overall this is an outstanding script.... looking forward to more games being added (hopefully multiplayer enabled ones).

i would like to see some better rules sections added to the games or even "how to's" since not everybody will know how each game works. it took me a sec to figure out the way the poker game worked. also would like to see more options added to the poker game like you plan with the slots game.

RichieBoy67 10-18-2007 08:34 PM

Thanks again for this... I have not tested the multiplayer poker game yet but everything else is working perfectly.

I was wondering how difficult it would be to tie the credits mod into this??

Thanks

evesve 10-18-2007 08:48 PM

Can you put my own amount in the startpage?

Andrew Green 10-18-2007 09:34 PM

Quote:

Originally Posted by RichieBoy67 (Post 1363334)
Thanks again for this... I have not tested the multiplayer poker game yet but everything else is working perfectly.

I was wondering how difficult it would be to tie the credits mod into this??

Thanks


Not difficult at all, instructions are in the readme.txt file. Basically you change "casino_cash" to "credits" in the casino settings.

Rouzbeh1 10-18-2007 10:03 PM

one more suggestion:
for texas hold'em is it possible to allow ONLY invited ppl for a predefined time? it would be useful for tournaments or something like that

thanks

sandt38 10-18-2007 10:15 PM

Here is a set of generic chips I made. If you would like to include them in your program to spice it up a bit, feel free.


Here is a .rar file for upload.

RichieBoy67 10-18-2007 10:22 PM

Quote:

Originally Posted by Andrew Green (Post 1363364)
Not difficult at all, instructions are in the readme.txt file. Basically you change "casino_cash" to "credits" in the casino settings.

That's great! I guess there is a reason to read those text files. Sorry I missed that and thanks....

tigrattack 10-19-2007 12:31 AM

Awesome Mod A+++++

Thanks

Andrew Green 10-19-2007 01:31 AM

version .34 is up, should hopefully fix all of the existing chatbox problems, and other bugs that I know about.

One exception is that it still chokes on some non-standard characters (ex. ?,?,?,?). However this shouldn't stall it, just ignore messages containing them and keep going. Tried everything I could think of too break it in Firefox and Internet Explorer (6) and nothing died, so hopefully that's all fixed now :)

tigrattack 10-19-2007 01:46 AM

The only thing I'm having an issue with is the lottery.

I can't set it off in scheduled tasks and once it's set, you can't change any of the settings

Andrew Green 10-19-2007 01:49 AM

Changing settings will effect the next draw, not the current one.Just have to wait for the current draw to conclude, then the new settings will take effect.

tigrattack 10-19-2007 01:54 AM

I was thinking that might be the case...but I can't be patient...lmao

Thanks

Andrew Green 10-19-2007 02:01 AM

Quote:

Originally Posted by tigrattack (Post 1363461)
I was thinking that might be the case...but I can't be patient...lmao

Thanks

Go to phpmyadmin and delete all entries in the casino_lottery_draw table, then back to admincp and hit update settings.

Of course if anyone has bought a ticket already this might not make them too happy ;)

tigrattack 10-19-2007 02:05 AM

Thanks but I think I'll be patient this time.

The $inpoker isn't working

NeilK 10-19-2007 02:06 AM

I'm struggling to get this running. If I enable it, I get SQL errors on the forum home page. I can't seem to uninstall it as it reports missing tables.

I then manually deleted all the "casino_" prefixed tables, plus the casino_cash field in USER and tried to reinstall - no luck. There is no error when installing, but it doesn't run and there are no "casino_" tables in the DB.

For fun, using mysqladmin, I tried running this code:
$query = "ALTER TABLE ". TABLE_PREFIX . "user ADD casino_cash integer default 250";

Result: Error
SQL query:

$query = "ALTER TABLE ".TABLE_PREFIX. "user ADD casino_cash integer default 250"

MySQL said:

#1064 - 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 '$query = "ALTER TABLE ". TABLE_PREFIX . "user ADD casino_cash integer default 25' at line 1

Andrew Green 10-19-2007 02:08 AM

Is the product still listed as installed?

Quote:

Originally Posted by NeilK (Post 1363471)
I'm struggling to get this running. If I enable it, I get SQL errors on the forum home page. I can't seem to uninstall it as it reports missing tables.

I then manually deleted all the "casino_" prefixed tables, plus the casino_cash field in USER and tried to reinstall - no luck. There is no error when installing, but it doesn't run and there are no "casino_" tables in the DB.

For fun, using mysqladmin, I tried running this code:
$query = "ALTER TABLE ". TABLE_PREFIX . "user ADD casino_cash integer default 250";

Result: Error
SQL query:

$query = "ALTER TABLE ".TABLE_PREFIX. "user ADD casino_cash integer default 250"

MySQL said:

#1064 - 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 '$query = "ALTER TABLE ". TABLE_PREFIX . "user ADD casino_cash integer default 25' at line 1


tigrattack 10-19-2007 02:13 AM

I can't get $inpoker to work...any ideas???

Andrew Green 10-19-2007 02:13 AM

Quote:

Originally Posted by tigrattack (Post 1363477)
I can't get $inpoker to work...any ideas???


Is there anybody in the poker game? If not nothing shows up.

NeilK 10-19-2007 02:14 AM

Quote:

Originally Posted by Andrew Green (Post 1363472)
Is the product still listed as installed?

Yes, not sure how to make that go away when the uninstall fails.

Andrew Green 10-19-2007 02:15 AM

Quote:

Originally Posted by NeilK (Post 1363480)
Yes, not sure how to make that go away when the uninstall fails.

PM me a e-mail address, I'll send you a script to upload and run, it will set everything up for you and get you back to where you need to be.

tigrattack 10-19-2007 02:16 AM

Quote:

Originally Posted by Andrew Green (Post 1363478)
Is there anybody in the poker game? If not nothing shows up.

that was the problem...thanks

NeilK 10-19-2007 02:53 AM

Quote:

Originally Posted by Andrew Green (Post 1363481)
PM me a e-mail address, I'll send you a script to upload and run, it will set everything up for you and get you back to where you need to be.

I'm working, thanks to the script. Thanks for the help.

TheBlackPoet 10-19-2007 02:56 AM

for some reason... the 9club wont show... before i upgraded.. it was the 8club.... i dumped the cards from my server.. refreshed... and installed from the zip... still no good...

Andrew Green 10-19-2007 03:08 AM

Quote:

Originally Posted by TheBlackPoet (Post 1363497)
for some reason... the 9club wont show... before i upgraded.. it was the 8club.... i dumped the cards from my server.. refreshed... and installed from the zip... still no good...

All other cards do though? Does it not show up in any of the card games?

SBlueman 10-19-2007 03:29 AM

Ok...this is the error. It's not that slots is not paying out, it's that it's paying out late. Say I win one round, it'll pay me not during the next spin but the second spin after I won. Odd...

TheBlackPoet 10-19-2007 03:31 AM

the other cards show up fine.., it was the 8of clubs on ver .33 and now 9 of clubs on .34

Andrew Green 10-19-2007 03:41 AM

Quote:

Originally Posted by SBlueman (Post 1363509)
Ok...this is the error. It's not that slots is not paying out, it's that it's paying out late. Say I win one round, it'll pay me not during the next spin but the second spin after I won. Odd...

Your templates are coming out funny... When you do this upgrade make sure you overwrite all the files and revert the templates. Right now things aren't ending up where they should be...

SBlueman 10-19-2007 03:45 AM

I updated and reverted my templates now, just did it. Still having the same issue with slots. I wonder if it's only an issue with the $500 and $1,000 chips....

Andrew Green 10-19-2007 03:48 AM

Quote:

Originally Posted by TheBlackPoet (Post 1363511)
the other cards show up fine.., it was the 8of clubs on ver .33 and now 9 of clubs on .34


I tried registering... but I think you need to look at your password checker, won't let me in. Retyped it a few times.

Anyways, the image is where it should be, does the html for it come out right?

Andrew Green 10-19-2007 03:53 AM

Quote:

Originally Posted by SBlueman (Post 1363520)
I updated and reverted my templates now, just did it. Still having the same issue with slots. I wonder if it's only an issue with the $500 and $1,000 chips....

Can you check the slots_main one again? It's still using a older version, wheels should be spinning the other way now ;)

SBlueman 10-19-2007 04:14 AM

Ok, reverted back now. I is stupid sometimes!

aggiefan 10-19-2007 04:17 AM

very nice... i replaced mine with these. would be great if they were included in the real verison.

ArchangelX 10-19-2007 04:40 AM

When do we get to vote on mod of the month? November? I just wanna know, 'cuz this is the winnah in my eyes! Great work, Andrew!

One suggestion from my members...Sound Effects! Like for new person entering, the shuffle, and the deal, possibly. I can get you the sounds if you need help, but there's plenty of commercial free on the internet as well.

I'm not sure how hard this is...but just a suggestion from my members...mostly because when the casino is empty, it helps if you're waiting for someone, and hear a sound. Plus, it let's people know it's your turn. Just a suggestion if it's possible, but no rush. Thanks!

Skyline_GT 10-19-2007 07:03 AM

Can you make a $1000 chip?
Thanks.

lairnoc 10-19-2007 07:11 AM

i installed this mod instantly !!!!

BuckRodgers 10-19-2007 07:49 AM

just a couple of things, Is there any way to change the money format from $ to ? ?

and i seem to get a database error in admin control panel

this is the error
Code:

Database error in vBulletin 3.6.8:

Invalid SQL:

                SELECT cs1.switch1 AS gameid, cs1.switch2 AS gamefile, cs2.switch2 AS gamename, cs3.switch2 AS gamedesc, cs4.switch2 AS active
                FROM casino_settings AS cs1, casino_settings AS cs2, casino_settings AS cs3, casino_settings AS cs4   
                WHERE cs1.switch1=cs2.switch1
                AND cs1.switch1= cs3.switch1
                AND cs1.switch1= cs4.switch1
                AND cs1.settingname='gamefile'
                AND cs2.settingname='gamename'
                AND cs3.settingname='gamedesc'
                AND cs4.settingname='gameactive';

MySQL Error  : The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is okay
Error Number : 1104
Date        : Friday, October 19th 2007 @ 09:41:26 AM
Script      : http://www.datadrome.co.uk/forum/admincp/casino_settings.php
Referrer    : http://www.datadrome.co.uk/forum/admincp/index.php
IP Address  : 217.172.104.28
Username    : mad dog
Classname    : vb_database

any help greatly recived :)

frosch68 10-19-2007 08:56 AM

where can i change the color auf text in $inpoker ??? is black and i have a black background :D

EDIT: i found it, it is in the plugin, thanks


All times are GMT. The time now is 04:39 AM.

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

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