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)

DieselMinded 11-09-2007 08:48 PM

New Problems now

Database error in vBulletin 3.6.8:

Invalid SQL:

UPDATE vbuser
SET casino_cash = casino_cash -
WHERE userid = 844;

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 = 844' at line 3
Error Number : 1064
Date : Friday, November 9th 2007 @ 05:42:48 PM
Script : http://www.dieselbombers.com/casino/letemride_deal.php
Referrer : http://www.dieselbombers.com/casino.php?do=letemride
IP Address : 666666666666
Username : DangerousDuramax
Classname : vb_database

Database error in vBulletin 3.6.8:

Invalid SQL:

UPDATE vbuser
SET casino_cash = casino_cash -
WHERE userid = 844;

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 = 844' at line 3
Error Number : 1064
Date : Friday, November 9th 2007 @ 05:42:49 PM
Script : http://www.dieselbombers.com/casino/letemride_deal.php
Referrer : http://www.dieselbombers.com/casino.php?do=letemride
IP Address : 333333333333333
Username : DangerousDuramax
Classname : vb_database

Database error in vBulletin 3.6.8:

Invalid SQL:

UPDATE vbuser
SET casino_cash = casino_cash -
WHERE userid = 844;

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 = 844' at line 3
Error Number : 1064
Date : Friday, November 9th 2007 @ 05:42:48 PM
Script : http://www.dieselbombers.com/casino/letemride_deal.php
Referrer : http://www.dieselbombers.com/casino.php?do=letemride
IP Address : ddddddddddddddd
Username : DangerousDuramax
Classname : vb_database

ikki29 11-09-2007 09:14 PM

Quote:

Invalid SQL:
ALTER TABLE vbuser ADD casino_cash integer default 250;

MySQL Error : Duplicate column name 'casino_cash'
Error Number : 1060
Date : Friday, November 9th 2007 @ 11:58:45 PM
Script : http://www.ikki.es/ikki/admincp/plug...=productimport
Referrer : http://www.ikki.es/ikki/admincp/plug...?do=productadd
IP Address : xxxxxxxxxxxxxx
Username : IkkI
Classname : vb_database
Good, I want to explain the happened and what I have done, is well-read quite(everything) position(place) in the message and it(he,she) has not served me, continues saying to me exactly the same thing, the problem is that I in the phpadmin have not seen casino_cash for that it(he,she) can be this?

ikki29 11-09-2007 10:16 PM

Thank you paul m for modifying my ip, and also to say that already this solved

Andrew Green 11-09-2007 10:45 PM

Quote:

Originally Posted by DiesellMinded (Post 1379303)
New Problems now

This should be fixed in .61, just need to update ;)

towermatt 11-09-2007 10:51 PM

I'm not seeing a file download for the patch--am I missing something for .61a?

Andrew Green 11-09-2007 10:54 PM

look now :D

Roxie 11-09-2007 10:55 PM

I thought I was crazy. lol

nonamer69 11-09-2007 11:05 PM

thanks Andrew for this great addition.... how can we center the Texas Holdem table?

DieselMinded 11-10-2007 12:55 AM

Quote:

Originally Posted by Andrew Green (Post 1379351)
This should be fixed in .61, just need to update ;)

I need to do a full update ?

rknight111 11-10-2007 02:12 AM

Im having alot of lag on the texas holdem, what can I do to fix this? I on my own dedicated server too

Otherwise I adjsuted the Blue box that says to click on here to join the Texas holdem as It wouldnt work.

Ron

Andrew Green 11-10-2007 02:50 AM

there is a delay option in the settings.

rknight111 11-10-2007 03:14 AM

Quote:

Originally Posted by Andrew Green (Post 1379453)
there is a delay option in the settings.

I see that, It was on 2500, Then I changed to 2000, that should speed it up, except for I need a faster computer, laptops too slow.

shepherdblake 11-10-2007 03:51 AM

I installed the patch. Donations work great.

I have included a little addition to this mod that Andrew helped me do. It sends another user the donation PM as well as the intended recipient. It's helps me judge how often my members are donating.

In donate.php find:

$pmdm->set_recipients($giveto, $botpermissions);

and just underneath, paste:

$pmdm->set_recipients('Blake;', $botpermissions);

where 'Blake' is the username who will receive the PM in addition to the intended recipient.

DieselMinded 11-10-2007 04:22 AM

How do i make all $$$ lost in the casino go to my Treasurer to Donate back to members for wining contests and ect...

Andrew Green 11-10-2007 04:47 AM

There's no treasurer for it to go back too...

DieselMinded 11-10-2007 04:48 AM

Can I Assign one ?

DieselMinded 11-10-2007 05:37 AM

when uploading the new .61a the version number dont change in the product manager

DieselMinded 11-10-2007 05:42 AM

After Donation and it takes you back to casino home your total is not updated unless you refresh

When you add the $ sign in front of the money it wont transfer

Dream 11-10-2007 06:12 AM

Quote:

Originally Posted by DiesellMinded (Post 1379560)
when uploading the new .61a the version number dont change in the product manager

He would have to do a new product file just to update the version. The way he did it is easier for everyone imo.

towermatt 11-10-2007 02:50 PM

I agree.

I applied the patch for .61a by simply overwriting the donate.php file in the zip. Is that correct for the patch?

Also, under more stats. When you click on richest players it gives you the stats for the fruit slots.

Mark.B 11-10-2007 02:53 PM

Quote:

Originally Posted by towermatt (Post 1379754)
I agree.

I applied the patch for .61a by simply overwriting the donate.php file in the zip. Is that correct for the patch?

Also, under more stats. When you click on richest players it gives you the stats for the fruit slots.

There's a fix for that HERE.

Andrew Green 11-10-2007 02:54 PM

Yes, just a overwrite the one file.

The richest players link is a typo

It's in the stats_main template:

HTML Code:

<td class='alt1' style='cursor:pointer' onclick='loadstats(105)'>Richest Players</td>
the 105 should be a 5. If you change it just make sure you revert the template next time.

towermatt 11-10-2007 03:00 PM

Thanks to both of you, I will give it a try.

Mark.B 11-10-2007 05:05 PM

This gets better with every release...WELL DONE to Andrew, really really well done, because the last 12 months I'd begun to despair of anything really interesting that would excite members ever being released again. Everything was going a bit stale.

My view now is that this is heading towards a stable release (1.00) as there is not much wrong now that I can see.

I don't think there's a need for any more new games until the final is out, much as roulette would be good I don't think it should get in the way of progress, so to speak.
My members love this, and it's pretty much as big an addon now as the arcades. Coming from nowhere to that is no small feat.

soulplayer 11-10-2007 05:05 PM

Hy,

I still have the folowing problem:
If I enable the casino plugin then all my buttons for "edit" dissapears from the forum. I just see it on my posts while I'm the administrator... What should I post so you'll know what error I'm talking about?

Thanks!

ScottRowan 11-10-2007 05:51 PM

How can you add Casino link into the Quicklinks menu?

nonamer69 11-10-2007 09:13 PM

Quote:

Originally Posted by nonamer69 (Post 1379363)
thanks Andrew for this great addition.... how can we center the Texas Holdem table?

nevermind... I found it.

I changed
<table cellspacing='0' cellpadding='0'> to <table cellspacing='0' cellpadding='0' align='center'>

on the first line of casino_texasholdem_table template

Silver740 11-10-2007 10:29 PM

Thank you for a great hack!!!

A few questions though...

I started off all my members with about $15k, however I saw under "Richest Players" there was a member who had billions of dollars. The kicker on that was that he didn't sign into the site since 2005 and I installed this hack yesterday.

Also, as a suggestion, is it possible to have a "High Roller" only games? Sort of where you have to have a set amount of cash to even join in?

Thanks and again, excellent product!

Silver740 11-10-2007 10:37 PM

Quote:

Originally Posted by syrus.xl (Post 1365525)
Nice mod! Installed... :)

I've made some new Gold chips - designed in Photoshop! :D When I have more time, I'll design a few more images.

Feel free to use them with this modification.

The Full set are in the .zip folder, including the 100 Gold Chip.

Regards,

Syrus XL Media

Can you make 500, 1000, 5000, 10,000 chips pleaseeeeeeeeeeeeeeee!

Thanks!

sandt38 11-10-2007 11:42 PM

Warning: require_once(casino/texasholdem.php) [function.require-once]: failed to open stream: No such file or directory in /casino.php on line 161

Fatal error: require_once() [function.require]: Failed opening required 'casino/texasholdem.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/face1/public_html/forums/casino.php on line 161

I tried reloading everything, including my product.

160-162 in casino.php
Quote:

{
require_once('casino/texasholdem.php');
exit();
Nevermind. I am not too sure why but my ftp didn't load my texasholdem.php folder both times I attempted to load it. I swear I loaded my casino folder at least twice.

NFLfbJunkie 11-11-2007 12:56 AM

For the richest players table, the header for the name column - "Name" - is missing. How can this be added?

stangger5 11-11-2007 01:23 AM

Quote:

Originally Posted by Junkie (Post 1380073)
For the richest players table, the header for the name column - "Name" - is missing. How can this be added?

You will need to edit the stats.php file...

casino/stats.php

Find;
Code:

       
$stitle = $vbphrase[casino_richest_players];
$col1 = $vbphrase[casino_name];

change to

Code:

       
$stitle = $vbphrase[casino_richest_players];
$scol1 = $vbphrase[casino_name];

:)

sandt38 11-11-2007 02:08 AM

Can we get the error when you select richest players it goes to fruit machine fixed? I know it was mentioned, but it must have been overlooked.

Mr President 11-11-2007 02:13 AM

I think my question got buried a few pages back lol..

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

stangger5 11-11-2007 02:29 AM

Quote:

Originally Posted by sandt38 (Post 1380102)
Can we get the error when you select richest players it goes to fruit machine fixed? I know it was mentioned, but it must have been overlooked.

That has been fixed with the newest version..

Have you changed anything in the casino_stats_main template ??
If so you need to revert before you run the xml file..

Look in the casino_stats_main for
Code:

<td class='alt1' style='cursor:pointer' onclick='loadstats(105)'>Richest Players</td>
Make sure the loadstats is (5),, not (105)..

:)

NFLfbJunkie 11-11-2007 02:38 AM

This question got asked a few posts back - is there a way to remove the green table image from the pages that it shows up on?

waller99 11-11-2007 03:01 AM

Quote:

Originally Posted by shepherdblake (Post 1379485)
I installed the patch. Donations work great.

I have included a little addition to this mod that Andrew helped me do. It sends another user the donation PM as well as the intended recipient. It's helps me judge how often my members are donating.

In donate.php find:

$pmdm->set_recipients($giveto, $botpermissions);

and just underneath, paste:

$pmdm->set_recipients('Blake;', $botpermissions);


where 'Blake' is the username who will receive the PM in addition to the intended recipient.


This is a great idea but from the pm I get, it does not tell me who the money was donated to. It only tells me who donated the money. This is what the pm I get says :

You have received a donation of $5 from (donator).

Is there a way it can say something like this:

(Name donated to), you have received a donation of $5 from (donator).

Thanks in advance.

NAG 11-11-2007 03:43 AM

i like this but is there a UK £ version or is that possible?.

NAG 11-11-2007 04:42 AM

also after the install i now get this..

This game is AJAX powered and requires javascript to be turned on.

soulplayer 11-11-2007 06:29 AM

My question got burried in the previous posts, so here:

Quote:

Originally Posted by soulplayer (Post 1379843)
Hy,

I still have the folowing problem:
If I enable the casino plugin then all my buttons for "edit" dissapears from the forum. I just see it on my posts while I'm the administrator... What should I post so you'll know what error I'm talking about?

Thanks!



All times are GMT. The time now is 11:01 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.03390 seconds
  • Memory Usage 1,837KB
  • 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
  • (1)bbcode_html_printable
  • (13)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