Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vbCasino 2 Details »»
vbCasino 2
Version: 2.00, by adamgessel adamgessel is offline
Developer Last Online: Aug 2007 Show Printable Version Email this Page

Version: 3.0.8 Rating:
Released: 07-31-2005 Last Update: 08-02-2005 Installs: 12
DB Changes Template Edits
Code Changes Additional Files  
No support by the author.

I'm releasing this because waza sent it to me, now he is on vacation, people have been asking for it, and a couple of other reasons. I take credit only for a small part of the coding of this. I have fixed quite a few things in the version he sent me, and everything seems to work fine. Pretty much all credit goes to waza.

When waza gets back, another version will most likely be released.

Right now, if you have any problems this is supported by me, and when waza gets back, also supported by him. As far as I know, there are no known bugs.

I have installed vbCasino on a board that you can test it on, report bugs, give modifications and plugins, and get help. You can find the URL at the bottom.

I posted this in the BETA releases, but this isn't really a BETA release because I have already tested it... it is more considered as a release canidate. It didn't look like I could post it anywhere else. Moderators are free to delete that post. However, if the moderators feel that this is more like a BETA, they are free to move this post to the BETA forum.

Anyways... what's new in vbCasino?

*On/Off switch for every game
*A lot more games
*Master on/off switch
*Set which row in the user table the money comes from (so you can use it with petz, ucash or other)
*Set how much winners the lottery has to take
*The staggering in percents for the lottery winners (like the first wins 90% of the jackpot, second 50% and third 20%)
*Staggering per 5 guesses in for higher/lower game
*Set per usergroup what the price of a lottery ticket is
*Set per usergroup, per game if they are allowed to play it
*Set per usergroup or they can view the casino
*Set per usergroup or they can buy multiple lottery tickets (from reset to reset)
*PM function for lottery winners
*Verified to work with vBulletin 3.0.8
*Installer now works right.
*Installer now uninstalls BETA 1.
*Fully phrased

SCREENSHOTS:

Screenshots are available at the DEMO Board. They are too big to post here.

DEMO BOARD:

http://www.a-d-a-m.com/forum

You can login with username: test and password: test

PLEASE NOTE THAT THE CASINO IS NOT COMPLETELY INSTALLED ON HERE. It should be working later today. You can go here anyways to report bugs, give us ideas, and create plugins and modifications for it.

If you installed the first BETA, this includes instructions and script to uninstall it easily!

PLEASE CLICK INSTALL!!!

UPDATE: EVERYTHING NOW WORKS GREAT. ALL REPORTED BUGS WERE FIXED.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 08-01-2005, 09:46 PM
Sleepyk Sleepyk is offline
 
Join Date: Dec 2004
Location: CT
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wont work this should be in beta
Reply With Quote
  #13  
Old 08-02-2005, 09:30 AM
slim cutty slim cutty is offline
 
Join Date: May 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Database error in vBulletin 3.0.7:

Invalid SQL:
INSERT INTO `lottery_settings` VALUES (1, 0, 'uttpoints', 3, '50,30,10', 1, 1, 1, 1, 1, '1,2,5,10', 1);

mysql error: You have an error in your SQL syntax near ';
' at line 2

mysql error number: 1064

Any Idea how I can fix this?
Reply With Quote
  #14  
Old 08-02-2005, 09:40 AM
slim cutty slim cutty is offline
 
Join Date: May 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed... everything seems to be working great

except for the winners and slots
seems to be the same as the older version

doesn't display winners and the slots are all still reading zero?

I guess this will be fixed soon ?
Reply With Quote
  #15  
Old 08-02-2005, 03:22 PM
adamgessel adamgessel is offline
 
Join Date: Oct 2004
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry guys, I would have put it in BETA but waza made it sound like it all worked and all I had to do was fix a few things... he didn't mention this not working, so I fixed some stuff and released it. Didn't think phrases would be a problem. Anyways, if someone sees a problem with the code, please tell me. I've looked at it and can't understand why it won't work. I'll try just putting everything so it doesn't use phrases for now, but it could take awhile because there are so many.
Reply With Quote
  #16  
Old 08-02-2005, 03:26 PM
adamgessel adamgessel is offline
 
Join Date: Oct 2004
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@slim_cutty: I will work on that. I thought waza said he fixed that, but in a few days another will be released, hopefully the final version where everything works.

Anyways, I'd like to hear how you got everything working, it could save everyone a lot of trouble. Also please post which vBulletin version you have. Thanks!
Reply With Quote
  #17  
Old 08-02-2005, 04:47 PM
slim cutty slim cutty is offline
 
Join Date: May 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, I'm running My SQL 3.23... I've been getting errors with the new hacks for some reason... syntax at line blah blah blah... don't understand why... at anyrate...

INSERT INTO `lottery_settings` VALUES (1, 0, 'uttpoints', 3, '50,30,10', 1, 1, 1, 1, 1, '1,2,5,10', 1);

I had to add manually into the database... it worked.. it just didn't work when I installed it from the install.php file... what I did which probably wasn't save was deleted that line in the install.php file and it finished installing. After that I went and added that line above manually. And it worked... as far as the casino_redirect... I just changed that to what it was looking for in the phrase to casino_cp_redirect... eventhough it didn't say that it saved it... it did

and that is it. It seems to work and deduct points and all, however the slots game still shows all zeros and never updates wins or anything at all... every other game works to say the least.

*EDIT... whoops.. it seems this has been updated I guess... can somebody delete this?
Reply With Quote
  #18  
Old 08-02-2005, 07:36 PM
micheal332001 micheal332001 is offline
 
Join Date: Apr 2004
Posts: 1,112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by slim cutty
Well, I'm running My SQL 3.23... I've been getting errors with the new hacks for some reason... syntax at line blah blah blah... don't understand why... at anyrate...

INSERT INTO `lottery_settings` VALUES (1, 0, 'uttpoints', 3, '50,30,10', 1, 1, 1, 1, 1, '1,2,5,10', 1);

I had to add manually into the database... it worked.. it just didn't work when I installed it from the install.php file... what I did which probably wasn't save was deleted that line in the install.php file and it finished installing. After that I went and added that line above manually. And it worked... as far as the casino_redirect... I just changed that to what it was looking for in the phrase to casino_cp_redirect... eventhough it didn't say that it saved it... it did

and that is it. It seems to work and deduct points and all, however the slots game still shows all zeros and never updates wins or anything at all... every other game works to say the least.

*EDIT... whoops.. it seems this has been updated I guess... can somebody delete this?

Hi there i know what you got this error you see in this code

PHP Code:
INSERT INTO `".TABLE_PREFIX."lottery_settingsVALUES (10'".$cashrow."'3'50,30,10'11111'1,2,5,10'1); 
it has the `".TABLE_PREFIX."

but in the CREATE TABLE it had this

PHP Code:
 $DB_site->query("
CREATE TABLE `lottery_settings` (
    `active` int(1) NOT NULL default '0',
    `multiple` tinyint(2) NOT NULL default '0',
    `cashrow` varchar(20) NOT NULL default '',
    `winners` tinyint(3) NOT NULL default '0',
    `winamount` varchar(100) NOT NULL default '',
    `pm` tinyint(2) NOT NULL default '0',
    `slotsactive` tinyint(2) NOT NULL default '0',
    `lotteryactive` tinyint(2) NOT NULL default '0',
    `pickactive` tinyint(2) NOT NULL default '0',
    `guessactive` tinyint(2) NOT NULL default '0',
    `gstaggering` varchar(50) NOT NULL default '',
    `rouletteactive` tinyint(2) NOT NULL default '0'
) TYPE=MyISAM
"
); 
But should have been this

PHP Code:
$DB_site->query("
CREATE TABLE `"
.TABLE_PREFIX."lottery_settings` (
    `active` int(1) NOT NULL default '0',
    `multiple` tinyint(2) NOT NULL default '0',
    `cashrow` varchar(20) NOT NULL default '',
    `winners` tinyint(3) NOT NULL default '0',
    `winamount` varchar(100) NOT NULL default '',
    `pm` tinyint(2) NOT NULL default '0',
    `slotsactive` tinyint(2) NOT NULL default '0',
    `lotteryactive` tinyint(2) NOT NULL default '0',
    `pickactive` tinyint(2) NOT NULL default '0',
    `guessactive` tinyint(2) NOT NULL default '0',
    `gstaggering` varchar(50) NOT NULL default '',
    `rouletteactive` tinyint(2) NOT NULL default '0'
) TYPE=MyISAM
"
); 
so the INSERT INTO could not insert it in the right place.

Also in the

lottery_slots_stats

there need to be a insert too as this is why some people are not seeing the jackpot and the others show as 0

like this

PHP Code:
 $DB_site->query("
INSERT INTO `"
.TABLE_PREFIX."lottery_slots_stats` VALUES (1, 1, 1, 1, 1, 1, 1);
"
); 
i have updated the install file but have not tested it so please feel free to download it and see if this works for you.
Reply With Quote
  #19  
Old 08-02-2005, 08:37 PM
soniceffect's Avatar
soniceffect soniceffect is offline
 
Join Date: Feb 2005
Location: UK
Posts: 453
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Used the new installer .. I just get the casino jpg up, when I go to lottery.php ... how you get in?
Reply With Quote
  #20  
Old 08-02-2005, 09:33 PM
micheal332001 micheal332001 is offline
 
Join Date: Apr 2004
Posts: 1,112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there

You will need to edite all the $vbphrase to get the casino to work.
There seams to be a problem calling them even know they are installed.

This goes in the root of you forums i have taken out all the $vbphrase
and put in english ones.
But you will need to update all your templates too by taking out all the $vbphrase and changing then from this

$vbphrase['Casino_Index']; to "casino index"

The casino is all working on my site and its very good but i will be making changes to the casino to sute my site.
Reply With Quote
  #21  
Old 08-02-2005, 10:59 PM
MauriceReed MauriceReed is offline
 
Join Date: Dec 2004
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im gonna hang back until i see this working properly, sounds like a top hack tho mate....
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:13 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05035 seconds
  • Memory Usage 2,324KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete