If updated so much to this script, i thought i might as well post my own version, since this isnt going to be my last update.Some of the things i fixed/updated is:
*In blackjack, if someone got an Ace, it was always worth 1, now its worth either 1 or 11, depending on the situation (always in the users favor)
*The roulette table has black and red colors to look more like a roulette table.
*You can now pick any amount of numbers from 1-36
*Payout information on main page
11/16/08:
Fixed payout bug (user can pick 35 numbers and win 99.99% of the time) -
thanks to InTheHell
To Do:
Update blackjack.php, casino_player.php, and casino_player_edit.php file templates.
Fix payout structure (10 numbers=1to1, but 12=2to1)
The current version is:
[TSSE 5.xx] Casino TorrentSE.net Edition v1.0.1
Installation:
- Unrar the .rar files
- Execute the .sql file to your TSSE database.
- Unrar and upload the cards.rar file to ../pic/cards/
- Edit casino.php to your liking
- Upload the .php files.
- HAVE FUN!
Fix for TSSE 5.6:
create user casinobot make it whatever group you like and around line 352 of
casino.php
Find
Code:
VALUES (".sqlesc('casinobOT').", ".sqlesc('999999999').", ".sqlesc('<span style="color: #FF8040;"><strong><em>{username}</em></strong></span>').", '".TIMENOW."', ".sqlesc($casinobOT).")" or sqlerr(__FILE__, __LINE__);
edit the 999999999 and put id of casinobot and it should work.[/QUOTE]
Attention