[Release][PHP] Silkroad wheel of fortune?

Results 1 to 9 of 9
  1. #1
    very nice B1QB0SS is offline
    MemberRank
    Jul 2013 Join Date
    518Posts

    [Release][PHP] Silkroad wheel of fortune?


    NOTE: the js & css scripts / images are not mine


    Config.php
    SQL Connection
    Website Title
    Website Description
    SpinEvery (allowed to Spin every x hours) 8 by default
    RegisterLink (Link to your website's register page)
    ForgotpwLink (Link to your website's password recovery page)
    WinMessage (when you win x silks a message appears this message is what you want to show to the player/user don't remove xxx because we replace it with the silk amount)
    rewards (silk only) are stored in array
    silkType (1=silk_own,2=silk_gift,3=silk_point)
    Login (With Register,Forgot pw links see images)
    PrizeLog (Database table that contains winning logs shouldn't be truncated)
    Calculates time remaining for the next Spin!

    Images
    Spoiler:







    SQL Table
    Spoiler:

    Code:
    DROP TABLE [dbo].[_PrizeLog]
    GO
    CREATE TABLE [dbo].[_PrizeLog] (
    [ID] int NOT NULL IDENTITY(1,1) ,
    [Username] varchar(50) NOT NULL ,
    [Prize] int NOT NULL ,
    [Date] datetime NOT NULL 
    )
    
    
    
    
    GO
    DBCC CHECKIDENT(N'[dbo].[_PrizeLog]', RESEED, 1006)
    GO
    
    
    -- ----------------------------
    -- Indexes structure for table _PrizeLog
    -- ----------------------------
    
    
    -- ----------------------------
    -- Primary Key structure for table _PrizeLog
    -- ----------------------------
    ALTER TABLE [dbo].[_PrizeLog] ADD PRIMARY KEY ([ID])
    GO



    and as always download in attachments

    Attached Files Attached Files


  2. #2
    No avatar RenePunik is offline
    MemberRank
    Feb 2013 Join Date
    1,431Posts

    Re: [Release][PHP] Silkroad wheel of fortune?

    Some files are corrupted in rar archive. please fix your rar and upload it again

  3. #3
    very nice B1QB0SS is offline
    MemberRank
    Jul 2013 Join Date
    518Posts

    Re: [Release][PHP] Silkroad wheel of fortune?

    Quote Originally Posted by RenePunik View Post
    Some files are corrupted in rar archive. please fix your rar and upload it again
    nothing is corrupted i downloaded the archive and extracted it without any errors :3

  4. #4
    No avatar RenePunik is offline
    MemberRank
    Feb 2013 Join Date
    1,431Posts

    Re: [Release][PHP] Silkroad wheel of fortune?

    Quote Originally Posted by B1QB0SS View Post
    nothing is corrupted i downloaded the archive and extracted it without any errors :3
    Sorry it's my fault. And which db i should put table?

  5. #5
    very nice B1QB0SS is offline
    MemberRank
    Jul 2013 Join Date
    518Posts

    Re: [Release][PHP] Silkroad wheel of fortune?

    Quote Originally Posted by RenePunik View Post
    Sorry it's my fault. And which db i should put table?
    your website's web db

  6. #6
    Apprentice Angelgm is offline
    MemberRank
    Jul 2012 Join Date
    21Posts

    Re: [Release][PHP] Silkroad wheel of fortune?



    Help!

  7. #7
    very nice B1QB0SS is offline
    MemberRank
    Jul 2013 Join Date
    518Posts

    Re: [Release][PHP] Silkroad wheel of fortune?

    Quote Originally Posted by Angelgm View Post
    Help!
    make sure you have PDO_sqlsrv allowed on your webserver.

    and i recommend using zendserver PHP 5.6+

  8. #8
    Novice djkanki09 is offline
    MemberRank
    May 2012 Join Date
    3Posts

    Re: [Release][PHP] Silkroad wheel of fortune?

    hi my problem help me


  9. #9
    very nice B1QB0SS is offline
    MemberRank
    Jul 2013 Join Date
    518Posts

    Re: [Release][PHP] Silkroad wheel of fortune?

    Quote Originally Posted by djkanki09 View Post
    hi my problem help me
    make sure you have PDO_sqlsrv allowed on your webserver.

    and i recommend using zendserver PHP 5.6+



Advertisement