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)

Andrew Green 10-24-2007 06:55 PM

Quote:

Originally Posted by xxxsaint (Post 1367667)
Is there any way to make $inpoker work on the arcade page ?

Yes, there are two methods, it's a couple pages back I think, or here:

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

One involves a file edit and the other is just putting it at the bottom of the header rather then the bottom of the navbar. (or top)

xxxsaint 10-24-2007 07:00 PM

Quote:

Originally Posted by Andrew Green (Post 1367669)
Yes, there are two methods, it's a couple pages back I think, or here:

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

One involves a file edit and the other is just putting it at the bottom of the header rather then the bottom of the navbar. (or top)

Thanks man!!

firstrebel 10-24-2007 07:50 PM

Quote:

Originally Posted by nosherwan9 (Post 1367642)
Database error in vBulletin 3.6.8:

Invalid SQL:
DROP TABLE casino_texasholdem_whoisin;

MySQL Error : Unknown table 'casino_texasholdem_whoisin'
Error Number : 1051
Date : Wednesday, October 24th 2007 @ 03:24:25 PM
Script : http://www.xxxx.com/Forums/admincp/p...do=productkill
Referrer : http://www.xxxx.com/Forums/admincp/p...ctid=casino&s=
IP Address : xxxx
Username : xxxx
Classname : vb_database

...................................

this time forum is also closed , database error at forum home also.

I had an inbox full of error emails for the same issue after I uninstalled this mod on my dev site. That was version .34, not tried it with .50. So I have not installed on my live site yet til I try again with .50.

Bob

ry215 10-24-2007 08:02 PM

Andrew, do I also need to revert intro templates such as Casino_blackjack_intro ? I have translated the introduction to another language, post up some instruction images...If not neccessary, I don't want to rewrite the templates everytime I install a newer version. Thanks!

Andrew Green 10-24-2007 08:07 PM

Intro's haven't changed, but the _main ones do.

Phrasing is getting up there on the todo list, which should make that a little easier :D

towermatt 10-24-2007 08:13 PM

Went to 5.0--have that thing with Texas holdum again--about the java script. :(

ry215 10-24-2007 08:21 PM

Got it! Thanks. I have reverted all the main ones. I'm watching one member's money right now. He joined my forum yesterday with a new $200. Now he has over $100,000 and still increasing at this moment of playing. He gotta be real lucky or something...It sweats me out since I have many rewards to trade for the winning money.

One more idea, can you write a code that when someone win real big in a day, his username be congratulated on the main forum? For example:

CONGRAT, MEMBER ANDREW GREEN HAS WON $60,789 PLAYING BLACKJACK TODAY!

bhen13 10-24-2007 08:24 PM

Hey Andrew, any chance of adding a Roulette wheel?? :D

Andrew Green 10-24-2007 08:26 PM

Quote:

Originally Posted by ry215 (Post 1367752)
Got it! Thanks. I have reverted all the main ones. I'm watching one member's money right now. He joined my forum yesterday with a new $200. Now he has over $100,000 and still increasing at this moment of playing. He gotta be real lucky or something...It sweats me out since I have many rewards to trade for the winning money.

One more idea, can you write a code that when someone win real big in a day, his username be congratulated on the main forum? For example:

CONGRAT, MEMBER ANDREW GREEN HAS WON $60,789 PLAYING BLACKJACK TODAY!

The way the tracking system for stats is set up, no. It only tracks totals, not times, which would make the tables really really big, I'm trying to keep them compact.

Andrew Green 10-24-2007 08:33 PM

Quote:

Originally Posted by bhen13 (Post 1367756)
Hey Andrew, any chance of adding a Roulette wheel?? :D


maybe, it's undecided.


Quote:

Originally Posted by towermatt (Post 1367744)
Went to 5.0--have that thing with Texas holdum again--about the java script. :(

you got something weird going on with your server, it definately should not be doing what it is doing.

can you put up this a .php file with this in it and send me a link:

Code:

<?php

phpinfo();

?>


towermatt 10-24-2007 08:48 PM

Sure Andrew--just that in the file?

I actually don't have program to do it in here and I understand notepad is no good. I'll have to do it when I get home.

Thanks for the help, should be a couple of hours.

ArchangelX 10-24-2007 09:03 PM

Found another serious bug with Video Poker...here's the PM from my user:

Quote:

I found a bug in the video poker game when you added the $25 and higher. I suspect the bug's been there all along, but I really only discovered it when I started playing with the bigger chips.

The bad part is that I don't think there's a way around it.

Here's how it works:

1) Start a video poker game.
2) Bet $1 by clicking on the $1 chip.
3) Let's say before you discard any cards, you already have a pair of jacks.
4) Click the video poker link across the top. The game will restart, but you'll have the same cards (with the pair of jacks)
5) This time, click the $100 chip.
6) You'll win $99 ($100 minus the $1 you bet.)

If you didn't get dealt a winning hand right off the bat, just play the hand out normally. When the winning hands pay out 99x normal payouts, you don't have to win very often to come out ahead.

I have a pretty good idea as to why this happens, but I don't think there's a good fix for it.

I suspect the game stores each player's hand and the current status of every game in the database. It would make sense to do it that way, so if the player closes his browser or reboots his machine in the middle of a game, he'll have the same hand when he comes back. You'd want to do it this way so people can't just restart their browser when they don't get dealt good cards.

The problem is, you also get to keep your cards if you get dealt a good hand. You can restart the game and change your bet while keeping your winning hand.

There really isn't an easy way to program around this problem. Either you have to protect yourself against one cheat or the other. Mine is probably the one people are less likely to accidentally stumble across, so it makes sense for the video poker game to work the way it does. Any fix I can think of can be fairly easily thwarted by using two browsers (or two different computers) logged in to the board as the same user. Leave one on the betting screen and play the hands with the other.

The only real fix I can think of is to completely rewrite the video poker game and have it work more like the RPG. The RPG appears to be a considerably more sophisticated bit of programming than the casino, however, so that would require quite a bit of work. It would be like writing another RPG hack.

I'm not sure what you or the developer could do to fix this, but I'd hate to see the video poker go away. It's my favorite game in the casino, and I was probably close to 200% before I found the cheat.

I just threw away 250K in the casino (in two pulls of the slot machine) in an attempt to take my name off that stats page, but it's still there. How often are those stats calculated?

Freesteyelz 10-24-2007 09:15 PM

Quote:

Originally Posted by Mark.B (Post 1367427)
Glad it worked...

Just to add, in vBadvanced 3.0, the instructions are slightly different:

AdminCP > vbaCMPS > Edit Pages > Default/Homepage >
Scroll down to "Main Options" and expand the block (click the + sign)
Portal Output Global Variables is in there.

Cool. :) I'm running the latest build 3.0 RC2 (vB 3.6) but I'm not currently using the default homepage. I am running custom pages (e.g., About, Site Rules, For Best Results, etc...) that use separate PHP files, however. I'm not certain if that makes a difference but then again, as you said, it worked. :D Again, I appreciated the help. :)

Quote:

Originally Posted by Andrew Green (Post 1367437)
Another solution which should work would be to put the "$inpoker" at the bottom of the header, rather then the navbar. It will have it appear in a slightly different place, but I think it will work.

Sweet. Thanks for the tip. :)



On a soon-to-be-released site I have this setup on the default theme:

pillarfan1 10-24-2007 09:28 PM

Looks good. I vote for spades as well :)

Andrew Green 10-24-2007 09:32 PM

Quote:

Originally Posted by ArchangelX (Post 1367803)
Found another serious bug with Video Poker...here's the PM from my user:


I can't duplicate this on .50, I noticed that a while back as well and worked it out. SO you should be ok once you update.

Andrew Green 10-24-2007 09:33 PM

Quote:

Originally Posted by towermatt (Post 1367790)
Sure Andrew--just that in the file?

I actually don't have program to do it in here and I understand notepad is no good. I'll have to do it when I get home.

Thanks for the help, should be a couple of hours.


Just that, and notepad is fine :)

towermatt 10-24-2007 09:35 PM

ah, note pad.

I can do that now

we're also having trouble with the times in the betting pool, and when we go to add, the first option is a colon for some reason. LOL

Then when we try to edit (with only two options--one on the line with a colon) it says we don't have enough options

towermatt 10-24-2007 09:39 PM

Notepad only gave me an option to save it as a text file :( I can't image that is right.

but it is here: http://www.thedarktower.com/palaver/andrew.txt

Andrew Green 10-24-2007 09:42 PM

rename it to .php and it should be good ;) You'll get lots of info out of it :)

Running out now for a few hours though, so no rush.

towermatt 10-24-2007 09:49 PM

Sweet!

Its there now and you are right about the info

http://www.thedarktower.com/palaver/andrew.php

ArchangelX 10-24-2007 10:48 PM

Whoops! Will do! Sorry about that!

sandt38 10-24-2007 11:22 PM

Whenever someone folds they are not afforded the ability to click ready on the next hand. After they skip 1 hand, the button becomes available again... Any thoughts? I had no errors like that before installing v .50.

mathias 10-25-2007 12:55 AM

tells me to have javascript enabled does it mean server side or browser and how?

this is when trying to load holdem

then the other games are saying loading..

towermatt 10-25-2007 01:22 AM

I have the same on my site--Andrew is trying to figure out what the problem which I am sure will be a solve for everyone.

ry215 10-25-2007 01:25 AM

Andrew, after installing the .50, my players are complaining about the Let Em Ride. I checked the game out myself and confirmed that the pay system is now incorrect. For example: I bet 10, had a high pair so I raised 2x. The system took 30 out of my account, but at the end only give me back 30. Therefore, my account:

100 - 30 (bet) + 30 (won) = 100. (why even out when you had a high pair in Let EM Ride?)

In real life, the dealer did not take your money during the game, therefore if you have a high pair (no brainer), you should won up to the amount that you had put out.

30 on the table are yours + 30 paid from the dealer = 60 ----> you'll have 130 in your account.

Andrew Green 10-25-2007 02:16 AM

Quote:

Originally Posted by mathias (Post 1367959)
tells me to have javascript enabled does it mean server side or browser and how?

this is when trying to load holdem

then the other games are saying loading..

Your casino.php file is just showing up blank for me, can you confirm all files where uploaded?

Andrew Green 10-25-2007 02:30 AM

Quote:

Originally Posted by sandt38 (Post 1367900)
Whenever someone folds they are not afforded the ability to click ready on the next hand. After they skip 1 hand, the button becomes available again... Any thoughts? I had no errors like that before installing v .50.

None off hand, but I'll look into that.

Quote:

Originally Posted by towermatt (Post 1367977)
I have the same on my site--Andrew is trying to figure out what the problem which I am sure will be a solve for everyone.


I think your problem is pretty unique, this looks to be different :lol:
Quote:

Originally Posted by ry215 (Post 1367980)
Andrew, after installing the .50, my players are complaining about the Let Em Ride. I checked the game out myself and confirmed that the pay system is now incorrect. For example: I bet 10, had a high pair so I raised 2x. The system took 30 out of my account, but at the end only give me back 30. Therefore, my account:

100 - 30 (bet) + 30 (won) = 100. (why even out when you had a high pair in Let EM Ride?)

In real life, the dealer did not take your money during the game, therefore if you have a high pair (no brainer), you should won up to the amount that you had put out.

30 on the table are yours + 30 paid from the dealer = 60 ----> you'll have 130 in your account.

Actually, the way it is now is correct, high pairs are a break even hand. Having it set the other way is the cause for some of the comments about members on get rich quick plans in the last couple pages :)

Andrew Green 10-25-2007 03:04 AM

Quote:

Originally Posted by towermatt (Post 1367833)
Sweet!

Its there now and you are right about the info

http://www.thedarktower.com/palaver/andrew.php

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:

ry215 10-25-2007 03:21 AM

Quote:

Originally Posted by Andrew Green (Post 1368000)
None off hand, but I'll look into that.




I think your problem is pretty unique, this looks to be different :lol:


Actually, the way it is now is correct, high pairs are a break even hand. Having it set the other way is the cause for some of the comments about members on get rich quick plans in the last couple pages :)

Other games, break even is no problem, but with Let It Ride, you win money with 10s or better since playing Let It Ride, you rarely have anything at all. Real casino would pay ya for 10s or better.

Freesteyelz 10-25-2007 03:25 AM

Quote:

Originally Posted by Andrew Green (Post 1368000)
Actually, the way it is now is correct, high pairs are a break even hand. Having it set the other way is the cause for some of the comments about members on get rich quick plans in the last couple pages :)


Ohh. I was just about to comment on it as some of my members have mentioned breaking even of a high pair. At least I know it's not a bug. :)

Andrew Green 10-25-2007 03:47 AM

Quote:

Originally Posted by ry215 (Post 1368031)
Other games, break even is no problem, but with Let It Ride, you win money with 10s or better since playing Let It Ride, you rarely have anything at all. Real casino would pay ya for 10s or better.


gotcha, I'll fix it next round. If you want it fixed now in the file letemride_deal.php on line 330:

Code:

        if($cash > 0)       
                $cash = ($cash * $bet);

to
Code:

        if($cash > 0)       
                $cash = ($cash * $bet) + $bet;


Carlos2 10-25-2007 03:47 AM

If i active the casino i cant post in threads:
You may only post reply every hour(s). Please try again later.

Why??

Andrew Green 10-25-2007 03:51 AM

Quote:

Originally Posted by Carlos2 (Post 1368044)
If i active the casino i cant post in threads:
You may only post reply every hour(s). Please try again later.

Why??


I've never seen that message before, do you have another plugin restricting posting that causes this? The two could be conflicting in some way.

cuphongle 10-25-2007 04:01 AM

chatbox is not working again

Andrew Green 10-25-2007 04:03 AM

Quote:

Originally Posted by cuphongle (Post 1368048)
chatbox is not working again

Can you provide a little more details? Does the game work, but not chat, does nothing happen and you just get a start button? Does it work sometimes but not always?

without a little more specifics I can't hope to suggest a way to fix it.

cuphongle 10-25-2007 04:05 AM

sorry about that,

its showing up, you can type the message and stuff, but it wont submit

Andrew Green 10-25-2007 04:07 AM

Do you have a link too it? the one in your profile doesn't look right.

cuphongle 10-25-2007 04:09 AM

done

Andrew Green 10-25-2007 04:14 AM

you need to revert some templates, casino_texasholdem_main at least, possible others.

cuphongle 10-25-2007 04:20 AM

wow

thanks for supper fast support


All times are GMT. The time now is 10:22 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.04715 seconds
  • Memory Usage 1,847KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (21)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