Jump to content
  • 0
GM Winter

R>Promotional Code NPC

Question

7 answers to this question

Recommended Posts

  • 0
On 2/11/2021 at 12:20 PM, Poring King said:

You can use my modified from lil troll . You can check it out from my collection in script collection section

Hi Sir @Poring King,

May i ask for this script? couldn't find this script in your script collection section.

Your gesture is greatly appreciated.

Link to comment
Share on other sites

  • 0
On 3/29/2022 at 7:08 PM, Poring King said:



Name is CoolEvent Corp. Employee ( PRO Style - Coupon ) HOT! 

DROP TABLE IF EXISTS `reward_codes`;
DROP TABLE IF EXISTS `reward_logs`;
CREATE TABLE IF NOT EXISTS `reward_codes` (
	`promo` VARCHAR(26) NOT NULL DEFAULT '',
	`nameid` INT(11) UNSIGNED NOT NULL DEFAULT '0',
	`item_name` VARCHAR(50) NOT NULL DEFAULT '',
	`amount` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
	`time_created` DATETIME NOT NULL DEFAULT '00-00-0000 00:00:00',
	`limit` INT(10) UNSIGNED NOT NULL DEFAULT '0',
	`pool` INT(10) UNSIGNED NOT NULL DEFAULT '0',
	PRIMARY KEY (`promo`)
) ENGINE = MYISAM;
CREATE TABLE IF NOT EXISTS `reward_logs` (
	`account_id` int(11) unsigned NOT NULL default '0',
	`last_ip` BINARY( 9 ) NOT NULL,
	`code` VARCHAR( 26 ) NOT NULL,
	`redeem_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
	`claim` INT( 10 ) NOT NULL,
	PRIMARY KEY (`code`)
) ENGINE = MYISAM;

error in database, #1067 - Valor padrão (default) inválido para 'time_created'

invalid format     `time_created` DATETIME NOT NULL DEFAULT '00-00-0000 00:00:00',
. Help plis?

 image.thumb.png.b2e98fa2aa56058b69fb21b903b834b4.png

Link to comment
Share on other sites

  • 0
On 4/7/2022 at 5:43 AM, WillJocker said:
DROP TABLE IF EXISTS `reward_codes`;
DROP TABLE IF EXISTS `reward_logs`;
CREATE TABLE IF NOT EXISTS `reward_codes` (
	`promo` VARCHAR(26) NOT NULL DEFAULT '',
	`nameid` INT(11) UNSIGNED NOT NULL DEFAULT '0',
	`item_name` VARCHAR(50) NOT NULL DEFAULT '',
	`amount` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
	`time_created` DATETIME NOT NULL DEFAULT '00-00-0000 00:00:00',
	`limit` INT(10) UNSIGNED NOT NULL DEFAULT '0',
	`pool` INT(10) UNSIGNED NOT NULL DEFAULT '0',
	PRIMARY KEY (`promo`)
) ENGINE = MYISAM;
CREATE TABLE IF NOT EXISTS `reward_logs` (
	`account_id` int(11) unsigned NOT NULL default '0',
	`last_ip` BINARY( 9 ) NOT NULL,
	`code` VARCHAR( 26 ) NOT NULL,
	`redeem_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
	`claim` INT( 10 ) NOT NULL,
	PRIMARY KEY (`code`)
) ENGINE = MYISAM;

error in database, #1067 - Valor padrão (default) inválido para 'time_created'

invalid format     `time_created` DATETIME NOT NULL DEFAULT '00-00-0000 00:00:00',
. Help plis?

 image.thumb.png.b2e98fa2aa56058b69fb21b903b834b4.png

At the top of the script . There is a guide that you will need to install manually and automatically ...

Link to comment
Share on other sites

  • 0
On 4/10/2022 at 12:33 AM, Poring King said:

At the top of the script . There is a guide that you will need to install manually and automatically ...

Sorry, i can't see...

image.thumb.png.814e9d1b16c68e6e557c22db018a77fc.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.