- Joined
- May 10, 2007
- Messages
- 34
- Reaction score
- 0
.:: MikeScript - NX Code System - For FlareCMS ::.
Hello,
I am now releasing the NX Code System of MikeScript.
.:: DOWNLOAD ::.
Rapidshare -
or
Rapidshare -
or
Official Site Direct Download -
.:: What Does It Do ::.
A GM can create a NX Code wich a user can activate in the cash shop. The GM Inserts the Amount the NX Code will give and then the system will generate a code.
.:: How To ::.
Download the file and extract it.
Now copy the files to your: FlareCMS > Scripts Folder...
Now Open: FlareCMS > config.php
Scroll down and you will see Something like this:
Add under that:
if $script[3] Already exists. Change the number to 4 if that exists, Then change it to 5.
I Asume you already have the NX Code db and stuff but if not. Then add this to Your SQL:
And Also:
Now go to the extracted files and edit the DB Data.
Now your done. Good Luck
Hello,
I am now releasing the NX Code System of MikeScript.
.:: DOWNLOAD ::.
Rapidshare -
To view the content, you need to sign in or register
or
Rapidshare -
To view the content, you need to sign in or register
or
Official Site Direct Download -
To view the content, you need to sign in or register
.:: What Does It Do ::.
A GM can create a NX Code wich a user can activate in the cash shop. The GM Inserts the Amount the NX Code will give and then the system will generate a code.
.:: How To ::.
Download the file and extract it.
Now copy the files to your: FlareCMS > Scripts Folder...
Now Open: FlareCMS > config.php
Scroll down and you will see Something like this:
Code:
$script[2]["title"] = "Exp Fix";
$script[2]["file"] = "fixexp.php";
$script[2]["page"] = "fixexp";
Code:
$script[3]["title"] = " - View Existing NXCode's *GM Only*";
$script[3]["file"] = "vnxcode.php";
$script[3]["page"] = "viewnx";
$script[4]["title"] = " - Create NXCode *GM Only*";
$script[4]["file"] = "nxcode.php";
$script[4]["page"] = "nxcode";
I Asume you already have the NX Code db and stuff but if not. Then add this to Your SQL:
Code:
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for nxcode
-- ----------------------------
DROP TABLE IF EXISTS `nxcode`;
CREATE TABLE `nxcode` (
`code` varchar(15) NOT NULL,
`valid` int(11) NOT NULL default '1',
`user` varchar(13) default NULL,
`type` int(11) NOT NULL default '0',
`item` int(11) NOT NULL default '10000',
PRIMARY KEY (`code`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- ----------------------------
-- Records
-- ----------------------------
INSERT INTO `nxcode` VALUES ('710778C56D21651', '1', '', '0', '1');
Code:
ALTER TABLE `accounts` ADD COLUMN `nxCash` int(11);
ALTER TABLE `accounts` ADD COLUMN `mPoints` int(11);
ALTER TABLE `accounts` ADD COLUMN `gTokens` int(11);
Now your done. Good Luck
