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 3 (fixed) Details »»
vbCasino 3 (fixed)
Version: 3.00, by adamgessel adamgessel is offline
Developer Last Online: Aug 2007 Show Printable Version Email this Page

Version: 3.0.8 Rating:
Released: 08-03-2005 Last Update: Never Installs: 32
DB Changes
Code Changes Additional Files Is in Beta Stage  
No support by the author.

First I'd like to apologize for the last release. I thought it was ready but it wasn't working right like it should. This version is fixed and everything should be working right, I've gone through it completely.

This version is extremely easy to install, if you installed the last beta, the installer will do everything else for you!

This is mainly fixes, but also includes and about and a plugins page (for right now really just file edits). You can make your own modifications and put your custom made games on that page. Maybe in the future we'll have a simple plugin system you can use. If you make a plugin, I'd be happy to feature it on this page.

This installer can uninstall both beta 1 and beta 2, making it extremely simple to upgrade.

The phrases should be fixed in this version! (Waiting for it to be confirmed, but everything worked fine on an install on the test board!)

What's New:

-Tons of spelling errors fixed.
-Phrases fixed.
-About vbCasino created
-Plugins page created
-More phrases
-AdminCP phrases fixed
-Installer now uninstalls all BETAs
-Installer fixed from MySQL errors after uninstalling
-Files updated


This is considered a release canidate, like the last one (even though it didn't end up working ), but will be posted as a beta anyways.

Thanks to everyone who tried to help get the last version working.

DEMO BOARD:
(Will only be up for a few hours)

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

FILE EDITS AND PLUGINS:

Already some file edits and plugins are being made! Make yours, submit it to the DEMO board, and I will feature it here on vbulletin.org!

-Add card images to your hi / low game!

-Addon vbCasino hack (default payouts) - micheal332001

-Roulette Image for Winning/Losing Number - micheal332001

Both me and waza are willing to install this on any board for $5. PM me if you're interested.

I can also install any other hacks (that are on vbulletin.org) for $5, you can PM if you're interested in this.

Please click install!!!

Supporters / CoAuthors

Show Your Support

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

Comments
  #92  
Old 09-08-2005, 06:13 AM
micheal332001 micheal332001 is offline
 
Join Date: Apr 2004
Posts: 1,112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i will be releasing it when i have got all of them done.
at the moment there is one file to add and change the templates.
there is no database changes and no file edits as far as i can tell yet.
Reply With Quote
  #93  
Old 09-08-2005, 02:48 PM
tuanluu tuanluu is offline
 
Join Date: Aug 2005
Posts: 185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can not wait to try
Reply With Quote
  #94  
Old 09-09-2005, 09:37 PM
adamgessel adamgessel is offline
 
Join Date: Oct 2004
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry guys, kind of neglected this hack since I upgraded to vBulletin 3.5 RC2, but I'll work on getting it working for RC2 & RC3 now... also will add micheal332001 to the supporters list because he has done a ton.
Reply With Quote
  #95  
Old 09-10-2005, 06:04 AM
lonely lonely is offline
 
Join Date: Dec 2001
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The roulette numbers are DEFINITELY wrong.

Odd/Even

Black/Red

1-18 19-36

ALL of these are paying out 3-1 when they should be paying out 2-1.
If you start out with 50 points, and you bet 50 on black and win, you will WIN 100 points to bring your total to 150. But your initial bet of 50 is not taken away.

What SHOULD happen is that you bet 50 on black, black hits, and the casino TAKES YOUR 50 but gives you double your bet, so that your new total becomes 100. NOT 150.

This seems like it's a simple miscalculation in the php.

So yeah, the payout for those 3 things needs to be programmed to 2-1 instead of 3-1.



Okay, I've fixed the code.

Open up lottery.php
find the 2 LINES lines that say:
PHP Code:
$win+=$redblackstake*2
Replace with:
PHP Code:
$win+=$redblackstake
Now find the 2 LINES lines that say:

PHP Code:
$win+=$oddevenstake*2
Replace with:
PHP Code:
$win+=$oddevenstake
Finally, find the 2 LINES that say:
PHP Code:
$win+=$eighteensstake*2
Replace with:
PHP Code:
$win+=$eighteensstake
Save lottery.php and upload it to your server.
3-1 Payout is now 2-1 payout like it should be!


I also highly suggest you change the 3 instances of:

$win+=$twelvesstake*3;

to

$win+=$twelvesstake*2;

to make it so that the payout for twelves is correct too.

After making these changes I've tested all the numbers and my roullette game is now functioning 100% properly.
When it says what you win and lose its a little deceiving, because what you actually net at the end of the game is not the amount you "win". When you put bets on multiple outcomes this is when it starts to look goofy, but it's definitely adjusting your ucash properly.
Reply With Quote
  #96  
Old 09-10-2005, 07:27 AM
micheal332001 micheal332001 is offline
 
Join Date: Apr 2004
Posts: 1,112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by adamgessel
Sorry guys, kind of neglected this hack since I upgraded to vBulletin 3.5 RC2, but I'll work on getting it working for RC2 & RC3 now... also will add micheal332001 to the supporters list because he has done a ton.
Thanks for adding me thats very nice and im honnerd to be apart of this.
If you want me to test any think m8 i will do so also if you are adding any thing new i could make the new flash pages for it.
Reply With Quote
  #97  
Old 09-10-2005, 08:11 PM
adamgessel adamgessel is offline
 
Join Date: Oct 2004
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

micheal332001, please PM me, we will get this going for vbulletin RC2 & 3, I'll start working on the code right now to get it working for the new vbulletins and we'll go from there.
Reply With Quote
  #98  
Old 09-14-2005, 01:19 PM
waza waza is offline
 
Join Date: Apr 2005
Location: Belgium
Posts: 341
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey,
srry of my absence (on this hack).
Some time ago i made some nice updates, but then school started again, I had some troubles with my own websites and so on and so on.

Soon I'll restart working on this.
All idea's for new things can be posted here.
I'll also take a look @ the flash thing to see if there can be done more in flash.
Grz,
seba
Reply With Quote
  #99  
Old 09-14-2005, 10:06 PM
micheal332001 micheal332001 is offline
 
Join Date: Apr 2004
Posts: 1,112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there wasa

I now have the lottery stats working in flash it loads another php file for the info.
Im working on all the others at the moment but have not got far yet lol.
I have been busy making my own hack for my site.
The hack im working on is a vbleague hack i have made a league before for postnuke.
Also if there is any thing i can help with let me know and ill see what i can do.

Mike
Reply With Quote
  #100  
Old 09-17-2005, 09:09 AM
waza waza is offline
 
Join Date: Apr 2005
Location: Belgium
Posts: 341
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, maybe you this tut can help you:
http://www.gotoandlearn.com/index2.html

And choose: php+mysql+flash
Reply With Quote
  #101  
Old 09-17-2005, 12:58 PM
micheal332001 micheal332001 is offline
 
Join Date: Apr 2004
Posts: 1,112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for that m8 That will help some to what im doing.
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 08:16 PM.


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.05262 seconds
  • Memory Usage 2,316KB
  • 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
  • (6)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
  • (4)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