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)

kylek 10-25-2007 04:21 AM

First off thanks for the new games added!!

With ninja slots on one site it just continues to spin and doesn't stop. Also I just noticed that it shows the regular slots payout table that you changed for the different payouts. ie one cherry from left.

I am going to reupload eveything again to see if something didn't upload properly, was the payout change to a template or was it done with your next release? WHich template would it be to check?

Thanks.

Andrew Green 10-25-2007 04:27 AM

Quote:

Originally Posted by kylek (Post 1368067)
First off thanks for the new games added!!

With ninja slots on one site it just continues to spin and doesn't stop. Also I just noticed that it shows the regular slots payout table that you changed for the different payouts. ie one cherry from left.

I am going to reupload eveything again to see if something didn't upload properly, was the payout change to a template or was it done with your next release? WHich template would it be to check?

Thanks.

sounds like a couple things...

the payout chart would be revert the slots_main template. the constant spinning probably means the slots_ajax.php file didn't overwrite the old one properly.

The casino.php & slots.php should probably be re uploaded as well, just to be sure :)

shepherdblake 10-25-2007 05:22 AM

I just upgraded to the .50 version.

Any chance we could get an adjustable lottery schedule? I would like to have multiple lottery drawings per day.

thanks for the great mod!!

mathias 10-25-2007 05:27 AM

still not loading... www.rabid-vibes.com/muddy/

Tulsa 10-25-2007 06:10 AM

Ninja Slots - Payout on 2 stars is not correct or the pay table is not correct. This was a 100 bet.

Attachment 71515


According to the pay table the payout should have been 300.

ArchangelX 10-25-2007 06:26 AM

Okay...upgraded to .50, Andrew, but now I'm experiencing the same problem of people that have folded not being able to click ready...and it bypasses them every other hand. It's like the delay is too fast, or they're unable to click ready.

Second, I also had a 6/Q vs a 6/A and we came up as a draw with two pairs on the board...

Thanks.

duckdodger 10-25-2007 08:53 AM

I'm using vbcredits with the casino and so far it has worked fine, but I did just notice that the credit amount displayed in the casino main page is always 1 point less then what I actually have. It's nothing major, but I thought I'd throw it out there :)

And again, excellent work on the mod, Andrew. And top notch support.

Crapforum 10-25-2007 11:41 AM

bug:

a draw in texas will not split the money to the winning users, or stay in the pot.
the money just vanishes :D

Andrew Green 10-25-2007 12:53 PM

Quote:

Originally Posted by ArchangelX (Post 1368116)
Okay...upgraded to .50, Andrew, but now I'm experiencing the same problem of people that have folded not being able to click ready...and it bypasses them every other hand. It's like the delay is too fast, or they're unable to click ready.

Second, I also had a 6/Q vs a 6/A and we came up as a draw with two pairs on the board...

Thanks.

So you do get a ready button but can't click it?

Quote:

Originally Posted by duckdodger (Post 1368169)
I'm using vbcredits with the casino and so far it has worked fine, but I did just notice that the credit amount displayed in the casino main page is always 1 point less then what I actually have. It's nothing major, but I thought I'd throw it out there :)

And again, excellent work on the mod, Andrew. And top notch support.

Side effect of bringing in other currency systems, I have to truncate it in the game for things to work and display preoperly. So if you have $245.80, it will show as $245.

Quote:

Originally Posted by Crapforum (Post 1368257)
bug:

a draw in texas will not split the money to the winning users, or stay in the pot.
the money just vanishes :D

Oky, got it.

Quote:

Originally Posted by Tulsa (Post 1368104)
Ninja Slots - Payout on 2 stars is not correct or the pay table is not correct. This was a 100 bet.

According to the pay table the payout should have been 300.

Table is not right, 2 stars should payout 2x, next update will fix the table, which has a couple mistakes.

towermatt 10-25-2007 01:26 PM

Quote:

Originally Posted by Andrew Green (Post 1368027)
Well nothing jumps out at me as being a potential cause, so ya got me. Here's a slightly stripped down version that will hopefully work for you though:

That worked!

Thanks Andrew

SLY LS1 10-25-2007 01:26 PM

just upgraded to .50 and both the slots games just keep spining, then I got an email DB error - see below

Quote:

Database error in vBulletin 3.6.7:

Invalid SQL:

UPDATE casino_bet_stats
SET won = won + 0, bet = bet +
WHERE userid = 1
AND gameid = 8;

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 = 1
AND gameid = 8' at line 3
Error Number : 1064
Date : Thursday, October 25th 2007 @ 07:23:03 AM

Andrew Green 10-25-2007 01:31 PM

Quote:

Originally Posted by SLY LS1 (Post 1368309)
just upgraded to .50 and both the slots games just keep spining, then I got an email DB error - see below

update and overwrite the casino.php, slots.php and slots_ajax.php files, as well as revert the slots_main template if it needs it.

The one set of files now runs both slot machines, so if any of the files where missed spinning forever would be the likely result.

SLY LS1 10-25-2007 01:36 PM

Quote:

Originally Posted by Andrew Green (Post 1368311)
update and overwrite the casino.php, slots.php and slots_ajax.php files, as well as revert the slots_main template if it needs it.

The one set of files now runs both slot machines, so if any of the files where missed spinning forever would be the likely result.

When you say slots_main template you mean ?

Ive uploaded all the files once again but its still doing it

Andrew Green 10-25-2007 01:55 PM

the template named "casino_slots_main" in the "casino" template group.

towermatt 10-25-2007 02:00 PM

Mine is doing the same Andrew--should I re download the zip to make those changes or just reload the ones from my downloads?

SLY LS1 10-25-2007 02:04 PM

Quote:

Originally Posted by Andrew Green (Post 1368328)
the template named "casino_slots_main" in the "casino" template group.

Ahh ok I worked out how to revertit, what exactly does that do, revert back to the previous version does it ?

Its working fine now after doing that

Cheers

Andrew Green 10-25-2007 02:08 PM

Styles and Templates -> Style manager -> Edit Templates ->
select the one you want to revert, and over on the right you'll have a "revert" button.

If that doesn't do it I'll need a link to your site to see what it's doing.

Andrew Green 10-25-2007 02:09 PM

Quote:

Originally Posted by towermatt (Post 1368336)
Mine is doing the same Andrew--should I re download the zip to make those changes or just reload the ones from my downloads?

slots_ajax.php is the one causing you problems, overwrite that and you should be ok.

Andrew Green 10-25-2007 02:10 PM

Quote:

Originally Posted by SLY LS1 (Post 1368341)
Ahh ok I worked out how to revertit, what exactly does that do, revert back to the previous version does it ?

Its working fine now after doing that

Cheers

Reverts back to the "original" version, and when you upgrade the original version changes, but it doesn't undo your changes, so you have the modified version of the old one, not the new one.

towermatt 10-25-2007 02:11 PM

:D

Works great--you just made my Christmas Card list.

SLY LS1 10-25-2007 02:59 PM

Ha ha this is to good, I have a car forum so I just changed the ninja slots to car brand slots, see attached file, then just changed the names in the casino_slots_main template to the car brands.
Will be good once the final product is released as people can make the slots wheel to suit their forum theme etc.

towermatt 10-25-2007 03:02 PM

Wow! What a cool idea

perju 10-25-2007 03:18 PM

I have a big forum and many of my members have become addicted to the casino. I had to create a separate thread just for people to post and get money ($5 per post).

I love the extra traffic and all, but these posts are meaningless and pointless (some are random characters). Since friday, there have been over 11,000 posts in this one thread alone.

What's a good solution to this problem?

perju 10-25-2007 03:21 PM

I created new chips to resemble chips you'd find at a casino.

Here you go. :)

towermatt 10-25-2007 03:41 PM

Quote:

Originally Posted by perju (Post 1368403)
I have a big forum and many of my members have become addicted to the casino. I had to create a separate thread just for people to post and get money ($5 per post).

I love the extra traffic and all, but these posts are meaningless and pointless (some are random characters). Since friday, there have been over 11,000 posts in this one thread alone.

What's a good solution to this problem?

I would not have created the thread for it in the first place. The idea is to post stuff that is relevant. Now that it is there though, I am not sure how I would take it.

Maybe pay people to not post in there?

Andrew Green 10-25-2007 03:42 PM

Take money away for stupid posts? Temporary casino ban for stupid posts?

Decrease available chip amounts so that they bankrupt themselves at a slower pace?

towermatt 10-25-2007 03:47 PM

Quote:

Temporary casino ban for stupid posts?
I like that one. And the more popular it gets, I may take it away for anyone acting out of line on the board.

Mark.B 10-25-2007 03:50 PM

Last week I did a bit of playing about with the automerge double post hack, and I managed to get it to also deduct the value of the cash total from the user when it automerged a post.

I then managed to make it not bother with the merging bit and just not apply the casino cash (actually what happens is it gets added on and then taken off again).

Unfortunately this isn't a terribly efficient way of doing it, but I'm sure something similar could be achieved by someone who knows what they are doing (which I don't) and has enough spare time to write it (which I also don't!)

perju 10-25-2007 03:52 PM

The thinking behind creating that thread was to somehow preserve the rest of the board. I would rather flood one thread with pointless posts than have it spread to the entire forum.

The problem with taking money away from the members is we're all friends (well, just about).

Question: if a member's post is deleted by an admin, do they lost those points? If so, what happens when the post is deleted after the member loses the money they earned? Do they go into negatives?

Andrew Green 10-25-2007 03:54 PM

might be possible to put a size cap on it, posts 50 characters and up get x, posts 500 characters and up get y...

I don't think there is a perfect solution though, anytime ou award a action, some people will try and do the minimum possible to get the award.

jay007 10-25-2007 03:58 PM

any suggestions / Help appreciated ?

Got the first four games working, but cant seem to get the last four working, they just go to a full white screen when pressed:confused:?

These game
Slots
Texas Hold 'em
Let em Ride
Ninja Slots

Andrew Green 10-25-2007 04:00 PM

link?

Usually that only happens when some files or templates are missing, might want to check to make sure all the files made it to the server and import the product again (don't need to uninstall, just check the overwrite box off and import again)

Mark.B 10-25-2007 04:03 PM

Quote:

Originally Posted by perju (Post 1368438)
The thinking behind creating that thread was to somehow preserve the rest of the board. I would rather flood one thread with pointless posts than have it spread to the entire forum.

The problem with taking money away from the members is we're all friends (well, just about).

Yes this is similar to the arcade issues, getting people to post who only want to play the arcades. I tried restrictions on playing until posts had been made, that just got a ton of spam. I then tried a giant flashing red and yellow box as a sort of "nag screen", and all we got was dozens of posts saying "only posting to get rid of the box, don't like forums", which actually felt even worse since they were so blatant.

But on the flip side, with 13,00 arcade games over two arcades, you NEED a lot of arcade players to keep it competitive.

So in the finish we just opened it up pretty much unrestricted and said "as long as you have an account you can play games". Things are more peaceful and the arcades are well used and popular. We try to just *encourage* arcade players to post but if they don't, fine.

That's similar to the idea of having a dedicated thread for casino cash posts, but that will fill up the database with junk.

I have gone with a generous daily login bonus ($100), and I have also adapted that code a bit and created a "weekly wage" which works the same way but adds $250 on a Friday evening to everyone who has logged in in the last seven days. I guess you could easily change that to anyone who has POSTED in the last seven days.

That seems to have pretty much sorted it as there's a steady flow of cash coming in for people to play with. Only thing is that non-players get massive cash totals pretty quickly.

Andrew Green 10-25-2007 04:06 PM

A scheduled task that resets anyone under a given minimum back up to it is possible as well. Then if they go broke, they just have to come back the next day.

Mark.B 10-25-2007 04:11 PM

Quote:

Originally Posted by Andrew Green (Post 1368449)
A scheduled task that resets anyone under a given minimum back up to it is possible as well. Then if they go broke, they just have to come back the next day.

Yes, that sounds like a fantastic idea.

lasto 10-25-2007 04:15 PM

cant install the 0.50 version get dataabse error that let it ride table already exists.

Should be a query in it if table exists then drop and re do table

also ive got these now on my casino page

Video Poker Jacks or better to win.
Blackjack Classic Casino Game.
Sports Betting Pool Place bets on upcoming events.
Lottery Buy into the lottery
Slots 3 wheel slot machine
Texas Hold 'em Limit game of Poker, up to 10 players
Let 'em Ride 5 Card stud variation
Let 'em Ride 5 Card stud variation
Let 'em Ride 5 Card stud variation
Let 'em Ride 5 Card stud variation
Let 'em Ride 5 Card stud variation
Let 'em Ride 5 Card stud variation
Let 'em Ride 5 Card stud variation
Let 'em Ride 5 Card stud variation
Let 'em Ride 5 Card stud variation
Let 'em Ride 5 Card stud variation
Let 'em Ride 5 Card stud variation
Let 'em Ride 5 Card stud variation
Let 'em Ride 5 Card stud variation
Let 'em Ride 5 Card stud variation
Let 'em Ride 5 Card stud variation
Let 'em Ride 5 Card stud variation

how do i remove the excesses that have been added

Andrew Green 10-25-2007 04:20 PM

Scheduled reset to a minimum value if a user goes under:

http://vbgaming.org/forum/showthread.php?p=15#post15

Andrew Green 10-25-2007 04:23 PM

Quote:

Originally Posted by lasto (Post 1368459)
cant install the 0.50 version get dataabse error that let it ride table already exists.

What version does it way you have installed?

I can send you a script to clean house and reset things to where they should be for what is installed, then the upgrade should work.

perju 10-25-2007 04:35 PM

Quote:

Originally Posted by Mark.B (Post 1368444)
I have gone with a generous daily login bonus ($100), and I have also adapted that code a bit and created a "weekly wage" which works the same way but adds $250 on a Friday evening to everyone who has logged in in the last seven days. I guess you could easily change that to anyone who has POSTED in the last seven days.

That seems to have pretty much sorted it as there's a steady flow of cash coming in for people to play with. Only thing is that non-players get massive cash totals pretty quickly.


I don't know if the daily allowance will mean much. I give out 250 per night, and as fast as the members receive the cash, they bet it (and lose it). I think the same will happen if i increase the amount to 500. But like you said, non-casino members will just accumulate tons of cash, skewing the "Top Winners" board. Instead of it being a daily allowance for signing in, maybe it should be a combination of "sign in" + "casino". If a member didn't play the casino that day, then they shouldn't get cash. If they do get cash, it shouldn't be as much as those who play the casino.

I even considered allowing members to purchase $5000 casino bucks for $5 in real cash, but i really don't want members spending real money on a fake casino. Users have already brought this up saying "i'd rather spend $5 for casino cash than spend all night posting in this thread."

It's quite a pickle...

perju 10-25-2007 04:38 PM

Quote:

Originally Posted by Andrew Green (Post 1368463)
Scheduled reset to a minimum value if a user goes under:

http://vbgaming.org/forum/showthread.php?p=15#post15

If this is set to every minute, will it slow the server to a crawl?


All times are GMT. The time now is 07:46 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.05162 seconds
  • Memory Usage 1,848KB
  • 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
  • (19)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