Newbie Spellweaver
- Joined
- Jan 10, 2011
- Messages
- 55
- Reaction score
- 24
Modified Version of CabalToolz 3.1
Limit Reset Level FIxed:
Voting Page
New Templates
MSSQL QUERIES: (use only if you have never used CabalToolz before, upgrades from previous CabalToolz version to V3.1 do not need to do it again!)
This is for the Account database. changes for cabal_auth_table:
Code:
This is for the GameDB table. it Adds the Resets column to the Cabal_character_table:
Code:
This is for the CabalCash Database. Adds two additional tables Webshop and Webshop Categories:
Code:
This is for the VOtereward in CABALCASH DATABASE.
Note : You can change the Votereward table name Votereward and Votereward2 by editing the line in vote_do.php and vote_do1.php or you can also add another voting server by copying the php file from one of them and create a new file for example vote_do3.php and change the Votereward name line inside and you must go to modules and create a new php page for that.. and dont forget to add a new table for your SQL for your new Votereward NAME.
note:
You must look at the vote_do.php and vote_do1.php
Note: you need a basic HTML,PHP knowledge so you can edit the html,php characters inside the page. You will need to edit the main files inside the MODULE for example. frontpage.php,shop.php,vote.php,register.php etc. ... YOU WILL SEE WHAT I MEAN IF YOU OPEN some of the files there.
And most specially dont forget to edit your config.php also backend config.php
DOWNLOAD:
CREDITS to:
:
Limit Reset Level FIxed:
Voting Page
New Templates
MSSQL QUERIES: (use only if you have never used CabalToolz before, upgrades from previous CabalToolz version to V3.1 do not need to do it again!)
This is for the Account database. changes for cabal_auth_table:
Code:
Code:
Use ACCOUNT;
ALTER TABLE [dbo].[cabal_auth_table]
ADD Gender int NULL ,
Country int NULL ,
Email varchar(100) NULL
This is for the GameDB table. it Adds the Resets column to the Cabal_character_table:
Code:
Code:
Use GameDB;
ALTER TABLE [dbo].[cabal_character_table]
ADD Resets int default 0
This is for the CabalCash Database. Adds two additional tables Webshop and Webshop Categories:
Code:
Code:
CREATE TABLE [dbo].[WebShop](
[Id] [int] IDENTITY(1,1) NOT NULL,
[Name] [varchar](50) COLLATE Chinese_PRC_CI_AS NOT NULL,
[Description] [varchar](200) COLLATE Chinese_PRC_CI_AS NOT NULL,
[ItemIdx] [int] NOT NULL,
[Options] [int] NOT NULL,
[Image] [varchar](200) COLLATE Chinese_PRC_CI_AS NOT NULL,
[Cash] [int] NULL,
[Alz] [int] NULL,
[Category] [int] NOT NULL,
[Available] [int] NOT NULL,
[TimeLimit] [int] NOT NULL,
[Total] [int] NOT NULL CONSTRAINT [DF_WebShop_Total] DEFAULT ((0)))
CREATE TABLE [dbo].[WebShop_Category](
[ID] [smallint] IDENTITY(1,1) NOT NULL,
[Category] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NOT NULL,
[Access] [smallint] NOT NULL)
This is for the VOtereward in CABALCASH DATABASE.
Code:
CREATE TABLE [COLOR="Red"]VoteReward[/COLOR](
UserID VARCHAR(50) NULL,
VoteDate INT NULL
)
Code:
CREATE TABLE [COLOR="Red"]VoteReward2[/COLOR](
UserID VARCHAR(50) NULL,
VoteDate INT NULL
)
Note : You can change the Votereward table name Votereward and Votereward2 by editing the line in vote_do.php and vote_do1.php or you can also add another voting server by copying the php file from one of them and create a new file for example vote_do3.php and change the Votereward name line inside and you must go to modules and create a new php page for that.. and dont forget to add a new table for your SQL for your new Votereward NAME.
note:
You must look at the vote_do.php and vote_do1.php
Code:
Change this line
$server="[COLOR="Red"]SQL IP[/COLOR]"; ----- YOUR SQL IP
$user="[COLOR="Red"]SQL USERNAME[/COLOR]"; ----------- YOUR SQL USERNAME EXAMPLE : sa
$pass="[COLOR="Red"]SQL PASSWORD[/COLOR]"; ------------ YOUR SQL password
Note: you need a basic HTML,PHP knowledge so you can edit the html,php characters inside the page. You will need to edit the main files inside the MODULE for example. frontpage.php,shop.php,vote.php,register.php etc. ... YOU WILL SEE WHAT I MEAN IF YOU OPEN some of the files there.
And most specially dont forget to edit your config.php also backend config.php
DOWNLOAD:
You must be registered to see links
CREDITS to:
Code:
john_d for his ct3.1
Some Ragezoners for there some scripts.
and most of all Some Private server for there Full source,script etc. etc,
Last edited: