• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[Release][PHP] Silkroad wheel of fortune?

very nice
Joined
Jul 5, 2013
Messages
518
Reaction score
80

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
4aKqETY - [Release][PHP] Silkroad wheel of fortune? - RaGEZONE Forums

6zAci3D - [Release][PHP] Silkroad wheel of fortune? - RaGEZONE Forums

lemV3ql - [Release][PHP] Silkroad wheel of fortune? - RaGEZONE Forums

m7udHmy - [Release][PHP] Silkroad wheel of fortune? - RaGEZONE Forums

SQL Table
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

 

Attachments

You must be registered for see attachments list
Back
Top