The perfect solution for the one-click progress bar infinite card 5

the first method

Simpler: Change the computer system time to 2013


The second method: change the time series

Connect to the database

First connect to the database: use Navicat this software
https://www.lanzous.com/i3y2g6b to
download, unzip, and run the main program.

Video tutorial:

Download link:  https://pan.baidu.com/s/1ZXKGXyaIqRLk_YGu22JMgQ
Extraction code: 5243

Or watch online : Stand-alone card 5 solution video _哔哩哔哩

sql file

The sql file that will be used:
https://www.lanzous.com/i3y2k5e
download and unzip.

Other nonsense

The sql file generated by the following code has been packaged on it. So you can ignore the following.

The following python code is used to generate the 19-year sequence

writefile = open('19.sql', 'a')

for i in range(53):
    current = "%02d" % (i)
    line = "-- Table structure for `t_log_item_2019_%02d`;\n" % (i+1)
    writefile.write(line)
    writefile.write("-- ----------------------------\n")

    line = "DROP TABLE IF EXISTS `t_log_item_2019_%02d`;\n" % (i+1)
    writefile.write(line)

    line = "CREATE TABLE `t_log_item_2019_%02d` (\n" % (i+1)
    writefile.write(line)

    line = """  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
    `userid` int(10) unsigned NOT NULL,
    `userlevel` int(11) NOT NULL DEFAULT '0' COMMENT '用户等级',
    `action` int(11) unsigned NOT NULL COMMENT '操作类型',
    `itemid` int(11) unsigned NOT NULL COMMENT '道具ID(道具合成记录的是entID)',
    `amount` int(11) unsigned NOT NULL COMMENT '个数',
    `equipid` int(11) unsigned NOT NULL COMMENT '如果是装备,则记录装备的唯一ID',
    `color` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '颜色',
    `fineness` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '品质',
    `start_time` int(10) unsigned NOT NULL COMMENT '起始时间',
    `end_time` int(10) unsigned DEFAULT NULL COMMENT '失效时间',
    `bind_type` int(3) NOT NULL DEFAULT '0' COMMENT '绑定类型',
    `super_unique_id` int(11) NOT NULL DEFAULT '0' COMMENT '高级装备唯一标志',
    PRIMARY KEY (`id`),
    KEY `userid` (`userid`),
    KEY `itemid` (`itemid`),
    KEY `action` (`action`),
    KEY `start_time` (`start_time`)
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='按周分表,记录道具变动';\n"""
    writefile.write(line)

    line = "-- ------------------------------ Records of t_log_item_2019_%02d\n\
-- ------------------------------ ----------------------------\n" %(i+1)

    writefile.write(line)

copy

After generation, just add the content to the back of the previous sql file.

Guess you like

Origin blog.csdn.net/qq_34626094/article/details/113074044