View Single Post
  #1  
Old 1st November 2008, 21:21
wildboy211's Avatar
wildboy211 wildboy211 is offline
Senior Member
 
Join Date: Sep 2008
Posts: 19
Smile [TSSE 5.x] Casino TorrentSE.net Edition
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:
  1. Unrar the .rar files
  2. Execute the .sql file to your TSSE database.
  3. Unrar and upload the cards.rar file to ../pic/cards/
  4. Edit casino.php to your liking
  5. Upload the .php files.
  6. 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]

Attached Files
File Type: rar TSSE_CASINOv1.0.1_MOD_BY_TORRENTSEDOTNET.rar (101.5 KB, 481 views)

Last edited by wildboy211; 17th November 2008 at 00:10.
Reply With Quote
The Following 9 Users Say Thank You to wildboy211 For This Useful Post:
duisburg (9th October 2009), empereur (3rd February 2009), Fynnon (10th November 2008), KingCobra (11th September 2009), PsyK0 (5th February 2010), Security (2nd November 2008), torrentlord (25th January 2010), xxmail (20th February 2014), zenja7777 (2nd November 2008)