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-19-2007 07:59 PM

Quote:

Originally Posted by Escoh (Post 1363914)
Didnt work for me i tried the same thing odd.

Should i remove then reimport ?


If it's the same problem all you need to do is replace those files, if that doesn't do it send me a link and I'll have a look.

bobster65 10-19-2007 09:48 PM

Quote:

Originally Posted by Andrew Green (Post 1363855)
I doubt that would help. It's a rather odd thing happening, the XML file is being created properly, but with then end off the _functions.php file slapped in front of it. Best I can figure is that the file got a little bigger during the upgrade and pushed it over some sort of choke point, I have no idea why that would occur, and might not even be it. But give the attached a try, I split the file into 2 pieces, so if that is it this will hopefully fix it.

Hey Andrew,

Not sure if this is related or not, but I've not had one single problem yet until I downloaded this and added it...

now I've got a couple DB errors on Stats..

PHP Code:

Database error in vBulletin 3.6.8:

Invalid SQL:

UPDATE casino_bet_stats
SET won 
won 0bet bet 
WHERE userid 8
AND gameid 5;

MySQL Error  You have an error in your SQL syntaxcheck the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE userid = 8
AND gameid = 5' 
at line 3
Error Number 
1064
Date         
FridayOctober 19th 2007 06:32:21 PM
Script       
http://~REMOVED~/forums/casino/slots_ajax.php
Referrer     http://~REMOVED~/forums/casino.php?do=slots
IP Address   : ~REMOVED~
Username     : ~REMOVED~
Classname    vb_database 

Everything else is working fine tho... just got a few of these in the last hr or so..

aztecboi2003 10-19-2007 09:53 PM

I haven't had any errors but my users cash isn't updating when they post, or log in.

Mark.B 10-19-2007 10:12 PM

Quote:

Originally Posted by aztecboi2003 (Post 1363971)
I haven't had any errors but my users cash isn't updating when they post, or log in.

Check your scheduled task logs...there was a syntax error in one of the previous versions that was stopping this from running. The version in the latest zip works, the file is casino_update.php. Have that uploaded and make sure the scheduled task is active and it should work.

Test it by pressing "run now" against the Casino Update in scheduled tasks, you'll soon see if you've got the file with the error.

aztecboi2003 10-19-2007 10:27 PM

Quote:

Originally Posted by Mark.B (Post 1363977)
Check your scheduled task logs...there was a syntax error in one of the previous versions that was stopping this from running. The version in the latest zip works, the file is casino_update.php. Have that uploaded and make sure the scheduled task is active and it should work.

Test it by pressing "run now" against the Casino Update in scheduled tasks, you'll soon see if you've got the file with the error.

Thanks, I did as you said and it just has a blue screen that says update casino cash. Should I just grab the new casino_update.php and overwrite the file?

Mark.B 10-19-2007 10:33 PM

Quote:

Originally Posted by aztecboi2003 (Post 1363980)
Thanks, I did as you said and it just has a blue screen that says update casino cash. Should I just grab the new casino_update.php and overwrite the file?

That message indicates it ought to have worked, if it says "Done". Have you checked everyone's cash to see if it has increased by the amount set in your admin cp?

aztecboi2003 10-19-2007 10:42 PM

Quote:

Originally Posted by Mark.B (Post 1363982)
That message indicates it ought to have worked, if it says "Done". Have you checked everyone's cash to see if it has increased by the amount set in your admin cp?

It says done in the bottom of the browser, but not on the cp page. I checked and it hasn't increased at all.

Mark.B 10-19-2007 10:47 PM

Sounds like it's not running then for some reason.

When manually running it the result should say:

Update Casino Cash

Done

Try grabbing the latest file, uploading it, and seeing if that works. Make sure it's in the includes/cron directory.

aztecboi2003 10-19-2007 10:56 PM

Quote:

Originally Posted by Mark.B (Post 1363988)
Sounds like it's not running then for some reason.

When manually running it the result should say:

Update Casino Cash

Done

Try grabbing the latest file, uploading it, and seeing if that works. Make sure it's in the includes/cron directory.

I did as you said and it works now. Thanks for the great support.

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

Quote:

Originally Posted by aztecboi2003 (Post 1363990)
I did as you said and it works now. Thanks for the great support.

Great stuff...glad you got it fixed.

aztecboi2003 10-19-2007 11:56 PM

Quote:

Originally Posted by Mark.B (Post 1363133)
I think I have spotted a bug with the feature that displays a member's cash in their profile.

This seems to be showing the cash total of the person viewing the page, rather than the cash total of the member being viewed.

In other words, every member I view, it shows them as having the same total as me.

What was the fix for this? as this is the same thing thats happening to me. I read through the last few pages but perhaps I over looked the answer.

sandt38 10-20-2007 01:05 AM

I received a few requests to add the 1000 chip. So here is the set with the 1000 chip, all reupped into a single .rar file.


Here is a .rar file for upload.

SBlueman 10-20-2007 03:25 AM

nm....fixed.

Andrew Green 10-20-2007 04:34 AM

Quote:

Originally Posted by bobster65 (Post 1363970)
Hey Andrew,

Not sure if this is related or not, but I've not had one single problem yet until I downloaded this and added it...

Everything else is working fine tho... just got a few of these in the last hr or so..

Not related, I'll dig into it though.

Quote:

Originally Posted by aztecboi2003 (Post 1364015)
What was the fix for this? as this is the same thing thats happening to me. I read through the last few pages but perhaps I over looked the answer.

The .34 product file should have taken care of that, at least it works on mine. If not I might have to try a different approach for that.

Vi3t4Lov3 10-20-2007 04:42 AM

thank so lot ...awesome job ...can you make to me two more chips. 5000 & 10000 or can you send me the PDF file

blind-eddie 10-20-2007 04:52 AM

Awesome work.... Thanks for the chip set.

I was wondering what legal laws we are breaking using this to generate cash for ourselves or our websites? I know it may vary from state to state, but is this legal for us to use this,even for fun?

aztecboi2003 10-20-2007 04:53 AM

Quote:

Originally Posted by Andrew Green (Post 1364150)
Not related, I'll dig into it though.



The .34 product file should have taken care of that, at least it works on mine. If not I might have to try a different approach for that.

So if i just upload the product file it should fix it?

Andrew Green 10-20-2007 04:57 AM

Quote:

Originally Posted by aztecboi2003 (Post 1364163)
So if i just upload the product file it should fix it?

Import, not upload, and yes, it should have done it.

Andrew Green 10-20-2007 04:59 AM

Quote:

Originally Posted by blind-eddie (Post 1364162)
Awesome work.... Thanks for the chip set.

I was wondering what legal laws we are breaking using this to generate cash for ourselves or our websites? I know it may vary from state to state, but is this legal for us to use this,even for fun?


No real money involved, so I don't see what could possibly be illegal about it?

blind-eddie 10-20-2007 05:02 AM

What about:
Quote:

I was wondering what legal laws we are breaking using this to generate cash for ourselves or our websites?

Captain Kirk76 10-20-2007 06:25 AM

But there is no real money involved, thus no laws being broken..

lairnoc 10-20-2007 06:51 AM

I would love to see an option to add cash for 1 user..

Richard1964 10-20-2007 07:13 AM

Quote:

Originally Posted by lairnoc (Post 1364213)
I would love to see an option to add cash for 1 user..

You can do that already! Just go into their User Preferences in the Admin Control Panel. The Casino Cash option is right at the BOTTOM of the LEFT column.

deezelpope 10-20-2007 09:34 AM

Excellent work! Thank you very much!:)

Ski-Whiz 10-20-2007 09:35 AM

Quote:

Originally Posted by blind-eddie (Post 1364169)
What about:

Do a search for "online poker"..... You will be surprised..

Making money off this is not an issue. I doubt you can create a site strictly off this...

Either way, it's not illegal in any shape.

dyna88 10-20-2007 09:39 AM

Quote:

Originally Posted by lairnoc (Post 1364213)
I would love to see an option to add cash for 1 user..

I second that

bazzup 10-20-2007 09:56 AM

Quote:

Originally Posted by lairnoc (Post 1364213)
I would love to see an option to add cash for 1 user..

Quote:

Originally Posted by Richard1964 (Post 1364215)
You can do that already! Just go into their User Preferences in the Admin Control Panel. The Casino Cash option is right at the BOTTOM of the LEFT column.

Quote:

Originally Posted by dyna88 (Post 1364248)
I second that


This got answered

sandt38 10-20-2007 10:19 AM

Quote:

Originally Posted by Vi3t4Lov3 (Post 1364157)
thank so lot ...awesome job ...can you make to me two more chips. 5000 & 10000 or can you send me the PDF file

Sure, but I am running out of colors to use ;)

Rouzbeh1 10-20-2007 11:40 AM

hi,
are you planing to add roulette to your script too?

thanks again

MiahBeSmokin420 10-20-2007 11:42 AM

Can anyone confirm good stability for 3.6.7

im realy tired of wasting my time with unstable mods

dyna88 10-20-2007 11:44 AM

Quote:

Originally Posted by bazzup (Post 1364253)
This got answered


Thanks missed it....

Tulsa 10-20-2007 11:44 AM

Nothing, queen high beat a pair of 5's when I was playing with one other person this morning.

towermatt 10-20-2007 01:18 PM

Quote:

Originally Posted by blind-eddie (Post 1364162)
Awesome work.... Thanks for the chip set.

I was wondering what legal laws we are breaking using this to generate cash for ourselves or our websites? I know it may vary from state to state, but is this legal for us to use this,even for fun?

It's just free money on my site. You get paid for stuff like posting and referrals. We also have a "mod of the month" that I give a 1000 too (just came up with that one, they love it)

I thought I might be able to do real money one day in the way we have an "actual" poker game and people pay into it for real. That could be fun.

But its still not generating any money for the site unless I could play good poker that night and not lose my real stake.

Cigarcritic 10-20-2007 01:25 PM

When I renamed "Texas Hold" to Texas Hold'em I received a DB error.
Version: 0.33

PHP Code:

Database error in vBulletin 3.6.8:

Invalid SQL:
UPDATE casino_settings SET switch2 'Texas Hold'em' WHERE switch1 = 6 AND settingname = 'gamename';

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 '
em' WHERE switch1 = 6 AND settingname = 'gamename'' at line 1
Error Number 
1064 


Cigarcritic 10-20-2007 01:28 PM

Quote:

Originally Posted by sandt38 (Post 1364050)
I received a few requests to add the 1000 chip. So here is the set with the 1000 chip, all reupped into a single .rar file.

NICE !!! :up:

towermatt 10-20-2007 02:04 PM

I was hoping there could be a way to edit sports pool events. I put in a wrong closing time on one of the football games I added for this Sunday :(

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

Quote:

Originally Posted by towermatt (Post 1364365)
I was hoping there could be a way to edit sports pool events. I put in a wrong closing time on one of the football games I added for this Sunday :(

If you have database access via phpMyadmin or similar, you can edit them in there.

Look for the table casino_sb_events and edit the eventdate field, (which includes the time).

You'll need a Unix timestamp generator to generate the new date & time, such as THIS ONE.

sandt38 10-20-2007 02:11 PM

Quote:

Originally Posted by Cigarcritic (Post 1364345)
When I renamed "Texas Hold" to Texas Hold'em I received a DB error.

in .33 I saw apostrophes causing errors. It was with user names, however. It doesn't appear to be an issue with .34 Try removing it.

Quote:

Originally Posted by Vi3t4Lov3 (Post 1364157)
thank so lot ...awesome job ...can you make to me two more chips. 5000 & 10000 or can you send me the PDF file


And here is the file for the upload. It includes all the markers from 1-10,000, not just the 5,000 and 10,000. Also, if you have a black or dark background the 10,000 chip has an outer glow, to make it stand out.

towermatt 10-20-2007 02:13 PM

Quote:

Originally Posted by Mark.B (Post 1364371)
If you have database access via phpMyadmin or similar, you can edit them in there.

Look for the table casino_sb_events and edit the eventdate field, which (includes the time).

You'll need a Unix timestamp generator to generate the new time, such as THIS ONE.

Wow! Thanks. I will see if I can give that a try. Woefully log on phpadmin stuff though.

It could be I just need to tell those folks to get their bets in early :eek:

Rushty 10-20-2007 02:14 PM

im getting an sql error when trying to install v.34 on vb 3.6.8, error is:

Invalid SQL:
CREATE TABLE casino_lotto_draw (drawid integer NOT NULL PRIMARY KEY auto_increment,
drawtime integer, winners text, ticketnumbers text, jackpot integer, price integer, range integer, numbers integer, totalodds integer, odds text, winper text);

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 'range integer, numbers integer, totalodds integer, odds text, winper text)' at line 2
Error Number : 1064

any ideas?


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.02780 seconds
  • Memory Usage 1,872KB
  • 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
  • (2)bbcode_php_printable
  • (31)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