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)

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 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

Quote:

Originally Posted by SBlueman (Post 1378836)
IS something supposed to happen when I click on Transfer cash to another player 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

Quote:

Originally Posted by jasculs (Post 1378830)
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

Quote:

Originally Posted by Andrew Green (Post 1378838)
sounds like you didn't overwrite casino.php when you updated

Quote:

Originally Posted by shepherdblake (Post 1378847)
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:

Quote:

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:

Code:

chdir("casino");
to
Code:

// 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

Quote:

Originally Posted by Andrew Green (Post 1378849)
Try commenting out line 5:

Code:

chdir("casino");
to
Code:

// chdir("casino");
shouldn't actually be necessary.


that worked!

thanks!!

Andrew Green 11-09-2007 04:25 AM

Quote:

Originally Posted by xxxsaint (Post 1378851)
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

Quote:

Originally Posted by Andrew Green (Post 1378862)
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

Quote:

Originally Posted by rknight111 (Post 1378998)
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.

Quote:

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

Quote:

Originally Posted by Andrew Green (Post 1379017)

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

Quote:

Originally Posted by Andrew Green (Post 1379017)
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

Quote:

Originally Posted by GoTTi (Post 1379104)
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

Quote:

Originally Posted by ScottRowan (Post 1379122)
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

Quote:

Originally Posted by GoTTi (Post 1379113)
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/showthrea...59151&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

Quote:

Originally Posted by DiesellMinded (Post 1379204)
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/showthrea...59151&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

Quote:

Originally Posted by DiesellMinded (Post 1379233)

This is Killin Me How Do i Rectify this


in slots_ajax.php find this:

Code:

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:

Code:

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

Quote:

Originally Posted by RollaJedi (Post 1379281)
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

Quote:

Originally Posted by Andrew Green (Post 1379263)
in slots_ajax.php find this:

Code:

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:

Code:

else print_no_permission();


Applied your fix No error but page is funky

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


All times are GMT. The time now is 10:12 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.04270 seconds
  • Memory Usage 1,845KB
  • 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
  • (8)bbcode_code_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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