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)

iogames 01-12-2008 08:56 PM

Ok I saw others asking the same question, and couldn't find the answer:

Where I do reset, counters/stats???

:confused:

Andrew Green 01-12-2008 09:16 PM

Quote:

Originally Posted by iogames (Post 1420349)
Ok I saw others asking the same question, and couldn't find the answer:

Where I do reset, counters/stats???

:confused:

Nothing built in to do it yet, you can just clear the "casino_bet_stats" table though.

"DELETE FROM casino_bet_stats"

dave9720 01-12-2008 10:24 PM

Andrew quick question can you tell me where is file to edit for navbar template?

Andrew Green 01-12-2008 10:59 PM

There is no file to edit, it's a template called "navbar"

In the admincp -> Styles & Templates -> Style Manager -> Edit Templates

iogames 01-12-2008 11:04 PM

Oh wise me! I was so happy with this hack then it ocurred me that I can reinstall :'(

Quote:

Database error in vBulletin 3.6.8:

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

MySQL Error : Duplicate column name 'casino_cash'
Error Number : 1060
Date : Saturday, January 12th 2008 @ 06:01:56 PM
Script : http://www.chat.iogames.com/admincp/...=productimport
Referrer : http://www.chat.iogames.com/admincp/...?do=productadd
IP Address : 64.183.60.146
Username : IOGAMES
Classname : vB_Database
Now???

p.s. Please stop me before I do something worse!

dave9720 01-12-2008 11:05 PM

Quote:

Originally Posted by Andrew Green (Post 1420407)
There is no file to edit, it's a template called "navbar"

In the admincp -> Styles & Templates -> Style Manager -> Edit Templates

Thanks Andrew:)

Andrew Green 01-12-2008 11:12 PM

Quote:

Originally Posted by iogames (Post 1420413)
Oh wise me! I was so happy with this hack then it ocurred me that I can reinstall :'(



Now???

p.s. Please stop me before I do something worse!

Delete the casino_cash field from the user table manually, as well as any casino_* tables. Then it will reinstall. And after 0.90 hopefully no one will have this problem anymore.

iogames 01-12-2008 11:19 PM

Ok I dropped all the tables in phpAdmin manually that start with casino_

they are 12 am I right Green?

Hopefully means? you will devise a more plain system?

Andrew Green 01-12-2008 11:23 PM

you also need to get rid of the casino_cash field in the user table.

Hopefully means the problem with the uninstall code that jammed it up is fixed :)

iogames 01-12-2008 11:26 PM

Quote:

Originally Posted by Andrew Green (Post 1420420)
you also need to get rid of the casino_cash field in the user table.

Hopefully means the problem with the uninstall code that jammed it up is fixed :)

Right now my board is a beautiful mess :'(

iogames 01-12-2008 11:35 PM

Oooh-MG!!!

Quote:

Database error in vBulletin 3.6.8:

Invalid SQL:
ALTER TABLE user ALTER COLUMN casino_cash SET DEFAULT;

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 '' at line 1
Error Number : 1064
Date : Saturday, January 12th 2008 @ 06:34:00 PM
Script : http://www.chat.iogames.com/admincp/...pdate+Settings
Referrer : http://www.chat.iogames.com/admincp/casino_settings.php
IP Address : 64.183.60.146
Username : IOGAMES
Classname : vB_Database
Why I never listen to my Mom and become a Doctor!?!?!

iogames 01-12-2008 11:45 PM

Any Upgrade soon?

Andrew Green 01-12-2008 11:53 PM

Quote:

Originally Posted by iogames (Post 1420427)
Oooh-MG!!!



Why I never listen to my Mom and become a Doctor!?!?!

You need to plug a number into the box before you can change the default cash, if you want 0, then put 0 in there.

Robert Paulson 01-13-2008 07:23 AM

Quote:

Originally Posted by iogames (Post 1420421)
Right now my board is a beautiful mess :'(

At least it's beautiful!

peterpigman 01-13-2008 09:06 AM

I have a problem with the lottery as it keeps picking 123 as the winning numbers. It has happened on the last three draws.

mastertek2000 01-13-2008 10:53 AM

Quote:

Originally Posted by peterpigman (Post 1420565)
I have a problem with the lottery as it keeps picking 123 as the winning numbers. It has happened on the last three draws.

i can never get that to work

ezurick 01-13-2008 11:15 AM

Quote:

Originally Posted by peterpigman (Post 1420565)
I have a problem with the lottery as it keeps picking 123 as the winning numbers. It has happened on the last three draws.

Well that's strange... My last drawing was exactly that. I hope this is not broke...

Draw Date Numbers Winners
01-09-2008 1,2,3
01-02-2008 1,12,21

I feel like I am going in circles sometimes....

Andrew, can we get a fix for the lottery please?

wolfyman 01-13-2008 12:38 PM

Quote:

Originally Posted by peterpigman (Post 1420565)
I have a problem with the lottery as it keeps picking 123 as the winning numbers. It has happened on the last three draws.

I absolutely love this mod! Having the same issue though, and it seems people have caught on lol :D

https://vborg.vbsupport.ru/external/2008/01/30.jpg

peterpigman 01-13-2008 12:39 PM

Quote:

Originally Posted by wolfyman (Post 1420632)
I absolutely love this mod! Having the same issue though, and it seems people have caught on lol :D

https://vborg.vbsupport.ru/external/2008/01/30.jpg

Well I won the last one for $11000 lol.

iogames 01-13-2008 12:41 PM

This is really ODD! I went to sleep [not counting the nightmares I have due to this problem]

I open my board, 7 errors more!

Quote:

Database error in vBulletin 3.6.8:

Invalid SQL:

SELECT languageid,
phrasegroup_casino AS phrasegroup_casino,
phrasegroup_global AS phrasegroup_global,
options AS lang_options,
languagecode AS lang_code,
charset AS lang_charset,
locale AS lang_locale,
imagesoverride AS lang_imagesoverride,
dateoverride AS lang_dateoverride,
timeoverride AS lang_timeoverride,
registereddateoverride AS lang_registereddateoverride,
calformat1override AS lang_calformat1override,
calformat2override AS lang_calformat2override,
logdateoverride AS lang_logdateoverride,
decimalsep AS lang_decimalsep,
thousandsep AS lang_thousandsep
FROM language
WHERE languageid = 1;

MySQL Error : Unknown column 'phrasegroup_casino' in 'field list'
Error Number : 1054
Date : Saturday, January 12th 2008 @ 11:27:21 PM
Script : http://www.chat.iogames.com/casino.php
Referrer :
IP Address : 66.249.67.165
Username :
Classname : vB_Database
and the worst part THE LINK DISAPPEARED FROM NAVBAR ALONE!!! THAT'S ODD!

Can you tell me how to clean everything?

wolfyman 01-13-2008 12:44 PM

oh, and my Sports pool admin user groups keeps resetting.

Andrew Green 01-13-2008 04:00 PM

Quote:

Originally Posted by iogames (Post 1420634)
This is really ODD! I went to sleep [not counting the nightmares I have due to this problem]

I open my board, 7 errors more!



and the worst part THE LINK DISAPPEARED FROM NAVBAR ALONE!!! THAT'S ODD!

Can you tell me how to clean everything?


Your phase group is gone, I don't know what all happened, but I'd go with a complete removal and reinstall.

Andrew Green 01-13-2008 04:02 PM

Quote:

Originally Posted by ezurick (Post 1420601)
Well that's strange... My last drawing was exactly that. I hope this is not broke...

Draw Date Numbers Winners
01-09-2008 1,2,3
01-02-2008 1,12,21

I feel like I am going in circles sometimes....

Andrew, can we get a fix for the lottery please?


There is a fix a page or two back, and I should have a update later today that fixes a few things.

iogames 01-13-2008 04:40 PM

Quote:

Originally Posted by Andrew Green (Post 1420714)
Your phase group is gone, I don't know what all happened, but I'd go with a complete removal and reinstall.

What do you mean by my phrase group is gone!?!?!

it belonged to Casino or others hacks?

Do you have planned a new version soon?

P.S. Even I was doing my own graphs? :( [but really interested to know to what belong 'phrase group']

Andrew Green 01-13-2008 04:50 PM

Quote:

Originally Posted by iogames (Post 1420729)
What do you mean by my phrase group is gone!?!?!

it belonged to Casino or others hacks?

Do you have planned a new version soon?

P.S. Even I was doing my own graphs? :( [but really interested to know to what belong 'phrase group']


The casino phrase group, with all the text relating to the casino. (That's why your link is gone as well, it doesn't know what to write)

wolfyman 01-13-2008 05:23 PM

EEEK! lol

https://vborg.vbsupport.ru/external/2008/01/441.gif

237633 - 220937 = 5500

or...

237633 - 220937 = 16696

You decide :D

highlan-cruise 01-13-2008 05:33 PM

ive installed the hack :)

seems to mostly look as if its fine but - i cant place any bets or get anything to work

seems to say 'error on page' in the status bar - is it my java settings maybe?

Andrew Green 01-13-2008 05:41 PM

Quote:

Originally Posted by wolfyman (Post 1420744)
EEEK! lol

237633 - 220937 = 5500

or...

237633 - 220937 = 16696

You decide :D

Already fixed in development copy ;)

Andrew Green 01-13-2008 05:55 PM

Quote:

Originally Posted by highlan-cruise (Post 1420747)
ive installed the hack :)

seems to mostly look as if its fine but - i cant place any bets or get anything to work

seems to say 'error on page' in the status bar - is it my java settings maybe?


You're getting the error on every page, not just the casino. Something is altering javascript on you.

Even on your main page you get this error:

Quote:

var vb_disable_ajax = par*eInt("0", 10);
It should say:

Quote:

var vb_disable_ajax = parseInt("0", 10);
My best guess would be a replacement variable set up? (under styles and templates)

It does look to be something vbulletin is doing to your templates though, the Texas Hold'em game is uneffected, but it's javascript is in a seperate file.

highlan-cruise 01-13-2008 05:58 PM

ok mate thanks for having a look - after you posted that code ive spotted the problem and removed the replacement variable i had set causing that issue

i had never thought about that casuing the problem :) cheers i shall try it again

iogames 01-13-2008 06:32 PM

scary but I will install again :(

BEFORE TO DO SO! THERE'S NOT NEW VERSION COMING SOON? :(

Andrew Green 01-13-2008 06:46 PM

probably later today ;)

iogames 01-13-2008 06:59 PM

Quote:

Originally Posted by Andrew Green (Post 1420787)
probably later today ;)

Whaaat!?!?! I just installed successfully after 24 hrs of mental anguish! :mad:

Andrew Green 01-13-2008 07:21 PM

Quote:

Originally Posted by iogames (Post 1420789)
Whaaat!?!?! I just installed successfully after 24 hrs of mental anguish! :mad:

Updates are easy, upload the files overwriting existing ones, then import the product selecting the "allow overwrite" box. that's it. Don't uninstall anything, takes 2 minutes.

Atwal 01-13-2008 07:39 PM

does this work with 3.7 yet? last time it messed up all my credits and post thank you and xbox live scoreboard features..

ezurick 01-13-2008 07:50 PM

Quote:

Originally Posted by Andrew Green (Post 1420715)
There is a fix a page or two back, and I should have a update later today that fixes a few things.

I weeded back through a few threads and I don't see any fix for the lottery at all. Can you be more specific, or re-post the fix please...


Also, I had a Sports Bet on the NFL playoffs today... I see that one of the bets, the time was off (not sure how that happened, cause I was VERY careful when I set them up friday). Anyway, I selected to edit the event and when it came to the screen, it filled all 10 of the bet outcomes with the second one... So could you check the edit function again, cause I am not sure it is working properly. I didn't resave it since in fear that I may break things more...

And I hope your next release will give the admin more control over the Sports Bet... like I really need to see how much each winner received... I am the admin, so I don't care to see my own winnings since I don't play. My users are questioning how it is paying out and I can't explain things when I don't know or I can't see who won what...

Andrew Green 01-13-2008 08:06 PM

My mistake, it was on my site:
http://vbgaming.org/forum/showpost.p...67&postcount=3

Outcomes filling in has been fixed in WIP, should hopefully be up later today.

ezurick 01-13-2008 08:30 PM

Quote:

Originally Posted by Andrew Green (Post 1420842)
My mistake, it was on my site:
http://vbgaming.org/forum/showpost.p...67&postcount=3

Outcomes filling in has been fixed in WIP, should hopefully be up later today.

Thanks Andrew...

peterpigman 01-13-2008 09:56 PM

Quote:

Originally Posted by ezurick (Post 1420829)
I weeded back through a few threads and I don't see any fix for the lottery at all. Can you be more specific, or re-post the fix please...


.

I had the same problem and also noticed some real short answers when people ask about errors saying "look though the thread dumbass etc" people need to remember the thread is now 170+ pages and search doesn't always help a lot on specific queries. I looked through 20 pages before I finally gave up.

Freesteyelz 01-13-2008 10:29 PM

Quote:

Originally Posted by Andrew Green (Post 1420842)
Outcomes filling in has been fixed in WIP, should hopefully be up later today.


If this is about the fix for edting Bets (option entries filled in when supposed to be blank) I'll be on the lookout. :)


All times are GMT. The time now is 09: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.03414 seconds
  • Memory Usage 1,844KB
  • 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
  • (27)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